From e5f882f2ec33d36b1a232652b36ce9deeae35678 Mon Sep 17 00:00:00 2001 From: Bart Oldeman Date: Tue, 13 Apr 2004 11:07:59 +0000 Subject: [PATCH] Use AL, not AX, for int2f/ax=1213, as per RBIL (from Arkady) git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@871 6ac86273-5f31-0410-b378-82cca8765d1b --- kernel/inthndlr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/inthndlr.c b/kernel/inthndlr.c index d74e71d..ac4181a 100644 --- a/kernel/inthndlr.c +++ b/kernel/inthndlr.c @@ -1883,9 +1883,9 @@ VOID ASMCFUNC int2F_12_handler(struct int2f12regs r) case 0x13: /* uppercase character */ /* for now, ASCII only because nls.c cannot handle DS!=SS */ - r.AX = (unsigned char)r.callerARG1; - if (r.AX >= 'a' && r.AX <= 'z') - r.AX -= 'a' - 'A'; + r.AL = (unsigned char)r.callerARG1; + if (r.AL >= 'a' && r.AL <= 'z') + r.AL -= 'a' - 'A'; break; case 0x16: