Hello everybody,

I just wanted to keep you updated on my odyssey. After a lot of experiments and desperate digging in Ralf Brown's interrupt list, I found out that my Turbo Pascal compiler is somehow broken. I used inline assembler to call some Int21h functions, and to my greatest surprise, I found that the calls returned some data but lines like

MOV result, AX

wouldn't work as expected. I'll look into the compiled code to find out what the heck is going on there, but for now I just rewrote the code to use the built-in MsDos() function to call Int21h. With these changes, I finally got some data that seems to make sense. :)

However, I'm not too happy with what I get. It seems to be a bit difficult to determine which kind of drive I'm looking at, the only reliable thing is that I can check if there is a drive at all (carry flag not set).

Eric suggested to have a look at some sources for a better understanding of what is going on, I'll post my findings soon :)

Best regards,

This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
Freedos-user mailing list

Reply via email to