Lua 5.3 didn't need an x86 emulator. But now, it has one regardless.
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.

table_cp437.lua 4.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. return {
  2. [0x00] = 0x0020,
  3. [0x01] = 0x263A,
  4. [0x02] = 0x263B,
  5. [0x03] = 0x2665,
  6. [0x04] = 0x2666,
  7. [0x05] = 0x2663,
  8. [0x06] = 0x2660,
  9. [0x07] = 0x2022,
  10. [0x08] = 0x25D8,
  11. [0x09] = 0x25EF,
  12. [0x0A] = 0x25D9,
  13. [0x0B] = 0x2642,
  14. [0x0C] = 0x2640,
  15. [0x0D] = 0x266A,
  16. [0x0E] = 0x266C,
  17. [0x0F] = 0x263C,
  18. [0x10] = 0x25BA,
  19. [0x11] = 0x25C4,
  20. [0x12] = 0x21A5, -- TODO: should be 2195 (await OpenComputers update)
  21. [0x13] = 0x203C,
  22. [0x14] = 0x00B6,
  23. [0x15] = 0x00A7,
  24. [0x16] = 0x25AC,
  25. [0x17] = 0x21A8,
  26. [0x18] = 0x2191,
  27. [0x19] = 0x2193,
  28. [0x1A] = 0x2192,
  29. [0x1B] = 0x2190,
  30. [0x1C] = 0x2319,
  31. [0x1D] = 0x2194,
  32. [0x1E] = 0x25B2,
  33. [0x1F] = 0x25BC,
  34. [0x20] = 0x0020,
  35. [0x21] = 0x0021,
  36. [0x22] = 0x0022,
  37. [0x23] = 0x0023,
  38. [0x24] = 0x0024,
  39. [0x25] = 0x0025,
  40. [0x26] = 0x0026,
  41. [0x27] = 0x0027,
  42. [0x28] = 0x0028,
  43. [0x29] = 0x0029,
  44. [0x2A] = 0x002A,
  45. [0x2B] = 0x002B,
  46. [0x2C] = 0x002C,
  47. [0x2D] = 0x002D,
  48. [0x2E] = 0x002E,
  49. [0x2F] = 0x002F,
  50. [0x30] = 0x0030,
  51. [0x31] = 0x0031,
  52. [0x32] = 0x0032,
  53. [0x33] = 0x0033,
  54. [0x34] = 0x0034,
  55. [0x35] = 0x0035,
  56. [0x36] = 0x0036,
  57. [0x37] = 0x0037,
  58. [0x38] = 0x0038,
  59. [0x39] = 0x0039,
  60. [0x3A] = 0x003A,
  61. [0x3B] = 0x003B,
  62. [0x3C] = 0x003C,
  63. [0x3D] = 0x003D,
  64. [0x3E] = 0x003E,
  65. [0x3F] = 0x003F,
  66. [0x40] = 0x0040,
  67. [0x41] = 0x0041,
  68. [0x42] = 0x0042,
  69. [0x43] = 0x0043,
  70. [0x44] = 0x0044,
  71. [0x45] = 0x0045,
  72. [0x46] = 0x0046,
  73. [0x47] = 0x0047,
  74. [0x48] = 0x0048,
  75. [0x49] = 0x0049,
  76. [0x4A] = 0x004A,
  77. [0x4B] = 0x004B,
  78. [0x4C] = 0x004C,
  79. [0x4D] = 0x004D,
  80. [0x4E] = 0x004E,
  81. [0x4F] = 0x004F,
  82. [0x50] = 0x0050,
  83. [0x51] = 0x0051,
  84. [0x52] = 0x0052,
  85. [0x53] = 0x0053,
  86. [0x54] = 0x0054,
  87. [0x55] = 0x0055,
  88. [0x56] = 0x0056,
  89. [0x57] = 0x0057,
  90. [0x58] = 0x0058,
  91. [0x59] = 0x0059,
  92. [0x5A] = 0x005A,
  93. [0x5B] = 0x005B,
  94. [0x5C] = 0x005C,
  95. [0x5D] = 0x005D,
  96. [0x5E] = 0x005E,
  97. [0x5F] = 0x005F,
  98. [0x60] = 0x0060,
  99. [0x61] = 0x0061,
  100. [0x62] = 0x0062,
  101. [0x63] = 0x0063,
  102. [0x64] = 0x0064,
  103. [0x65] = 0x0065,
  104. [0x66] = 0x0066,
  105. [0x67] = 0x0067,
  106. [0x68] = 0x0068,
  107. [0x69] = 0x0069,
  108. [0x6A] = 0x006A,
  109. [0x6B] = 0x006B,
  110. [0x6C] = 0x006C,
  111. [0x6D] = 0x006D,
  112. [0x6E] = 0x006E,
  113. [0x6F] = 0x006F,
  114. [0x70] = 0x0070,
  115. [0x71] = 0x0071,
  116. [0x72] = 0x0072,
  117. [0x73] = 0x0073,
  118. [0x74] = 0x0074,
  119. [0x75] = 0x0075,
  120. [0x76] = 0x0076,
  121. [0x77] = 0x0077,
  122. [0x78] = 0x0078,
  123. [0x79] = 0x0079,
  124. [0x7A] = 0x007A,
  125. [0x7B] = 0x007B,
  126. [0x7C] = 0x007C,
  127. [0x7D] = 0x007D,
  128. [0x7E] = 0x007E,
  129. [0x7F] = 0x007F,
  130. [0x80] = 0x00C7,
  131. [0x81] = 0x00FC,
  132. [0x82] = 0x00E9,
  133. [0x83] = 0x00E2,
  134. [0x84] = 0x00E4,
  135. [0x85] = 0x00E0,
  136. [0x86] = 0x00E5,
  137. [0x87] = 0x00E7,
  138. [0x88] = 0x00EA,
  139. [0x89] = 0x00EB,
  140. [0x8A] = 0x00E8,
  141. [0x8B] = 0x00EF,
  142. [0x8C] = 0x00EE,
  143. [0x8D] = 0x00EC,
  144. [0x8E] = 0x00C4,
  145. [0x8F] = 0x00C5,
  146. [0x90] = 0x00C9,
  147. [0x91] = 0x00E6,
  148. [0x92] = 0x00C6,
  149. [0x93] = 0x00F4,
  150. [0x94] = 0x00F6,
  151. [0x95] = 0x00F2,
  152. [0x96] = 0x00FB,
  153. [0x97] = 0x00F9,
  154. [0x98] = 0x00FF,
  155. [0x99] = 0x00D6,
  156. [0x9A] = 0x00DC,
  157. [0x9B] = 0x00A2,
  158. [0x9C] = 0x00A3,
  159. [0x9D] = 0x00A5,
  160. [0x9E] = 0x20A7,
  161. [0x9F] = 0x0192,
  162. [0xA0] = 0x00E1,
  163. [0xA1] = 0x00ED,
  164. [0xA2] = 0x00F3,
  165. [0xA3] = 0x00FA,
  166. [0xA4] = 0x00F1,
  167. [0xA5] = 0x00D1,
  168. [0xA6] = 0x00AA,
  169. [0xA7] = 0x00BA,
  170. [0xA8] = 0x00BF,
  171. [0xA9] = 0x2310,
  172. [0xAA] = 0x00AC,
  173. [0xAB] = 0x00BD,
  174. [0xAC] = 0x00BC,
  175. [0xAD] = 0x00A1,
  176. [0xAE] = 0x00AB,
  177. [0xAF] = 0x00BB,
  178. [0xB0] = 0x2591,
  179. [0xB1] = 0x2592,
  180. [0xB2] = 0x2593,
  181. [0xB3] = 0x2502,
  182. [0xB4] = 0x2524,
  183. [0xB5] = 0x2561,
  184. [0xB6] = 0x2562,
  185. [0xB7] = 0x2556,
  186. [0xB8] = 0x2555,
  187. [0xB9] = 0x2563,
  188. [0xBA] = 0x2551,
  189. [0xBB] = 0x2557,
  190. [0xBC] = 0x255D,
  191. [0xBD] = 0x255C,
  192. [0xBE] = 0x255B,
  193. [0xBF] = 0x2510,
  194. [0xC0] = 0x2514,
  195. [0xC1] = 0x2534,
  196. [0xC2] = 0x252C,
  197. [0xC3] = 0x251C,
  198. [0xC4] = 0x2500,
  199. [0xC5] = 0x253C,
  200. [0xC6] = 0x255E,
  201. [0xC7] = 0x255F,
  202. [0xC8] = 0x255A,
  203. [0xC9] = 0x2554,
  204. [0xCA] = 0x2569,
  205. [0xCB] = 0x2566,
  206. [0xCC] = 0x2560,
  207. [0xCD] = 0x2550,
  208. [0xCE] = 0x256C,
  209. [0xCF] = 0x2567,
  210. [0xD0] = 0x2568,
  211. [0xD1] = 0x2564,
  212. [0xD2] = 0x2565,
  213. [0xD3] = 0x2559,
  214. [0xD4] = 0x2558,
  215. [0xD5] = 0x2552,
  216. [0xD6] = 0x2553,
  217. [0xD7] = 0x256B,
  218. [0xD8] = 0x256A,
  219. [0xD9] = 0x2518,
  220. [0xDA] = 0x250C,
  221. [0xDB] = 0x2588,
  222. [0xDC] = 0x2584,
  223. [0xDD] = 0x258C,
  224. [0xDE] = 0x2590,
  225. [0xDF] = 0x2580,
  226. [0xE0] = 0x03B1,
  227. [0xE1] = 0x00DF,
  228. [0xE2] = 0x0393,
  229. [0xE3] = 0x03C0,
  230. [0xE4] = 0x03A3,
  231. [0xE5] = 0x03C3,
  232. [0xE6] = 0x00B5,
  233. [0xE7] = 0x03C4,
  234. [0xE8] = 0x03A6,
  235. [0xE9] = 0x0398,
  236. [0xEA] = 0x03A9,
  237. [0xEB] = 0x03B4,
  238. [0xEC] = 0x221E,
  239. [0xED] = 0x03C6,
  240. [0xEE] = 0x03B5,
  241. [0xEF] = 0x2229,
  242. [0xF0] = 0x2261,
  243. [0xF1] = 0x00B1,
  244. [0xF2] = 0x2265,
  245. [0xF3] = 0x2264,
  246. [0xF4] = 0x2320,
  247. [0xF5] = 0x2321,
  248. [0xF6] = 0x00F7,
  249. [0xF7] = 0x2248,
  250. [0xF8] = 0x00B0,
  251. [0xF9] = 0x2219,
  252. [0xFA] = 0x00B7,
  253. [0xFB] = 0x221A,
  254. [0xFC] = 0x207F,
  255. [0xFD] = 0x00B2,
  256. [0xFE] = 0x25A0,
  257. [0xFF] = 0x0020
  258. }