c64-kb 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (970) hide show
  1. package/CHANGELOG.md +2082 -0
  2. package/LICENSE +29 -0
  3. package/README.md +559 -0
  4. package/VERSION +25 -0
  5. package/dist/cli/setup.js +66 -0
  6. package/dist/cli/setup.js.map +1 -0
  7. package/dist/cli-memorize-audit.js +97 -0
  8. package/dist/cli-memorize-audit.js.map +1 -0
  9. package/dist/cli.js +335 -0
  10. package/dist/cli.js.map +1 -0
  11. package/dist/config.js +83 -0
  12. package/dist/config.js.map +1 -0
  13. package/dist/context.js +53 -0
  14. package/dist/context.js.map +1 -0
  15. package/dist/domain/budget-notes.js +104 -0
  16. package/dist/domain/budget-notes.js.map +1 -0
  17. package/dist/domain/budget.js +417 -0
  18. package/dist/domain/budget.js.map +1 -0
  19. package/dist/domain/game-design.js +77 -0
  20. package/dist/domain/game-design.js.map +1 -0
  21. package/dist/domain/timing.js +39 -0
  22. package/dist/domain/timing.js.map +1 -0
  23. package/dist/graph/apply.js +132 -0
  24. package/dist/graph/apply.js.map +1 -0
  25. package/dist/graph/claims.js +231 -0
  26. package/dist/graph/claims.js.map +1 -0
  27. package/dist/graph/extract/archetype.js +118 -0
  28. package/dist/graph/extract/archetype.js.map +1 -0
  29. package/dist/graph/extract/common.js +69 -0
  30. package/dist/graph/extract/common.js.map +1 -0
  31. package/dist/graph/extract/failure.js +37 -0
  32. package/dist/graph/extract/failure.js.map +1 -0
  33. package/dist/graph/extract/game-design.js +189 -0
  34. package/dist/graph/extract/game-design.js.map +1 -0
  35. package/dist/graph/extract/hardware.js +124 -0
  36. package/dist/graph/extract/hardware.js.map +1 -0
  37. package/dist/graph/extract/pitfall.js +62 -0
  38. package/dist/graph/extract/pitfall.js.map +1 -0
  39. package/dist/graph/extract/raster-band.js +56 -0
  40. package/dist/graph/extract/raster-band.js.map +1 -0
  41. package/dist/graph/extract/recipe.js +71 -0
  42. package/dist/graph/extract/recipe.js.map +1 -0
  43. package/dist/graph/extract/technique-entities.js +180 -0
  44. package/dist/graph/extract/technique-entities.js.map +1 -0
  45. package/dist/graph/extract/technique.js +179 -0
  46. package/dist/graph/extract/technique.js.map +1 -0
  47. package/dist/graph/extract/toolchain.js +67 -0
  48. package/dist/graph/extract/toolchain.js.map +1 -0
  49. package/dist/graph/extract/types.js +3 -0
  50. package/dist/graph/extract/types.js.map +1 -0
  51. package/dist/graph/extract/vocabulary.js +65 -0
  52. package/dist/graph/extract/vocabulary.js.map +1 -0
  53. package/dist/graph/extract.js +43 -0
  54. package/dist/graph/extract.js.map +1 -0
  55. package/dist/graph/kernal-clobbers.js +64 -0
  56. package/dist/graph/kernal-clobbers.js.map +1 -0
  57. package/dist/graph/machine-variants.js +208 -0
  58. package/dist/graph/machine-variants.js.map +1 -0
  59. package/dist/ingest/files.js +99 -0
  60. package/dist/ingest/files.js.map +1 -0
  61. package/dist/ingest/passes.js +104 -0
  62. package/dist/ingest/passes.js.map +1 -0
  63. package/dist/ingest/points.js +50 -0
  64. package/dist/ingest/points.js.map +1 -0
  65. package/dist/ingest/report.js +140 -0
  66. package/dist/ingest/report.js.map +1 -0
  67. package/dist/ingest/tally.js +81 -0
  68. package/dist/ingest/tally.js.map +1 -0
  69. package/dist/ingest/verified-on.js +43 -0
  70. package/dist/ingest/verified-on.js.map +1 -0
  71. package/dist/ingest.js +135 -0
  72. package/dist/ingest.js.map +1 -0
  73. package/dist/schemas/cost-basis.js +5 -0
  74. package/dist/schemas/cost-basis.js.map +1 -0
  75. package/dist/schemas/machine-variant.js +25 -0
  76. package/dist/schemas/machine-variant.js.map +1 -0
  77. package/dist/schemas/plan-budget.js +121 -0
  78. package/dist/schemas/plan-budget.js.map +1 -0
  79. package/dist/schemas/tool-outputs.js +526 -0
  80. package/dist/schemas/tool-outputs.js.map +1 -0
  81. package/dist/server/define-tool.js +52 -0
  82. package/dist/server/define-tool.js.map +1 -0
  83. package/dist/server/defined-only.js +9 -0
  84. package/dist/server/defined-only.js.map +1 -0
  85. package/dist/server/tools-briefings.js +70 -0
  86. package/dist/server/tools-briefings.js.map +1 -0
  87. package/dist/server/tools-lookup.js +180 -0
  88. package/dist/server/tools-lookup.js.map +1 -0
  89. package/dist/server/tools-maintenance.js +116 -0
  90. package/dist/server/tools-maintenance.js.map +1 -0
  91. package/dist/server/tools-pitfalls.js +89 -0
  92. package/dist/server/tools-pitfalls.js.map +1 -0
  93. package/dist/server/tools-recipes.js +296 -0
  94. package/dist/server/tools-recipes.js.map +1 -0
  95. package/dist/server/tools-runtime.js +48 -0
  96. package/dist/server/tools-runtime.js.map +1 -0
  97. package/dist/server/tools.js +43 -0
  98. package/dist/server/tools.js.map +1 -0
  99. package/dist/server.js +95 -0
  100. package/dist/server.js.map +1 -0
  101. package/dist/services/analytics/schema.js +78 -0
  102. package/dist/services/analytics/schema.js.map +1 -0
  103. package/dist/services/analytics/statements.js +99 -0
  104. package/dist/services/analytics/statements.js.map +1 -0
  105. package/dist/services/analytics.js +195 -0
  106. package/dist/services/analytics.js.map +1 -0
  107. package/dist/services/bm25.js +158 -0
  108. package/dist/services/bm25.js.map +1 -0
  109. package/dist/services/chunker.js +81 -0
  110. package/dist/services/chunker.js.map +1 -0
  111. package/dist/services/embeddings.js +58 -0
  112. package/dist/services/embeddings.js.map +1 -0
  113. package/dist/services/falkor/base.js +85 -0
  114. package/dist/services/falkor/base.js.map +1 -0
  115. package/dist/services/falkor/links.js +361 -0
  116. package/dist/services/falkor/links.js.map +1 -0
  117. package/dist/services/falkor/nodes.js +183 -0
  118. package/dist/services/falkor/nodes.js.map +1 -0
  119. package/dist/services/falkor/params.js +45 -0
  120. package/dist/services/falkor/params.js.map +1 -0
  121. package/dist/services/falkor/schema.js +77 -0
  122. package/dist/services/falkor/schema.js.map +1 -0
  123. package/dist/services/falkor.js +100 -0
  124. package/dist/services/falkor.js.map +1 -0
  125. package/dist/services/qdrant.js +238 -0
  126. package/dist/services/qdrant.js.map +1 -0
  127. package/dist/services/versions.js +73 -0
  128. package/dist/services/versions.js.map +1 -0
  129. package/dist/services/vice-bin.js +51 -0
  130. package/dist/services/vice-bin.js.map +1 -0
  131. package/dist/tools/briefings/archetype.js +174 -0
  132. package/dist/tools/briefings/archetype.js.map +1 -0
  133. package/dist/tools/briefings/budget.js +177 -0
  134. package/dist/tools/briefings/budget.js.map +1 -0
  135. package/dist/tools/briefings/build-order.js +135 -0
  136. package/dist/tools/briefings/build-order.js.map +1 -0
  137. package/dist/tools/briefings/build.js +185 -0
  138. package/dist/tools/briefings/build.js.map +1 -0
  139. package/dist/tools/briefings/discovery.js +290 -0
  140. package/dist/tools/briefings/discovery.js.map +1 -0
  141. package/dist/tools/briefings/plan-pitfalls.js +69 -0
  142. package/dist/tools/briefings/plan-pitfalls.js.map +1 -0
  143. package/dist/tools/briefings/render.js +151 -0
  144. package/dist/tools/briefings/render.js.map +1 -0
  145. package/dist/tools/briefings/rows.js +41 -0
  146. package/dist/tools/briefings/rows.js.map +1 -0
  147. package/dist/tools/briefings/toolchain.js +63 -0
  148. package/dist/tools/briefings/toolchain.js.map +1 -0
  149. package/dist/tools/briefings/why-proposed.js +69 -0
  150. package/dist/tools/briefings/why-proposed.js.map +1 -0
  151. package/dist/tools/briefings.js +44 -0
  152. package/dist/tools/briefings.js.map +1 -0
  153. package/dist/tools/feedback.js +97 -0
  154. package/dist/tools/feedback.js.map +1 -0
  155. package/dist/tools/hydrate.js +75 -0
  156. package/dist/tools/hydrate.js.map +1 -0
  157. package/dist/tools/intelligence.js +67 -0
  158. package/dist/tools/intelligence.js.map +1 -0
  159. package/dist/tools/lint/asm-decimal.js +86 -0
  160. package/dist/tools/lint/asm-decimal.js.map +1 -0
  161. package/dist/tools/lint/asm-rules.js +221 -0
  162. package/dist/tools/lint/asm-rules.js.map +1 -0
  163. package/dist/tools/lint/asm-shared.js +3 -0
  164. package/dist/tools/lint/asm-shared.js.map +1 -0
  165. package/dist/tools/lint/c-rules.js +215 -0
  166. package/dist/tools/lint/c-rules.js.map +1 -0
  167. package/dist/tools/lint/text.js +122 -0
  168. package/dist/tools/lint/text.js.map +1 -0
  169. package/dist/tools/lint/types.js +40 -0
  170. package/dist/tools/lint/types.js.map +1 -0
  171. package/dist/tools/lint.js +76 -0
  172. package/dist/tools/lint.js.map +1 -0
  173. package/dist/tools/memorization-mcp.js +111 -0
  174. package/dist/tools/memorization-mcp.js.map +1 -0
  175. package/dist/tools/pitfalls/bm25.js +53 -0
  176. package/dist/tools/pitfalls/bm25.js.map +1 -0
  177. package/dist/tools/pitfalls/format.js +58 -0
  178. package/dist/tools/pitfalls/format.js.map +1 -0
  179. package/dist/tools/pitfalls/graph.js +124 -0
  180. package/dist/tools/pitfalls/graph.js.map +1 -0
  181. package/dist/tools/pitfalls.js +134 -0
  182. package/dist/tools/pitfalls.js.map +1 -0
  183. package/dist/tools/prompts.js +81 -0
  184. package/dist/tools/prompts.js.map +1 -0
  185. package/dist/tools/query/compatibility/closure.js +62 -0
  186. package/dist/tools/query/compatibility/closure.js.map +1 -0
  187. package/dist/tools/query/compatibility/facts.js +28 -0
  188. package/dist/tools/query/compatibility/facts.js.map +1 -0
  189. package/dist/tools/query/compatibility/fetch.js +164 -0
  190. package/dist/tools/query/compatibility/fetch.js.map +1 -0
  191. package/dist/tools/query/compatibility/hard-rules.js +159 -0
  192. package/dist/tools/query/compatibility/hard-rules.js.map +1 -0
  193. package/dist/tools/query/compatibility/index.js +27 -0
  194. package/dist/tools/query/compatibility/index.js.map +1 -0
  195. package/dist/tools/query/compatibility/kernal-zp-rule.js +90 -0
  196. package/dist/tools/query/compatibility/kernal-zp-rule.js.map +1 -0
  197. package/dist/tools/query/compatibility/render.js +106 -0
  198. package/dist/tools/query/compatibility/render.js.map +1 -0
  199. package/dist/tools/query/compatibility/rules.js +337 -0
  200. package/dist/tools/query/compatibility/rules.js.map +1 -0
  201. package/dist/tools/query/compatibility/unit-rules.js +253 -0
  202. package/dist/tools/query/compatibility/unit-rules.js.map +1 -0
  203. package/dist/tools/query/game-design.js +83 -0
  204. package/dist/tools/query/game-design.js.map +1 -0
  205. package/dist/tools/query/lookups.js +220 -0
  206. package/dist/tools/query/lookups.js.map +1 -0
  207. package/dist/tools/query/plan-budget.js +266 -0
  208. package/dist/tools/query/plan-budget.js.map +1 -0
  209. package/dist/tools/query/recipes.js +214 -0
  210. package/dist/tools/query/recipes.js.map +1 -0
  211. package/dist/tools/query/retrieval.js +128 -0
  212. package/dist/tools/query/retrieval.js.map +1 -0
  213. package/dist/tools/query/shared.js +121 -0
  214. package/dist/tools/query/shared.js.map +1 -0
  215. package/dist/tools/query/techniques.js +331 -0
  216. package/dist/tools/query/techniques.js.map +1 -0
  217. package/dist/tools/query/timing.js +106 -0
  218. package/dist/tools/query/timing.js.map +1 -0
  219. package/dist/tools/query/types.js +11 -0
  220. package/dist/tools/query/types.js.map +1 -0
  221. package/dist/tools/query.js +21 -0
  222. package/dist/tools/query.js.map +1 -0
  223. package/dist/tools/resources.js +186 -0
  224. package/dist/tools/resources.js.map +1 -0
  225. package/dist/tools/run-game.js +249 -0
  226. package/dist/tools/run-game.js.map +1 -0
  227. package/dist/tools/selfimprovement.js +367 -0
  228. package/dist/tools/selfimprovement.js.map +1 -0
  229. package/docker-compose.yml +35 -0
  230. package/docs/ARCHITECTURE.md +164 -0
  231. package/docs/CONVENTIONS-archetypes.md +158 -0
  232. package/docs/CONVENTIONS-failures.md +46 -0
  233. package/docs/CONVENTIONS-game-designs.md +75 -0
  234. package/docs/CONVENTIONS-hardware-reference.md +184 -0
  235. package/docs/CONVENTIONS-pitfalls.md +91 -0
  236. package/docs/CONVENTIONS-recipes.md +106 -0
  237. package/docs/CONVENTIONS-techniques.md +309 -0
  238. package/docs/CONVENTIONS-toolchain-reference.md +89 -0
  239. package/docs/ONTOLOGY.md +655 -0
  240. package/docs/art/art-production-reference.md +157 -0
  241. package/docs/art/asset-pipelines.md +586 -0
  242. package/docs/c64-failure-patterns.md +693 -0
  243. package/docs/demo-design/demo-composition.md +349 -0
  244. package/docs/demo-design/demo-design-philosophy.md +320 -0
  245. package/docs/demo-design/intro-cracktro-patterns.md +435 -0
  246. package/docs/figures/ctm-spd-embed-probe.png +0 -0
  247. package/docs/figures/dot-flag-mid-5000000.png +0 -0
  248. package/docs/figures/dot-flag-no-erase-12000000.png +0 -0
  249. package/docs/figures/edges.json +1 -0
  250. package/docs/figures/fig6-architecture.png +0 -0
  251. package/docs/figures/fig7-ontology.png +0 -0
  252. package/docs/figures/screen-dissolve-mid-frame25.png +0 -0
  253. package/docs/figures/screen-dissolve-wipe-frame25.png +0 -0
  254. package/docs/figures/spindle-two-parts-part1.png +0 -0
  255. package/docs/figures/spindle-two-parts-part2.png +0 -0
  256. package/docs/figures/starters/action-puzzle.png +0 -0
  257. package/docs/figures/starters/adventure.png +0 -0
  258. package/docs/figures/starters/beat-em-up.png +0 -0
  259. package/docs/figures/starters/demo.png +0 -0
  260. package/docs/figures/starters/platformer.png +0 -0
  261. package/docs/figures/starters/shmup-vertical.png +0 -0
  262. package/docs/figures/tape-kernal-master-ntsc.png +0 -0
  263. package/docs/figures/tape-kernal-master-pal.png +0 -0
  264. package/docs/figures/tape-turbo-loader-ntsc.png +0 -0
  265. package/docs/figures/tape-turbo-loader-pal.png +0 -0
  266. package/docs/figures/tape-turbo-master-ntsc.png +0 -0
  267. package/docs/figures/tape-turbo-master-pal.png +0 -0
  268. package/docs/figures/tech-tech-pad2-12000000.png +0 -0
  269. package/docs/figures/tech-tech-pad4-12000000.png +0 -0
  270. package/docs/figures/tech-tech-seven-12000000.png +0 -0
  271. package/docs/figures/twister-mid-5000000.png +0 -0
  272. package/docs/figures/twister-straight-12000000.png +0 -0
  273. package/docs/figures/vector-balls-nosort-ntsc.png +0 -0
  274. package/docs/figures/vector-balls-nosort.png +0 -0
  275. package/docs/formats/c64-file-formats.md +1212 -0
  276. package/docs/formats/iec-disk-reference.md +754 -0
  277. package/docs/game-design/c64-game-archetypes.md +273 -0
  278. package/docs/game-design/designs/falling-blocks.md +54 -0
  279. package/docs/game-design/designs/platformer-scaffold.md +48 -0
  280. package/docs/game-design/designs/simple-shmup.md +27 -0
  281. package/docs/game-design/enemy-behaviour-and-difficulty.md +349 -0
  282. package/docs/game-design/game-design-patterns.md +1189 -0
  283. package/docs/game-design/game-structure.md +354 -0
  284. package/docs/game-design/production-planning.md +349 -0
  285. package/docs/game-design/reference-game-sources.md +90 -0
  286. package/docs/hardware/6502-illegal-opcodes.md +1353 -0
  287. package/docs/hardware/6510-cpu-reference.md +2112 -0
  288. package/docs/hardware/c64-memory-map.md +3184 -0
  289. package/docs/hardware/c64-registers-reference.md +996 -0
  290. package/docs/hardware/cia-reference.md +1281 -0
  291. package/docs/hardware/kernal-routines-reference.md +1836 -0
  292. package/docs/hardware/pal-ntsc-reference.md +813 -0
  293. package/docs/hardware/sid-reference.md +1137 -0
  294. package/docs/hardware/vic-ii-reference.md +1714 -0
  295. package/docs/music/music-production-reference.md +403 -0
  296. package/docs/pitfalls/banking.md +1067 -0
  297. package/docs/pitfalls/cia.md +1147 -0
  298. package/docs/pitfalls/cpu.md +874 -0
  299. package/docs/pitfalls/input.md +282 -0
  300. package/docs/pitfalls/kernal-and-io.md +1615 -0
  301. package/docs/pitfalls/loader.md +1191 -0
  302. package/docs/pitfalls/logic.md +94 -0
  303. package/docs/pitfalls/maths.md +187 -0
  304. package/docs/pitfalls/raster-and-badline.md +721 -0
  305. package/docs/pitfalls/region-timing.md +660 -0
  306. package/docs/pitfalls/scroll.md +207 -0
  307. package/docs/pitfalls/sid.md +738 -0
  308. package/docs/pitfalls/sprite.md +979 -0
  309. package/docs/pitfalls/text-mode-render.md +1172 -0
  310. package/docs/recipes/cc65/cartridge-8k.md +398 -0
  311. package/docs/recipes/cc65/hello-world-conio.md +76 -0
  312. package/docs/recipes/cc65/memory-layout.md +312 -0
  313. package/docs/recipes/cc65/screenshots/README.md +14 -0
  314. package/docs/recipes/cc65/screenshots/cartridge-8k-ntsc.png +0 -0
  315. package/docs/recipes/cc65/screenshots/cartridge-8k.png +0 -0
  316. package/docs/recipes/cc65/screenshots/hello-world-conio.png +0 -0
  317. package/docs/recipes/cc65/screenshots/memory-layout-ntsc.png +0 -0
  318. package/docs/recipes/cc65/screenshots/memory-layout.png +0 -0
  319. package/docs/recipes/kickassembler/basic-float-calls.md +578 -0
  320. package/docs/recipes/kickassembler/basic-wedge.md +398 -0
  321. package/docs/recipes/kickassembler/big-font-scroller.md +620 -0
  322. package/docs/recipes/kickassembler/charset-copy-rom-to-ram.md +623 -0
  323. package/docs/recipes/kickassembler/cia-revision-detect.md +366 -0
  324. package/docs/recipes/kickassembler/colour-cycling.md +343 -0
  325. package/docs/recipes/kickassembler/colour-fade.md +303 -0
  326. package/docs/recipes/kickassembler/compare-16bit-signed.md +1007 -0
  327. package/docs/recipes/kickassembler/cracktro-template.md +526 -0
  328. package/docs/recipes/kickassembler/crt-banked.md +276 -0
  329. package/docs/recipes/kickassembler/dos-error-codes.md +466 -0
  330. package/docs/recipes/kickassembler/dot-flag.md +576 -0
  331. package/docs/recipes/kickassembler/drive-job-queue.md +667 -0
  332. package/docs/recipes/kickassembler/drive-via-probe.md +690 -0
  333. package/docs/recipes/kickassembler/dycp-scroller.md +568 -0
  334. package/docs/recipes/kickassembler/dypp-sprite-scroller.md +681 -0
  335. package/docs/recipes/kickassembler/dysp.md +670 -0
  336. package/docs/recipes/kickassembler/easyflash-save.md +800 -0
  337. package/docs/recipes/kickassembler/eight-way-scroll.md +1484 -0
  338. package/docs/recipes/kickassembler/file-io-roundtrip.md +546 -0
  339. package/docs/recipes/kickassembler/fire-effect.md +420 -0
  340. package/docs/recipes/kickassembler/fld.md +414 -0
  341. package/docs/recipes/kickassembler/fli-image.md +336 -0
  342. package/docs/recipes/kickassembler/four-player-read.md +672 -0
  343. package/docs/recipes/kickassembler/headless-verify.md +228 -0
  344. package/docs/recipes/kickassembler/hello-world.md +98 -0
  345. package/docs/recipes/kickassembler/high-score-insert.md +660 -0
  346. package/docs/recipes/kickassembler/hires-plot-line.md +723 -0
  347. package/docs/recipes/kickassembler/irq-chain.md +316 -0
  348. package/docs/recipes/kickassembler/irq-owns-port.md +668 -0
  349. package/docs/recipes/kickassembler/isometric-room.md +1145 -0
  350. package/docs/recipes/kickassembler/light-pen-read.md +926 -0
  351. package/docs/recipes/kickassembler/logic-rate-decoupling.md +670 -0
  352. package/docs/recipes/kickassembler/mci-interlace.md +543 -0
  353. package/docs/recipes/kickassembler/memory-layout.md +277 -0
  354. package/docs/recipes/kickassembler/mouse-1351-read.md +801 -0
  355. package/docs/recipes/kickassembler/nmi-timer-tick.md +562 -0
  356. package/docs/recipes/kickassembler/own-keyscan.md +881 -0
  357. package/docs/recipes/kickassembler/paddle-read.md +751 -0
  358. package/docs/recipes/kickassembler/palette-cells.md +219 -0
  359. package/docs/recipes/kickassembler/pseudo-3d-road.md +930 -0
  360. package/docs/recipes/kickassembler/pwm-digi.md +463 -0
  361. package/docs/recipes/kickassembler/raster-bars.md +264 -0
  362. package/docs/recipes/kickassembler/reu-dma.md +1019 -0
  363. package/docs/recipes/kickassembler/runtime-relocation.md +743 -0
  364. package/docs/recipes/kickassembler/screen-dissolve.md +545 -0
  365. package/docs/recipes/kickassembler/screen-wipe.md +408 -0
  366. package/docs/recipes/kickassembler/screenshots/README.md +72 -0
  367. package/docs/recipes/kickassembler/screenshots/basic-float-calls-ntsc.png +0 -0
  368. package/docs/recipes/kickassembler/screenshots/basic-float-calls.png +0 -0
  369. package/docs/recipes/kickassembler/screenshots/basic-wedge-ntsc.png +0 -0
  370. package/docs/recipes/kickassembler/screenshots/basic-wedge.png +0 -0
  371. package/docs/recipes/kickassembler/screenshots/big-font-scroller-ntsc.png +0 -0
  372. package/docs/recipes/kickassembler/screenshots/big-font-scroller.png +0 -0
  373. package/docs/recipes/kickassembler/screenshots/charset-copy-rom-to-ram-ntsc.png +0 -0
  374. package/docs/recipes/kickassembler/screenshots/charset-copy-rom-to-ram.png +0 -0
  375. package/docs/recipes/kickassembler/screenshots/cia-revision-detect-ntsc.png +0 -0
  376. package/docs/recipes/kickassembler/screenshots/cia-revision-detect.png +0 -0
  377. package/docs/recipes/kickassembler/screenshots/colour-cycling-ntsc.png +0 -0
  378. package/docs/recipes/kickassembler/screenshots/colour-cycling.png +0 -0
  379. package/docs/recipes/kickassembler/screenshots/colour-fade-ntsc.png +0 -0
  380. package/docs/recipes/kickassembler/screenshots/colour-fade.png +0 -0
  381. package/docs/recipes/kickassembler/screenshots/compare-16bit-signed-ntsc.png +0 -0
  382. package/docs/recipes/kickassembler/screenshots/compare-16bit-signed.png +0 -0
  383. package/docs/recipes/kickassembler/screenshots/cracktro-template.png +0 -0
  384. package/docs/recipes/kickassembler/screenshots/crt-banked-ntsc.png +0 -0
  385. package/docs/recipes/kickassembler/screenshots/crt-banked.png +0 -0
  386. package/docs/recipes/kickassembler/screenshots/dos-error-codes-ntsc.png +0 -0
  387. package/docs/recipes/kickassembler/screenshots/dos-error-codes.png +0 -0
  388. package/docs/recipes/kickassembler/screenshots/dot-flag-ntsc.png +0 -0
  389. package/docs/recipes/kickassembler/screenshots/dot-flag.png +0 -0
  390. package/docs/recipes/kickassembler/screenshots/drive-job-queue-ntsc.png +0 -0
  391. package/docs/recipes/kickassembler/screenshots/drive-job-queue.png +0 -0
  392. package/docs/recipes/kickassembler/screenshots/drive-via-probe-ntsc.png +0 -0
  393. package/docs/recipes/kickassembler/screenshots/drive-via-probe.png +0 -0
  394. package/docs/recipes/kickassembler/screenshots/dycp-scroller-ntsc.png +0 -0
  395. package/docs/recipes/kickassembler/screenshots/dycp-scroller.png +0 -0
  396. package/docs/recipes/kickassembler/screenshots/dypp-sprite-scroller-ntsc.png +0 -0
  397. package/docs/recipes/kickassembler/screenshots/dypp-sprite-scroller.png +0 -0
  398. package/docs/recipes/kickassembler/screenshots/dysp-ntsc.png +0 -0
  399. package/docs/recipes/kickassembler/screenshots/dysp.png +0 -0
  400. package/docs/recipes/kickassembler/screenshots/easyflash-save-ntsc-run2.png +0 -0
  401. package/docs/recipes/kickassembler/screenshots/easyflash-save-ntsc.png +0 -0
  402. package/docs/recipes/kickassembler/screenshots/easyflash-save-run2.png +0 -0
  403. package/docs/recipes/kickassembler/screenshots/easyflash-save.png +0 -0
  404. package/docs/recipes/kickassembler/screenshots/eight-way-scroll-ntsc.png +0 -0
  405. package/docs/recipes/kickassembler/screenshots/eight-way-scroll.png +0 -0
  406. package/docs/recipes/kickassembler/screenshots/file-io-roundtrip-ntsc.png +0 -0
  407. package/docs/recipes/kickassembler/screenshots/file-io-roundtrip.png +0 -0
  408. package/docs/recipes/kickassembler/screenshots/fire-effect-ntsc.png +0 -0
  409. package/docs/recipes/kickassembler/screenshots/fire-effect.png +0 -0
  410. package/docs/recipes/kickassembler/screenshots/fld-ntsc.png +0 -0
  411. package/docs/recipes/kickassembler/screenshots/fld.png +0 -0
  412. package/docs/recipes/kickassembler/screenshots/fli-image.png +0 -0
  413. package/docs/recipes/kickassembler/screenshots/four-player-read-ntsc.png +0 -0
  414. package/docs/recipes/kickassembler/screenshots/four-player-read.png +0 -0
  415. package/docs/recipes/kickassembler/screenshots/headless-verify-ntsc.png +0 -0
  416. package/docs/recipes/kickassembler/screenshots/headless-verify.png +0 -0
  417. package/docs/recipes/kickassembler/screenshots/hello-world.png +0 -0
  418. package/docs/recipes/kickassembler/screenshots/high-score-insert-ntsc.png +0 -0
  419. package/docs/recipes/kickassembler/screenshots/high-score-insert.png +0 -0
  420. package/docs/recipes/kickassembler/screenshots/hires-plot-line-ntsc.png +0 -0
  421. package/docs/recipes/kickassembler/screenshots/hires-plot-line.png +0 -0
  422. package/docs/recipes/kickassembler/screenshots/irq-chain-ntsc.png +0 -0
  423. package/docs/recipes/kickassembler/screenshots/irq-chain.png +0 -0
  424. package/docs/recipes/kickassembler/screenshots/irq-owns-port-ntsc.png +0 -0
  425. package/docs/recipes/kickassembler/screenshots/irq-owns-port.png +0 -0
  426. package/docs/recipes/kickassembler/screenshots/isometric-room-ntsc.png +0 -0
  427. package/docs/recipes/kickassembler/screenshots/isometric-room.png +0 -0
  428. package/docs/recipes/kickassembler/screenshots/light-pen-read-ntsc.png +0 -0
  429. package/docs/recipes/kickassembler/screenshots/light-pen-read.png +0 -0
  430. package/docs/recipes/kickassembler/screenshots/logic-rate-decoupling-ntsc.png +0 -0
  431. package/docs/recipes/kickassembler/screenshots/logic-rate-decoupling.png +0 -0
  432. package/docs/recipes/kickassembler/screenshots/mci-interlace-average.png +0 -0
  433. package/docs/recipes/kickassembler/screenshots/mci-interlace-frame-b.png +0 -0
  434. package/docs/recipes/kickassembler/screenshots/mci-interlace-ntsc.png +0 -0
  435. package/docs/recipes/kickassembler/screenshots/mci-interlace.png +0 -0
  436. package/docs/recipes/kickassembler/screenshots/memory-layout-ntsc.png +0 -0
  437. package/docs/recipes/kickassembler/screenshots/memory-layout.png +0 -0
  438. package/docs/recipes/kickassembler/screenshots/mouse-1351-read-ntsc.png +0 -0
  439. package/docs/recipes/kickassembler/screenshots/mouse-1351-read.png +0 -0
  440. package/docs/recipes/kickassembler/screenshots/nmi-timer-tick-ntsc.png +0 -0
  441. package/docs/recipes/kickassembler/screenshots/nmi-timer-tick.png +0 -0
  442. package/docs/recipes/kickassembler/screenshots/own-keyscan-ntsc.png +0 -0
  443. package/docs/recipes/kickassembler/screenshots/own-keyscan.png +0 -0
  444. package/docs/recipes/kickassembler/screenshots/paddle-read-ntsc.png +0 -0
  445. package/docs/recipes/kickassembler/screenshots/paddle-read.png +0 -0
  446. package/docs/recipes/kickassembler/screenshots/palette-cells-ntsc.png +0 -0
  447. package/docs/recipes/kickassembler/screenshots/palette-cells.png +0 -0
  448. package/docs/recipes/kickassembler/screenshots/pseudo-3d-road-ntsc.png +0 -0
  449. package/docs/recipes/kickassembler/screenshots/pseudo-3d-road.png +0 -0
  450. package/docs/recipes/kickassembler/screenshots/pwm-digi-ntsc.png +0 -0
  451. package/docs/recipes/kickassembler/screenshots/pwm-digi.png +0 -0
  452. package/docs/recipes/kickassembler/screenshots/raster-bars.png +0 -0
  453. package/docs/recipes/kickassembler/screenshots/reu-dma-ntsc.png +0 -0
  454. package/docs/recipes/kickassembler/screenshots/reu-dma.png +0 -0
  455. package/docs/recipes/kickassembler/screenshots/runtime-relocation-ntsc.png +0 -0
  456. package/docs/recipes/kickassembler/screenshots/runtime-relocation.png +0 -0
  457. package/docs/recipes/kickassembler/screenshots/screen-dissolve-ntsc.png +0 -0
  458. package/docs/recipes/kickassembler/screenshots/screen-dissolve.png +0 -0
  459. package/docs/recipes/kickassembler/screenshots/screen-wipe-ntsc.png +0 -0
  460. package/docs/recipes/kickassembler/screenshots/screen-wipe.png +0 -0
  461. package/docs/recipes/kickassembler/screenshots/scroll-panel-split-ntsc.png +0 -0
  462. package/docs/recipes/kickassembler/screenshots/scroll-panel-split.png +0 -0
  463. package/docs/recipes/kickassembler/screenshots/sfx-in-player-ntsc.png +0 -0
  464. package/docs/recipes/kickassembler/screenshots/sfx-in-player.png +0 -0
  465. package/docs/recipes/kickassembler/screenshots/shadebobs-ntsc.png +0 -0
  466. package/docs/recipes/kickassembler/screenshots/shadebobs.png +0 -0
  467. package/docs/recipes/kickassembler/screenshots/sideborder-open.png +0 -0
  468. package/docs/recipes/kickassembler/screenshots/sine-scroller.png +0 -0
  469. package/docs/recipes/kickassembler/screenshots/sine-table-runtime-ntsc.png +0 -0
  470. package/docs/recipes/kickassembler/screenshots/sine-table-runtime.png +0 -0
  471. package/docs/recipes/kickassembler/screenshots/software-sprite-preshifted-ntsc.png +0 -0
  472. package/docs/recipes/kickassembler/screenshots/software-sprite-preshifted.png +0 -0
  473. package/docs/recipes/kickassembler/screenshots/speedcode-generator-ntsc.png +0 -0
  474. package/docs/recipes/kickassembler/screenshots/speedcode-generator.png +0 -0
  475. package/docs/recipes/kickassembler/screenshots/sprite-border-scroller-ntsc.png +0 -0
  476. package/docs/recipes/kickassembler/screenshots/sprite-border-scroller.png +0 -0
  477. package/docs/recipes/kickassembler/screenshots/sprite-cache-flip-ntsc.png +0 -0
  478. package/docs/recipes/kickassembler/screenshots/sprite-cache-flip.png +0 -0
  479. package/docs/recipes/kickassembler/screenshots/sprite-multiplex-24.png +0 -0
  480. package/docs/recipes/kickassembler/screenshots/sprite-multiplex-game-ntsc.png +0 -0
  481. package/docs/recipes/kickassembler/screenshots/sprite-multiplex-game.png +0 -0
  482. package/docs/recipes/kickassembler/screenshots/sprite-priority-classes-ntsc.png +0 -0
  483. package/docs/recipes/kickassembler/screenshots/sprite-priority-classes.png +0 -0
  484. package/docs/recipes/kickassembler/screenshots/sprite-sine-chain-ntsc.png +0 -0
  485. package/docs/recipes/kickassembler/screenshots/sprite-sine-chain.png +0 -0
  486. package/docs/recipes/kickassembler/screenshots/sprite-stretcher-ntsc.png +0 -0
  487. package/docs/recipes/kickassembler/screenshots/sprite-stretcher.png +0 -0
  488. package/docs/recipes/kickassembler/screenshots/sprites-only-screen-ntsc.png +0 -0
  489. package/docs/recipes/kickassembler/screenshots/sprites-only-screen.png +0 -0
  490. package/docs/recipes/kickassembler/screenshots/sqrt-atan2-ntsc.png +0 -0
  491. package/docs/recipes/kickassembler/screenshots/sqrt-atan2.png +0 -0
  492. package/docs/recipes/kickassembler/screenshots/stable-raster-irq-control.png +0 -0
  493. package/docs/recipes/kickassembler/screenshots/stable-raster-irq.png +0 -0
  494. package/docs/recipes/kickassembler/screenshots/tech-tech-ntsc.png +0 -0
  495. package/docs/recipes/kickassembler/screenshots/tech-tech.png +0 -0
  496. package/docs/recipes/kickassembler/screenshots/tod-alarm-ntsc.png +0 -0
  497. package/docs/recipes/kickassembler/screenshots/tod-alarm.png +0 -0
  498. package/docs/recipes/kickassembler/screenshots/topbottom-border-open.png +0 -0
  499. package/docs/recipes/kickassembler/screenshots/twister-ntsc.png +0 -0
  500. package/docs/recipes/kickassembler/screenshots/twister.png +0 -0
  501. package/docs/recipes/kickassembler/screenshots/unit-test-driver-ntsc.png +0 -0
  502. package/docs/recipes/kickassembler/screenshots/unit-test-driver.png +0 -0
  503. package/docs/recipes/kickassembler/screenshots/vector-balls-ntsc.png +0 -0
  504. package/docs/recipes/kickassembler/screenshots/vector-balls.png +0 -0
  505. package/docs/recipes/kickassembler/screenshots/wireframe-ships-ntsc.png +0 -0
  506. package/docs/recipes/kickassembler/screenshots/wireframe-ships.png +0 -0
  507. package/docs/recipes/kickassembler/scroll-panel-split.md +381 -0
  508. package/docs/recipes/kickassembler/sfx-in-player.md +907 -0
  509. package/docs/recipes/kickassembler/shadebobs.md +522 -0
  510. package/docs/recipes/kickassembler/sideborder-open.md +338 -0
  511. package/docs/recipes/kickassembler/sine-scroller.md +321 -0
  512. package/docs/recipes/kickassembler/sine-table-runtime.md +815 -0
  513. package/docs/recipes/kickassembler/software-sprite-preshifted.md +725 -0
  514. package/docs/recipes/kickassembler/speedcode-generator.md +606 -0
  515. package/docs/recipes/kickassembler/sprite-border-scroller.md +696 -0
  516. package/docs/recipes/kickassembler/sprite-cache-flip.md +1071 -0
  517. package/docs/recipes/kickassembler/sprite-multiplex-24.md +326 -0
  518. package/docs/recipes/kickassembler/sprite-multiplex-game.md +986 -0
  519. package/docs/recipes/kickassembler/sprite-priority-classes.md +463 -0
  520. package/docs/recipes/kickassembler/sprite-sine-chain.md +338 -0
  521. package/docs/recipes/kickassembler/sprite-stretcher.md +501 -0
  522. package/docs/recipes/kickassembler/sprites-only-screen.md +550 -0
  523. package/docs/recipes/kickassembler/sqrt-atan2.md +1014 -0
  524. package/docs/recipes/kickassembler/stable-raster-irq.md +360 -0
  525. package/docs/recipes/kickassembler/tape-turbo-loader.md +875 -0
  526. package/docs/recipes/kickassembler/tech-tech.md +679 -0
  527. package/docs/recipes/kickassembler/tod-alarm.md +754 -0
  528. package/docs/recipes/kickassembler/topbottom-border-open.md +407 -0
  529. package/docs/recipes/kickassembler/twister.md +518 -0
  530. package/docs/recipes/kickassembler/unit-test-driver.md +314 -0
  531. package/docs/recipes/kickassembler/vector-balls.md +545 -0
  532. package/docs/recipes/kickassembler/wireframe-ships.md +2324 -0
  533. package/docs/recipes/oscar64/actor-activation-window.md +807 -0
  534. package/docs/recipes/oscar64/adventure-engine.md +1094 -0
  535. package/docs/recipes/oscar64/attract-replay.md +465 -0
  536. package/docs/recipes/oscar64/beat-em-up-lanes.md +563 -0
  537. package/docs/recipes/oscar64/bfs-distance-map.md +723 -0
  538. package/docs/recipes/oscar64/bitmap-koala-viewer.md +355 -0
  539. package/docs/recipes/oscar64/car-contact.md +950 -0
  540. package/docs/recipes/oscar64/cave-scan.md +609 -0
  541. package/docs/recipes/oscar64/char-bullets.md +477 -0
  542. package/docs/recipes/oscar64/charset-animation.md +383 -0
  543. package/docs/recipes/oscar64/charset-parallax.md +401 -0
  544. package/docs/recipes/oscar64/destructible-terrain.md +1099 -0
  545. package/docs/recipes/oscar64/difficulty-tables.md +654 -0
  546. package/docs/recipes/oscar64/dig-and-guards.md +975 -0
  547. package/docs/recipes/oscar64/directory-reader.md +535 -0
  548. package/docs/recipes/oscar64/divide-check.md +581 -0
  549. package/docs/recipes/oscar64/double-buffer-nomirror.md +205 -0
  550. package/docs/recipes/oscar64/double-buffer.md +255 -0
  551. package/docs/recipes/oscar64/falling-blocks.md +874 -0
  552. package/docs/recipes/oscar64/fixed-point-jump-velocity.md +289 -0
  553. package/docs/recipes/oscar64/fixed-point-jump.md +210 -0
  554. package/docs/recipes/oscar64/flip-screen-rooms.md +793 -0
  555. package/docs/recipes/oscar64/frame-sync-loop-overrun.md +214 -0
  556. package/docs/recipes/oscar64/frame-sync-loop.md +254 -0
  557. package/docs/recipes/oscar64/game-tree-search.md +743 -0
  558. package/docs/recipes/oscar64/ghost-targeting.md +867 -0
  559. package/docs/recipes/oscar64/headless-verify.md +345 -0
  560. package/docs/recipes/oscar64/hello-world.md +83 -0
  561. package/docs/recipes/oscar64/high-score-persist.md +772 -0
  562. package/docs/recipes/oscar64/iffl-kernal-skip.md +421 -0
  563. package/docs/recipes/oscar64/joystick-input.md +358 -0
  564. package/docs/recipes/oscar64/lane-pursuit.md +1028 -0
  565. package/docs/recipes/oscar64/level-rle-decoder.md +620 -0
  566. package/docs/recipes/oscar64/lfsr-random-seed2.md +338 -0
  567. package/docs/recipes/oscar64/lfsr-random.md +403 -0
  568. package/docs/recipes/oscar64/load-asset-runtime.md +492 -0
  569. package/docs/recipes/oscar64/memory-layout.md +232 -0
  570. package/docs/recipes/oscar64/mixed-fighters.md +781 -0
  571. package/docs/recipes/oscar64/multi-sprite-object.md +533 -0
  572. package/docs/recipes/oscar64/nav-area-pathfinding.md +881 -0
  573. package/docs/recipes/oscar64/object-pool.md +572 -0
  574. package/docs/recipes/oscar64/pal-ntsc-detect.md +257 -0
  575. package/docs/recipes/oscar64/password-state.md +532 -0
  576. package/docs/recipes/oscar64/per-frame-hitbox.md +651 -0
  577. package/docs/recipes/oscar64/petscii-screen-codes.md +428 -0
  578. package/docs/recipes/oscar64/platformer-scaffold.md +1467 -0
  579. package/docs/recipes/oscar64/print-number.md +367 -0
  580. package/docs/recipes/oscar64/raster-bars.md +239 -0
  581. package/docs/recipes/oscar64/raster-profile-bars.md +404 -0
  582. package/docs/recipes/oscar64/rel-side-sectors.md +391 -0
  583. package/docs/recipes/oscar64/relative-file-records.md +378 -0
  584. package/docs/recipes/oscar64/save-load-seq-file.md +365 -0
  585. package/docs/recipes/oscar64/screenshots/README.md +99 -0
  586. package/docs/recipes/oscar64/screenshots/actor-activation-window-ntsc.png +0 -0
  587. package/docs/recipes/oscar64/screenshots/actor-activation-window.png +0 -0
  588. package/docs/recipes/oscar64/screenshots/adventure-engine-ntsc.png +0 -0
  589. package/docs/recipes/oscar64/screenshots/adventure-engine.png +0 -0
  590. package/docs/recipes/oscar64/screenshots/attract-replay-ntsc.png +0 -0
  591. package/docs/recipes/oscar64/screenshots/attract-replay.png +0 -0
  592. package/docs/recipes/oscar64/screenshots/beat-em-up-lanes-ntsc.png +0 -0
  593. package/docs/recipes/oscar64/screenshots/beat-em-up-lanes.png +0 -0
  594. package/docs/recipes/oscar64/screenshots/bfs-distance-map-ntsc.png +0 -0
  595. package/docs/recipes/oscar64/screenshots/bfs-distance-map.png +0 -0
  596. package/docs/recipes/oscar64/screenshots/bitmap-koala-viewer.png +0 -0
  597. package/docs/recipes/oscar64/screenshots/car-contact-ntsc.png +0 -0
  598. package/docs/recipes/oscar64/screenshots/car-contact.png +0 -0
  599. package/docs/recipes/oscar64/screenshots/cave-scan-ntsc.png +0 -0
  600. package/docs/recipes/oscar64/screenshots/cave-scan.png +0 -0
  601. package/docs/recipes/oscar64/screenshots/char-bullets-ntsc.png +0 -0
  602. package/docs/recipes/oscar64/screenshots/char-bullets.png +0 -0
  603. package/docs/recipes/oscar64/screenshots/charset-animation-ntsc.png +0 -0
  604. package/docs/recipes/oscar64/screenshots/charset-animation.png +0 -0
  605. package/docs/recipes/oscar64/screenshots/charset-parallax-ntsc.png +0 -0
  606. package/docs/recipes/oscar64/screenshots/charset-parallax.png +0 -0
  607. package/docs/recipes/oscar64/screenshots/destructible-terrain-ntsc.png +0 -0
  608. package/docs/recipes/oscar64/screenshots/destructible-terrain.png +0 -0
  609. package/docs/recipes/oscar64/screenshots/difficulty-tables-ntsc.png +0 -0
  610. package/docs/recipes/oscar64/screenshots/difficulty-tables.png +0 -0
  611. package/docs/recipes/oscar64/screenshots/dig-and-guards-ntsc.png +0 -0
  612. package/docs/recipes/oscar64/screenshots/dig-and-guards.png +0 -0
  613. package/docs/recipes/oscar64/screenshots/directory-reader-ntsc.png +0 -0
  614. package/docs/recipes/oscar64/screenshots/directory-reader.png +0 -0
  615. package/docs/recipes/oscar64/screenshots/divide-check-ntsc.png +0 -0
  616. package/docs/recipes/oscar64/screenshots/divide-check.png +0 -0
  617. package/docs/recipes/oscar64/screenshots/double-buffer-nomirror.png +0 -0
  618. package/docs/recipes/oscar64/screenshots/double-buffer-ntsc.png +0 -0
  619. package/docs/recipes/oscar64/screenshots/double-buffer.png +0 -0
  620. package/docs/recipes/oscar64/screenshots/falling-blocks-ntsc.png +0 -0
  621. package/docs/recipes/oscar64/screenshots/falling-blocks.png +0 -0
  622. package/docs/recipes/oscar64/screenshots/fixed-point-jump-ntsc.png +0 -0
  623. package/docs/recipes/oscar64/screenshots/fixed-point-jump-velocity-ntsc.png +0 -0
  624. package/docs/recipes/oscar64/screenshots/fixed-point-jump-velocity.png +0 -0
  625. package/docs/recipes/oscar64/screenshots/fixed-point-jump.png +0 -0
  626. package/docs/recipes/oscar64/screenshots/flip-screen-rooms-ntsc.png +0 -0
  627. package/docs/recipes/oscar64/screenshots/flip-screen-rooms.png +0 -0
  628. package/docs/recipes/oscar64/screenshots/frame-sync-loop-ntsc.png +0 -0
  629. package/docs/recipes/oscar64/screenshots/frame-sync-loop-overrun.png +0 -0
  630. package/docs/recipes/oscar64/screenshots/frame-sync-loop.png +0 -0
  631. package/docs/recipes/oscar64/screenshots/game-tree-search-ntsc.png +0 -0
  632. package/docs/recipes/oscar64/screenshots/game-tree-search.png +0 -0
  633. package/docs/recipes/oscar64/screenshots/ghost-targeting-ntsc.png +0 -0
  634. package/docs/recipes/oscar64/screenshots/ghost-targeting.png +0 -0
  635. package/docs/recipes/oscar64/screenshots/headless-verify-ntsc.png +0 -0
  636. package/docs/recipes/oscar64/screenshots/headless-verify.png +0 -0
  637. package/docs/recipes/oscar64/screenshots/hello-world.png +0 -0
  638. package/docs/recipes/oscar64/screenshots/high-score-persist-ntsc.png +0 -0
  639. package/docs/recipes/oscar64/screenshots/high-score-persist.png +0 -0
  640. package/docs/recipes/oscar64/screenshots/iffl-kernal-skip-ntsc.png +0 -0
  641. package/docs/recipes/oscar64/screenshots/iffl-kernal-skip.png +0 -0
  642. package/docs/recipes/oscar64/screenshots/joystick-input-ntsc.png +0 -0
  643. package/docs/recipes/oscar64/screenshots/joystick-input.png +0 -0
  644. package/docs/recipes/oscar64/screenshots/lane-pursuit-ntsc.png +0 -0
  645. package/docs/recipes/oscar64/screenshots/lane-pursuit.png +0 -0
  646. package/docs/recipes/oscar64/screenshots/level-rle-decoder-ntsc.png +0 -0
  647. package/docs/recipes/oscar64/screenshots/level-rle-decoder.png +0 -0
  648. package/docs/recipes/oscar64/screenshots/lfsr-random-ntsc.png +0 -0
  649. package/docs/recipes/oscar64/screenshots/lfsr-random-seed2.png +0 -0
  650. package/docs/recipes/oscar64/screenshots/lfsr-random.png +0 -0
  651. package/docs/recipes/oscar64/screenshots/load-asset-runtime-ntsc.png +0 -0
  652. package/docs/recipes/oscar64/screenshots/load-asset-runtime.png +0 -0
  653. package/docs/recipes/oscar64/screenshots/memory-layout-ntsc.png +0 -0
  654. package/docs/recipes/oscar64/screenshots/memory-layout.png +0 -0
  655. package/docs/recipes/oscar64/screenshots/mixed-fighters-ntsc.png +0 -0
  656. package/docs/recipes/oscar64/screenshots/mixed-fighters.png +0 -0
  657. package/docs/recipes/oscar64/screenshots/multi-sprite-object-ntsc.png +0 -0
  658. package/docs/recipes/oscar64/screenshots/multi-sprite-object.png +0 -0
  659. package/docs/recipes/oscar64/screenshots/nav-area-pathfinding-ntsc.png +0 -0
  660. package/docs/recipes/oscar64/screenshots/nav-area-pathfinding.png +0 -0
  661. package/docs/recipes/oscar64/screenshots/object-pool-ntsc.png +0 -0
  662. package/docs/recipes/oscar64/screenshots/object-pool.png +0 -0
  663. package/docs/recipes/oscar64/screenshots/pal-ntsc-detect-ntsc.png +0 -0
  664. package/docs/recipes/oscar64/screenshots/pal-ntsc-detect-oldntsc.png +0 -0
  665. package/docs/recipes/oscar64/screenshots/pal-ntsc-detect-pal.png +0 -0
  666. package/docs/recipes/oscar64/screenshots/password-state-ntsc.png +0 -0
  667. package/docs/recipes/oscar64/screenshots/password-state.png +0 -0
  668. package/docs/recipes/oscar64/screenshots/per-frame-hitbox-ntsc.png +0 -0
  669. package/docs/recipes/oscar64/screenshots/per-frame-hitbox.png +0 -0
  670. package/docs/recipes/oscar64/screenshots/petscii-screen-codes-ntsc.png +0 -0
  671. package/docs/recipes/oscar64/screenshots/petscii-screen-codes.png +0 -0
  672. package/docs/recipes/oscar64/screenshots/platformer-scaffold-d64-ntsc.png +0 -0
  673. package/docs/recipes/oscar64/screenshots/platformer-scaffold-d64.png +0 -0
  674. package/docs/recipes/oscar64/screenshots/platformer-scaffold-ntsc.png +0 -0
  675. package/docs/recipes/oscar64/screenshots/platformer-scaffold.png +0 -0
  676. package/docs/recipes/oscar64/screenshots/print-number-ntsc.png +0 -0
  677. package/docs/recipes/oscar64/screenshots/print-number.png +0 -0
  678. package/docs/recipes/oscar64/screenshots/raster-bars.png +0 -0
  679. package/docs/recipes/oscar64/screenshots/raster-profile-bars-ntsc.png +0 -0
  680. package/docs/recipes/oscar64/screenshots/raster-profile-bars.png +0 -0
  681. package/docs/recipes/oscar64/screenshots/rel-side-sectors-ntsc.png +0 -0
  682. package/docs/recipes/oscar64/screenshots/rel-side-sectors.png +0 -0
  683. package/docs/recipes/oscar64/screenshots/relative-file-records-ntsc.png +0 -0
  684. package/docs/recipes/oscar64/screenshots/relative-file-records.png +0 -0
  685. package/docs/recipes/oscar64/screenshots/save-load-seq-file-ntsc.png +0 -0
  686. package/docs/recipes/oscar64/screenshots/save-load-seq-file.png +0 -0
  687. package/docs/recipes/oscar64/screenshots/seeded-level-fill-ntsc.png +0 -0
  688. package/docs/recipes/oscar64/screenshots/seeded-level-fill.png +0 -0
  689. package/docs/recipes/oscar64/screenshots/sfx-engine-ntsc.png +0 -0
  690. package/docs/recipes/oscar64/screenshots/sfx-engine.png +0 -0
  691. package/docs/recipes/oscar64/screenshots/sid-music-player.png +0 -0
  692. package/docs/recipes/oscar64/screenshots/simple-shmup.png +0 -0
  693. package/docs/recipes/oscar64/screenshots/slope-collision-ntsc.png +0 -0
  694. package/docs/recipes/oscar64/screenshots/slope-collision.png +0 -0
  695. package/docs/recipes/oscar64/screenshots/soft-scroll-h.png +0 -0
  696. package/docs/recipes/oscar64/screenshots/sprite-animation-table-ntsc.png +0 -0
  697. package/docs/recipes/oscar64/screenshots/sprite-animation-table.png +0 -0
  698. package/docs/recipes/oscar64/screenshots/sprite-multiplex-8.png +0 -0
  699. package/docs/recipes/oscar64/screenshots/stable-raster-irq.png +0 -0
  700. package/docs/recipes/oscar64/screenshots/text-input-ntsc.png +0 -0
  701. package/docs/recipes/oscar64/screenshots/text-input.png +0 -0
  702. package/docs/recipes/oscar64/screenshots/text-overlay-playfield-gameover.png +0 -0
  703. package/docs/recipes/oscar64/screenshots/text-overlay-playfield-notrail-control.png +0 -0
  704. package/docs/recipes/oscar64/screenshots/text-overlay-playfield-ntsc.png +0 -0
  705. package/docs/recipes/oscar64/screenshots/text-overlay-playfield-ungated-control.png +0 -0
  706. package/docs/recipes/oscar64/screenshots/text-overlay-playfield.png +0 -0
  707. package/docs/recipes/oscar64/screenshots/text-window-menu-ntsc.png +0 -0
  708. package/docs/recipes/oscar64/screenshots/text-window-menu.png +0 -0
  709. package/docs/recipes/oscar64/screenshots/tile-grid-collision-ntsc.png +0 -0
  710. package/docs/recipes/oscar64/screenshots/tile-grid-collision.png +0 -0
  711. package/docs/recipes/oscar64/screenshots/tile-map-render-ntsc.png +0 -0
  712. package/docs/recipes/oscar64/screenshots/tile-map-render.png +0 -0
  713. package/docs/recipes/oscar64/screenshots/two-player-ntsc.png +0 -0
  714. package/docs/recipes/oscar64/screenshots/two-player.png +0 -0
  715. package/docs/recipes/oscar64/screenshots/two-word-parser-ntsc.png +0 -0
  716. package/docs/recipes/oscar64/screenshots/two-word-parser.png +0 -0
  717. package/docs/recipes/oscar64/screenshots/vehicle-control-ntsc.png +0 -0
  718. package/docs/recipes/oscar64/screenshots/vehicle-control.png +0 -0
  719. package/docs/recipes/oscar64/screenshots/wave-director-ntsc.png +0 -0
  720. package/docs/recipes/oscar64/screenshots/wave-director.png +0 -0
  721. package/docs/recipes/oscar64/seeded-level-fill.md +364 -0
  722. package/docs/recipes/oscar64/sfx-engine.md +514 -0
  723. package/docs/recipes/oscar64/sid-music-player.md +441 -0
  724. package/docs/recipes/oscar64/simple-shmup.md +1000 -0
  725. package/docs/recipes/oscar64/slope-collision.md +610 -0
  726. package/docs/recipes/oscar64/soft-scroll-h.md +261 -0
  727. package/docs/recipes/oscar64/sprite-animation-table.md +671 -0
  728. package/docs/recipes/oscar64/sprite-multiplex-8.md +314 -0
  729. package/docs/recipes/oscar64/stable-raster-irq.md +236 -0
  730. package/docs/recipes/oscar64/text-input.md +274 -0
  731. package/docs/recipes/oscar64/text-overlay-playfield.md +617 -0
  732. package/docs/recipes/oscar64/text-window-menu.md +551 -0
  733. package/docs/recipes/oscar64/tile-grid-collision.md +563 -0
  734. package/docs/recipes/oscar64/tile-map-render.md +395 -0
  735. package/docs/recipes/oscar64/two-player.md +528 -0
  736. package/docs/recipes/oscar64/two-word-parser.md +510 -0
  737. package/docs/recipes/oscar64/vehicle-control.md +771 -0
  738. package/docs/recipes/oscar64/wave-director.md +787 -0
  739. package/docs/recipes/runs.json +1606 -0
  740. package/docs/runtime/sim6502-reference.md +466 -0
  741. package/docs/runtime/vice-mcp-reference.md +351 -0
  742. package/docs/runtime/vice-reference.md +1393 -0
  743. package/docs/techniques/bitmap-modes.md +685 -0
  744. package/docs/techniques/cpu-cycle-tricks.md +1570 -0
  745. package/docs/techniques/effects-vector-3d.md +1431 -0
  746. package/docs/techniques/file-io.md +1427 -0
  747. package/docs/techniques/input.md +1072 -0
  748. package/docs/techniques/loaders-packers.md +768 -0
  749. package/docs/techniques/logic.md +3091 -0
  750. package/docs/techniques/maths.md +1524 -0
  751. package/docs/techniques/memory-banking.md +1686 -0
  752. package/docs/techniques/music-sid.md +1144 -0
  753. package/docs/techniques/raster.md +1543 -0
  754. package/docs/techniques/scroll.md +1292 -0
  755. package/docs/techniques/sprite.md +2566 -0
  756. package/docs/techniques/text-mode-render.md +717 -0
  757. package/docs/techniques/text.md +1095 -0
  758. package/docs/techniques/transitions.md +405 -0
  759. package/docs/toolchains/cartconv-reference.md +262 -0
  760. package/docs/toolchains/cc1541-reference.md +316 -0
  761. package/docs/toolchains/cc65-reference.md +667 -0
  762. package/docs/toolchains/error-sources/cc65/README.md +1 -0
  763. package/docs/toolchains/error-sources/cc65/missing-setcpu.s +4 -0
  764. package/docs/toolchains/error-sources/cc65/range-error.s +4 -0
  765. package/docs/toolchains/error-sources/cc65/segment-overflow.c +6 -0
  766. package/docs/toolchains/error-sources/cc65/unresolved-external.c +6 -0
  767. package/docs/toolchains/error-sources/kickassembler/README.md +1 -0
  768. package/docs/toolchains/error-sources/kickassembler/branch-out-of-range.asm +4 -0
  769. package/docs/toolchains/error-sources/kickassembler/failed-assert.asm +3 -0
  770. package/docs/toolchains/error-sources/kickassembler/flat-lib.asm +4 -0
  771. package/docs/toolchains/error-sources/kickassembler/import-source-no-namespace.asm +5 -0
  772. package/docs/toolchains/error-sources/kickassembler/macro-without-parentheses.asm +6 -0
  773. package/docs/toolchains/error-sources/kickassembler/memory-block-overlap.asm +4 -0
  774. package/docs/toolchains/error-sources/kickassembler/symbol-clash-lib.asm +5 -0
  775. package/docs/toolchains/error-sources/kickassembler/symbol-clash-main.asm +6 -0
  776. package/docs/toolchains/error-sources/kickassembler/unknown-symbol.asm +4 -0
  777. package/docs/toolchains/error-sources/oscar64/README.md +1 -0
  778. package/docs/toolchains/error-sources/oscar64/asm-addressing-mode.c +7 -0
  779. package/docs/toolchains/error-sources/oscar64/region-overflow.c +6 -0
  780. package/docs/toolchains/error-sources/oscar64/undefined-extern-var.c +5 -0
  781. package/docs/toolchains/error-sources/oscar64/undefined-extern.c +6 -0
  782. package/docs/toolchains/error-sources/oscar64/unknown-vic-field.c +6 -0
  783. package/docs/toolchains/error-sources/oscar64/void-main.c +3 -0
  784. package/docs/toolchains/kickassembler-reference.md +1020 -0
  785. package/docs/toolchains/memory-layout-planning.md +362 -0
  786. package/docs/toolchains/oscar64-headers-reference.md +583 -0
  787. package/docs/toolchains/oscar64-reference.md +892 -0
  788. package/docs/toolchains/petcat-reference.md +290 -0
  789. package/docs/toolchains/png2prg.md +188 -0
  790. package/docs/toolchains/release-disk.md +314 -0
  791. package/docs/toolchains/sidreloc.md +236 -0
  792. package/docs/toolchains/spindle-reference.md +487 -0
  793. package/docs/toolchains/tape-mastering.md +592 -0
  794. package/docs/toolchains/unit-testing-6502.md +281 -0
  795. package/docs/workflow/agent-harness.md +478 -0
  796. package/package.json +105 -0
  797. package/templates/_harness/CLAUDE.md.template +91 -0
  798. package/templates/_harness/PLAN.md.template +72 -0
  799. package/templates/_harness/check.py +442 -0
  800. package/templates/_harness/claude/settings.json +17 -0
  801. package/templates/_harness/gen-asm-header.py +96 -0
  802. package/templates/_harness/harness.mk +273 -0
  803. package/templates/_harness/hooks/plan-gate.py +185 -0
  804. package/templates/_harness/meter/frame_meter.asm +311 -0
  805. package/templates/_harness/meter/frame_meter.c +155 -0
  806. package/templates/_harness/meter/frame_meter.h +80 -0
  807. package/templates/_harness/zp-used.py +104 -0
  808. package/templates/action-puzzle/.claude/settings.json +17 -0
  809. package/templates/action-puzzle/.mcp.json +10 -0
  810. package/templates/action-puzzle/CLAUDE.md +120 -0
  811. package/templates/action-puzzle/Makefile +125 -0
  812. package/templates/action-puzzle/PLAN.md +388 -0
  813. package/templates/action-puzzle/README.md +240 -0
  814. package/templates/action-puzzle/expect.json +25 -0
  815. package/templates/action-puzzle/src/cave.c +280 -0
  816. package/templates/action-puzzle/src/cave.h +80 -0
  817. package/templates/action-puzzle/src/gen_autopilot.h +20 -0
  818. package/templates/action-puzzle/src/gen_caves.h +59 -0
  819. package/templates/action-puzzle/src/gen_notes.h +16 -0
  820. package/templates/action-puzzle/src/hiscore.c +152 -0
  821. package/templates/action-puzzle/src/hiscore.h +41 -0
  822. package/templates/action-puzzle/src/level.c +64 -0
  823. package/templates/action-puzzle/src/level.h +24 -0
  824. package/templates/action-puzzle/src/main.c +599 -0
  825. package/templates/action-puzzle/src/render.c +239 -0
  826. package/templates/action-puzzle/src/render.h +31 -0
  827. package/templates/action-puzzle/src/sound.c +158 -0
  828. package/templates/action-puzzle/src/sound.h +22 -0
  829. package/templates/action-puzzle/tools/disk_check.py +77 -0
  830. package/templates/action-puzzle/tools/drive.py +106 -0
  831. package/templates/action-puzzle/tools/gen.py +454 -0
  832. package/templates/action-puzzle/tools/model_check.py +49 -0
  833. package/templates/action-puzzle/tools/verdict_codes.py +24 -0
  834. package/templates/adventure/.claude/settings.json +17 -0
  835. package/templates/adventure/.mcp.json +10 -0
  836. package/templates/adventure/CLAUDE.md +118 -0
  837. package/templates/adventure/Makefile +113 -0
  838. package/templates/adventure/PLAN.md +396 -0
  839. package/templates/adventure/README.md +277 -0
  840. package/templates/adventure/expect.json +25 -0
  841. package/templates/adventure/src/engine.c +543 -0
  842. package/templates/adventure/src/engine.h +48 -0
  843. package/templates/adventure/src/gen_script.h +141 -0
  844. package/templates/adventure/src/gen_world.h +511 -0
  845. package/templates/adventure/src/main.c +439 -0
  846. package/templates/adventure/src/picture.c +83 -0
  847. package/templates/adventure/src/picture.h +16 -0
  848. package/templates/adventure/src/save.c +159 -0
  849. package/templates/adventure/src/save.h +25 -0
  850. package/templates/adventure/src/sound.c +71 -0
  851. package/templates/adventure/src/sound.h +16 -0
  852. package/templates/adventure/src/text.c +349 -0
  853. package/templates/adventure/src/text.h +40 -0
  854. package/templates/adventure/tools/disk_check.py +128 -0
  855. package/templates/adventure/tools/drive.py +119 -0
  856. package/templates/adventure/tools/gen.py +1033 -0
  857. package/templates/adventure/tools/world.py +356 -0
  858. package/templates/beat-em-up/.claude/settings.json +17 -0
  859. package/templates/beat-em-up/.mcp.json +10 -0
  860. package/templates/beat-em-up/CLAUDE.md +136 -0
  861. package/templates/beat-em-up/Makefile +96 -0
  862. package/templates/beat-em-up/PLAN.md +502 -0
  863. package/templates/beat-em-up/README.md +315 -0
  864. package/templates/beat-em-up/expect-gameover.json +8 -0
  865. package/templates/beat-em-up/expect.json +29 -0
  866. package/templates/beat-em-up/src/anim.c +70 -0
  867. package/templates/beat-em-up/src/art.c +344 -0
  868. package/templates/beat-em-up/src/autopilot.h +154 -0
  869. package/templates/beat-em-up/src/brute.c +273 -0
  870. package/templates/beat-em-up/src/enemy.c +281 -0
  871. package/templates/beat-em-up/src/engine.asm +512 -0
  872. package/templates/beat-em-up/src/fighter.c +384 -0
  873. package/templates/beat-em-up/src/game.h +269 -0
  874. package/templates/beat-em-up/src/hud.c +135 -0
  875. package/templates/beat-em-up/src/main.c +341 -0
  876. package/templates/beat-em-up/src/sound.c +44 -0
  877. package/templates/beat-em-up/src/street.c +93 -0
  878. package/templates/beat-em-up/src/verdict.h +523 -0
  879. package/templates/beat-em-up/src/view.c +362 -0
  880. package/templates/beat-em-up/tools/drive.py +105 -0
  881. package/templates/beat-em-up/tools/flickercheck.py +273 -0
  882. package/templates/demo/.claude/settings.json +17 -0
  883. package/templates/demo/.mcp.json +10 -0
  884. package/templates/demo/CLAUDE.md +129 -0
  885. package/templates/demo/Makefile +66 -0
  886. package/templates/demo/PLAN.md +401 -0
  887. package/templates/demo/README.md +322 -0
  888. package/templates/demo/expect.json +945 -0
  889. package/templates/demo/src/config.asm +80 -0
  890. package/templates/demo/src/framework.asm +390 -0
  891. package/templates/demo/src/main.asm +139 -0
  892. package/templates/demo/src/music.asm +197 -0
  893. package/templates/demo/src/part_main.asm +279 -0
  894. package/templates/demo/src/part_title.asm +79 -0
  895. package/templates/demo/src/parts.asm +43 -0
  896. package/templates/demo/src/tables.asm +73 -0
  897. package/templates/demo/src/verdict.asm +179 -0
  898. package/templates/demo/tools/audio.py +80 -0
  899. package/templates/demo/tools/gen_expect.py +167 -0
  900. package/templates/demo/tools/probe.py +95 -0
  901. package/templates/hello/.claude/settings.json +17 -0
  902. package/templates/hello/.mcp.json +10 -0
  903. package/templates/hello/CLAUDE.md +100 -0
  904. package/templates/hello/Makefile +38 -0
  905. package/templates/hello/PLAN.md +200 -0
  906. package/templates/hello/expect.json +20 -0
  907. package/templates/hello/src/main.c +161 -0
  908. package/templates/hello/src/sprite.asm +27 -0
  909. package/templates/hello-kick/.claude/settings.json +17 -0
  910. package/templates/hello-kick/.mcp.json +10 -0
  911. package/templates/hello-kick/CLAUDE.md +100 -0
  912. package/templates/hello-kick/Makefile +17 -0
  913. package/templates/hello-kick/PLAN.md +199 -0
  914. package/templates/hello-kick/expect.json +20 -0
  915. package/templates/hello-kick/src/main.asm +233 -0
  916. package/templates/platformer/.claude/settings.json +17 -0
  917. package/templates/platformer/.mcp.json +10 -0
  918. package/templates/platformer/CLAUDE.md +125 -0
  919. package/templates/platformer/Makefile +86 -0
  920. package/templates/platformer/PLAN.md +360 -0
  921. package/templates/platformer/README.md +277 -0
  922. package/templates/platformer/expect.json +32 -0
  923. package/templates/platformer/src/actors.c +289 -0
  924. package/templates/platformer/src/anim.c +51 -0
  925. package/templates/platformer/src/art.c +212 -0
  926. package/templates/platformer/src/autopilot.h +30 -0
  927. package/templates/platformer/src/engine.asm +253 -0
  928. package/templates/platformer/src/game.h +248 -0
  929. package/templates/platformer/src/hud.c +90 -0
  930. package/templates/platformer/src/level.c +184 -0
  931. package/templates/platformer/src/main.c +306 -0
  932. package/templates/platformer/src/player.c +268 -0
  933. package/templates/platformer/src/sound.c +42 -0
  934. package/templates/platformer/src/verdict.h +206 -0
  935. package/templates/platformer/src/view.c +331 -0
  936. package/templates/platformer/stage-expect.json +6 -0
  937. package/templates/platformer/tools/drive.py +112 -0
  938. package/templates/platformer/tools/tearcheck.py +229 -0
  939. package/templates/shmup-vertical/.claude/settings.json +17 -0
  940. package/templates/shmup-vertical/.mcp.json +10 -0
  941. package/templates/shmup-vertical/CLAUDE.md +137 -0
  942. package/templates/shmup-vertical/Makefile +131 -0
  943. package/templates/shmup-vertical/PLAN.md +569 -0
  944. package/templates/shmup-vertical/README.md +189 -0
  945. package/templates/shmup-vertical/expect.json +38 -0
  946. package/templates/shmup-vertical/src/bullets.c +158 -0
  947. package/templates/shmup-vertical/src/bullets.h +35 -0
  948. package/templates/shmup-vertical/src/display.c +239 -0
  949. package/templates/shmup-vertical/src/display.h +40 -0
  950. package/templates/shmup-vertical/src/game.h +85 -0
  951. package/templates/shmup-vertical/src/glyph.asm +358 -0
  952. package/templates/shmup-vertical/src/hiscore.c +141 -0
  953. package/templates/shmup-vertical/src/hiscore.h +16 -0
  954. package/templates/shmup-vertical/src/hit.asm +180 -0
  955. package/templates/shmup-vertical/src/hitbox.c +59 -0
  956. package/templates/shmup-vertical/src/hitbox.h +25 -0
  957. package/templates/shmup-vertical/src/kernel.asm +330 -0
  958. package/templates/shmup-vertical/src/level.c +174 -0
  959. package/templates/shmup-vertical/src/level.h +27 -0
  960. package/templates/shmup-vertical/src/main.c +824 -0
  961. package/templates/shmup-vertical/src/mux.asm +321 -0
  962. package/templates/shmup-vertical/src/sound.asm +255 -0
  963. package/templates/shmup-vertical/src/step.asm +169 -0
  964. package/templates/shmup-vertical/src/waves.c +195 -0
  965. package/templates/shmup-vertical/src/waves.h +33 -0
  966. package/templates/shmup-vertical/stage-expect.json +6 -0
  967. package/templates/shmup-vertical/tools/drive.py +152 -0
  968. package/templates/shmup-vertical/tools/joytest.py +159 -0
  969. package/templates/shmup-vertical/tools/meter.py +15 -0
  970. package/templates/shmup-vertical/tools/phases.py +73 -0
