Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

496 lines
24 KiB

  1. ;CODE to be deleted has a double ;; followed by actual asm code....****
  2. ;; LATEST CHANGE ALT & CTL
  3. PAGE ,132
  4. TITLE PC DOS 3.3 Keyboard Definition File
  5. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  6. ;; PC DOS 3.3 - NLS Support - Keyboard Defintion File
  7. ;; (c) Copyright IBM Corp 198?,...
  8. ;;
  9. ;; This file contains the keyboard tables for Japanese.
  10. ;;
  11. ;; Linkage Instructions:
  12. ;; Refer to KDF.ASM.
  13. ;;
  14. ;; Author: Shuzo Kusuda - IBM Japan, Yamato Lab. - Feb. 1990
  15. ;;
  16. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  17. ;;
  18. INCLUDE KEYBSHAR.INC ;;
  19. ;M000 INCLUDE POSTEQU.SRC ;;
  20. include postequ.inc ; M000 -- our inc file reflects the
  21. ; ; necessary changes as M024
  22. INCLUDE KEYBMAC.INC ;;
  23. ;;
  24. PUBLIC JP_LOGIC ;;
  25. PUBLIC JP_COMMON_XLAT ;;
  26. PUBLIC JP_932_XLAT ;;
  27. PUBLIC JP_437_XLAT ;;
  28. ;;
  29. CODE SEGMENT PUBLIC 'CODE' ;;
  30. ASSUME CS:CODE,DS:CODE ;;
  31. ;;
  32. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  33. ;; Standard translate table options are a liner search table
  34. ;; (TYPE_2_TAB) and ASCII entries ONLY (ASCII_ONLY)
  35. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  36. ;;
  37. STANDARD_TABLE EQU TYPE_2_TAB+ASCII_ONLY
  38. ;;
  39. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  40. ;;***************************************
  41. ;; JP State Logic
  42. ;;***************************************
  43. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  44. ;;
  45. ;;
  46. JP_LOGIC: ;;
  47. ;;
  48. DW LOGIC_END-$ ;; length
  49. ;;
  50. DW 0 ;; special features
  51. ;;
  52. ;; COMMANDS START HERE
  53. ;;
  54. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  55. ;; DBCS \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
  56. ;;
  57. ;;
  58. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  59. ;;
  60. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  61. ;; OPTIONS: If we find a scan match in
  62. ;; an XLATT or SET_FLAG operation then
  63. ;; exit from INT 9.
  64. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  65. ;;
  66. OPTION EXIT_IF_FOUND ;;
  67. ;;
  68. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  69. ;; OPTIONS: If we find a scan match in
  70. ;; an XLATT or SET_FLAG operation then
  71. ;; exit from INT 9.
  72. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  73. ;;
  74. IFF EITHER_ALT, NOT ;; ;JP900807
  75. ANDF EITHER_CTL, NOT ;; ;JP900807
  76. IFF LC_E0 ;; Avoid accidentally translating
  77. XLATT NUMERIC_PAD ;; the key of the numeric ;JP900807
  78. EXIT_STATE_LOGIC ;;
  79. ENDIFF ;;
  80. ENDIFF ;; ;JP900807
  81. ;;
  82. ;JP900727 IFF EITHER_CTL,NOT ;;
  83. ;JP900727 IFF EITHER_ALT ;; ALT - case
  84. ;JP900727 XLATT ALT_CASE ;;
  85. ;JP900727 ENDIFF ;;
  86. ;JP900727 ELSEF ;;
  87. IFF EITHER_ALT ;; ;JP900727
  88. XLATT ALT_CASE ;; ALT case ;JP900727
  89. ENDIFF ;; ;JP900727
  90. IFF EITHER_CTL ;; ;JP900727
  91. IFF EITHER_ALT,NOT ;;
  92. XLATT CTRL_CASE ;; CTRL case
  93. ENDIFF ;;
  94. ENDIFF ;;
  95. ;;
  96. IFF EITHER_ALT,NOT ;; Lower and upper case. Alphabetic
  97. ANDF EITHER_CTL,NOT ;; keys are affected by CAPS LOCK.
  98. IFF EITHER_SHIFT ;; Numeric keys are not.
  99. ;JP900807 IFF NUM_STATE,NOT ;;
  100. ;JP900807 XLATT NUMERIC_PAD ;;
  101. ;JP900807 ENDIFF ;;
  102. XLATT NON_ALPHA_UPPER ;;
  103. IFF CAPS_STATE ;;
  104. XLATT ALPHA_LOWER ;;
  105. ELSEF ;;
  106. XLATT ALPHA_UPPER ;;
  107. ENDIFF ;;
  108. ELSEF ;;
  109. ;JP900807 IFF NUM_STATE ;;
  110. ;JP900807 XLATT NUMERIC_PAD ;;
  111. ;JP900807 ENDIFF ;;
  112. XLATT NON_ALPHA_LOWER ;;
  113. IFF CAPS_STATE ;;
  114. XLATT ALPHA_UPPER ;;
  115. ELSEF ;;
  116. XLATT ALPHA_LOWER ;;
  117. ENDIFF ;;
  118. ENDIFF ;;
  119. ENDIFF ;;
  120. ;;
  121. EXIT_STATE_LOGIC ;;
  122. ;;
  123. LOGIC_END: ;;
  124. ;;
  125. ;;
  126. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  127. ;;***************************************
  128. ;; JP Common Translate Section
  129. ;; This section contains translations for the lower 128 characters
  130. ;; only since these will never change from code page to code page.
  131. ;; In addition the dead key "Set Flag" tables are here since the
  132. ;; dead keys are on the same keytops for all code pages.
  133. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  134. ;;
  135. ;
  136. ; Hardware Scan Codes
  137. ;
  138. HW_SC_0 equ 0bh ;JP9007
  139. HW_SC_HAT equ 0dh ;JP9007
  140. HW_SC_BACK_SLASH_NEW equ 73h
  141. HW_SC_BACK_SLASH equ 73h
  142. HW_SC_YEN_NEW equ 7dh
  143. HW_SC_YEN_OLD equ 2bh
  144. HW_SC_CONV equ 79h
  145. HW_SC_NO_CONV equ 7bh
  146. HW_SC_HALF_FULL_NEW equ 29h
  147. HW_SC_HALF_FULL_OLD equ 77h
  148. HW_SC_HIRAGANA equ 70h ; new G only
  149. HW_SC_KATAKANA equ 70h ; old G only
  150. HW_SC_KATAKANA_A equ 70h ; old A only
  151. HW_SC_KANJI_OLD_A equ 68h
  152. HW_SC_TANGO_TOHROKU_A equ 67h ;JP9009
  153. HW_SC_PAD_COMMA equ 33h ;JP900807
  154. ;JP9009 PSEUDO_SC_HIRAGANA equ 7dh
  155. PSEUDO_SC_ALPHANUMERIC equ 7eh
  156. PSEUDO_SC_HIRAGANA equ 7fh ;JP9009
  157. HW_SC_TORIKESHI equ 55h ;JP9009
  158. HW_SC_PA1 equ 5ah ;JP9009
  159. HW_SC_CSR_BLINK equ 5bh ;JP9009
  160. HW_SC_INTERRUPT equ 5ch ;JP9009
  161. HW_SC_UF1 equ 5dh ;JP9009
  162. HW_SC_PA2 equ 5eh ;JP9009
  163. HW_SC_UF2 equ 63h ;JP9009
  164. HW_SC_UF3 equ 64h ;JP9009
  165. HW_SC_UF4 equ 65h ;JP9009
  166. HW_SC_ATTENTION equ 66h ;JP9009
  167. HW_SC_SIZE_CONV equ 69h ;JP9009
  168. HW_SC_MESSAGE equ 6ah ;JP9009
  169. HW_SC_COPY equ 6bh ;JP9009
  170. HW_SC_SHUHRYOH equ 6ch ;JP9009
  171. HW_SC_ERASE_EOF equ 6dh ;JP9009
  172. HW_SC_CLEAR equ 76h ;JP9009
  173. ;
  174. ; Type of converted scan code
  175. ;
  176. PSEUDO_CODE equ 00h
  177. EXTENDED_CODE equ 0f0h
  178. EXTENDED_CODE_E0 equ 0e0h ;JP900807
  179. ;
  180. ; Extended code list
  181. ;
  182. EXT_HALF_FULL equ 0afh
  183. EXT_HALF_FULL_UPPER equ 0b0h
  184. EXT_HALF_FULL_CTRL equ 0b1h
  185. EXT_KANJI equ 0b2h
  186. EXT_ALPHA_NUMERIC equ 0b3h
  187. EXT_ALPHA_NUMERIC_CTRL equ 0b4h
  188. EXT_KANJI_NO equ 0b5h
  189. EXT_HIRAGANA equ 0b6h
  190. EXT_KATAKANA equ 0b7h
  191. EXT_HIRAGANA_CTRL equ 0b8h
  192. EXT_ROMAJI equ 0b9h
  193. EXT_HALF_FULL_ALT equ 0bah
  194. EXT_ALPHA_NUMERIC_ALT equ 0bbh
  195. EXT_HIRAGANA_UPPER equ 0bch
  196. EXT_KATAKANA_CTRL equ 0bdh
  197. EXT_KANJI_UPPER equ 0beh
  198. EXT_KANJI_CTRL equ 0bfh
  199. EXT_KATAKANA_SHIFT_A equ 0c0h ;JP9009
  200. EXT_KATAKANA_ALT_A equ 0c1h ;JP9009
  201. EXT_TANGO_A equ 0c2h ;JP9009
  202. EXT_TANGO_SHIFT_A equ 0c3h ;JP9009
  203. EXT_TANGO_CTRL_A equ 0c4h ;JP9009
  204. EXT_TANGO_ALT_A equ 0c5h ;JP9009
  205. EXT_NO_CONV_1 equ 0abh
  206. EXT_NO_CONV_2 equ 0ach
  207. EXT_NO_CONV_3 equ 0adh
  208. EXT_NO_CONV_4 equ 0aeh
  209. EXT_CONV_1 equ 0a7h
  210. EXT_CONV_2 equ 0a8h
  211. EXT_CONV_3 equ 0a9h
  212. EXT_CONV_4 equ 0aah
  213. JP_COMMON_XLAT: ;;
  214. ;;
  215. DW COMMON_XLAT_END-$ ;; length of section
  216. DW -1 ;; code page
  217. ;;
  218. ;;
  219. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  220. ;; CODE PAGE: Common ;SK900807
  221. ;; STATE: Numeric Pad Case ;SK900807
  222. ;; KEYBOARD TYPES: New & Old DBCS keyboard ;SK900807
  223. ;; TABLE TYPE: Translate ;SK900807
  224. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;SK900807
  225. ;; ;SK900807
  226. DW COM_PAD_K1_END-$ ;; length of state section ;SK900807
  227. DB NUMERIC_PAD ;; State ID ;SK900807
  228. DW G_KB + P_KB + DBCS_OLD_KB ;; Keyboard Type ;SK900807
  229. DB -1,-1 ;; Buffer entry for error char ;SK900807
  230. ;; ;SK900807
  231. DW COM_PAD_K1_T1_END-$ ;; Size of xlat table ;SK900807
  232. DB TYPE_2_TAB ;; xlat options: ;SK900807
  233. DB 1 ;; number of entries ;SK900807
  234. db HW_SC_PAD_COMMA, ',', EXTENDED_CODE_E0 ;SK900807
  235. COM_PAD_K1_T1_END: ;; ;SK900807
  236. DW 0 ;; Size of xlat table - null ;SK900807
  237. COM_PAD_K1_END: ;; table ;SK900807
  238. ;; ;SK900807
  239. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;SK900807
  240. ;; CODE PAGE: Common
  241. ;; STATE: Alt Case
  242. ;; KEYBOARD TYPES: New DBCS keyboard
  243. ;; TABLE TYPE: Translate
  244. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  245. ;;
  246. DW COM_ALT_K1_END-$ ;; length of state section
  247. DB ALT_CASE ;; State ID
  248. DW G_KB + P_KB + DBCS_OLD_KB ;; Keyboard Type ;SK900807
  249. DB -1,-1 ;; Buffer entry for error character
  250. ;;
  251. DW COM_ALT_K1_T1_END-$ ;; Size of xlat table
  252. DB TYPE_2_TAB ;; xlat options:
  253. DB 7 ;; number of entries
  254. db HW_SC_BACK_SLASH_NEW, -1, HW_SC_BACK_SLASH ;\\\\\
  255. db HW_SC_YEN_NEW, -1, HW_SC_YEN_NEW
  256. db HW_SC_HALF_FULL_NEW, EXTENDED_CODE, EXT_KANJI ;SK9006
  257. db PSEUDO_SC_ALPHANUMERIC, EXTENDED_CODE, EXT_KANJI_NO
  258. db HW_SC_HIRAGANA, EXTENDED_CODE, EXT_ROMAJI ;SK9006
  259. db HW_SC_CONV, EXTENDED_CODE, EXT_CONV_4
  260. db HW_SC_NO_CONV, EXTENDED_CODE, EXT_NO_CONV_4
  261. COM_ALT_K1_T1_END: ;;
  262. ;;
  263. DW 0 ;; Size of xlat table - null table
  264. ;;
  265. COM_ALT_K1_END: ;;
  266. ;;
  267. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  268. ;; CODE PAGE: Common
  269. ;; STATE: Ctrl Case
  270. ;; KEYBOARD TYPES: New DBCS keyboard
  271. ;; TABLE TYPE: Translate
  272. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  273. ;;
  274. DW COM_CTRL_K1_END-$ ;; length of state section
  275. DB CTRL_CASE ;; State ID
  276. DW G_KB + P_KB + DBCS_OLD_KB ;; Keyboard Type ;SK900807
  277. DB -1,-1 ;; Buffer entry for error character
  278. ;;
  279. DW COM_CTRL_K1_T1_END-$ ;; Size of xlat table
  280. DB TYPE_2_TAB ;; xlat options:
  281. DB 10 ;; number of entries
  282. db 1ah, -1, 1ah ; throw away !!! ('@')
  283. db 1bh, 1bh, 1bh ; CTRL+'[' = ESC
  284. db 2bh, 1dh, 2bh ; CTRL+']' = GS
  285. DB HW_SC_BACK_SLASH_NEW, 1ch, HW_SC_BACK_SLASH; CTRL+'\' = FS ;\\\\\
  286. db HW_SC_YEN_NEW, 1ch, HW_SC_YEN_NEW ; CTRL+'\' = FS
  287. db HW_SC_HALF_FULL_NEW, EXTENDED_CODE, EXT_HALF_FULL_CTRL ;SK9006
  288. db PSEUDO_SC_ALPHANUMERIC, EXTENDED_CODE, EXT_ALPHA_NUMERIC_CTRL
  289. db HW_SC_HIRAGANA, EXTENDED_CODE, EXT_HIRAGANA_CTRL ;SK9006
  290. db HW_SC_CONV, EXTENDED_CODE, EXT_CONV_3
  291. db HW_SC_NO_CONV, EXTENDED_CODE, EXT_NO_CONV_3
  292. COM_CTRL_K1_T1_END: ;;
  293. ;;
  294. DW 0 ;; Size of xlat table - null table
  295. ;;
  296. COM_CTRL_K1_END: ;;
  297. ;;
  298. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  299. ;; CODE PAGE: Common
  300. ;; STATE: Non-Alpha Lower Case
  301. ;; KEYBOARD TYPES: New DBCS keyboard
  302. ;; TABLE TYPE: Translate
  303. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  304. ;;
  305. DW COM_NA_LO_K1_END-$ ;; length of state section
  306. DB NON_ALPHA_LOWER ;; State ID
  307. DW G_KB + P_KB + DBCS_OLD_KB ;; Keyboard Type ;SK900807
  308. DB -1,-1 ;; Buffer entry for error character
  309. ;;
  310. DW COM_NA_LO_K1_T1_END-$ ;; Size of xlat table
  311. DB TYPE_2_TAB ;; xlat options:
  312. DB 12 ;; number of entries
  313. db 0dh, '^' , 0dh
  314. db 1ah, '@' , 1ah
  315. db 1bh, '[' , 1bh
  316. db 28h, ':' , 28h
  317. db 2bh, ']' , 2bh
  318. db HW_SC_BACK_SLASH_NEW, '\', HW_SC_BACK_SLASH ;\\\\\
  319. db HW_SC_YEN_NEW, '\' , HW_SC_YEN_NEW
  320. db HW_SC_HALF_FULL_NEW, EXTENDED_CODE, EXT_HALF_FULL ;SK9006
  321. db PSEUDO_SC_ALPHANUMERIC, EXTENDED_CODE, EXT_ALPHA_NUMERIC
  322. db HW_SC_HIRAGANA, EXTENDED_CODE, EXT_HIRAGANA ;SK9006
  323. db HW_SC_CONV, EXTENDED_CODE, EXT_CONV_1
  324. db HW_SC_NO_CONV, EXTENDED_CODE, EXT_NO_CONV_1
  325. COM_NA_LO_K1_T1_END: ;;
  326. ;;
  327. DW 0 ;; Size of xlat table - null table
  328. ;;
  329. COM_NA_LO_K1_END: ;;
  330. ;;
  331. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  332. ;; CODE PAGE: Common
  333. ;; STATE: Non-Alpha Upper Case
  334. ;; KEYBOARD TYPES: New DBCS keyboard
  335. ;; TABLE TYPE: Translate
  336. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  337. ;;
  338. DW COM_NA_UP_K1_END-$ ;; length of state section
  339. DB NON_ALPHA_UPPER ;; State ID
  340. DW G_KB + P_KB + DBCS_OLD_KB ;; Keyboard Type ;SK900807
  341. DB -1,-1 ;; Buffer entry for error character
  342. ;;
  343. DW COM_NA_UP_T1_K1_END-$ ;; Size of xlat table
  344. DB TYPE_2_TAB ;; xlat options:
  345. DB 19 ;; number of entries
  346. db 03h, '"', 03h
  347. db 07h, '&', 07h
  348. db 08h, "'", 08h
  349. db 09h, '(', 09h
  350. db 0ah, ')', 0ah
  351. db HW_SC_0, EXTENDED_CODE , 0bh ; only for KKC ;SK9007
  352. db 0ch, '=', 0ch
  353. db HW_SC_HAT, '~', 0dh ;SK9007
  354. db 1ah, '`', 1ah
  355. db 1bh, '{', 1bh
  356. db 27h, '+', 27h
  357. db 28h, '*', 28h
  358. db 2bh, '}', 2bh
  359. db HW_SC_BACK_SLASH_NEW, '_', HW_SC_BACK_SLASH ;\\\\\\
  360. db HW_SC_YEN_NEW, '|', HW_SC_YEN_NEW
  361. db HW_SC_HALF_FULL_NEW, EXTENDED_CODE, EXT_HALF_FULL_UPPER ;SK9006
  362. db HW_SC_HIRAGANA, EXTENDED_CODE, EXT_KATAKANA ;SK9006
  363. db HW_SC_CONV, EXTENDED_CODE, EXT_CONV_2
  364. db HW_SC_NO_CONV, EXTENDED_CODE, EXT_NO_CONV_2
  365. COM_NA_UP_T1_K1_END: ;;
  366. ;;
  367. DW 0 ;; Size of xlat table - null table
  368. COM_NA_UP_K1_END: ;;
  369. ;;
  370. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  371. DW 0 ;; LAST STATE
  372. COMMON_XLAT_END: ;;
  373. ;;
  374. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  375. ;; ;;
  376. ;; JP Specific Translate Section for ;;
  377. ;; Code Page 932. ;;
  378. ;; It is completely covered by the ;;
  379. ;; common table. ;;
  380. ;; ;;
  381. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  382. ;;
  383. JP_932_XLAT: ;;
  384. ;;
  385. DW CP932_XLAT_END - $ ;;
  386. DW 932 ;;
  387. ;;
  388. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  389. DW 0 ;;
  390. CP932_XLAT_END: ;;
  391. ;;
  392. ;;
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  394. ;; ;;
  395. ;; JP Specific Translate Section for ;;
  396. ;; Code Page 437. ;;
  397. ;; It is completely covered by the ;;
  398. ;; common table. ;;
  399. ;; ;;
  400. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  401. ;;
  402. JP_437_XLAT: ;;
  403. ;;
  404. DW CP437_XLAT_END - $ ;;
  405. DW 437 ;;
  406. ;;
  407. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  408. DW CP437_ALT_K1_END - $ ;; length of state section
  409. DB ALT_CASE ;; State ID
  410. DW G_KB + P_KB + DBCS_OLD_KB ;; Keyboard Type ;SK900807
  411. DB -1, -1 ;; Buffer entry for error character
  412. DW CP437_ALT_K1_T1_END - $ ;; Size of xlat table
  413. DB STANDARD_TABLE ;; xlat options:
  414. DB 4 ;; number of entries
  415. db HW_SC_CONV, ' '
  416. db HW_SC_NO_CONV, ' '
  417. db HW_SC_HALF_FULL_NEW, -1
  418. db HW_SC_HIRAGANA, ' '
  419. CP437_ALT_K1_T1_END: ;;
  420. DW 0 ;;
  421. CP437_ALT_K1_END: ;;
  422. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  423. DW CP437_CTRL_K1_END - $ ;; length of state section
  424. DB CTRL_CASE ;; State ID
  425. DW G_KB + P_KB + DBCS_OLD_KB ;; Keyboard Type ;SK900807
  426. DB -1, -1 ;; Buffer entry for error character
  427. DW CP437_CTRL_K1_T1_END - $ ;; Size of xlat table
  428. DB STANDARD_TABLE ;; xlat options:
  429. DB 4 ;; number of entries
  430. db HW_SC_CONV, ' '
  431. db HW_SC_NO_CONV, ' '
  432. db HW_SC_HALF_FULL_NEW, -1
  433. db HW_SC_HIRAGANA, ' '
  434. CP437_CTRL_K1_T1_END: ;;
  435. DW 0 ;;
  436. CP437_CTRL_K1_END: ;;
  437. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  438. ;; CODE PAGE: 437
  439. ;; STATE: Non-Alpha Lower Case
  440. ;; KEYBOARD TYPES: New DBCS keyboard
  441. ;; TABLE TYPE: Translate
  442. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  443. DW CP437_NA_LO_K1_END - $ ;; length of state section
  444. DB NON_ALPHA_LOWER ;; State ID
  445. DW G_KB + P_KB + DBCS_OLD_KB ;; Keyboard Type ;SK900807
  446. DB -1, -1 ;; Buffer entry for error character
  447. DW CP437_NA_LO_K1_T1_END - $ ;; Size of xlat table
  448. DB STANDARD_TABLE ;; xlat options:
  449. DB 4 ;; number of entries
  450. db HW_SC_CONV, ' '
  451. db HW_SC_NO_CONV, ' '
  452. db HW_SC_HALF_FULL_NEW, -1
  453. db HW_SC_HIRAGANA, ' '
  454. CP437_NA_LO_K1_T1_END: ;;
  455. DW 0 ;;
  456. CP437_NA_LO_K1_END: ;;
  457. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  458. ;; CODE PAGE: 437
  459. ;; STATE: Non-Alpha Upper Case
  460. ;; KEYBOARD TYPES: New DBCS keyboard
  461. ;; TABLE TYPE: Translate
  462. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  463. DW CP437_NA_UP_K1_END - $ ;; length of state section
  464. DB NON_ALPHA_UPPER ;; State ID
  465. DW G_KB + P_KB + DBCS_OLD_KB ;; Keyboard Type ;SK900807
  466. DB -1, -1 ;; Buffer entry for error character
  467. DW CP437_NA_UP_K1_T1_END - $ ;; Size of xlat table
  468. DB STANDARD_TABLE ;; xlat options:
  469. DB 6 ;; number of entries ;SK9007
  470. db HW_SC_0, '~' ;SK9007
  471. db HW_SC_HAT, -1 ;SK9007
  472. db HW_SC_CONV, ' '
  473. db HW_SC_NO_CONV, ' '
  474. db HW_SC_HALF_FULL_NEW, -1
  475. db HW_SC_HIRAGANA, ' '
  476. CP437_NA_UP_K1_T1_END: ;;
  477. DW 0 ;;
  478. CP437_NA_UP_K1_END: ;;
  479. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  480. DW 0 ;;
  481. CP437_XLAT_END: ;;
  482. ;;
  483. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  484. CODE ENDS ;;
  485. END ;;