3-46
ASCII code corresponded to scan code in Alphabetic mode
Alphabetic mode keyboard layout ASCII code, ASCII code, ASCII code
[Scan code, Scan code, Scan code]
F1
?? F5
* QZ. ABC DEF 86
[23] 8A
[1B] 51,5A,2E
[24,25,26] 41,42,43
[27,28,29] 44,45,46
[2A,2B,2C]
F2
?? F6
?
GHI JKL MNO 87
[22] 8B
[1A] 47,48,49
[2D,2E,2F
]
4A,4B,4C
[30,31,32] 4D,4E,4F
[33,34,35]
F3
?? F7
?
PRS TUV WXY 88
[21] 8C
[19] 50,52,53
[36,37,38] 54,55,56
[39,3A,3B] 57,58,59
[3C,3D,3E]
F4
?? SHIF
T [C] -SP+ [E] 89
[20] 1F
[18] 08
[10] 2D,20,2B
[1D,1E,1F
]
0D
[00]
Figure 3-2 ASCII code vs. scan code cross reference table (alphabetic-mode)
3.8. DOS Manager
The following MS/DOS function calls are emulated by MR350MKII. The calling
convention is identical to that of MS/DOS, i.e. INT 21H with function code in
registered AH. The parameter passing mechanism is also identical to the MS/DOS
convention. Unsupported DOS calls are returned with a completion status code
immediately. Please refer to MS/DOS Technical Reference Manual for further
details.
Standard Input/Output
01 Read stdin (wait if no key) and write it to stdout
No check on control keys (ESC)
Entry Parameters: AH = 01
Returned Values: AL = 8-bit data
unsigned char TS_stdin()
{
regs.h.ah= 1;
int86(0x21,&regs,&regs);
return(regs.h.al);
}
02 Write stdout
Entry Parameters: AH = 02