@@ -0,0 +1,141 @@
1
+ // gen_script.h: written by tools/gen.py (the autopilot script and what the
2
+ // model says each build must end with). Do not edit.
3
+ #ifndef GEN_SCRIPT_H
4
+ #define GEN_SCRIPT_H
5
+
6
+ #if DISKTEST == 1
7
+ static const char *const script[] = {
8
+ "XYZZY",
9
+ "N",
10
+ "E",
11
+ "OPEN CHEST",
12
+ "PICK UP LANTERN",
13
+ "GET NET",
14
+ "W",
15
+ "W",
16
+ "POND",
17
+ "GET KEY",
18
+ "DROP NET",
19
+ "E",
20
+ "N",
21
+ "N",
22
+ "UNLOCK DOOR",
23
+ "N",
24
+ "SAVE",
25
+ 0
26
+ };
27
+ #define EXPECT_ROOM 6
28
+ #define EXPECT_SCORE 20
29
+ #define EXPECT_TURNS 14
30
+ #define EXPECT_FLAGS 0x0003
31
+ #define EXPECT_OVER 0
32
+ #define EXPECT_LOCFOLD 0xcc35
33
+ #define EXPECT_TEXTFOLD 0xb61f
34
+ #define EXPECT_FRAMES 92
35
+ #define METER_HOLD 92 // the meter records at most 255
36
+ #define EXPECT_LINES 64
37
+ #define EXPECT_SAVE_CODE 0
38
+ #define EXPECT_LOAD_CODE 255
39
+ #elif DISKTEST == 2
40
+ static const char *const script[] = {
41
+ "LOAD",
42
+ "W",
43
+ "E",
44
+ "E",
45
+ "OPEN DRAWER",
46
+ "GET MATCHES",
47
+ "W",
48
+ "D",
49
+ "LIGHT LAMP",
50
+ "OPEN CRATE",
51
+ "GET LENS",
52
+ "U",
53
+ "U",
54
+ "U",
55
+ "N",
56
+ "OPEN DESK",
57
+ "GET WINDER",
58
+ "S",
59
+ "D",
60
+ "WIND CLOCK",
61
+ "U",
62
+ "U",
63
+ "PUT LENS IN TELESCOPE",
64
+ "LOOK AT TELESCOPE",
65
+ 0
66
+ };
67
+ #define EXPECT_ROOM 12
68
+ #define EXPECT_SCORE 100
69
+ #define EXPECT_TURNS 37
70
+ #define EXPECT_FLAGS 0x000f
71
+ #define EXPECT_OVER 1
72
+ #define EXPECT_LOCFOLD 0x5573
73
+ #define EXPECT_TEXTFOLD 0xe4f8
74
+ #define EXPECT_FRAMES 149
75
+ #define METER_HOLD 149 // the meter records at most 255
76
+ #define EXPECT_LINES 101
77
+ #define EXPECT_SAVE_CODE 255
78
+ #define EXPECT_LOAD_CODE 0
79
+ #elif 1
80
+ static const char *const script[] = {
81
+ "XYZZY",
82
+ "N",
83
+ "E",
84
+ "OPEN CHEST",
85
+ "PICK UP LANTERN",
86
+ "GET NET",
87
+ "W",
88
+ "W",
89
+ "POND",
90
+ "GET KEY",
91
+ "DROP NET",
92
+ "E",
93
+ "N",
94
+ "N",
95
+ "UNLOCK DOOR",
96
+ "N",
97
+ "SAVE",
98
+ "E",
99
+ "OPEN DRAWER",
100
+ "GET MATCHES",
101
+ "DROP LAMP",
102
+ "LOAD",
103
+ "W",
104
+ "E",
105
+ "E",
106
+ "OPEN DRAWER",
107
+ "GET MATCHES",
108
+ "W",
109
+ "D",
110
+ "LIGHT LAMP",
111
+ "OPEN CRATE",
112
+ "GET LENS",
113
+ "U",
114
+ "U",
115
+ "U",
116
+ "N",
117
+ "OPEN DESK",
118
+ "GET WINDER",
119
+ "S",
120
+ "D",
121
+ "WIND CLOCK",
122
+ "U",
123
+ "U",
124
+ "PUT LENS IN TELESCOPE",
125
+ "LOOK AT TELESCOPE",
126
+ 0
127
+ };
128
+ #define EXPECT_ROOM 12
129
+ #define EXPECT_SCORE 100
130
+ #define EXPECT_TURNS 37
131
+ #define EXPECT_FLAGS 0x000f
132
+ #define EXPECT_OVER 1
133
+ #define EXPECT_LOCFOLD 0x5573
134
+ #define EXPECT_TEXTFOLD 0xfab8
135
+ #define EXPECT_FRAMES 251
136
+ #define METER_HOLD 251 // the meter records at most 255
137
+ #define EXPECT_LINES 169
138
+ #define EXPECT_SAVE_CODE 0
139
+ #define EXPECT_LOAD_CODE 0
140
+ #endif
141
+ #endif
@@ -0,0 +1,511 @@
1
+ // gen_world.h: written by tools/gen.py from tools/world.py. Do not edit.
2
+ #ifndef GEN_WORLD_H
3
+ #define GEN_WORLD_H
4
+
5
+ #define NROOM 13
6
+ #define NITEM 18
7
+ #define NACT 20
8
+ #define NVERBW 41
9
+ #define NNOUNW 37
10
+ #define NNOISE 9
11
+ #define MAXLOAD 5
12
+ #define MAXSCORE 100
13
+ #define START_ROOM 1
14
+ #define LIGHT_ITEM 3
15
+ #define DARK_PIC 12
16
+ #define TITLE_PIC 11
17
+ #define NPIC 13
18
+ #define MAXTURNS 999
19
+ #define WORLD_VERSION 0x6a2b // a hash of rooms, items, flags
20
+ #define NTILE 31
21
+ #define NGLYPH 22
22
+ #define V_GO 1
23
+ #define V_GET 2
24
+ #define V_DROP 3
25
+ #define V_LOOK 4
26
+ #define V_INV 5
27
+ #define V_OPEN 6
28
+ #define V_CLOSE 7
29
+ #define V_UNLOCK 8
30
+ #define V_LIGHT 9
31
+ #define V_WIND 10
32
+ #define V_PUT 11
33
+ #define V_SCORE 12
34
+ #define V_SAVE 13
35
+ #define V_LOAD 14
36
+ #define V_QUIT 15
37
+ #define V_HELP 16
38
+ #define N_N 1
39
+ #define N_S 2
40
+ #define N_E 3
41
+ #define N_W 4
42
+ #define N_U 5
43
+ #define N_D 6
44
+ #define M_DARK 1
45
+ #define M_DARKNAME 2
46
+ #define M_SEE 3
47
+ #define M_EXITS 4
48
+ #define M_NOEXITS 5
49
+ #define M_CARRYING 6
50
+ #define M_NOTHING 7
51
+ #define M_EMPTY 8
52
+ #define M_CLOSED 9
53
+ #define M_UNKNOWN 10
54
+ #define M_PARDON 11
55
+ #define M_NOWAY 12
56
+ #define M_WHICHWAY 13
57
+ #define M_TAKEN 14
58
+ #define M_DROPPED 15
59
+ #define M_HAVEIT 16
60
+ #define M_NOTHERE 17
61
+ #define M_NOTHAVE 18
62
+ #define M_FULL 19
63
+ #define M_FIXED 20
64
+ #define M_OPENED 21
65
+ #define M_CLOSEDOK 22
66
+ #define M_ISOPEN 23
67
+ #define M_ISSHUT 24
68
+ #define M_NOTOPEN 25
69
+ #define M_NOTHINGSPECIAL 26
70
+ #define M_CANT 27
71
+ #define M_WHAT 28
72
+ #define M_SCORED 29
73
+ #define M_OUTOF 30
74
+ #define M_IN 31
75
+ #define M_TURNS 32
76
+ #define M_TURN 33
77
+ #define M_WITHIT 34
78
+ #define M_WON 35
79
+ #define M_QUITS 36
80
+ #define M_RANK0 37
81
+ #define M_RANK1 38
82
+ #define M_AGAIN 39
83
+ #define M_HELP 40
84
+ #define M_SAVED 41
85
+ #define M_LOADED 42
86
+ #define M_NOSAVE 43
87
+ #define M_BADSAVE 44
88
+ #define M_DISKFAIL 45
89
+ #define M_NODRIVE 46
90
+ #define M_OLDSAVE 47
91
+ #define M_INTRO 48
92
+ #define M_COMMA 49
93
+ #define M_DOT 50
94
+ #define M_COLON 51
95
+ #define M_CLOSEP 52
96
+ #define M_SCORELBL 53
97
+ #define M_TURNSLBL 54
98
+ #define M_DIRN 55
99
+ #define M_DIRS 56
100
+ #define M_DIRE 57
101
+ #define M_DIRW 58
102
+ #define M_DIRU 59
103
+ #define M_DIRD 60
104
+ #define I_NET 1
105
+ #define I_LAMP 2
106
+ #define I_LITLAMP 3
107
+ #define I_KEY 4
108
+ #define I_MATCHES 5
109
+ #define I_LENS 6
110
+ #define I_WINDER 7
111
+ #define I_BOOK 8
112
+ #define I_CHEST 9
113
+ #define I_DRAWER 10
114
+ #define I_CRATE 11
115
+ #define I_DESK 12
116
+ #define I_DOOR 13
117
+ #define I_OPENDOOR 14
118
+ #define I_POND 15
119
+ #define I_CLOCK 16
120
+ #define I_SCOPE 17
121
+ #define IF_PORTABLE 1
122
+ #define IF_CONTAINER 2
123
+ #define IF_OPEN 4
124
+ #define IF_SCENERY 8
125
+
126
+ // Packed text: see tools/gen.py. msg_at[m] is message m's first byte.
127
+ static const char text_bytes[1370] = {
128
+ 0x65, 0xb3, 0x54, 0xcb, 0xd1, 0x78, 0x71, 0x7a, 0x00, 0xcb, 0x0b, 0x0e, 0x61, 0x13, 0x00, 0xbd,
129
+ 0x74, 0xe7, 0x00, 0x05, 0x18, 0x5d, 0x13, 0x3a, 0x00, 0x95, 0x05, 0x18, 0x5d, 0x7f, 0x00, 0x53,
130
+ 0x9c, 0x03, 0xe2, 0x19, 0x66, 0x00, 0x7e, 0x41, 0x58, 0x00, 0x65, 0x05, 0x0d, 0x10, 0x14, 0x98,
131
+ 0x00, 0x65, 0xf3, 0x00, 0x09, 0x20, 0x04, 0x60, 0x99, 0x0b, 0x7e, 0x17, 0x5e, 0x17, 0x51, 0x47,
132
+ 0x00, 0x10, 0xe1, 0x60, 0x3f, 0x00, 0xf2, 0x07, 0x54, 0x41, 0xc5, 0x87, 0x98, 0x00, 0xda, 0x09,
133
+ 0x50, 0x20, 0x87, 0x19, 0x3f, 0x00, 0xd8, 0x0b, 0x5a, 0x2e, 0x00, 0x8f, 0x5b, 0x10, 0xa7, 0x00,
134
+ 0x53, 0xc3, 0x9e, 0x9d, 0x00, 0x53, 0xe7, 0x95, 0x13, 0x15, 0x50, 0x20, 0x9a, 0x08, 0x4b, 0x7a,
135
+ 0x00, 0x53, 0x9c, 0x7e, 0x43, 0x03, 0xe2, 0x19, 0x66, 0x9d, 0x00, 0x4f, 0x12, 0x20, 0xa9, 0x6f,
136
+ 0x9c, 0x06, 0x15, 0x5f, 0x2e, 0x00, 0x52, 0x17, 0x60, 0x99, 0x02, 0x97, 0x07, 0x7a, 0x00, 0x81,
137
+ 0xa7, 0x00, 0xf3, 0x00, 0xe6, 0xc2, 0x00, 0xe6, 0xf3, 0x00, 0xf2, 0xe4, 0x41, 0x59, 0x2e, 0x00,
138
+ 0x53, 0xe7, 0x7e, 0x9a, 0x13, 0x10, 0x05, 0x03, 0x09, 0x8c, 0x2e, 0x00, 0xf2, 0xcc, 0x41, 0x59,
139
+ 0x2e, 0x00, 0xda, 0x59, 0x3f, 0x00, 0xbe, 0xef, 0x62, 0x00, 0x20, 0xed, 0x00, 0x20, 0x64, 0x00,
140
+ 0x20, 0xb6, 0x7f, 0x00, 0x20, 0xb6, 0x2e, 0x00, 0x17, 0x6d, 0x43, 0xcc, 0x53, 0x17, 0x49, 0x43,
141
+ 0x78, 0xcc, 0xa0, 0x5d, 0x3f, 0x00, 0xbe, 0x71, 0x7b, 0xeb, 0x92, 0xb9, 0x0e, 0xab, 0x43, 0x4e,
142
+ 0x4f, 0x12, 0x13, 0x21, 0x00, 0x53, 0xad, 0x69, 0x44, 0x08, 0x48, 0x13, 0x40, 0x78, 0xe5, 0x04,
143
+ 0x70, 0x0d, 0x7f, 0x00, 0x12, 0x49, 0x0b, 0xba, 0xdf, 0x07, 0x01, 0x1a, 0xe0, 0x00, 0x12, 0x49,
144
+ 0x0b, 0xba, 0x03, 0x0c, 0x48, 0x47, 0x17, 0x79, 0xe0, 0x00, 0x10, 0x12, 0x61, 0x42, 0x12, 0x92,
145
+ 0x85, 0x46, 0x78, 0x10, 0x0c, 0x01, 0x5c, 0x01, 0x07, 0x01, 0x4c, 0x2e, 0x00, 0x14, 0x12, 0x5c,
146
+ 0x86, 0x02, 0x42, 0x7d, 0x0b, 0x40, 0x07, 0x0f, 0x56, 0x07, 0x92, 0x56, 0x8f, 0x5b, 0x56, 0x81,
147
+ 0x56, 0x55, 0x0f, 0x0b, 0x56, 0x7d, 0x76, 0x14, 0x56, 0x4c, 0x16, 0x5a, 0x14, 0x51, 0x19, 0x56,
148
+ 0xef, 0x05, 0x56, 0x84, 0x69, 0x6a, 0x55, 0x01, 0x6c, 0x00, 0xee, 0xe9, 0x00, 0xee, 0x55, 0x01,
149
+ 0x04, 0x62, 0x00, 0x95, 0xe9, 0xee, 0x00, 0x44, 0xe9, 0xa8, 0xbb, 0x04, 0x6b, 0x01, 0x07, 0x62,
150
+ 0x00, 0x04, 0xd0, 0xd1, 0x4b, 0x12, 0x51, 0xba, 0x00, 0x95, 0x8f, 0x09, 0x69, 0x49, 0x13, 0x88,
151
+ 0x42, 0x01, 0x42, 0x04, 0x05, 0x16, 0x09, 0x03, 0x40, 0x38, 0x2e, 0x00, 0x44, 0x84, 0x69, 0x4e,
152
+ 0xcd, 0x67, 0x20, 0x49, 0x0f, 0xdd, 0x20, 0x86, 0x13, 0x09, 0x68, 0x00, 0xdf, 0x17, 0x79, 0x6e,
153
+ 0x14, 0x60, 0xab, 0x43, 0xeb, 0xa5, 0x10, 0x8d, 0x13, 0x61, 0xe3, 0x44, 0xd3, 0x47, 0xc6, 0x12,
154
+ 0x60, 0x67, 0x4b, 0x27, 0x42, 0xf0, 0x20, 0x6d, 0x42, 0x44, 0x60, 0x0c, 0x5c, 0xc4, 0x40, 0x06,
155
+ 0x51, 0x20, 0x0d, 0x93, 0x61, 0x2e, 0x00, 0x56, 0x00, 0x2e, 0x00, 0xba, 0x00, 0x29, 0x2e, 0x00,
156
+ 0xef, 0x05, 0x00, 0xb6, 0x13, 0x00, 0x20, 0x0e, 0x00, 0x20, 0x13, 0x00, 0x20, 0x05, 0x00, 0x20,
157
+ 0x17, 0x00, 0x20, 0x15, 0x00, 0x20, 0x04, 0x00, 0xac, 0x05, 0x00, 0x07, 0xe1, 0x5a, 0x00, 0x96,
158
+ 0x05, 0x04, 0x00, 0xb1, 0x04, 0x00, 0x10, 0x51, 0x50, 0x00, 0x6d, 0x5f, 0x00, 0xf4, 0x5a, 0x00,
159
+ 0x7d, 0x02, 0x12, 0x4d, 0x19, 0x00, 0xc7, 0x5f, 0x4d, 0x00, 0xac, 0x04, 0x58, 0x00, 0x4a, 0x97,
160
+ 0x19, 0x00, 0xf0, 0x00, 0x53, 0x4a, 0x6a, 0x68, 0x45, 0x0d, 0x97, 0x83, 0xac, 0x40, 0x02, 0x61,
161
+ 0x09, 0x04, 0x40, 0x45, 0x08, 0xab, 0x20, 0x4a, 0x60, 0x40, 0xea, 0x6e, 0xa2, 0x07, 0x59, 0x40,
162
+ 0x73, 0x87, 0xbf, 0x4a, 0x49, 0x6f, 0xe4, 0x78, 0x44, 0xb0, 0xdc, 0x00, 0x74, 0xd4, 0xcf, 0x0f,
163
+ 0x17, 0x46, 0x07, 0xe1, 0x7b, 0x15, 0x0e, 0x90, 0x5e, 0xdf, 0x7f, 0x5e, 0x08, 0x48, 0x13, 0xbb,
164
+ 0xb0, 0x41, 0x56, 0x45, 0x96, 0x62, 0x57, 0xd6, 0x6a, 0x45, 0xb1, 0x47, 0x17, 0xa6, 0x2e, 0x00,
165
+ 0x45, 0x04, 0x15, 0x4a, 0x5c, 0x96, 0x62, 0x41, 0xc5, 0x13, 0x0d, 0x05, 0x5f, 0x42, 0x8b, 0x14,
166
+ 0x4d, 0x2e, 0x00, 0xbc, 0x09, 0xbf, 0xb1, 0x47, 0x15, 0x0e, 0x90, 0x20, 0x45, 0x80, 0x0c, 0x55,
167
+ 0x17, 0xb9, 0x0d, 0x0f, 0x68, 0x7d, 0x05, 0x42, 0x68, 0x44, 0x17, 0x59, 0xe0, 0x00, 0x45, 0x03,
168
+ 0x70, 0x0b, 0x66, 0x10, 0x51, 0x50, 0xb9, 0xcd, 0x60, 0x43, 0x82, 0xb8, 0xb0, 0xdc, 0x00, 0x45,
169
+ 0xd8, 0xbf, 0x6d, 0xbf, 0xa0, 0x45, 0xcf, 0x49, 0x04, 0x06, 0x01, 0xdd, 0x20, 0xca, 0x6e, 0x82,
170
+ 0x42, 0xad, 0x47, 0x57, 0xd6, 0x6a, 0x17, 0xa6, 0x56, 0x4a, 0x01, 0x7c, 0x42, 0x07, 0x54, 0x15,
171
+ 0xd5, 0x6a, 0xbc, 0xa4, 0x20, 0xad, 0x6f, 0x75, 0x17, 0x0e, 0x2e, 0x00, 0x45, 0x03, 0xd3, 0x47,
172
+ 0xf4, 0x5a, 0x6e, 0x10, 0x0f, 0xb4, 0xa9, 0x07, 0x20, 0xd4, 0x20, 0xa2, 0x4a, 0x0f, 0x16, 0x7a,
173
+ 0x00, 0x8e, 0x0f, 0x0b, 0x42, 0x12, 0xd0, 0x40, 0x78, 0x8a, 0x05, 0x93, 0x66, 0x68, 0x05, 0x86,
174
+ 0x5c, 0xea, 0x2e, 0x00, 0x45, 0x04, 0x6b, 0xd5, 0xc7, 0x5f, 0x4d, 0x20, 0x8b, 0x02, 0x9c, 0x4a,
175
+ 0x60, 0x7a, 0x00, 0x45, 0x0e, 0xe2, 0x0f, 0x17, 0x20, 0xac, 0x04, 0x58, 0x6e, 0x45, 0x82, 0x20,
176
+ 0xad, 0x6f, 0xb0, 0x89, 0x6a, 0x45, 0xaa, 0xb8, 0x71, 0x43, 0x73, 0xc7, 0x93, 0x58, 0x2e, 0x00,
177
+ 0x44, 0xc6, 0x12, 0x60, 0x67, 0x4b, 0x27, 0x42, 0x4a, 0x97, 0x19, 0x6e, 0x50, 0x4d, 0xb4, 0x77,
178
+ 0x5e, 0x13, 0x0b, 0x5c, 0x03, 0xd4, 0x5e, 0xea, 0x7f, 0x00, 0x44, 0x04, 0x67, 0x40, 0x77, 0x5e,
179
+ 0xf0, 0x6e, 0x45, 0x13, 0x0c, 0x52, 0x81, 0x42, 0x68, 0x44, 0x0e, 0xab, 0x14, 0xe3, 0x45, 0x07,
180
+ 0x70, 0x43, 0xc4, 0x40, 0x10, 0x0f, 0x4c, 0xb4, 0xc5, 0x9d, 0x00, 0x45, 0x06, 0x09, 0x96, 0x66,
181
+ 0x0e, 0x92, 0x00, 0x45, 0x02, 0x12, 0xec, 0xaf, 0x10, 0x00, 0x45, 0x0c, 0x52, 0xaf, 0x10, 0x00,
182
+ 0xa2, 0x94, 0x19, 0x00, 0x45, 0x8e, 0x18, 0x20, 0x8b, 0x0d, 0x79, 0x61, 0x00, 0x45, 0xce, 0xec,
183
+ 0xae, 0x13, 0x00, 0x45, 0xca, 0x20, 0xf1, 0x00, 0xbc, 0x4d, 0x20, 0x59, 0x0c, 0x8d, 0x00, 0x45,
184
+ 0x17, 0x0f, 0x0f, 0x04, 0x7b, 0x50, 0xa6, 0x00, 0x45, 0xf4, 0x7b, 0x8f, 0x01, 0x88, 0x00, 0x45,
185
+ 0x10, 0x01, 0x63, 0x66, 0xc8, 0x59, 0x05, 0x00, 0x45, 0x17, 0x12, 0x5d, 0x66, 0x04, 0x61, 0x0b,
186
+ 0x00, 0x45, 0x72, 0x62, 0x82, 0x00, 0x74, 0xe4, 0x82, 0x00, 0x44, 0xb1, 0x04, 0x00, 0x8a, 0x72,
187
+ 0x00, 0x44, 0xc4, 0x05, 0x00, 0x45, 0x55, 0x0e, 0x07, 0x2d, 0xa9, 0x04, 0x0c, 0x62, 0x0e, 0x92,
188
+ 0x56, 0x4a, 0x09, 0x06, 0x06, 0x20, 0xa0, 0x0d, 0x15, 0x6c, 0x00, 0x52, 0x08, 0xd3, 0x6f, 0x0f,
189
+ 0x93, 0x20, 0x02, 0x15, 0x43, 0x65, 0x7e, 0x43, 0x0c, 0x9d, 0x00, 0x52, 0x02, 0xa1, 0x42, 0xa0,
190
+ 0xbc, 0x57, 0x83, 0x06, 0xaf, 0x7a, 0x00, 0x45, 0x08, 0x57, 0x16, 0x5c, 0xae, 0x13, 0x56, 0x17,
191
+ 0x12, 0x01, 0x10, 0x10, 0x62, 0x64, 0x06, 0x91, 0x14, 0x2e, 0x00, 0x45, 0x7e, 0x14, 0x40, 0x73,
192
+ 0x0d, 0x4d, 0x07, 0x64, 0x84, 0x19, 0x13, 0x3a, 0x5e, 0xca, 0x20, 0x94, 0xa4, 0x42, 0x44, 0xaa,
193
+ 0x2e, 0x00, 0x65, 0x4a, 0x9b, 0x0f, 0x01, 0xd1, 0xa0, 0xa2, 0x72, 0x2e, 0x00, 0xe5, 0xa9, 0x6f,
194
+ 0x9c, 0x4a, 0x09, 0x5f, 0x6e, 0xdd, 0xbb, 0x45, 0x13, 0x0f, 0x63, 0xa5, 0x06, 0x51, 0x20, 0x45,
195
+ 0xf1, 0x2e, 0x00, 0x73, 0x50, 0xa6, 0x00, 0x73, 0x8f, 0x01, 0x88, 0x00, 0x73, 0xc8, 0x59, 0x05,
196
+ 0x00, 0x73, 0x04, 0x61, 0x0b, 0x00, 0x44, 0x82, 0xb8, 0x72, 0xa7, 0x00, 0x44, 0xaa, 0xb8, 0x96,
197
+ 0x15, 0x43, 0x06, 0xc6, 0x2e, 0x00, 0xd7, 0x05, 0x9a, 0xce, 0x4c, 0xb4, 0x73, 0x0d, 0x97, 0x56,
198
+ 0x0a, 0x15, 0xd6, 0xed, 0x70, 0x50, 0x2e, 0x00, 0x53, 0x13, 0x17, 0x05, 0xa4, 0x5e, 0x0e, 0xa5,
199
+ 0x41, 0x12, 0x48, 0x76, 0x5e, 0x0d, 0x15, 0x47, 0x6a, 0x7d, 0x06, 0x43, 0x9b, 0xa2, 0x94, 0x98,
200
+ 0x00, 0x65, 0xed, 0x70, 0x50, 0x2e, 0x00, 0x44, 0x94, 0x5c, 0xb6, 0x42, 0x6a, 0x44, 0x82, 0x20,
201
+ 0x13, 0x17, 0x58, 0x42, 0xc2, 0x00, 0xbe, 0x95, 0x94, 0x98, 0x00, 0x65, 0x72, 0xa7, 0x00, 0x53,
202
+ 0x4a, 0x12, 0x09, 0x0b, 0x40, 0x45, 0x0d, 0x79, 0xb9, 0xaf, 0xd5, 0x07, 0x55, 0x17, 0x7f, 0x00,
203
+ 0xbe, 0x7e, 0x9a, 0x78, 0x7d, 0x76, 0x43, 0x52, 0x80, 0xdc, 0x00, 0xe6, 0x0c, 0x9d, 0x00, 0x53,
204
+ 0xb7, 0x47, 0x8a, 0x72, 0x6e, 0x07, 0x05, 0x4d, 0x42, 0xda, 0x7c, 0x12, 0xe3, 0x06, 0x4d, 0xdb,
205
+ 0x8e, 0x69, 0x45, 0xaa, 0x20, 0xcf, 0x4c, 0x6f, 0xc2, 0x00, 0x53, 0x0e, 0x05, 0x62, 0x45, 0xf1,
206
+ 0x2e, 0x00, 0x65, 0x06, 0x15, 0x5f, 0x5c, 0x17, 0x48, 0x0e, 0x6c, 0x00, 0x44, 0xae, 0x42, 0x03,
207
+ 0x7d, 0x63, 0x42, 0x4c, 0x78, 0x44, 0xc4, 0x7a, 0x00, 0x41, 0x12, 0x48, 0x76, 0x5e, 0xce, 0xec,
208
+ 0xeb, 0xa5, 0x02, 0x0c, 0x01, 0x1a, 0x61, 0x56, 0xe5, 0xd8, 0x93, 0xdb, 0xc8, 0x0f, 0x13, 0x42,
209
+ 0x6d, 0x0c, 0x06, 0x5e, 0x13, 0x0b, 0x98, 0x00, 0x44, 0x05, 0x19, 0xa4, 0x09, 0x05, 0x03, 0xbb,
210
+ 0x05, 0x0d, 0x10, 0x14, 0x19, 0x6e, 0x52, 0x0e, 0x05, 0x05, 0x6f, 0x45, 0xae, 0x7f, 0x00, 0x52,
211
+ 0x4a, 0x49, 0x6f, 0xc2, 0x00, 0x65, 0x8e, 0x0c, 0x14, 0x62, 0xcd, 0x67, 0xdb, 0x8e, 0x69, 0x02,
212
+ 0x5c, 0xd7, 0x40, 0x0d, 0x05, 0x50, 0x49, 0xd0, 0x0d, 0x2e, 0x00, 0xd7, 0x05, 0x9a, 0xb2, 0x15,
213
+ 0x14, 0x14, 0x0c, 0x05, 0x42, 0x73, 0xcb, 0x0b, 0x2e, 0x00
214
+ };
215
+
216
+ static const unsigned msg_at[133] = {
217
+ 0, 0, 9, 15, 19, 25, 31, 38, 42, 49, 52, 65,
218
+ 70, 78, 86, 91, 96, 101, 113, 123, 134, 143, 146, 148,
219
+ 151, 154, 160, 172, 178, 182, 186, 189, 192, 196, 200, 214,
220
+ 229, 244, 254, 266, 285, 330, 333, 339, 343, 353, 361, 380,
221
+ 396, 439, 441, 443, 445, 448, 451, 454, 457, 460, 463, 466,
222
+ 469, 472, 475, 479, 483, 486, 490, 493, 496, 502, 506, 510,
223
+ 514, 516, 556, 592, 611, 638, 655, 700, 721, 740, 755, 784,
224
+ 810, 843, 851, 858, 864, 868, 877, 883, 888, 895, 904, 911,
225
+ 920, 929, 934, 938, 942, 945, 949, 971, 987, 999, 1019, 1042,
226
+ 1053, 1075, 1079, 1084, 1089, 1094, 1100, 1110, 1128, 1153, 1159, 1174,
227
+ 1179, 1183, 1200, 1211, 1215, 1242, 1250, 1260, 1273, 1304, 1327, 1333,
228
+ 1355
229
+ };
230
+
231
+ static const char pair_left[181] = {
232
+ 0x05, 0x14, 0x13, 0x14, 0x41, 0x01, 0x0e, 0x04, 0x0f, 0x01, 0x13, 0x05, 0x09, 0x01, 0x09, 0x19,
233
+ 0x03, 0x0f, 0x09, 0x4f, 0x0f, 0x0c, 0x2c, 0x05, 0x4c, 0x01, 0x05, 0x0f, 0x19, 0x09, 0x20, 0x0c,
234
+ 0x0f, 0x05, 0x05, 0x03, 0x09, 0x52, 0x58, 0x0f, 0x0f, 0x16, 0x49, 0x01, 0x04, 0x08, 0x2e, 0x04,
235
+ 0x12, 0x13, 0x55, 0x64, 0x01, 0x04, 0x07, 0x0f, 0x14, 0x59, 0x05, 0x05, 0x09, 0x0c, 0x0e, 0x13,
236
+ 0x17, 0x5b, 0x75, 0x04, 0x13, 0x15, 0x16, 0x17, 0x17, 0x41, 0x44, 0x77, 0x01, 0x01, 0x02, 0x04,
237
+ 0x04, 0x05, 0x05, 0x09, 0x0b, 0x0e, 0x13, 0x15, 0x19, 0x27, 0x41, 0x48, 0x4d, 0x5d, 0x6d, 0x74,
238
+ 0x80, 0x85, 0x9f, 0x03, 0x05, 0x05, 0x05, 0x05, 0x07, 0x08, 0x08, 0x09, 0x0c, 0x0c, 0x0c, 0x0c,
239
+ 0x0e, 0x10, 0x13, 0x14, 0x14, 0x14, 0x14, 0x17, 0x20, 0x2e, 0x3a, 0x40, 0x45, 0x53, 0x53, 0x5f,
240
+ 0x61, 0x70, 0x81, 0x8c, 0xb5, 0x01, 0x01, 0x03, 0x03, 0x03, 0x03, 0x04, 0x04, 0x06, 0x07, 0x07,
241
+ 0x09, 0x0b, 0x0b, 0x0f, 0x0f, 0x10, 0x13, 0x13, 0x14, 0x16, 0x17, 0x20, 0x41, 0x41, 0x49, 0x4a,
242
+ 0x4b, 0x4d, 0x4d, 0x56, 0x5b, 0x5d, 0x65, 0x71, 0x71, 0x84, 0x87, 0x8a, 0x8d, 0x9b, 0xa8, 0xb2,
243
+ 0xb3, 0xb7, 0xbd, 0xc9, 0xd2
244
+ };
245
+
246
+ static const char pair_right[181] = {
247
+ 0x20, 0x08, 0x20, 0x20, 0x40, 0x20, 0x20, 0x20, 0x15, 0x0e, 0x14, 0x12, 0x0e, 0x12, 0x42, 0x48,
248
+ 0x08, 0x12, 0x43, 0x20, 0x20, 0x0f, 0x20, 0x01, 0x07, 0x14, 0x0e, 0x10, 0x20, 0x14, 0x44, 0x0c,
249
+ 0x0e, 0x13, 0x47, 0x0b, 0x46, 0x4e, 0x20, 0x0d, 0x46, 0x40, 0x47, 0x0d, 0x2e, 0x01, 0x20, 0x42,
250
+ 0x57, 0x05, 0x63, 0x44, 0x46, 0x0f, 0x08, 0x06, 0x54, 0x50, 0x2e, 0x46, 0x12, 0x09, 0x0f, 0x2e,
251
+ 0x09, 0x5a, 0x51, 0x5c, 0x01, 0x12, 0x4b, 0x01, 0x4b, 0x20, 0x03, 0x20, 0x0c, 0x13, 0x0f, 0x12,
252
+ 0x4b, 0x0c, 0x14, 0x0c, 0x05, 0x54, 0x08, 0x04, 0x2e, 0x43, 0x66, 0x43, 0x40, 0x2e, 0x69, 0x7c,
253
+ 0x89, 0x0e, 0x68, 0x5b, 0x10, 0x43, 0x4a, 0x6c, 0x6b, 0x49, 0x79, 0x76, 0x49, 0x57, 0x5a, 0x6b,
254
+ 0x51, 0x60, 0x03, 0x0f, 0x42, 0x91, 0xa1, 0x4c, 0x4e, 0x5e, 0x20, 0x4e, 0x4a, 0x03, 0x9e, 0x20,
255
+ 0xa3, 0x83, 0x2e, 0xc1, 0xc0, 0x43, 0x4a, 0x05, 0x12, 0x55, 0x72, 0x4d, 0x54, 0x12, 0x0c, 0x12,
256
+ 0x13, 0x20, 0x5d, 0x0c, 0x86, 0x20, 0x43, 0x67, 0x01, 0x62, 0x08, 0x01, 0x2e, 0x4b, 0x99, 0x4d,
257
+ 0x2e, 0x04, 0x12, 0x6a, 0x7b, 0x42, 0xc3, 0x40, 0x6c, 0xd9, 0x5f, 0x67, 0x42, 0x8b, 0x40, 0x51,
258
+ 0x88, 0x90, 0xde, 0xe8, 0x50
259
+ };
260
+
261
+ // Rooms: name, description, exits N S E W U D, dark, picture.
262
+ static const char room_name[13] = {
263
+ 0, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
264
+ };
265
+
266
+ static const char room_desc[13] = {
267
+ 0, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84
268
+ };
269
+
270
+ static const char room_exits[78] = {
271
+ 0, 0, 0, 0, 0, 0,
272
+ 2, 0, 0, 0, 0, 0,
273
+ 5, 1, 3, 4, 0, 0,
274
+ 0, 0, 0, 2, 0, 0,
275
+ 0, 0, 2, 0, 0, 0,
276
+ 6, 2, 0, 0, 0, 0,
277
+ 0, 5, 7, 8, 10, 9,
278
+ 0, 0, 0, 6, 0, 0,
279
+ 0, 0, 6, 0, 0, 0,
280
+ 0, 0, 0, 0, 6, 0,
281
+ 11, 0, 0, 0, 12, 6,
282
+ 0, 10, 0, 0, 0, 0,
283
+ 0, 0, 0, 0, 0, 10
284
+ };
285
+
286
+ static const char room_dark[13] = {
287
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0
288
+ };
289
+
290
+ static const char room_pic[13] = {
291
+ 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11
292
+ };
293
+
294
+ // Items: description, noun, start location, flags, examine text, container phrase.
295
+ static const char item_desc[18] = {
296
+ 0, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
297
+ 100, 101
298
+ };
299
+
300
+ static const char item_noun[18] = {
301
+ 0, 7, 8, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 18, 19,
302
+ 20, 21
303
+ };
304
+
305
+ static const char item_start[18] = {
306
+ 0x00, 0x03, 0x89, 0x00, 0x00, 0x8a, 0x8b, 0x8c, 0x08, 0x03, 0x07, 0x09, 0x0b, 0x05, 0x00, 0x04,
307
+ 0x06, 0x0c
308
+ };
309
+
310
+ static const char item_flags[18] = {
311
+ 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 0, 0, 8,
312
+ 8, 8
313
+ };
314
+
315
+ static const char item_exam[18] = {
316
+ 0, 102, 103, 104, 0, 0, 105, 0, 106, 0, 0, 0, 0, 107, 0, 0,
317
+ 108, 0
318
+ };
319
+
320
+ static const char item_inside[18] = {
321
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 109, 110, 111, 112, 0, 0, 0,
322
+ 0, 0
323
+ };
324
+
325
+ // Words: four letters, space padded, then the id.
326
+ static const char verb_words[164] = {
327
+ 66, 85, 82, 78, 67, 76, 73, 77, 67, 76, 79, 83, 67, 82, 65, 78,
328
+ 68, 73, 83, 67, 68, 82, 79, 80, 69, 88, 65, 77, 70, 73, 84, 32,
329
+ 71, 69, 84, 32, 71, 79, 32, 32, 71, 82, 65, 66, 72, 69, 76, 80,
330
+ 72, 73, 78, 84, 73, 32, 32, 32, 73, 71, 78, 73, 73, 78, 83, 69,
331
+ 73, 78, 83, 80, 73, 78, 86, 32, 73, 78, 86, 69, 76, 32, 32, 32,
332
+ 76, 73, 71, 72, 76, 79, 65, 68, 76, 79, 79, 75, 79, 80, 69, 78,
333
+ 80, 73, 67, 75, 80, 76, 65, 67, 80, 85, 84, 32, 81, 85, 73, 84,
334
+ 82, 69, 65, 68, 82, 69, 83, 84, 82, 85, 78, 32, 83, 65, 86, 69,
335
+ 83, 67, 79, 82, 83, 69, 65, 82, 83, 72, 85, 84, 84, 65, 75, 69,
336
+ 84, 85, 82, 78, 85, 78, 76, 79, 87, 65, 76, 75, 87, 73, 78, 68,
337
+ 88, 32, 32, 32
338
+ };
339
+
340
+ static const char verb_ids[41] = {
341
+ 9, 1, 7, 10, 3, 3, 4, 11, 2, 1, 2, 16, 16, 5, 9, 11,
342
+ 4, 5, 5, 4, 9, 14, 4, 6, 2, 11, 11, 15, 4, 14, 1, 13,
343
+ 12, 4, 7, 2, 10, 8, 1, 10, 4
344
+ };
345
+
346
+ static const char noun_words[148] = {
347
+ 65, 84, 76, 65, 66, 79, 79, 75, 66, 79, 88, 32, 67, 72, 69, 83,
348
+ 67, 76, 79, 67, 67, 82, 65, 78, 67, 82, 65, 84, 68, 32, 32, 32,
349
+ 68, 69, 83, 75, 68, 79, 79, 82, 68, 79, 87, 78, 68, 82, 65, 87,
350
+ 69, 32, 32, 32, 69, 65, 83, 84, 71, 76, 65, 83, 72, 65, 84, 67,
351
+ 75, 69, 89, 32, 76, 65, 77, 80, 76, 65, 78, 84, 76, 69, 78, 83,
352
+ 77, 65, 84, 67, 77, 85, 68, 32, 78, 32, 32, 32, 78, 69, 84, 32,
353
+ 78, 79, 82, 84, 78, 79, 84, 69, 80, 79, 78, 68, 83, 32, 32, 32,
354
+ 83, 67, 79, 80, 83, 79, 85, 84, 84, 69, 76, 69, 85, 32, 32, 32,
355
+ 85, 80, 32, 32, 87, 32, 32, 32, 87, 65, 84, 69, 87, 69, 83, 84,
356
+ 87, 73, 78, 68
357
+ };
358
+
359
+ static const char noun_ids[37] = {
360
+ 13, 13, 14, 14, 20, 12, 16, 6, 17, 18, 6, 15, 3, 3, 11, 22,
361
+ 9, 8, 8, 11, 10, 19, 1, 7, 1, 13, 19, 2, 21, 2, 21, 5,
362
+ 5, 4, 19, 4, 12
363
+ };
364
+
365
+ static const char noise_words[36] = {
366
+ 65, 32, 32, 32, 65, 78, 32, 32, 65, 84, 32, 32, 73, 78, 32, 32,
367
+ 73, 78, 84, 79, 79, 78, 32, 32, 84, 72, 69, 32, 84, 79, 32, 32,
368
+ 87, 73, 84, 72
369
+ };
370
+
371
+ // The first row of each table whose stem starts with A, B, ... Z, then the count.
372
+ static const char verb_first[27] = {
373
+ 0, 0, 1, 4, 6, 7, 8, 11, 13, 19, 19, 19, 23, 23, 23, 24, 27, 28, 31, 35, 37, 38, 38, 40, 41, 41, 41
374
+ };
375
+
376
+ static const char noun_first[27] = {
377
+ 0, 1, 3, 7, 12, 14, 14, 15, 16, 16, 16, 17, 20, 22, 26, 26, 27, 27, 27, 30, 31, 33, 33, 37, 37, 37, 37
378
+ };
379
+
380
+ static const char noise_first[27] = {
381
+ 0, 3, 3, 3, 3, 3, 3, 3, 3, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 8, 8, 8, 9, 9, 9, 9
382
+ };
383
+
384
+ // Actions: verb, noun (0 any), four (condition, arg), four (command, arg).
385
+ static const char act[360] = {
386
+ 1, 1, 1, 5, 6, 1, 0, 0, 0, 0, 1, 113, 0, 0, 0, 0, 0, 0,
387
+ 1, 5, 1, 10, 6, 2, 0, 0, 0, 0, 1, 114, 0, 0, 0, 0, 0, 0,
388
+ 4, 19, 1, 4, 6, 0, 0, 0, 0, 0, 1, 115, 0, 0, 0, 0, 0, 0,
389
+ 2, 9, 1, 4, 6, 0, 2, 1, 0, 0, 4, 0, 6, 4, 8, 10, 1, 116,
390
+ 2, 9, 1, 4, 6, 0, 0, 0, 0, 0, 1, 117, 0, 0, 0, 0, 0, 0,
391
+ 8, 18, 1, 5, 6, 1, 2, 4, 0, 0, 4, 1, 5, 13, 8, 10, 1, 118,
392
+ 8, 18, 1, 5, 6, 1, 0, 0, 0, 0, 1, 119, 0, 0, 0, 0, 0, 0,
393
+ 6, 18, 1, 5, 6, 1, 0, 0, 0, 0, 1, 120, 0, 0, 0, 0, 0, 0,
394
+ 9, 8, 4, 2, 2, 5, 0, 0, 0, 0, 5, 2, 8, 10, 1, 121, 0, 0,
395
+ 9, 8, 4, 2, 0, 0, 0, 0, 0, 0, 1, 122, 0, 0, 0, 0, 0, 0,
396
+ 9, 8, 4, 3, 0, 0, 0, 0, 0, 0, 1, 123, 0, 0, 0, 0, 0, 0,
397
+ 10, 20, 1, 6, 6, 2, 2, 7, 0, 0, 4, 2, 8, 15, 1, 124, 0, 0,
398
+ 10, 20, 1, 6, 6, 2, 0, 0, 0, 0, 1, 125, 0, 0, 0, 0, 0, 0,
399
+ 10, 20, 1, 6, 0, 0, 0, 0, 0, 0, 1, 126, 0, 0, 0, 0, 0, 0,
400
+ 11, 11, 1, 12, 2, 6, 0, 0, 0, 0, 7, 6, 4, 3, 8, 15, 1, 127,
401
+ 4, 21, 1, 12, 5, 3, 0, 0, 0, 0, 8, 40, 1, 128, 9, 0, 0, 0,
402
+ 4, 21, 1, 12, 0, 0, 0, 0, 0, 0, 1, 129, 0, 0, 0, 0, 0, 0,
403
+ 4, 22, 1, 10, 5, 2, 0, 0, 0, 0, 1, 130, 0, 0, 0, 0, 0, 0,
404
+ 4, 22, 1, 10, 0, 0, 0, 0, 0, 0, 1, 131, 0, 0, 0, 0, 0, 0,
405
+ 0, 0, 1, 9, 7, 0, 0, 0, 0, 0, 1, 132, 0, 0, 0, 0, 0, 0
406
+ };
407
+
408
+ // Pictures: glyph bytes for codes 64 up, tiles (character, colour RAM), runs and literals.
409
+ static const char glyph_bytes[176] = {
410
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
411
+ 0x00, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
412
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x00, 0x00,
413
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
414
+ 0x54, 0x54, 0x54, 0x00, 0x45, 0x45, 0x45, 0x00,
415
+ 0xaa, 0xaa, 0xaa, 0x00, 0xaa, 0xaa, 0xaa, 0x00,
416
+ 0xa8, 0xa8, 0xa8, 0xa8, 0xa8, 0xa8, 0xa8, 0xa8,
417
+ 0xa6, 0xaa, 0x6a, 0xaa, 0xa9, 0xaa, 0x9a, 0xaa,
418
+ 0x0c, 0x33, 0xff, 0xff, 0xef, 0xff, 0xfb, 0xff,
419
+ 0xff, 0x7d, 0xff, 0xf3, 0xff, 0x7f, 0xff, 0xcf,
420
+ 0x3c, 0xff, 0xf3, 0xff, 0x3f, 0xff, 0xcf, 0x3c,
421
+ 0xaa, 0xbf, 0xbf, 0xaa, 0xbf, 0xbf, 0xbf, 0xaa,
422
+ 0xcc, 0xcc, 0xcc, 0xcc, 0xcc, 0xcc, 0xcc, 0xcc,
423
+ 0xaa, 0xaa, 0xaa, 0xae, 0xaa, 0xaa, 0xaa, 0xaa,
424
+ 0xde, 0xde, 0xde, 0xde, 0xde, 0xde, 0xde, 0xaa,
425
+ 0x01, 0x01, 0x05, 0x05, 0x15, 0x15, 0x55, 0x55,
426
+ 0x40, 0x40, 0x50, 0x50, 0x54, 0x54, 0x55, 0x55,
427
+ 0x44, 0x11, 0x44, 0x11, 0x44, 0x11, 0x44, 0x11,
428
+ 0x3c, 0xff, 0xef, 0xeb, 0xff, 0x3c, 0x08, 0x08,
429
+ 0x00, 0x00, 0xcc, 0x00, 0x00, 0x00, 0x00, 0x00,
430
+ 0x03, 0x0f, 0x3c, 0xf0, 0xc0, 0x00, 0x00, 0x00,
431
+ 0xaa, 0x82, 0xaa, 0xba, 0xaa, 0xaa, 0xaa, 0x00
432
+ };
433
+
434
+ static const char tile_char[31] = {
435
+ 0x40, 0x42, 0x43, 0x41, 0x44, 0x4c, 0x47, 0x4a, 0x4f, 0x50, 0x4b, 0x45, 0x46, 0x48, 0x51, 0x55,
436
+ 0x4d, 0x49, 0x52, 0x4c, 0x43, 0x43, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x43, 0x54, 0x53
437
+ };
438
+
439
+ static const char tile_colour[31] = {
440
+ 0x08, 0x09, 0x09, 0x09, 0x08, 0x0e, 0x08, 0x0d, 0x08, 0x08, 0x0f, 0x08, 0x08, 0x0d, 0x08, 0x08,
441
+ 0x0f, 0x0e, 0x09, 0x09, 0x08, 0x0a, 0x0d, 0x0f, 0x0e, 0x0c, 0x0b, 0x0a, 0x0f, 0x09, 0x0f
442
+ };
443
+
444
+ static const char pic_bytes[793] = {
445
+ 0x03, 0x00, 0x81, 0x01, 0x0d, 0x00, 0x81, 0x01, 0x0c, 0x00, 0x81, 0x01, 0x09, 0x00, 0x04, 0x00,
446
+ 0x81, 0x02, 0x06, 0x00, 0x81, 0x03, 0x08, 0x00, 0x81, 0x03, 0x06, 0x00, 0x81, 0x01, 0x08, 0x00,
447
+ 0x81, 0x03, 0x03, 0x00, 0x07, 0x00, 0x81, 0x01, 0x0c, 0x04, 0x04, 0x05, 0x10, 0x04, 0x82, 0x00,
448
+ 0x03, 0x06, 0x00, 0x0c, 0x04, 0x04, 0x05, 0x10, 0x04, 0x08, 0x00, 0x0c, 0x04, 0x04, 0x05, 0x10,
449
+ 0x04, 0x08, 0x00, 0x0c, 0x04, 0x04, 0x05, 0x10, 0x04, 0x28, 0x06, 0x03, 0x00, 0x81, 0x01, 0x0d,
450
+ 0x00, 0x81, 0x01, 0x0c, 0x00, 0x81, 0x01, 0x09, 0x00, 0x82, 0x00, 0x00, 0x06, 0x07, 0x03, 0x00,
451
+ 0x81, 0x03, 0x08, 0x00, 0x81, 0x03, 0x06, 0x00, 0x81, 0x01, 0x08, 0x00, 0x81, 0x03, 0x03, 0x00,
452
+ 0x82, 0x00, 0x00, 0x06, 0x07, 0x06, 0x00, 0x81, 0x08, 0x0d, 0x04, 0x81, 0x09, 0x0b, 0x00, 0x82,
453
+ 0x00, 0x03, 0x06, 0x07, 0x06, 0x00, 0x81, 0x03, 0x03, 0x04, 0x81, 0x0a, 0x05, 0x04, 0x81, 0x0a,
454
+ 0x03, 0x04, 0x05, 0x00, 0x87, 0x0b, 0x0b, 0x0a, 0x0b, 0x0b, 0x00, 0x00, 0x04, 0x00, 0x82, 0x0c,
455
+ 0x0c, 0x09, 0x00, 0x0d, 0x04, 0x05, 0x00, 0x05, 0x0b, 0x82, 0x00, 0x00, 0x04, 0x0d, 0x82, 0x0c,
456
+ 0x0c, 0x22, 0x0d, 0x28, 0x0d, 0x28, 0x0c, 0x1e, 0x0c, 0x04, 0x0e, 0x06, 0x0c, 0x1e, 0x0c, 0x04,
457
+ 0x0e, 0x06, 0x0c, 0x1e, 0x0c, 0x04, 0x0e, 0x06, 0x0c, 0x0f, 0x0c, 0x04, 0x0f, 0x81, 0x10, 0x04,
458
+ 0x0f, 0x10, 0x0c, 0x0f, 0x0c, 0x09, 0x0f, 0x10, 0x0c, 0x28, 0x06, 0x81, 0x00, 0x08, 0x07, 0x08,
459
+ 0x00, 0x81, 0x01, 0x0c, 0x00, 0x81, 0x01, 0x09, 0x00, 0x81, 0x00, 0x08, 0x07, 0x83, 0x00, 0x00,
460
+ 0x03, 0x08, 0x00, 0x81, 0x03, 0x06, 0x00, 0x84, 0x01, 0x00, 0x00, 0x02, 0x05, 0x00, 0x81, 0x03,
461
+ 0x03, 0x00, 0x81, 0x00, 0x08, 0x07, 0x0f, 0x00, 0x81, 0x03, 0x0f, 0x00, 0x81, 0x00, 0x03, 0x07,
462
+ 0x82, 0x0c, 0x0c, 0x03, 0x07, 0x05, 0x00, 0x81, 0x03, 0x12, 0x00, 0x81, 0x01, 0x06, 0x00, 0x28,
463
+ 0x11, 0x1e, 0x11, 0x81, 0x02, 0x09, 0x11, 0x28, 0x11, 0x28, 0x04, 0x10, 0x04, 0x07, 0x0c, 0x11,
464
+ 0x04, 0x08, 0x04, 0x81, 0x0a, 0x07, 0x04, 0x07, 0x0c, 0x07, 0x04, 0x81, 0x0a, 0x09, 0x04, 0x10,
465
+ 0x04, 0x05, 0x0c, 0x82, 0x10, 0x0c, 0x11, 0x04, 0x10, 0x04, 0x07, 0x0c, 0x11, 0x04, 0x10, 0x04,
466
+ 0x07, 0x0c, 0x11, 0x04, 0x28, 0x0b, 0x06, 0x04, 0x04, 0x0c, 0x1e, 0x04, 0x06, 0x04, 0x84, 0x0c,
467
+ 0x12, 0x12, 0x0c, 0x18, 0x04, 0x06, 0x0b, 0x06, 0x04, 0x04, 0x0c, 0x05, 0x04, 0x04, 0x0c, 0x0d,
468
+ 0x04, 0x08, 0x0b, 0x06, 0x04, 0x04, 0x0c, 0x05, 0x04, 0x04, 0x0c, 0x0b, 0x04, 0x0a, 0x0b, 0x06,
469
+ 0x04, 0x04, 0x0c, 0x05, 0x04, 0x04, 0x0c, 0x09, 0x04, 0x0c, 0x0b, 0x06, 0x04, 0x04, 0x0c, 0x05,
470
+ 0x04, 0x04, 0x0c, 0x07, 0x04, 0x0e, 0x0b, 0x28, 0x0b, 0x10, 0x04, 0x83, 0x13, 0x04, 0x13, 0x15,
471
+ 0x04, 0x05, 0x04, 0x82, 0x14, 0x14, 0x21, 0x04, 0x05, 0x04, 0x82, 0x14, 0x14, 0x21, 0x04, 0x04,
472
+ 0x04, 0x09, 0x15, 0x09, 0x04, 0x0c, 0x0c, 0x06, 0x04, 0x04, 0x04, 0x09, 0x15, 0x09, 0x04, 0x05,
473
+ 0x0c, 0x81, 0x10, 0x06, 0x0c, 0x06, 0x04, 0x04, 0x04, 0x09, 0x15, 0x09, 0x04, 0x0c, 0x0c, 0x06,
474
+ 0x04, 0x28, 0x06, 0xa8, 0x0c, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x0c, 0x17, 0x18, 0x19, 0x1a,
475
+ 0x1b, 0x16, 0x0c, 0x18, 0x19, 0x1a, 0x1b, 0x16, 0x17, 0x0c, 0x19, 0x1a, 0x1b, 0x16, 0x17, 0x18,
476
+ 0x0c, 0x1a, 0x1b, 0x16, 0x17, 0x18, 0x19, 0x0c, 0x1b, 0x16, 0x17, 0x0c, 0x28, 0x0c, 0xa8, 0x0c,
477
+ 0x18, 0x19, 0x1a, 0x1b, 0x16, 0x17, 0x0c, 0x19, 0x1a, 0x1b, 0x16, 0x17, 0x18, 0x0c, 0x1a, 0x1b,
478
+ 0x16, 0x17, 0x18, 0x19, 0x0c, 0x1b, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x0c, 0x16, 0x17, 0x18, 0x19,
479
+ 0x1a, 0x1b, 0x0c, 0x17, 0x18, 0x19, 0x0c, 0x28, 0x0c, 0xa8, 0x0c, 0x1a, 0x1b, 0x16, 0x17, 0x18,
480
+ 0x19, 0x0c, 0x1b, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x0c, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x0c,
481
+ 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x16, 0x0c, 0x18, 0x19, 0x1a, 0x1b, 0x16, 0x17, 0x0c, 0x19, 0x1a,
482
+ 0x1b, 0x0c, 0x28, 0x0c, 0x28, 0x0b, 0x04, 0x08, 0x24, 0x04, 0x04, 0x08, 0x24, 0x04, 0x04, 0x08,
483
+ 0x24, 0x04, 0x04, 0x08, 0x0e, 0x04, 0x08, 0x0f, 0x0e, 0x04, 0x04, 0x08, 0x0e, 0x04, 0x03, 0x0f,
484
+ 0x81, 0x10, 0x04, 0x0f, 0x0e, 0x04, 0x04, 0x08, 0x0e, 0x04, 0x08, 0x0f, 0x0e, 0x04, 0x28, 0x06,
485
+ 0x11, 0x0c, 0x06, 0x0f, 0x11, 0x0c, 0x28, 0x0c, 0x28, 0x0c, 0x28, 0x0c, 0x1e, 0x13, 0x05, 0x0c,
486
+ 0x05, 0x13, 0x28, 0x0c, 0x28, 0x0b, 0x28, 0x0c, 0x04, 0x0c, 0x05, 0x00, 0x83, 0x01, 0x00, 0x00,
487
+ 0x1c, 0x0c, 0x04, 0x0c, 0x83, 0x00, 0x00, 0x03, 0x05, 0x00, 0x1c, 0x0c, 0x04, 0x0c, 0x08, 0x00,
488
+ 0x0a, 0x0c, 0x81, 0x1c, 0x11, 0x0c, 0x14, 0x0c, 0x06, 0x0f, 0x81, 0x10, 0x07, 0x0f, 0x06, 0x0c,
489
+ 0x14, 0x0c, 0x0e, 0x0f, 0x06, 0x0c, 0x28, 0x0b, 0x0e, 0x04, 0x08, 0x00, 0x81, 0x01, 0x03, 0x00,
490
+ 0x0e, 0x04, 0x0e, 0x04, 0x83, 0x00, 0x00, 0x03, 0x09, 0x00, 0x0e, 0x04, 0x0e, 0x04, 0x07, 0x00,
491
+ 0x81, 0x1d, 0x04, 0x00, 0x0e, 0x04, 0x0e, 0x04, 0x05, 0x00, 0x82, 0x03, 0x1d, 0x05, 0x00, 0x0e,
492
+ 0x04, 0x0e, 0x04, 0x05, 0x00, 0x81, 0x1d, 0x06, 0x00, 0x0e, 0x04, 0x12, 0x04, 0x81, 0x1d, 0x15,
493
+ 0x04, 0x28, 0x0b, 0x28, 0x00, 0x28, 0x00, 0x28, 0x00, 0x0c, 0x00, 0x81, 0x1e, 0x1b, 0x00, 0x1d,
494
+ 0x00, 0x81, 0x1e, 0x0a, 0x00, 0x28, 0x00, 0x28, 0x00
495
+ };
496
+
497
+ static const unsigned pic_at[13] = {
498
+ 0, 75, 181, 219, 297, 342, 409, 467, 598, 640, 662, 712,
499
+ 771
500
+ };
501
+
502
+ // Note frequencies, PAL then NTSC: C5 E5 G5 C6 A4.
503
+ static const unsigned note_pal[5] = {
504
+ 8910, 11226, 13350, 17820, 7493
505
+ };
506
+
507
+ static const unsigned note_ntsc[5] = {
508
+ 8584, 10815, 12861, 17167, 7218
509
+ };
510
+
511
+ #endif