zemu 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (285) hide show
  1. checksums.yaml +7 -0
  2. data/lib/zemu/config.rb +312 -0
  3. data/lib/zemu/instance.rb +179 -0
  4. data/lib/zemu.rb +172 -0
  5. data/src/debug.c +118 -0
  6. data/src/debug.h +30 -0
  7. data/src/external/Z/API/Z/ABIs/generic/allocator.h +36 -0
  8. data/src/external/Z/API/Z/ABIs/generic/cipher.h +47 -0
  9. data/src/external/Z/API/Z/ABIs/generic/data codec.h +33 -0
  10. data/src/external/Z/API/Z/ABIs/generic/emulation.h +103 -0
  11. data/src/external/Z/API/Z/ABIs/generic/hash function.h +33 -0
  12. data/src/external/Z/API/Z/ABIs/generic/module.h +33 -0
  13. data/src/external/Z/API/Z/ABIs/generic/wave codec.h +40 -0
  14. data/src/external/Z/API/Z/classes/base/InitializerList.hpp +34 -0
  15. data/src/external/Z/API/Z/classes/base/OpaqueFunctionPointer.hpp +26 -0
  16. data/src/external/Z/API/Z/classes/base/OpaqueMemberFunctionPointer.hpp +26 -0
  17. data/src/external/Z/API/Z/classes/base/Pair.hpp +46 -0
  18. data/src/external/Z/API/Z/classes/base/Range.hpp +111 -0
  19. data/src/external/Z/API/Z/classes/base/SizedString.hpp +66 -0
  20. data/src/external/Z/API/Z/classes/base/Status.hpp +89 -0
  21. data/src/external/Z/API/Z/classes/base/Symbol.hpp +39 -0
  22. data/src/external/Z/API/Z/classes/base/Tuple.hpp +111 -0
  23. data/src/external/Z/API/Z/classes/base/Value2D.hpp +389 -0
  24. data/src/external/Z/API/Z/classes/base/Value3D.hpp +368 -0
  25. data/src/external/Z/API/Z/classes/buffering/RingBuffer.hpp +93 -0
  26. data/src/external/Z/API/Z/classes/buffering/TripleBuffer.hpp +68 -0
  27. data/src/external/Z/API/Z/classes/functional/Functor.hpp +265 -0
  28. data/src/external/Z/API/Z/classes/functional/MemberFunction.hpp +98 -0
  29. data/src/external/Z/API/Z/classes/functional/ObjectMemberFunction.hpp +172 -0
  30. data/src/external/Z/API/Z/classes/functional/ObjectSelector.hpp +219 -0
  31. data/src/external/Z/API/Z/classes/functional/Selector.hpp +146 -0
  32. data/src/external/Z/API/Z/classes/mathematics/geometry/euclidean/AABB.hpp +81 -0
  33. data/src/external/Z/API/Z/classes/mathematics/geometry/euclidean/AABR.hpp +685 -0
  34. data/src/external/Z/API/Z/classes/mathematics/geometry/euclidean/Box.hpp +219 -0
  35. data/src/external/Z/API/Z/classes/mathematics/geometry/euclidean/Circle.hpp +80 -0
  36. data/src/external/Z/API/Z/classes/mathematics/geometry/euclidean/Line2D.hpp +93 -0
  37. data/src/external/Z/API/Z/classes/mathematics/geometry/euclidean/Line3D.hpp +80 -0
  38. data/src/external/Z/API/Z/classes/mathematics/geometry/euclidean/Rectangle.hpp +675 -0
  39. data/src/external/Z/API/Z/classes/mathematics/geometry/euclidean/Sphere.hpp +0 -0
  40. data/src/external/Z/API/Z/classes/memory/Shared.hpp +90 -0
  41. data/src/external/Z/API/Z/constants/base.h +35 -0
  42. data/src/external/Z/API/Z/constants/chemical elements.h +6385 -0
  43. data/src/external/Z/API/Z/constants/numbers.h +963 -0
  44. data/src/external/Z/API/Z/constants/version.h +15 -0
  45. data/src/external/Z/API/Z/formats/character set/ASCII.h +158 -0
  46. data/src/external/Z/API/Z/formats/character set/DOS CP437.h +159 -0
  47. data/src/external/Z/API/Z/formats/character set/DOS CP737.h +159 -0
  48. data/src/external/Z/API/Z/formats/character set/DOS CP775.h +159 -0
  49. data/src/external/Z/API/Z/formats/character set/DOS CP850.h +159 -0
  50. data/src/external/Z/API/Z/formats/character set/DOS CP852.h +159 -0
  51. data/src/external/Z/API/Z/formats/character set/DOS CP855.h +159 -0
  52. data/src/external/Z/API/Z/formats/character set/DOS CP857.h +159 -0
  53. data/src/external/Z/API/Z/formats/character set/DOS CP858.h +159 -0
  54. data/src/external/Z/API/Z/formats/character set/DOS CP860.h +159 -0
  55. data/src/external/Z/API/Z/formats/character set/DOS CP861.h +159 -0
  56. data/src/external/Z/API/Z/formats/character set/DOS CP862.h +159 -0
  57. data/src/external/Z/API/Z/formats/character set/DOS CP863.h +159 -0
  58. data/src/external/Z/API/Z/formats/character set/DOS CP864.h +159 -0
  59. data/src/external/Z/API/Z/formats/character set/DOS CP865.h +159 -0
  60. data/src/external/Z/API/Z/formats/character set/DOS CP866.h +159 -0
  61. data/src/external/Z/API/Z/formats/character set/DOS CP869.h +159 -0
  62. data/src/external/Z/API/Z/formats/character set/DOS CP872.h +159 -0
  63. data/src/external/Z/API/Z/formats/character set/DOS CP874.h +159 -0
  64. data/src/external/Z/API/Z/formats/character set/Unicode.h +30119 -0
  65. data/src/external/Z/API/Z/formats/data model/I16LP32.h +19 -0
  66. data/src/external/Z/API/Z/formats/data model/ILP32.h +19 -0
  67. data/src/external/Z/API/Z/formats/data model/ILP64.h +19 -0
  68. data/src/external/Z/API/Z/formats/data model/IP16L32.h +19 -0
  69. data/src/external/Z/API/Z/formats/data model/LLP64.h +19 -0
  70. data/src/external/Z/API/Z/formats/data model/LP32.h +19 -0
  71. data/src/external/Z/API/Z/formats/data model/LP64.h +19 -0
  72. data/src/external/Z/API/Z/formats/data model/SILP64.h +19 -0
  73. data/src/external/Z/API/Z/formats/file system/FAT12.h +61 -0
  74. data/src/external/Z/API/Z/formats/floating-point/IEEE 754.h +141 -0
  75. data/src/external/Z/API/Z/formats/floating-point/x87.h +74 -0
  76. data/src/external/Z/API/Z/formats/image/ICNS.h +39 -0
  77. data/src/external/Z/API/Z/formats/keymap/Mac OS.h +284 -0
  78. data/src/external/Z/API/Z/formats/keymap/Z.h +141 -0
  79. data/src/external/Z/API/Z/formats/multimedia/Creative Voice.h +106 -0
  80. data/src/external/Z/API/Z/formats/multimedia/Microsoft Wave.h +49 -0
  81. data/src/external/Z/API/Z/formats/snapshot/machine/computer/ZX Spectrum/ACH.h +44 -0
  82. data/src/external/Z/API/Z/formats/snapshot/machine/computer/ZX Spectrum/FRZ.h +54 -0
  83. data/src/external/Z/API/Z/formats/snapshot/machine/computer/ZX Spectrum/PRG.h +33 -0
  84. data/src/external/Z/API/Z/formats/snapshot/machine/computer/ZX Spectrum/SEM.h +46 -0
  85. data/src/external/Z/API/Z/formats/snapshot/machine/computer/ZX Spectrum/SIT.h +34 -0
  86. data/src/external/Z/API/Z/formats/snapshot/machine/computer/ZX Spectrum/SNA.h +117 -0
  87. data/src/external/Z/API/Z/formats/snapshot/machine/computer/ZX Spectrum/SNP.h +37 -0
  88. data/src/external/Z/API/Z/formats/snapshot/machine/computer/ZX Spectrum/SP.h +62 -0
  89. data/src/external/Z/API/Z/formats/snapshot/machine/computer/ZX Spectrum/Z80.h +117 -0
  90. data/src/external/Z/API/Z/formats/snapshot/machine/computer/ZX Spectrum/ZX.h +56 -0
  91. data/src/external/Z/API/Z/formats/snapshot/machine/computer/ZX Spectrum/ZX82.h +70 -0
  92. data/src/external/Z/API/Z/formats/storage medium image/NES Game Pak/UNIF.h +26 -0
  93. data/src/external/Z/API/Z/formats/storage medium image/NES Game Pak/iNES.h +76 -0
  94. data/src/external/Z/API/Z/formats/storage medium image/audio/TAP.h +25 -0
  95. data/src/external/Z/API/Z/formats/storage medium image/audio/TZX.h +1185 -0
  96. data/src/external/Z/API/Z/formats/storage medium image/audio/Warajevo TAP.h +32 -0
  97. data/src/external/Z/API/Z/formats/storage medium image/floppy disk/FDI.h +45 -0
  98. data/src/external/Z/API/Z/functions/base/Z2D.h +583 -0
  99. data/src/external/Z/API/Z/functions/base/Z3D.h +712 -0
  100. data/src/external/Z/API/Z/functions/base/ZRange.h +137 -0
  101. data/src/external/Z/API/Z/functions/base/all.h +16 -0
  102. data/src/external/Z/API/Z/functions/base/casting.hpp +37 -0
  103. data/src/external/Z/API/Z/functions/base/character.h +38 -0
  104. data/src/external/Z/API/Z/functions/base/constructors.h +326 -0
  105. data/src/external/Z/API/Z/functions/base/structure.hpp +26 -0
  106. data/src/external/Z/API/Z/functions/base/type.hpp +60 -0
  107. data/src/external/Z/API/Z/functions/base/value.h +1901 -0
  108. data/src/external/Z/API/Z/functions/base/value.hpp +112 -0
  109. data/src/external/Z/API/Z/functions/buffering/ZRingBuffer.h +85 -0
  110. data/src/external/Z/API/Z/functions/buffering/ZTripleBuffer.h +65 -0
  111. data/src/external/Z/API/Z/functions/mathematics/geometry/euclidean/Z2DLine.h +179 -0
  112. data/src/external/Z/API/Z/functions/mathematics/geometry/euclidean/Z3DLine.h +168 -0
  113. data/src/external/Z/API/Z/functions/mathematics/geometry/euclidean/ZAABB.h +361 -0
  114. data/src/external/Z/API/Z/functions/mathematics/geometry/euclidean/ZAABR.h +1081 -0
  115. data/src/external/Z/API/Z/functions/mathematics/geometry/euclidean/ZBox.h +340 -0
  116. data/src/external/Z/API/Z/functions/mathematics/geometry/euclidean/ZCircle.h +142 -0
  117. data/src/external/Z/API/Z/functions/mathematics/geometry/euclidean/ZRectangle.h +1267 -0
  118. data/src/external/Z/API/Z/functions/mathematics/geometry/euclidean/ZSphere.h +156 -0
  119. data/src/external/Z/API/Z/functions/mathematics/geometry/euclidean/all.h +18 -0
  120. data/src/external/Z/API/Z/functions/mathematics/geometry/euclidean/constructors.h +620 -0
  121. data/src/external/Z/API/Z/functions/time/date.h +29 -0
  122. data/src/external/Z/API/Z/hardware/CPU/architecture/6502.h +90 -0
  123. data/src/external/Z/API/Z/hardware/CPU/architecture/Z80.h +245 -0
  124. data/src/external/Z/API/Z/hardware/CPU/architecture/i4004.h +37 -0
  125. data/src/external/Z/API/Z/hardware/PSG/General Instrument/AY-3-891x.h +180 -0
  126. data/src/external/Z/API/Z/hardware/VDC/Ricoh/RP2C0x.h +625 -0
  127. data/src/external/Z/API/Z/hardware/bus/AGP.h +24 -0
  128. data/src/external/Z/API/Z/hardware/bus/USB.h +510 -0
  129. data/src/external/Z/API/Z/hardware/machine/model/computer/ZX Spectrum/Inves Spectrum +.h +47 -0
  130. data/src/external/Z/API/Z/hardware/machine/model/computer/ZX Spectrum/Pentagon.h +13 -0
  131. data/src/external/Z/API/Z/hardware/machine/model/computer/ZX Spectrum/Scorpion.h +13 -0
  132. data/src/external/Z/API/Z/hardware/machine/model/computer/ZX Spectrum/ZX Spectrum + 128K.h +158 -0
  133. data/src/external/Z/API/Z/hardware/machine/model/computer/ZX Spectrum/ZX Spectrum +.h +82 -0
  134. data/src/external/Z/API/Z/hardware/machine/model/computer/ZX Spectrum/ZX Spectrum +2.h +13 -0
  135. data/src/external/Z/API/Z/hardware/machine/model/computer/ZX Spectrum/ZX Spectrum +2A.h +13 -0
  136. data/src/external/Z/API/Z/hardware/machine/model/computer/ZX Spectrum/ZX Spectrum +3.h +13 -0
  137. data/src/external/Z/API/Z/hardware/machine/model/computer/ZX Spectrum/ZX Spectrum.h +109 -0
  138. data/src/external/Z/API/Z/hardware/machine/model/console/Nintendo Entertainment System/NES-001 (NTSC).h +29 -0
  139. data/src/external/Z/API/Z/hardware/machine/model/console/Nintendo Entertainment System/NES-001 (PAL).h +29 -0
  140. data/src/external/Z/API/Z/hardware/machine/platform/computer/ZX Spectrum.h +405 -0
  141. data/src/external/Z/API/Z/hardware/machine/platform/console/Game Boy.h +49 -0
  142. data/src/external/Z/API/Z/hardware/machine/platform/console/Nintendo Entertainment System.h +350 -0
  143. data/src/external/Z/API/Z/hardware/storage medium/ROM cartridge/SNES Game Pak.h +238 -0
  144. data/src/external/Z/API/Z/inspection/C/completion.h +178 -0
  145. data/src/external/Z/API/Z/inspection/C/modules/C11.h +41 -0
  146. data/src/external/Z/API/Z/inspection/C/modules/C18.h +13 -0
  147. data/src/external/Z/API/Z/inspection/C/modules/C89.h +19 -0
  148. data/src/external/Z/API/Z/inspection/C/modules/C90.h +13 -0
  149. data/src/external/Z/API/Z/inspection/C/modules/C94.h +15 -0
  150. data/src/external/Z/API/Z/inspection/C/modules/C99.h +29 -0
  151. data/src/external/Z/API/Z/inspection/C/modules/KR C.h +19 -0
  152. data/src/external/Z/API/Z/inspection/C++/completion.h +512 -0
  153. data/src/external/Z/API/Z/inspection/C++/modules/C++03.h +15 -0
  154. data/src/external/Z/API/Z/inspection/C++/modules/C++11.h +80 -0
  155. data/src/external/Z/API/Z/inspection/C++/modules/C++14.h +26 -0
  156. data/src/external/Z/API/Z/inspection/C++/modules/C++17.h +55 -0
  157. data/src/external/Z/API/Z/inspection/C++/modules/C++85.h +11 -0
  158. data/src/external/Z/API/Z/inspection/C++/modules/C++89.h +13 -0
  159. data/src/external/Z/API/Z/inspection/C++/modules/C++98.h +17 -0
  160. data/src/external/Z/API/Z/inspection/C++.h +78 -0
  161. data/src/external/Z/API/Z/inspection/C.h +79 -0
  162. data/src/external/Z/API/Z/inspection/CPU/completion.h +56 -0
  163. data/src/external/Z/API/Z/inspection/CPU/detection.h +714 -0
  164. data/src/external/Z/API/Z/inspection/CPU/modules/6502.h +25 -0
  165. data/src/external/Z/API/Z/inspection/CPU/modules/AArch32.h +32 -0
  166. data/src/external/Z/API/Z/inspection/CPU/modules/AArch64.h +32 -0
  167. data/src/external/Z/API/Z/inspection/CPU/modules/Z80.h +26 -0
  168. data/src/external/Z/API/Z/inspection/CPU/modules/x86-32.h +31 -0
  169. data/src/external/Z/API/Z/inspection/CPU/modules/x86-64.h +312 -0
  170. data/src/external/Z/API/Z/inspection/CPU.h +209 -0
  171. data/src/external/Z/API/Z/inspection/OS/completion.h +36 -0
  172. data/src/external/Z/API/Z/inspection/OS/detection.h +768 -0
  173. data/src/external/Z/API/Z/inspection/OS/modules/Linux.h +22 -0
  174. data/src/external/Z/API/Z/inspection/OS/modules/MS-DOS.h +16 -0
  175. data/src/external/Z/API/Z/inspection/OS/modules/Mac OS X.h +23 -0
  176. data/src/external/Z/API/Z/inspection/OS/modules/Windows.h +19 -0
  177. data/src/external/Z/API/Z/inspection/OS/modules/iPhone OS.h +23 -0
  178. data/src/external/Z/API/Z/inspection/OS.h +236 -0
  179. data/src/external/Z/API/Z/inspection/Objective-C/completion.h +8 -0
  180. data/src/external/Z/API/Z/inspection/Objective-C/modules/Objective-C v1.0.h +11 -0
  181. data/src/external/Z/API/Z/inspection/Objective-C/modules/Objective-C v2.0.h +15 -0
  182. data/src/external/Z/API/Z/inspection/Objective-C.h +51 -0
  183. data/src/external/Z/API/Z/inspection/Z.h +19 -0
  184. data/src/external/Z/API/Z/inspection/build.h +22 -0
  185. data/src/external/Z/API/Z/inspection/character set.h +66 -0
  186. data/src/external/Z/API/Z/inspection/compiler/completion.h +2885 -0
  187. data/src/external/Z/API/Z/inspection/compiler/modules/Apple LLVM.h +26 -0
  188. data/src/external/Z/API/Z/inspection/compiler/modules/Clang.h +1664 -0
  189. data/src/external/Z/API/Z/inspection/compiler/modules/GCC.h +1366 -0
  190. data/src/external/Z/API/Z/inspection/compiler/modules/SCCZ80.h +473 -0
  191. data/src/external/Z/API/Z/inspection/compiler/modules/Visual C++.h +606 -0
  192. data/src/external/Z/API/Z/inspection/compiler/modules/cc65.h +529 -0
  193. data/src/external/Z/API/Z/inspection/compiler/modules/generic.h +13 -0
  194. data/src/external/Z/API/Z/inspection/compiler/modules/template.h +650 -0
  195. data/src/external/Z/API/Z/inspection/compiler.h +299 -0
  196. data/src/external/Z/API/Z/inspection/data model/completion.h +128 -0
  197. data/src/external/Z/API/Z/inspection/data model/deduction.h +9 -0
  198. data/src/external/Z/API/Z/inspection/data model/detection.h +45 -0
  199. data/src/external/Z/API/Z/inspection/data model.h +362 -0
  200. data/src/external/Z/API/Z/inspection/floating-point/completion.h +50 -0
  201. data/src/external/Z/API/Z/inspection/floating-point.h +324 -0
  202. data/src/external/Z/API/Z/inspection/language.h +163 -0
  203. data/src/external/Z/API/Z/inspection/platform/detection.h +9 -0
  204. data/src/external/Z/API/Z/inspection/platform.h +29 -0
  205. data/src/external/Z/API/Z/keys/C++.h +27 -0
  206. data/src/external/Z/API/Z/keys/C.h +29 -0
  207. data/src/external/Z/API/Z/keys/CPU.h +80 -0
  208. data/src/external/Z/API/Z/keys/OS.h +182 -0
  209. data/src/external/Z/API/Z/keys/Objective-C.h +17 -0
  210. data/src/external/Z/API/Z/keys/chemistry.h +26 -0
  211. data/src/external/Z/API/Z/keys/compiler.h +178 -0
  212. data/src/external/Z/API/Z/keys/data model.h +32 -0
  213. data/src/external/Z/API/Z/keys/endianness.h +24 -0
  214. data/src/external/Z/API/Z/keys/language.h +21 -0
  215. data/src/external/Z/API/Z/keys/layout.h +20 -0
  216. data/src/external/Z/API/Z/keys/mathematics/geometry.h +29 -0
  217. data/src/external/Z/API/Z/keys/mathematics/number.h +21 -0
  218. data/src/external/Z/API/Z/keys/order.h +18 -0
  219. data/src/external/Z/API/Z/keys/platform.h +87 -0
  220. data/src/external/Z/API/Z/keys/program.h +39 -0
  221. data/src/external/Z/API/Z/keys/science/chemical elements.h +200 -0
  222. data/src/external/Z/API/Z/keys/science/electricity.h +18 -0
  223. data/src/external/Z/API/Z/keys/science/magnetism.h +19 -0
  224. data/src/external/Z/API/Z/keys/status.h +69 -0
  225. data/src/external/Z/API/Z/keys/text.h +27 -0
  226. data/src/external/Z/API/Z/keys/value.h +88 -0
  227. data/src/external/Z/API/Z/macros/arguments.h +25 -0
  228. data/src/external/Z/API/Z/macros/casting.h +22 -0
  229. data/src/external/Z/API/Z/macros/character.h +159 -0
  230. data/src/external/Z/API/Z/macros/date.h +14 -0
  231. data/src/external/Z/API/Z/macros/key.h +20 -0
  232. data/src/external/Z/API/Z/macros/language.h +126 -0
  233. data/src/external/Z/API/Z/macros/language.hpp +81 -0
  234. data/src/external/Z/API/Z/macros/members.h +86 -0
  235. data/src/external/Z/API/Z/macros/pasting.h +308 -0
  236. data/src/external/Z/API/Z/macros/pointer.h +33 -0
  237. data/src/external/Z/API/Z/macros/repetition.h +283 -0
  238. data/src/external/Z/API/Z/macros/structure.h +104 -0
  239. data/src/external/Z/API/Z/macros/templating.h +407 -0
  240. data/src/external/Z/API/Z/macros/tokens.h +14 -0
  241. data/src/external/Z/API/Z/macros/type enumeration.h +43 -0
  242. data/src/external/Z/API/Z/macros/type selection.hpp +76 -0
  243. data/src/external/Z/API/Z/macros/value.h +489 -0
  244. data/src/external/Z/API/Z/macros/variadic pasting.h +21 -0
  245. data/src/external/Z/API/Z/macros/variadic selection.h +56 -0
  246. data/src/external/Z/API/Z/macros/variadic.h +46 -0
  247. data/src/external/Z/API/Z/macros/version.h +17 -0
  248. data/src/external/Z/API/Z/network/3/IP.h +36 -0
  249. data/src/external/Z/API/Z/network/4/TCP.h +24 -0
  250. data/src/external/Z/API/Z/network/4/UDP.h +26 -0
  251. data/src/external/Z/API/Z/network/7/ED2K.h +104 -0
  252. data/src/external/Z/API/Z/network/7/HTTP.h +100 -0
  253. data/src/external/Z/API/Z/traits/SelectType.hpp +71 -0
  254. data/src/external/Z/API/Z/traits/TernaryType.hpp +20 -0
  255. data/src/external/Z/API/Z/traits/Type.hpp +4516 -0
  256. data/src/external/Z/API/Z/traits/TypeCount.hpp +52 -0
  257. data/src/external/Z/API/Z/traits/TypeList.hpp +376 -0
  258. data/src/external/Z/API/Z/traits/base.hpp +19 -0
  259. data/src/external/Z/API/Z/traits/filtering.hpp +30 -0
  260. data/src/external/Z/API/Z/traits/mathematics.hpp +48 -0
  261. data/src/external/Z/API/Z/types/arguments.h +19 -0
  262. data/src/external/Z/API/Z/types/base.h +1655 -0
  263. data/src/external/Z/API/Z/types/base.hpp +169 -0
  264. data/src/external/Z/API/Z/types/buffering.h +27 -0
  265. data/src/external/Z/API/Z/types/mathematics.h +135 -0
  266. data/src/external/Z/API/Z/types/time.h +23 -0
  267. data/src/external/Z/COPYING.LESSER +165 -0
  268. data/src/external/Z/development/Qt Creator/Z.pro +253 -0
  269. data/src/external/Z/distribution/CocoaPods/Zeta.podspec +18 -0
  270. data/src/external/Z/distribution/Gentoo Linux/Zeta-0.1.ebuild +22 -0
  271. data/src/external/Z/distribution/Gentoo Linux/metadata.xml +8 -0
  272. data/src/external/Z/distribution/Homebrew/Zeta.rb +11 -0
  273. data/src/external/z80/API/emulation/CPU/Z80.h +201 -0
  274. data/src/external/z80/README.md +229 -0
  275. data/src/external/z80/building/premake4.lua +33 -0
  276. data/src/external/z80/development/Xcode/Z80.xcodeproj/project.pbxproj +520 -0
  277. data/src/external/z80/sources/Z80.c +1660 -0
  278. data/src/interrupt.c +6 -0
  279. data/src/interrupt.h +3 -0
  280. data/src/io.c.erb +115 -0
  281. data/src/io.h.erb +18 -0
  282. data/src/main.c +69 -0
  283. data/src/memory.c.erb +43 -0
  284. data/src/memory.h.erb +9 -0
  285. metadata +329 -0
