Mail Archives: djgpp/1995/04/07/14:35:47
(I posted to the list a while back with some problems..well, I'm happy to
say that they've been resolved - by removing Norton Cache 2 from memory. Go
figure.)
I need to do some raw binary file i/o. Under UNIX, I'd just use read and
write, which is exactly what I tried to do - and failed. My file contains
an end-of-file char (0x1a under DOS), and read stops right there, reporting
end-of-file. At this point, I see no other alternative than going right to
DOS via int21, as I've done in real mode before. However, it seems like
there should be an easier way. Is there?
--
________________ _______________________________________________
/ Damian Frank \ / "The price of seeking to force our beliefs on \
| damianf AT wpi DOT edu | others is that someday they might force their |
| WPI CS '97 | beleifs on us." -- Mario Cuomo |
\________________/ \_______________________________________________/
- Raw text -