On 26 Jan 2003, Stuart Axon wrote:
> Thanks, discovered the can_revector_int21 too, which seemed to help...
> Now tho, can't seem to return a cleared carry flag: if I temporarily put
> ds_printf("CF=%x\n",REG(eflags)&&CF);
> in int21() after my function call I can see
> CF=0
> so it's still clear, but by the time it gets back to dos its set, is
> there anything I need to be aware of in order to preserve CF?
That's because it's chained in front of the real DOS int21. If you
implement your function in ms_dos() then you can "return 1" to claim this
case exclusively for you and "return 0" if you want to pass it on to DOS.
Bart
-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html