______________O\_/_________________________________\_/O______________ int absread(int DosDrive, int nsects, int foo, void *diskReadPacket); #pragma aux absread = \ "int 0x25" \ "sbb ax, ax" \ parm [ax] [cx] [dx] [bx] \ modify [si di bp] \ value [ax]; _____________________________________________________________________ O/~\ /~\O
Isn't there should be added POPF after INT 25h/26h?
PS: I not yet (re)compile kernel by WC (so can't analyze its output), currently I (yet) compile kernel by BC.
This is known and standard behavior of INT 25h/26h -- the flags are left on the stack and the caller has the responsibility of popping them off after the call returns.
------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Freedos-kernel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-kernel
