antoine-source/keytranslationtable/KT2.S
Antoine Vignau 4d4fb6a665 Let's free the code!!
Some old (WIP) disassemblies and my own source code now available online.
2024-07-23 23:38:22 +02:00

48 lines
1.3 KiB
ArmAsm
Raw Blame History

*
* Resource $8021
* 0FF06FF for the default translation table (en fran<EFBFBD>ais)
*
* (c) 202x, Antoine Vignau
*
* transTable (256 bytes)
HEX 000102030405060708090A0B0C0D0E0F
HEX 101112131415161718191A1B1C1D1E1F
HEX 202122232425262728292A2B2C2D2E2F
HEX 303132333435363738393A3B3C3D3E3F
HEX 884142434445464748494A4B4C4D4E4F
HEX 505152535455565758595A5B8D5D5E5F
HEX 606162636465666768696A6B6C6D6E6F
HEX 707172737475767778797A8E9D8F7E7F
HEX 808182838485868788898A8B8C8D8E8F
HEX 909192939495969798999A9B9C9D9E9F
HEX A0A1A2A3A4A5A6A7A8A9AAABACADAEAF
HEX B0B1B2B3B4B5B6B7B8B9BABBBCBDBEBF
HEX C0C1C2C3C4C5C6C7C8C9CACBCCCDCECF
HEX D0D1D2D3D4D5D6D7D8D9DADBDCDDDEDF
HEX E0E1E2E3E4E5E6E7E8E9EAEBECEDEEEF
HEX F0F1F2F3F4F5F6F7F8F9FAFBFCFDFEFF
* deadKeyTable (deadKey, offset)
HEX DB04 ; for ^
HEX F50F ; for ¬
HEX EE1A ; for tilde
HEX 0000
* replacementTable1 (scanKey, replaceValue)
HEX 6189659069946F99759E41E545E649EB
HEX 4FEF55F30000
* replacementTable2 (scanKey, replaceValue)
HEX 618A659169956F9A759F418045E849EC
HEX 4F8555860000
* replacementTable3 (scanKey, replaceValue)
HEX 618B6E966F9B41CC4E844FCD0000