redirected NEWSTT to RUN, should provide some compatibility

This commit is contained in:
FeralChild64 committed 2019-10-06 18:16:16 +02:00
1 parent 4f238baa2d
commit 090419262a
2 files changed
+16 -6

No files matched your search

+1 -1
View File
@@ -79,7 +79,7 @@ Not all of them - only these we want to have implemented.
| `$A533` | LINKPRG | DONE | |
| `$A659` | set txt ptr | NOT DONE | |
| `$A68E` | RUNC | DONE | |
| `$A7AE` | NEWSTT | NOT DONE | |
| `$A7AE` | NEWSTT | PARTIAL | redirected to RUN command |
| `$AB1E` | STROUT | DONE | |
| `$BDCD` | LINPRT | DONE | temporary implementation |
| `$E3BF` | INIT | NOT DONE | |
+15 -5
View File
@@ -1,8 +1,18 @@
// XXX provide documentation and implementation
// see: https://www.lemon64.com/forum/viewtopic.php?t=64721&sid=bc400a5a6d404f8f092e4d32a92f5de7
// https://www.lemon64.com/forum/viewtopic.php?t=70680&sid=3ff66caf7f5fdf2a3c2ff2ee31fc3fd8
// https://codebase64.org/doku.php?id=base:assembling_your_own_cart_rom_image
// Well-known BASIC routine, described in:
//
// - [CM64] Compute's Mapping the Commodore 64 - page 97
// - https://www.lemon64.com/forum/viewtopic.php?t=64721&sid=bc400a5a6d404f8f092e4d32a92f5de7
// - https://www.lemon64.com/forum/viewtopic.php?t=70680&sid=3ff66caf7f5fdf2a3c2ff2ee31fc3fd8
// - https://codebase64.org/doku.php?id=base:assembling_your_own_cart_rom_image
NEWSTT:
STUB_IMPLEMENTATION()
// XXX Real implementation is more complicated, it's actually a part
// of the BASIC main loop. It is, however, often called by various
// utilities to simply run the software which was just loaded or
// uncompressed.
// For now, let's cheat a little - this should provide some compatibility:
jmp cmd_run