Hi,
Any help would be much appreciated.
I am using the following code using interrupt 25h (and a similar write function
using interrupt 26h) to basically determine if there is a disk inserted in the
floppy drive:
void read_disk(void)
{
asm mov al,0;
asm mov cx,1;
asm mov dx,1;
asm lea bx,data;
asm int 25h;
asm add sp,2;
asm jc badexit;
return;
badexit:
exit (0);
}
The code works perfectly with Dos 6.22, but when running FreeDOS, it never even
tries to access the drive. I'm using the FreeDOS bootdisk that I downloaded
from http://www.fdos.org/bootdisks/autogen/FDSTD.144.imz. Any ideas?
Thanks!
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com -------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Freedos-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-user