Hi TK, > 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.
perhaps the best is to use suppl/src/intr.asm for both OW and GCC, and make it respect CF in flags. btw you should know that I have only ever compiled on a 32-bit Linux host using gcc-ia16 -- the code for the build helpers (fixstrs.exe,ptchsize.exe etc) may not be 64-bit safe yet: you may need to add -m32 to the gcc lines in mkfiles/gcc.mak to get the compilation working on a 64-bit host. Bart ------------------------------------------------------------------------------ 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