diff options
Diffstat (limited to 'src/dos/dos.cpp')
-rw-r--r-- | src/dos/dos.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/dos/dos.cpp b/src/dos/dos.cpp index 6081899ec..46cf79472 100644 --- a/src/dos/dos.cpp +++ b/src/dos/dos.cpp @@ -1267,6 +1267,18 @@ static Bitu DOS_21Handler(void) { } CALLBACK_SCF(false); break; + case 0x23: /* Determine if character represents yes/no response */ + { + unsigned int c = reg_dl; + if (tolower(c) == 'y') + reg_ax = 1;/*yes*/ + else if (tolower(c) == 'n') + reg_ax = 0;/*no*/ + else + reg_ax = 2;/*neither*/ + } + CALLBACK_SCF(false); + break; default: E_Exit("DOS:0x65:Unhandled country information call %2X",reg_al); }; |