> mov ah, 044h
> mov al, 01h
> mov bx, 0
> ;mov dx, 081h
> mov dx, 0h

> int 021h

> mov ah, 04ch
> int 021h

Looking at this again, I think I see what your problem might be.  You have 
commented out the "mov dx, 081h" which makes me think you are trying to do 
something with a hard drive (which is normally accessed through various BIOS 
INT 13h functions) instead of a DOS handle (which is normally accessed with 
various DOS INT 21h functions).  DOS handles and BIOS disk numbers are VERY 
different things, and I think you are trying to conflate the two.

BTW, this also brings up the importance of commenting your code.  If you had 
done that we could have maybe seen what you were TRYING to do and made it 
easier for us to help you.  Without comments, all we know is that what you seem 
to be trying to do makes no sense at all.


_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to