ASCII code corresponded to scan code in Alphabetic mode
Alphabetic mode keyboard layout
F1 | F5 | QZ. | ABC | DEF |
?? | * |
|
|
|
F2 | F6 | GHI | JKL | MNO |
?? | ? |
|
|
|
|
|
|
|
|
F3 | F7 | PRS | TUV | WXY |
?? | ? |
|
|
|
F4 | SHIF | [C] | [E] | |
?? | T |
|
|
|
|
|
|
|
|
ASCII code, ASCII code, ASCII code
[Scan code, Scan code, Scan code]
86 | 8A | 51,5A,2E | 41,42,43 | 44,45,46 |
[23] | [1B] | [24,25,26] | [27,28,29] | [2A,2B,2C] |
|
|
|
|
|
87 | 8B | 47,48,49 | 4A,4B,4C | 4D,4E,4F |
[22] | [1A] | [2D,2E,2F | [30,31,32] | [33,34,35] |
|
| ] |
|
|
88 | 8C | 50,52,53 | 54,55,56 | 57,58,59 |
[21] | [19] | [36,37,38] | [39,3A,3B] | [3C,3D,3E] |
|
|
|
|
|
89 | 1F | 08 | 2D,20,2B | 0D |
[20] | [18] | [10] | [1D,1E,1F | [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 = |
unsigned char TS_stdin()
{
regs.h.ah= 1; int86(0x21,®s,®s); return(regs.h.al);
}
02 Write stdout
Entry Parameters: | AH = 02 |