From 1828977d5cf269a19f6979794815221562ce92b1 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Fri, 17 Jun 2011 22:00:10 +0000 Subject: [PATCH] Refinement of default case. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3722 --- src/dos/dos.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dos/dos.cpp b/src/dos/dos.cpp index 83007e15..150dde99 100644 --- a/src/dos/dos.cpp +++ b/src/dos/dos.cpp @@ -1119,7 +1119,7 @@ static Bitu DOS_21Handler(void) { case 0x71: /* Unknown probably 4dos detection */ reg_ax=0x7100; - CALLBACK_SCF(true); + CALLBACK_SCF(true); //Check this! What needs this ? See default case LOG(LOG_DOSMISC,LOG_NORMAL)("DOS:Windows long file name support call %2X",reg_al); break; @@ -1133,7 +1133,7 @@ static Bitu DOS_21Handler(void) { case 0xEF: /* Used in Ancient Art Of War CGA */ case 0x5e: /* More Network Functions */ default: - LOG(LOG_DOSMISC,LOG_ERROR)("DOS:Unhandled call %02X al=%02X. Set al to default of 0",reg_ah,reg_al); + if (reg_ah < 0x6d) LOG(LOG_DOSMISC,LOG_ERROR)("DOS:Unhandled call %02X al=%02X. Set al to default of 0",reg_ah,reg_al); //Less errors. above 0x6c the functions are simply always skipped, only al is zeroed, all other registers untouched reg_al=0x00; /* default value */ break; };