Hi, This patch adds DBCS support to DOS-65-23 (Determine if a character represents yes/no response) as specified by RBIL, and fixes DOS-63-00 (Get Double Byte Character Set lead-byte table.) It now returns the DBCS table from the active NLS package, not the harcoded one. Applies to up-to-date CVS UNSTABLE.
It's at http://perso.wanadoo.es/samelborp/dbcs.zip Changes: nls.h * yeschar and nochar are now UWORD instead of UBYTE. * NLS_FREEDOS_NLSFUNC_VERSION bumped to 0xFD02. * Add a small comment. inthndlr.c * DOS-63-00 returns DBCS table from the active NLS package, not the harcoded one. * DOS-65-23: DosYesNo() arg is now DX, not DL. nls.c * New macro getTable7() * New functions nlsIsDBCS() (check if a byte is a dual byte char leadbyte) and DosGetDBCS() (returns DBCS table from the active NLS package) * Add DBCS table to getTable() and fixes references to harcoded UCASE and FUCASE tables. * DosYesNo(): arg is now UWORD, not unsigned char. * nlsYesNo(): Add DBCS support * syscall_MUX14(): arg of nlsYesNo() is now CX instead of CL. nls_hc.asm * YesChar and NoChar are now two bytes each. proto.h * DosYesNo(): Argument is now UWORD (dual byte) * Add prototype for DosGetDBCS() Eduardo. ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php _______________________________________________ Freedos-kernel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-kernel