Subject: How to read registers?? To: djgpp AT sun DOT soe DOT clarkson DOT edu (mailing list) Date: Tue, 7 Nov 1995 18:40:34 -0500 (EST) From: Justin Ward 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. || *+===================================================================+*