@@ -0,0 +1,159 @@
1
+ /* Z Kit - formats/character set/DOS CP869.h
2
+ _____ _______________
3
+ /_ /_/ -_/_ _/ _ |
4
+ /____/\___/ /__//___/_| Kit
5
+ Copyright (C) 2006-2018 Manuel Sainz de Baranda y Goñi.
6
+ Released under the terms of the GNU Lesser General Public License v3. */
7
+
8
+ #ifndef _Z_formats_character_set_DOS_CP869_H_
9
+ #define _Z_formats_character_set_DOS_CP869_H_
10
+
11
+ /* From 00h to 7Fh like ASCII */
12
+ /* 80h undefined */
13
+ /* 81h undefined */
14
+ /* 82h undefined */
15
+ /* 83h undefined */
16
+ /* 84h undefined */
17
+ /* 85h undefined */
18
+ #define Z_DOS_CP869_GREEK_CAPITAL_LETTER_ALPHA_WITH_TONOS 0x86
19
+ /* 87h undefined */
20
+ #define Z_DOS_CP869_MIDDLE_DOT 0x88
21
+ #define Z_DOS_CP869_NOT_SIGN 0x89
22
+ #define Z_DOS_CP869_BROKEN_BAR 0x8A
23
+ #define Z_DOS_CP869_LEFT_SINGLE_QUOTATION_MARK 0x8B
24
+ #define Z_DOS_CP869_RIGHT_SINGLE_QUOTATION_MARK 0x8C
25
+ #define Z_DOS_CP869_GREEK_CAPITAL_LETTER_EPSILON_WITH_TONOS 0x8D
26
+ #define Z_DOS_CP869_HORIZONTAL_BAR 0x8E
27
+ #define Z_DOS_CP869_GREEK_CAPITAL_LETTER_ETA_WITH_TONOS 0x8F
28
+ #define Z_DOS_CP869_GREEK_CAPITAL_LETTER_IOTA_WITH_TONOS 0x90
29
+ #define Z_DOS_CP869_GREEK_CAPITAL_LETTER_IOTA_WITH_DIALYTIKA 0x91
30
+ #define Z_DOS_CP869_GREEK_CAPITAL_LETTER_OMICRON_WITH_TONOS 0x92
31
+ /* 93h undefined */
32
+ /* 94h undefined */
33
+ #define Z_DOS_CP869_GREEK_CAPITAL_LETTER_UPSILON_WITH_TONOS 0x95
34
+ #define Z_DOS_CP869_GREEK_CAPITAL_LETTER_UPSILON_WITH_DIALYTIKA 0x96
35
+ #define Z_DOS_CP869_COPYRIGHT_SIGN 0x97
36
+ #define Z_DOS_CP869_GREEK_CAPITAL_LETTER_OMEGA_WITH_TONOS 0x98
37
+ #define Z_DOS_CP869_SUPERSCRIPT_TWO 0x99
38
+ #define Z_DOS_CP869_SUPERSCRIPT_THREE 0x9A
39
+ #define Z_DOS_CP869_GREEK_SMALL_LETTER_ALPHA_WITH_TONOS 0x9B
40
+ #define Z_DOS_CP869_POUND_SIGN 0x9C
41
+ #define Z_DOS_CP869_GREEK_SMALL_LETTER_EPSILON_WITH_TONOS 0x9D
42
+ #define Z_DOS_CP869_GREEK_SMALL_LETTER_ETA_WITH_TONOS 0x9E
43
+ #define Z_DOS_CP869_GREEK_SMALL_LETTER_IOTA_WITH_TONOS 0x9F
44
+ #define Z_DOS_CP869_GREEK_SMALL_LETTER_IOTA_WITH_DIALYTIKA 0xA0
45
+ #define Z_DOS_CP869_GREEK_SMALL_LETTER_IOTA_WITH_DIALYTIKA_AND_TONOS 0xA1
46
+ #define Z_DOS_CP869_GREEK_SMALL_LETTER_OMICRON_WITH_TONOS 0xA2
47
+ #define Z_DOS_CP869_GREEK_SMALL_LETTER_UPSILON_WITH_TONOS 0xA3
48
+ #define Z_DOS_CP869_GREEK_CAPITAL_LETTER_ALPHA 0xA4
49
+ #define Z_DOS_CP869_GREEK_CAPITAL_LETTER_BETA 0xA5
50
+ #define Z_DOS_CP869_GREEK_CAPITAL_LETTER_GAMMA 0xA6
51
+ #define Z_DOS_CP869_GREEK_CAPITAL_LETTER_DELTA 0xA7
52
+ #define Z_DOS_CP869_GREEK_CAPITAL_LETTER_EPSILON 0xA8
53
+ #define Z_DOS_CP869_GREEK_CAPITAL_LETTER_ZETA 0xA9
54
+ #define Z_DOS_CP869_GREEK_CAPITAL_LETTER_ETA 0xAA
55
+ #define Z_DOS_CP869_VULGAR_FRACTION_ONE_HALF 0xAB
56
+ #define Z_DOS_CP869_GREEK_CAPITAL_LETTER_THETA 0xAC
57
+ #define Z_DOS_CP869_GREEK_CAPITAL_LETTER_IOTA 0xAD
58
+ #define Z_DOS_CP869_LEFT_POINTING_DOUBLE_ANGLE_QUOTATION_MARK 0xAE
59
+ #define Z_DOS_CP869_RIGHT_POINTING_DOUBLE_ANGLE_QUOTATION_MARK 0xAF
60
+ #define Z_DOS_CP869_LIGHT_SHADE 0xB0
61
+ #define Z_DOS_CP869_MEDIUM_SHADE 0xB1
62
+ #define Z_DOS_CP869_DARK_SHADE 0xB2
63
+ #define Z_DOS_CP869_BOX_DRAWINGS_LIGHT_VERTICAL 0xB3
64
+ #define Z_DOS_CP869_BOX_DRAWINGS_LIGHT_VERTICAL_AND_LEFT 0xB4
65
+ #define Z_DOS_CP869_GREEK_CAPITAL_LETTER_KAPPA 0xB5
66
+ #define Z_DOS_CP869_GREEK_CAPITAL_LETTER_LAMDA 0xB6
67
+ #define Z_DOS_CP869_GREEK_CAPITAL_LETTER_MU 0xB7
68
+ #define Z_DOS_CP869_GREEK_CAPITAL_LETTER_NU 0xB8
69
+ #define Z_DOS_CP869_BOX_DRAWINGS_DOUBLE_VERTICAL_AND_LEFT 0xB9
70
+ #define Z_DOS_CP869_BOX_DRAWINGS_DOUBLE_VERTICAL 0xBA
71
+ #define Z_DOS_CP869_BOX_DRAWINGS_DOUBLE_DOWN_AND_LEFT 0xBB
72
+ #define Z_DOS_CP869_BOX_DRAWINGS_DOUBLE_UP_AND_LEFT 0xBC
73
+ #define Z_DOS_CP869_GREEK_CAPITAL_LETTER_XI 0xBD
74
+ #define Z_DOS_CP869_GREEK_CAPITAL_LETTER_OMICRON 0xBE
75
+ #define Z_DOS_CP869_BOX_DRAWINGS_LIGHT_DOWN_AND_LEFT 0xBF
76
+ #define Z_DOS_CP869_BOX_DRAWINGS_LIGHT_UP_AND_RIGHT 0xC0
77
+ #define Z_DOS_CP869_BOX_DRAWINGS_LIGHT_UP_AND_HORIZONTAL 0xC1
78
+ #define Z_DOS_CP869_BOX_DRAWINGS_LIGHT_DOWN_AND_HORIZONTAL 0xC2
79
+ #define Z_DOS_CP869_BOX_DRAWINGS_LIGHT_VERTICAL_AND_RIGHT 0xC3
80
+ #define Z_DOS_CP869_BOX_DRAWINGS_LIGHT_HORIZONTAL 0xC4
81
+ #define Z_DOS_CP869_BOX_DRAWINGS_LIGHT_VERTICAL_AND_HORIZONTAL 0xC5
82
+ #define Z_DOS_CP869_GREEK_CAPITAL_LETTER_PI 0xC6
83
+ #define Z_DOS_CP869_GREEK_CAPITAL_LETTER_RHO 0xC7
84
+ #define Z_DOS_CP869_BOX_DRAWINGS_DOUBLE_UP_AND_RIGHT 0xC8
85
+ #define Z_DOS_CP869_BOX_DRAWINGS_DOUBLE_DOWN_AND_RIGHT 0xC9
86
+ #define Z_DOS_CP869_BOX_DRAWINGS_DOUBLE_UP_AND_HORIZONTAL 0xCA
87
+ #define Z_DOS_CP869_BOX_DRAWINGS_DOUBLE_DOWN_AND_HORIZONTAL 0xCB
88
+ #define Z_DOS_CP869_BOX_DRAWINGS_DOUBLE_VERTICAL_AND_RIGHT 0xCC
89
+ #define Z_DOS_CP869_BOX_DRAWINGS_DOUBLE_HORIZONTAL 0xCD
90
+ #define Z_DOS_CP869_BOX_DRAWINGS_DOUBLE_VERTICAL_AND_HORIZONTAL 0xCE
91
+ #define Z_DOS_CP869_GREEK_CAPITAL_LETTER_SIGMA 0xCF
92
+ #define Z_DOS_CP869_GREEK_CAPITAL_LETTER_TAU 0xD0
93
+ #define Z_DOS_CP869_GREEK_CAPITAL_LETTER_UPSILON 0xD1
94
+ #define Z_DOS_CP869_GREEK_CAPITAL_LETTER_PHI 0xD2
95
+ #define Z_DOS_CP869_GREEK_CAPITAL_LETTER_CHI 0xD3
96
+ #define Z_DOS_CP869_GREEK_CAPITAL_LETTER_PSI 0xD4
97
+ #define Z_DOS_CP869_GREEK_CAPITAL_LETTER_OMEGA 0xD5
98
+ #define Z_DOS_CP869_GREEK_SMALL_LETTER_ALPHA 0xD6
99
+ #define Z_DOS_CP869_GREEK_SMALL_LETTER_BETA 0xD7
100
+ #define Z_DOS_CP869_GREEK_SMALL_LETTER_GAMMA 0xD8
101
+ #define Z_DOS_CP869_BOX_DRAWINGS_LIGHT_UP_AND_LEFT 0xD9
102
+ #define Z_DOS_CP869_BOX_DRAWINGS_LIGHT_DOWN_AND_RIGHT 0xDA
103
+ #define Z_DOS_CP869_FULL_BLOCK 0xDB
104
+ #define Z_DOS_CP869_LOWER_HALF_BLOCK 0xDC
105
+ #define Z_DOS_CP869_GREEK_SMALL_LETTER_DELTA 0xDD
106
+ #define Z_DOS_CP869_GREEK_SMALL_LETTER_EPSILON 0xDE
107
+ #define Z_DOS_CP869_UPPER_HALF_BLOCK 0xDF
108
+ #define Z_DOS_CP869_GREEK_SMALL_LETTER_ZETA 0xE0
109
+ #define Z_DOS_CP869_GREEK_SMALL_LETTER_ETA 0xE1
110
+ #define Z_DOS_CP869_GREEK_SMALL_LETTER_THETA 0xE2
111
+ #define Z_DOS_CP869_GREEK_SMALL_LETTER_IOTA 0xE3
112
+ #define Z_DOS_CP869_GREEK_SMALL_LETTER_KAPPA 0xE4
113
+ #define Z_DOS_CP869_GREEK_SMALL_LETTER_LAMDA 0xE5
114
+ #define Z_DOS_CP869_GREEK_SMALL_LETTER_MU 0xE6
115
+ #define Z_DOS_CP869_GREEK_SMALL_LETTER_NU 0xE7
116
+ #define Z_DOS_CP869_GREEK_SMALL_LETTER_XI 0xE8
117
+ #define Z_DOS_CP869_GREEK_SMALL_LETTER_OMICRON 0xE9
118
+ #define Z_DOS_CP869_GREEK_SMALL_LETTER_PI 0xEA
119
+ #define Z_DOS_CP869_GREEK_SMALL_LETTER_RHO 0xEB
120
+ #define Z_DOS_CP869_GREEK_SMALL_LETTER_SIGMA 0xEC
121
+ #define Z_DOS_CP869_GREEK_SMALL_LETTER_FINAL_SIGMA 0xED
122
+ #define Z_DOS_CP869_GREEK_SMALL_LETTER_TAU 0xEE
123
+ #define Z_DOS_CP869_GREEK_TONOS 0xEF
124
+ #define Z_DOS_CP869_SOFT_HYPHEN 0xF0
125
+ #define Z_DOS_CP869_PLUS_MINUS_SIGN 0xF1
126
+ #define Z_DOS_CP869_GREEK_SMALL_LETTER_UPSILON 0xF2
127
+ #define Z_DOS_CP869_GREEK_SMALL_LETTER_PHI 0xF3
128
+ #define Z_DOS_CP869_GREEK_SMALL_LETTER_CHI 0xF4
129
+ #define Z_DOS_CP869_SECTION_SIGN 0xF5
130
+ #define Z_DOS_CP869_GREEK_SMALL_LETTER_PSI 0xF6
131
+ #define Z_DOS_CP869_GREEK_DIALYTIKA_TONOS 0xF7
132
+ #define Z_DOS_CP869_DEGREE_SIGN 0xF8
133
+ #define Z_DOS_CP869_DIAERESIS 0xF9
134
+ #define Z_DOS_CP869_GREEK_SMALL_LETTER_OMEGA 0xFA
135
+ #define Z_DOS_CP869_GREEK_SMALL_LETTER_UPSILON_WITH_DIALYTIKA 0xFB
136
+ #define Z_DOS_CP869_GREEK_SMALL_LETTER_UPSILON_WITH_DIALYTIKA_AND_TONOS 0xFC
137
+ #define Z_DOS_CP869_GREEK_SMALL_LETTER_OMEGA_WITH_TONOS 0xFD
138
+ #define Z_DOS_CP869_BLACK_SQUARE 0xFE
139
+ #define Z_DOS_CP869_NO_BREAK_SPACE 0xFF
140
+
141
+ #define Z_ARRAY_CONTENT_DOS_CP869_TO_UNICODE(_, undefined) \
142
+ undefined, undefined, undefined, undefined, undefined, undefined, _(0386), undefined, \
143
+ _(00B7), _(00AC), _(00A6), _(2018), _(2019), _(0388), _(2015), _(0389), \
144
+ _(038A), _(03AA), _(038C), undefined, undefined, _(038E), _(03AB), _(00A9), \
145
+ _(038F), _(00B2), _(00B3), _(03AC), _(00A3), _(03AD), _(03AE), _(03AF), \
146
+ _(03CA), _(0390), _(03CC), _(03CD), _(0391), _(0392), _(0393), _(0394), \
147
+ _(0395), _(0396), _(0397), _(00BD), _(0398), _(0399), _(00AB), _(00BB), \
148
+ _(2591), _(2592), _(2593), _(2502), _(2524), _(039A), _(039B), _(039C), \
149
+ _(039D), _(2563), _(2551), _(2557), _(255D), _(039E), _(039F), _(2510), \
150
+ _(2514), _(2534), _(252C), _(251C), _(2500), _(253C), _(03A0), _(03A1), \
151
+ _(255A), _(2554), _(2569), _(2566), _(2560), _(2550), _(256C), _(03A3), \
152
+ _(03A4), _(03A5), _(03A6), _(03A7), _(03A8), _(03A9), _(03B1), _(03B2), \
153
+ _(03B3), _(2518), _(250C), _(2588), _(2584), _(03B4), _(03B5), _(2580), \
154
+ _(03B6), _(03B7), _(03B8), _(03B9), _(03BA), _(03BB), _(03BC), _(03BD), \
155
+ _(03BE), _(03BF), _(03C0), _(03C1), _(03C3), _(03C2), _(03C4), _(0384), \
156
+ _(00AD), _(00B1), _(03C5), _(03C6), _(03C7), _(00A7), _(03C8), _(0385), \
157
+ _(00B0), _(00A8), _(03C9), _(03CB), _(03B0), _(03CE), _(25A0), _(00A0)
158
+
159
+ #endif /* _Z_formats_character_set_DOS_CP869_H_ */
@@ -0,0 +1,159 @@
1
+ /* Z Kit - formats/character set/DOS CP872.h
2
+ _____ _______________
3
+ /_ /_/ -_/_ _/ _ |
4
+ /____/\___/ /__//___/_| Kit
5
+ Copyright (C) 2006-2018 Manuel Sainz de Baranda y Goñi.
6
+ Released under the terms of the GNU Lesser General Public License v3. */
7
+
8
+ #ifndef _Z_formats_character_set_DOS_CP872_H_
9
+ #define _Z_formats_character_set_DOS_CP872_H_
10
+
11
+ /* From 00h to 7Fh like ASCII */
12
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_DJE 0x80
13
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_DJE 0x81
14
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_GJE 0x82
15
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_GJE 0x83
16
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_IO 0x84
17
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_IO 0x85
18
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_UKRAINIAN_IE 0x86
19
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_UKRAINIAN_IE 0x87
20
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_DZE 0x88
21
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_DZE 0x89
22
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_BYELORUSSIAN_UKRAINIAN_I 0x8A
23
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_BYELORUSSIAN_UKRAINIAN_I 0x8B
24
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_YI 0x8C
25
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_YI 0x8D
26
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_JE 0x8E
27
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_JE 0x8F
28
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_LJE 0x90
29
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_LJE 0x91
30
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_NJE 0x92
31
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_NJE 0x93
32
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_TSHE 0x94
33
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_TSHE 0x95
34
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_KJE 0x96
35
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_KJE 0x97
36
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_SHORT_U 0x98
37
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_SHORT_U 0x99
38
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_DZHE 0x9A
39
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_DZHE 0x9B
40
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_YU 0x9C
41
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_YU 0x9D
42
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_HARD_SIGN 0x9E
43
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_HARD_SIGN 0x9F
44
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_A 0xA0
45
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_A 0xA1
46
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_BE 0xA2
47
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_BE 0xA3
48
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_TSE 0xA4
49
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_TSE 0xA5
50
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_DE 0xA6
51
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_DE 0xA7
52
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_IE 0xA8
53
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_IE 0xA9
54
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_EF 0xAA
55
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_EF 0xAB
56
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_GHE 0xAC
57
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_GHE 0xAD
58
+ #define Z_DOS_CP872_LEFT_POINTING_DOUBLE_ANGLE_QUOTATION_MARK 0xAE
59
+ #define Z_DOS_CP872_RIGHT_POINTING_DOUBLE_ANGLE_QUOTATION_MARK 0xAF
60
+ #define Z_DOS_CP872_LIGHT_SHADE 0xB0
61
+ #define Z_DOS_CP872_MEDIUM_SHADE 0xB1
62
+ #define Z_DOS_CP872_DARK_SHADE 0xB2
63
+ #define Z_DOS_CP872_BOX_DRAWINGS_LIGHT_VERTICAL 0xB3
64
+ #define Z_DOS_CP872_BOX_DRAWINGS_LIGHT_VERTICAL_AND_LEFT 0xB4
65
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_HA 0xB5
66
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_HA 0xB6
67
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_I 0xB7
68
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_I 0xB8
69
+ #define Z_DOS_CP872_BOX_DRAWINGS_DOUBLE_VERTICAL_AND_LEFT 0xB9
70
+ #define Z_DOS_CP872_BOX_DRAWINGS_DOUBLE_VERTICAL 0xBA
71
+ #define Z_DOS_CP872_BOX_DRAWINGS_DOUBLE_DOWN_AND_LEFT 0xBB
72
+ #define Z_DOS_CP872_BOX_DRAWINGS_DOUBLE_UP_AND_LEFT 0xBC
73
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_SHORT_I 0xBD
74
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_SHORT_I 0xBE
75
+ #define Z_DOS_CP872_BOX_DRAWINGS_LIGHT_DOWN_AND_LEFT 0xBF
76
+ #define Z_DOS_CP872_BOX_DRAWINGS_LIGHT_UP_AND_RIGHT 0xC0
77
+ #define Z_DOS_CP872_BOX_DRAWINGS_LIGHT_UP_AND_HORIZONTAL 0xC1
78
+ #define Z_DOS_CP872_BOX_DRAWINGS_LIGHT_DOWN_AND_HORIZONTAL 0xC2
79
+ #define Z_DOS_CP872_BOX_DRAWINGS_LIGHT_VERTICAL_AND_RIGHT 0xC3
80
+ #define Z_DOS_CP872_BOX_DRAWINGS_LIGHT_HORIZONTAL 0xC4
81
+ #define Z_DOS_CP872_BOX_DRAWINGS_LIGHT_VERTICAL_AND_HORIZONTAL 0xC5
82
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_KA 0xC6
83
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_KA 0xC7
84
+ #define Z_DOS_CP872_BOX_DRAWINGS_DOUBLE_UP_AND_RIGHT 0xC8
85
+ #define Z_DOS_CP872_BOX_DRAWINGS_DOUBLE_DOWN_AND_RIGHT 0xC9
86
+ #define Z_DOS_CP872_BOX_DRAWINGS_DOUBLE_UP_AND_HORIZONTAL 0xCA
87
+ #define Z_DOS_CP872_BOX_DRAWINGS_DOUBLE_DOWN_AND_HORIZONTAL 0xCB
88
+ #define Z_DOS_CP872_BOX_DRAWINGS_DOUBLE_VERTICAL_AND_RIGHT 0xCC
89
+ #define Z_DOS_CP872_BOX_DRAWINGS_DOUBLE_HORIZONTAL 0xCD
90
+ #define Z_DOS_CP872_BOX_DRAWINGS_DOUBLE_VERTICAL_AND_HORIZONTAL 0xCE
91
+ #define Z_DOS_CP872_EURO_SIGN 0xCF
92
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_EL 0xD0
93
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_EL 0xD1
94
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_EM 0xD2
95
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_EM 0xD3
96
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_EN 0xD4
97
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_EN 0xD5
98
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_O 0xD6
99
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_O 0xD7
100
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_PE 0xD8
101
+ #define Z_DOS_CP872_BOX_DRAWINGS_LIGHT_UP_AND_LEFT 0xD9
102
+ #define Z_DOS_CP872_BOX_DRAWINGS_LIGHT_DOWN_AND_RIGHT 0xDA
103
+ #define Z_DOS_CP872_FULL_BLOCK 0xDB
104
+ #define Z_DOS_CP872_LOWER_HALF_BLOCK 0xDC
105
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_PE 0xDD
106
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_YA 0xDE
107
+ #define Z_DOS_CP872_UPPER_HALF_BLOCK 0xDF
108
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_YA 0xE0
109
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_ER 0xE1
110
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_ER 0xE2
111
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_ES 0xE3
112
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_ES 0xE4
113
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_TE 0xE5
114
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_TE 0xE6
115
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_U 0xE7
116
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_U 0xE8
117
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_ZHE 0xE9
118
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_ZHE 0xEA
119
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_VE 0xEB
120
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_VE 0xEC
121
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_SOFT_SIGN 0xED
122
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_SOFT_SIGN 0xEE
123
+ #define Z_DOS_CP872_NUMERO_SIGN 0xEF
124
+ #define Z_DOS_CP872_SOFT_HYPHEN 0xF0
125
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_YERU 0xF1
126
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_YERU 0xF2
127
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_ZE 0xF3
128
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_ZE 0xF4
129
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_SHA 0xF5
130
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_SHA 0xF6
131
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_E 0xF7
132
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_E 0xF8
133
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_SHCHA 0xF9
134
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_SHCHA 0xFA
135
+ #define Z_DOS_CP872_CYRILLIC_SMALL_LETTER_CHE 0xFB
136
+ #define Z_DOS_CP872_CYRILLIC_CAPITAL_LETTER_CHE 0xFC
137
+ #define Z_DOS_CP872_SECTION_SIGN 0xFD
138
+ #define Z_DOS_CP872_BLACK_SQUARE 0xFE
139
+ #define Z_DOS_CP872_NO_BREAK_SPACE 0xFF
140
+
141
+ #define Z_ARRAY_CONTENT_DOS_CP872_TO_UNICODE(_) \
142
+ _(0452), _(0402), _(0453), _(0403), _(0451), _(0401), _(0454), _(0404), \
143
+ _(0455), _(0405), _(0456), _(0406), _(0457), _(0407), _(0458), _(0408), \
144
+ _(0459), _(0409), _(045A), _(040A), _(045B), _(040B), _(045C), _(040C), \
145
+ _(045E), _(040E), _(045F), _(040F), _(044E), _(042E), _(044A), _(042A), \
146
+ _(0430), _(0410), _(0431), _(0411), _(0446), _(0426), _(0434), _(0414), \
147
+ _(0435), _(0415), _(0444), _(0424), _(0433), _(0413), _(00AB), _(00BB), \
148
+ _(2591), _(2592), _(2593), _(2502), _(2524), _(0445), _(0425), _(0438), \
149
+ _(0418), _(2563), _(2551), _(2557), _(255D), _(0439), _(0419), _(2510), \
150
+ _(2514), _(2534), _(252C), _(251C), _(2500), _(253C), _(043A), _(041A), \
151
+ _(255A), _(2554), _(2569), _(2566), _(2560), _(2550), _(256C), _(20AC), \
152
+ _(043B), _(041B), _(043C), _(041C), _(043D), _(041D), _(043E), _(041E), \
153
+ _(043F), _(2518), _(250C), _(2588), _(2584), _(041F), _(044F), _(2580), \
154
+ _(042F), _(0440), _(0420), _(0441), _(0421), _(0442), _(0422), _(0443), \
155
+ _(0423), _(0436), _(0416), _(0432), _(0412), _(044C), _(042C), _(2116), \
156
+ _(00AD), _(044B), _(042B), _(0437), _(0417), _(0448), _(0428), _(044D), \
157
+ _(042D), _(0449), _(0429), _(0447), _(0427), _(00A7), _(25A0), _(00A0)
158
+
159
+ #endif /* _Z_formats_character_set_DOS_CP872_H_ */
@@ -0,0 +1,159 @@
1
+ /* Z Kit - formats/character set/DOS CP874.h
2
+ _____ _______________
3
+ /_ /_/ -_/_ _/ _ |
4
+ /____/\___/ /__//___/_| Kit
5
+ Copyright (C) 2006-2018 Manuel Sainz de Baranda y Goñi.
6
+ Released under the terms of the GNU Lesser General Public License v3. */
7
+
8
+ #ifndef _Z_formats_character_set_DOS_CP874_H_
9
+ #define _Z_formats_character_set_DOS_CP874_H_
10
+
11
+ /* From 00h to 7Fh like ASCII */
12
+ #define Z_DOS_CP874_EURO_SIGN 0x80
13
+ /* 81h undefined */
14
+ /* 82h undefined */
15
+ /* 83h undefined */
16
+ /* 84h undefined */
17
+ #define Z_DOS_CP874_HORIZONTAL_ELLIPSIS 0x85
18
+ /* 86h undefined */
19
+ /* 87h undefined */
20
+ /* 88h undefined */
21
+ /* 89h undefined */
22
+ /* 8Ah undefined */
23
+ /* 8Bh undefined */
24
+ /* 8Ch undefined */
25
+ /* 8Dh undefined */
26
+ /* 8Eh undefined */
27
+ /* 8Fh undefined */
28
+ /* 90h undefined */
29
+ #define Z_DOS_CP874_LEFT_SINGLE_QUOTATION_MARK 0x91
30
+ #define Z_DOS_CP874_RIGHT_SINGLE_QUOTATION_MARK 0x92
31
+ #define Z_DOS_CP874_LEFT_DOUBLE_QUOTATION_MARK 0x93
32
+ #define Z_DOS_CP874_RIGHT_DOUBLE_QUOTATION_MARK 0x94
33
+ #define Z_DOS_CP874_BULLET 0x95
34
+ #define Z_DOS_CP874_EN_DASH 0x96
35
+ #define Z_DOS_CP874_EM_DASH 0x97
36
+ /* 98h undefined */
37
+ /* 99h undefined */
38
+ /* 9Ah undefined */
39
+ /* 9Bh undefined */
40
+ /* 9Ch undefined */
41
+ /* 9Dh undefined */
42
+ /* 9Eh undefined */
43
+ /* 9Fh undefined */
44
+ #define Z_DOS_CP874_NO_BREAK_SPACE 0xA0
45
+ #define Z_DOS_CP874_THAI_CHARACTER_KO_KAI 0xA1
46
+ #define Z_DOS_CP874_THAI_CHARACTER_KHO_KHAI 0xA2
47
+ #define Z_DOS_CP874_THAI_CHARACTER_KHO_KHUAT 0xA3
48
+ #define Z_DOS_CP874_THAI_CHARACTER_KHO_KHWAI 0xA4
49
+ #define Z_DOS_CP874_THAI_CHARACTER_KHO_KHON 0xA5
50
+ #define Z_DOS_CP874_THAI_CHARACTER_KHO_RAKHANG 0xA6
51
+ #define Z_DOS_CP874_THAI_CHARACTER_NGO_NGU 0xA7
52
+ #define Z_DOS_CP874_THAI_CHARACTER_CHO_CHAN 0xA8
53
+ #define Z_DOS_CP874_THAI_CHARACTER_CHO_CHING 0xA9
54
+ #define Z_DOS_CP874_THAI_CHARACTER_CHO_CHANG 0xAA
55
+ #define Z_DOS_CP874_THAI_CHARACTER_SO_SO 0xAB
56
+ #define Z_DOS_CP874_THAI_CHARACTER_CHO_CHOE 0xAC
57
+ #define Z_DOS_CP874_THAI_CHARACTER_YO_YING 0xAD
58
+ #define Z_DOS_CP874_THAI_CHARACTER_DO_CHADA 0xAE
59
+ #define Z_DOS_CP874_THAI_CHARACTER_TO_PATAK 0xAF
60
+ #define Z_DOS_CP874_THAI_CHARACTER_THO_THAN 0xB0
61
+ #define Z_DOS_CP874_THAI_CHARACTER_THO_NANGMONTHO 0xB1
62
+ #define Z_DOS_CP874_THAI_CHARACTER_THO_PHUTHAO 0xB2
63
+ #define Z_DOS_CP874_THAI_CHARACTER_NO_NEN 0xB3
64
+ #define Z_DOS_CP874_THAI_CHARACTER_DO_DEK 0xB4
65
+ #define Z_DOS_CP874_THAI_CHARACTER_TO_TAO 0xB5
66
+ #define Z_DOS_CP874_THAI_CHARACTER_THO_THUNG 0xB6
67
+ #define Z_DOS_CP874_THAI_CHARACTER_THO_THAHAN 0xB7
68
+ #define Z_DOS_CP874_THAI_CHARACTER_THO_THONG 0xB8
69
+ #define Z_DOS_CP874_THAI_CHARACTER_NO_NU 0xB9
70
+ #define Z_DOS_CP874_THAI_CHARACTER_BO_BAIMAI 0xBA
71
+ #define Z_DOS_CP874_THAI_CHARACTER_PO_PLA 0xBB
72
+ #define Z_DOS_CP874_THAI_CHARACTER_PHO_PHUNG 0xBC
73
+ #define Z_DOS_CP874_THAI_CHARACTER_FO_FA 0xBD
74
+ #define Z_DOS_CP874_THAI_CHARACTER_PHO_PHAN 0xBE
75
+ #define Z_DOS_CP874_THAI_CHARACTER_FO_FAN 0xBF
76
+ #define Z_DOS_CP874_THAI_CHARACTER_PHO_SAMPHAO 0xC0
77
+ #define Z_DOS_CP874_THAI_CHARACTER_MO_MA 0xC1
78
+ #define Z_DOS_CP874_THAI_CHARACTER_YO_YAK 0xC2
79
+ #define Z_DOS_CP874_THAI_CHARACTER_RO_RUA 0xC3
80
+ #define Z_DOS_CP874_THAI_CHARACTER_RU 0xC4
81
+ #define Z_DOS_CP874_THAI_CHARACTER_LO_LING 0xC5
82
+ #define Z_DOS_CP874_THAI_CHARACTER_LU 0xC6
83
+ #define Z_DOS_CP874_THAI_CHARACTER_WO_WAEN 0xC7
84
+ #define Z_DOS_CP874_THAI_CHARACTER_SO_SALA 0xC8
85
+ #define Z_DOS_CP874_THAI_CHARACTER_SO_RUSI 0xC9
86
+ #define Z_DOS_CP874_THAI_CHARACTER_SO_SUA 0xCA
87
+ #define Z_DOS_CP874_THAI_CHARACTER_HO_HIP 0xCB
88
+ #define Z_DOS_CP874_THAI_CHARACTER_LO_CHULA 0xCC
89
+ #define Z_DOS_CP874_THAI_CHARACTER_O_ANG 0xCD
90
+ #define Z_DOS_CP874_THAI_CHARACTER_HO_NOKHUK 0xCE
91
+ #define Z_DOS_CP874_THAI_CHARACTER_PAIYANNOI 0xCF
92
+ #define Z_DOS_CP874_THAI_CHARACTER_SARA_A 0xD0
93
+ #define Z_DOS_CP874_THAI_CHARACTER_MAI_HAN_AKAT 0xD1
94
+ #define Z_DOS_CP874_THAI_CHARACTER_SARA_AA 0xD2
95
+ #define Z_DOS_CP874_THAI_CHARACTER_SARA_AM 0xD3
96
+ #define Z_DOS_CP874_THAI_CHARACTER_SARA_I 0xD4
97
+ #define Z_DOS_CP874_THAI_CHARACTER_SARA_II 0xD5
98
+ #define Z_DOS_CP874_THAI_CHARACTER_SARA_UE 0xD6
99
+ #define Z_DOS_CP874_THAI_CHARACTER_SARA_UEE 0xD7
100
+ #define Z_DOS_CP874_THAI_CHARACTER_SARA_U 0xD8
101
+ #define Z_DOS_CP874_THAI_CHARACTER_SARA_UU 0xD9
102
+ #define Z_DOS_CP874_THAI_CHARACTER_PHINTHU 0xDA
103
+ /* DBh undefined */
104
+ /* DCh undefined */
105
+ /* DDh undefined */
106
+ /* DEh undefined */
107
+ #define Z_DOS_CP874_THAI_CURRENCY_SYMBOL_BAHT 0xDF
108
+ #define Z_DOS_CP874_THAI_CHARACTER_SARA_E 0xE0
109
+ #define Z_DOS_CP874_THAI_CHARACTER_SARA_AE 0xE1
110
+ #define Z_DOS_CP874_THAI_CHARACTER_SARA_O 0xE2
111
+ #define Z_DOS_CP874_THAI_CHARACTER_SARA_AI_MAIMUAN 0xE3
112
+ #define Z_DOS_CP874_THAI_CHARACTER_SARA_AI_MAIMALAI 0xE4
113
+ #define Z_DOS_CP874_THAI_CHARACTER_LAKKHANGYAO 0xE5
114
+ #define Z_DOS_CP874_THAI_CHARACTER_MAIYAMOK 0xE6
115
+ #define Z_DOS_CP874_THAI_CHARACTER_MAITAIKHU 0xE7
116
+ #define Z_DOS_CP874_THAI_CHARACTER_MAI_EK 0xE8
117
+ #define Z_DOS_CP874_THAI_CHARACTER_MAI_THO 0xE9
118
+ #define Z_DOS_CP874_THAI_CHARACTER_MAI_TRI 0xEA
119
+ #define Z_DOS_CP874_THAI_CHARACTER_MAI_CHATTAWA 0xEB
120
+ #define Z_DOS_CP874_THAI_CHARACTER_THANTHAKHAT 0xEC
121
+ #define Z_DOS_CP874_THAI_CHARACTER_NIKHAHIT 0xED
122
+ #define Z_DOS_CP874_THAI_CHARACTER_YAMAKKAN 0xEE
123
+ #define Z_DOS_CP874_THAI_CHARACTER_FONGMAN 0xEF
124
+ #define Z_DOS_CP874_THAI_DIGIT_ZERO 0xF0
125
+ #define Z_DOS_CP874_THAI_DIGIT_ONE 0xF1
126
+ #define Z_DOS_CP874_THAI_DIGIT_TWO 0xF2
127
+ #define Z_DOS_CP874_THAI_DIGIT_THREE 0xF3
128
+ #define Z_DOS_CP874_THAI_DIGIT_FOUR 0xF4
129
+ #define Z_DOS_CP874_THAI_DIGIT_FIVE 0xF5
130
+ #define Z_DOS_CP874_THAI_DIGIT_SIX 0xF6
131
+ #define Z_DOS_CP874_THAI_DIGIT_SEVEN 0xF7
132
+ #define Z_DOS_CP874_THAI_DIGIT_EIGHT 0xF8
133
+ #define Z_DOS_CP874_THAI_DIGIT_NINE 0xF9
134
+ #define Z_DOS_CP874_THAI_CHARACTER_ANGKHANKHU 0xFA
135
+ #define Z_DOS_CP874_THAI_CHARACTER_KHOMUT 0xFB
136
+ /* FCh undefined */
137
+ /* FDh undefined */
138
+ /* FEh undefined */
139
+ /* FFh undefined */
140
+
141
+ #define Z_ARRAY_CONTENT_DOS_CP874_TO_UNICODE(_, undefined) \
142
+ _(20AC), undefined, undefined, undefined, undefined, _(2026), undefined, undefined, \
143
+ undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, \
144
+ undefined, _(2018), _(2019), _(201C), _(201D), _(2022), _(2013), _(2014), \
145
+ undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, \
146
+ _(00A0), _(0E01), _(0E02), _(0E03), _(0E04), _(0E05), _(0E06), _(0E07), \
147
+ _(0E08), _(0E09), _(0E0A), _(0E0B), _(0E0C), _(0E0D), _(0E0E), _(0E0F), \
148
+ _(0E10), _(0E11), _(0E12), _(0E13), _(0E14), _(0E15), _(0E16), _(0E17), \
149
+ _(0E18), _(0E19), _(0E1A), _(0E1B), _(0E1C), _(0E1D), _(0E1E), _(0E1F), \
150
+ _(0E20), _(0E21), _(0E22), _(0E23), _(0E24), _(0E25), _(0E26), _(0E27), \
151
+ _(0E28), _(0E29), _(0E2A), _(0E2B), _(0E2C), _(0E2D), _(0E2E), _(0E2F), \
152
+ _(0E30), _(0E31), _(0E32), _(0E33), _(0E34), _(0E35), _(0E36), _(0E37), \
153
+ _(0E38), _(0E39), _(0E3A), undefined, undefined, undefined, undefined, _(0E3F), \
154
+ _(0E40), _(0E41), _(0E42), _(0E43), _(0E44), _(0E45), _(0E46), _(0E47), \
155
+ _(0E48), _(0E49), _(0E4A), _(0E4B), _(0E4C), _(0E4D), _(0E4E), _(0E4F), \
156
+ _(0E50), _(0E51), _(0E52), _(0E53), _(0E54), _(0E55), _(0E56), _(0E57), \
157
+ _(0E58), _(0E59), _(0E5A), _(0E5B), undefined, undefined, undefined, undefined
158
+
159
+ #endif /* _Z_formats_character_set_DOS_CP874_H_ */