On 2018-08-21 22:23 +0800, TK Chia wrote:
> However, both the intr ( ) implementation in Open Watcom, and the intr (
> ) implementation in suppl/src/intr.asm used when compiling with
> gcc-ia16, will _not_ try to load any flags --- including CF --- from
> reg.x.flags, so int 0x21 basically gets called with CF in an undefined
> state (and it happens to be set in commandg's case).  And DOSBox's
> implementation of the "get allocation strategy" call does not change CF.

It should set or clear CF, as to indicate the error status. If it leaves
CF unchanged, that's a DOSBox error. I just verified that both FreeDOS
(kernel 2042) and MS-DOS 7.10 clear CF on return from 21.5800.

Regards,
ecm

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to