diff --git a/platforms/GoSXB/gosxb-of816.sh b/platforms/GoSXB/gosxb-of816.sh new file mode 100644 index 0000000..06b7e38 --- /dev/null +++ b/platforms/GoSXB/gosxb-of816.sh @@ -0,0 +1,2 @@ +#!/bin/bash +gosxb -load 0x200000:forth -rom-bank 0x20 -rom-file rom diff --git a/platforms/GoSXB/romboot.s b/platforms/GoSXB/romboot.s index 4433a5a..3fe3217 100644 --- a/platforms/GoSXB/romboot.s +++ b/platforms/GoSXB/romboot.s @@ -1,3 +1,9 @@ +; This is a stub ROM for the GoSXB emulator that will jump to $200000 upon +; reset, NMI, or BRK. +; For every other kind of interrupt, it causes GoSXB to exit. If it happens +; to be running on real hardware, it will hang instead of exit. +; The purpose of this stub is to execute OF816 in ROM in bank $20. + .p816 .a16 .i16