www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/24/07:33:15

Message-Id: <199701241220.MAA04783@mx2.rmplc.co.uk>
From: "Liam" <marl AT rmplc DOT co DOT uk>
To: <djgpp AT delorie DOT com>
Subject: Reading raw data from A:
Date: Fri, 24 Jan 1997 12:21:34 -0000
MIME-Version: 1.0

I think this is the line of code that is causing me problems
fi = open("diskraw.io", O_WRONLY|O_BINARY|O_CREAT, S_IWUSR);
when i type the '|' in rhide it comes up with
Error: parse error before character 0335
if i edit 'O_WRONLY|O_BINARY|O_CREAT' in notepad it compiles
or if i insert the numbers in directly
fi = open("diskraw.io", 0x0105, S_IWUSR);
is there something wrong with Rhide? its V1.0
I'm tying to get it to read the disk using _bios_disk
is this the correct method to use?
under the struct diskinfo_t, what would you assign
to drive if you want to read the floppy in A:?
Is there anything that tells you the layout of a disk,
how many heads, tracks, sectors?
thanks for ya help
Cheers
Liam
marl AT rmplc DOT co DOT uk

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019