Mail Archives: djgpp/1995/11/07/19:01:36
Okay I have a feeling this question comes up a lot, but I'm new to
this list and I haven't seen an answer to it yet. So, here goes.. how
does one read the registers ax, bx, cx, and dx with djgpp? For some
reason, int86(0x13, &r, &r) protection faults.. It says int 0x13 is
not supported. This is a problem because for the function of int 0x13
I need to use, all the information is returned in the registers, which
means biosdisk() won't do diddlysquat for me.
Or is there some other way to find out the physical information of a
disk with djgpp? Some function that finds the sectors, tracks,
cylinders, etc. of a disk?
oh and BTW where can I find the faq?
Justin __ __ _
/ /_ _______/ /_(_)___
__ / / / / / ___/ __/ / __ \
*+---------------/ /_/ / /_/ (__ ) /_/ / / / /----------------------+*
|| Justin Ward \____/\__,_/____/\__/_/_/ /_/ | Part time coder ||
|| ward AT escape DOT com, Junior Programmer/Consultant | looking for work ||
|| http://www.escape.com/~ward/ | in DOS using C. ||
*+===================================================================+*
- Raw text -