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
This commit is contained in:
Bart Oldeman 2004-04-13 11:07:59 +00:00
parent 46df83483b
commit e5f882f2ec
1 changed files with 3 additions and 3 deletions

View File

@ -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: