I have a simple question regarding INT 0x13. It came up when I was programming the preprocessor for a segmented program in NOS (e.g. different segments for CS,DS,ES,SS.)
Say we are reading the file into 9000:0000.
When running the read sectors function (ah=0x02), does the BIOS only read 64K (up to the end of segment 9000) or does it overflow into the next segment? Or does it depend on the BIOS manufacturer?
The only reason I worry about this is one of the reasons a programmer would write a segmented program instead of a flat one would be because they have more than 64K of combined code/data, making my (uncompressed) file with the formatting larger than 64K. Would this make me have to read the sectors in 64K at a time?
_________________ It may look hard, but it won't take long if you take it one byte at a time.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum