- INT 21h AH = 0Ah: don't increment the count for a backspace.
- Fix the EMS version number.


svn path=/trunk/; revision=67584
This commit is contained in:
Aleksandar Andrejevic 2015-05-06 22:41:22 +00:00
parent f6f2e8dbac
commit f619a2d270
2 changed files with 2 additions and 1 deletions

View file

@ -402,6 +402,7 @@ VOID WINAPI DosInt21h(LPWORD Stack)
} }
if (Character == '\r') break; if (Character == '\r') break;
if (Character == '\b') continue;
Count++; /* Carriage returns are NOT counted */ Count++; /* Carriage returns are NOT counted */
} }

View file

@ -11,7 +11,7 @@
/* DEFINITIONS ****************************************************************/ /* DEFINITIONS ****************************************************************/
#define EMS_VERSION_NUM 0x04 #define EMS_VERSION_NUM 0x40
#define EMS_INTERRUPT_NUM 0x67 #define EMS_INTERRUPT_NUM 0x67
#define EMS_SEGMENT 0xD000 #define EMS_SEGMENT 0xD000
#define EMS_MAX_HANDLES 16 #define EMS_MAX_HANDLES 16