Mail Archives: djgpp/1995/05/04/21:17:46
> Does anyone have any suggestions for the proper settings for the
> buffer pointer and/or the head, sector, and track #'s? (I assumed
> the first sector corresponds to zeros for all of these three; my
> assumption could easily be incorrect.)
head zero, cylinder zero, sector one. Set ES to
(_go32_info_block.linear_address_of_transfer_buffer >> 4), BX to
(_go32_info_block.linear_address_of_transfer_buffer & 15). Use
dosmemget() to transfer it back to protected mode if you need it.
Once you have it in memory, the first byte(s) is(are) the "signature"
for dos disks.
- Raw text -