From 20097020116d32753504ce2ab0c6022c2c54fd0c Mon Sep 17 00:00:00 2001 From: FeralChild64 Date: Sun, 20 Oct 2019 11:53:50 +0200 Subject: [PATCH] added one more stub, Simon's BASIC does not crash anymore --- STATUS.md | 1 + c64/basic/a408.interop | 2 ++ c64/basic/a408.reason.s | 5 +++++ c64/kernal/fe25.memtop.s | 2 +- 4 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 c64/basic/a408.interop create mode 100644 c64/basic/a408.reason.s diff --git a/STATUS.md b/STATUS.md index 036ebf26..fb33b47a 100644 --- a/STATUS.md +++ b/STATUS.md @@ -76,6 +76,7 @@ Not all of them - only these we want to have implemented. | Address | Name | Status | Remarks | | :-------: | :----------- | :------: | :------------------------------------------------: | | `$A004` | revision str | DONE | | +| `$A408` | REASON | NOT DONE | | | `$A453` | (unknown) | NOT DONE | | | `$A533` | LINKPRG | DONE | | | `$A644` | new | NOT DONE | | diff --git a/c64/basic/a408.interop b/c64/basic/a408.interop new file mode 100644 index 00000000..fe2f5c41 --- /dev/null +++ b/c64/basic/a408.interop @@ -0,0 +1,2 @@ + +This address is called at least by the Simon's BASIC cartridge. diff --git a/c64/basic/a408.reason.s b/c64/basic/a408.reason.s new file mode 100644 index 00000000..f7613215 --- /dev/null +++ b/c64/basic/a408.reason.s @@ -0,0 +1,5 @@ + +// XXX provide documentation and implementation + +REASON: + STUB_IMPLEMENTATION() diff --git a/c64/kernal/fe25.memtop.s b/c64/kernal/fe25.memtop.s index 485112a0..960152b0 100644 --- a/c64/kernal/fe25.memtop.s +++ b/c64/kernal/fe25.memtop.s @@ -17,7 +17,7 @@ MEMTOP: // FALLTROUGH -memtop_set: +memtop_set: // for compatibility reasons this has to start at $FE2D sty MEMSIZK+1 stx MEMSIZK+0