From b78fbe5ac4caba1a10af3c156ce04ec2bf4cf760 Mon Sep 17 00:00:00 2001 From: Steven Hugg Date: Tue, 28 Jul 2020 15:06:49 -0500 Subject: [PATCH] atari800xl.mame platform, Alterra ROMs --- doc/notes.txt | 11 + index.html | 1 + mame/cfg/a5200.cfg | 41 + mame/cfg/a800xl.cfg | 45 + mame/roms/a800xl.zip | Bin 0 -> 11026 bytes presets/atari8-5200/{hello.a => hello.dasm} | 2 +- .../atari8-5200/{hellopm.a => hellopm.dasm} | 2 +- presets/atari8-800xl/atari.inc | 1426 +++++++++++++++++ presets/atari8-800xl/hello.dasm | 79 + presets/atari8-800xl/helloconio.c | 15 + presets/atari8-800xl/hellodlist.c | 89 + presets/atari8-800xl/hellopm.dasm | 192 +++ presets/atari8-800xl/siegegame.c | 243 +++ src/common/baseplatform.ts | 47 +- src/ide/views.ts | 1 + src/platform/atari8.ts | 74 +- src/worker/workermain.ts | 7 +- 17 files changed, 2216 insertions(+), 59 deletions(-) create mode 100644 mame/cfg/a5200.cfg create mode 100644 mame/cfg/a800xl.cfg create mode 100644 mame/roms/a800xl.zip rename presets/atari8-5200/{hello.a => hello.dasm} (98%) rename presets/atari8-5200/{hellopm.a => hellopm.dasm} (99%) create mode 100644 presets/atari8-800xl/atari.inc create mode 100644 presets/atari8-800xl/hello.dasm create mode 100644 presets/atari8-800xl/helloconio.c create mode 100644 presets/atari8-800xl/hellodlist.c create mode 100644 presets/atari8-800xl/hellopm.dasm create mode 100644 presets/atari8-800xl/siegegame.c diff --git a/doc/notes.txt b/doc/notes.txt index dc7d8aa7..e8a4dec4 100644 --- a/doc/notes.txt +++ b/doc/notes.txt @@ -199,6 +199,7 @@ TODO: - don't include start/end line on platforms w/o raster timing - memory map shows subroutine symbol even after RTS - BIOS symbols +- show current tool for file @@ -484,6 +485,16 @@ class M6502_T { @bus(16) address : Bus<16>; } +Optimizations +- ordered/delayed assignments +- skip unused exprs +- opcode -> fn table +- bus protocols -> functions +- state -> lookup tables or switch statements +- vec[] -> bitmask +- multiclock execution? + + STATE REWIND diff --git a/index.html b/index.html index e1358f4f..7469d28a 100644 --- a/index.html +++ b/index.html @@ -218,6 +218,7 @@ if (window.location.host.endsWith('8bitworkshop.com')) {
  • NES (MAME)
  • ColecoVision (MAME)
  • Atari 5200 (MAME)
  • +
  • Atari 800XL (MAME)