added more stubs to BASIC

This commit is contained in:
FeralChild64 committed 2019-10-06 16:53:08 +02:00
1 parent b625b4d58a
commit 47fdf8c08c
9 files changed
+42 -5

No files matched your search

+1 -1
View File
@@ -192,7 +192,7 @@ build/newc65.rom: build/kernal_mega65.rom build/basic_mega65.rom build/chargen.r
# Rules - tests
.PHONY: test test_generic test_mega65 test_ultimate64 test_m65 testremote testsimilarity
.PHONY: test test_generic test_mega65 test_ultimate64 test_hybrid test_m65 testremote testsimilarity
test: test_generic
+2
View File
@@ -76,6 +76,8 @@ Not all of them - only these we want to have implemented.
| Address | Name | Status | Remarks |
| :-------: | :----------- | :------: | :------------------------------------------------: |
| `$A004` | revision str | DONE | |
| `$A533` | LINKPRG | NOT DONE | |
| `$A659` | set txt ptr | NOT DONE | |
| `$A68E` | RUNC | NOT DONE | |
| `$A7AE` | NEWSTT | NOT DONE | |
| `$AB1E` | STROUT | DONE | |
+7
View File
@@ -0,0 +1,7 @@
This routine is used to launch other software. It is used by:
- Uncrunch (see https://github.com/mist64/pucrunch/blob/master/uncrunch.asm)
- FileBrowser64 (FB64) - found by debugging
and probably others.
+6
View File
@@ -0,0 +1,6 @@
// XXX provide documentation and implementation
// see: https://www.lemon64.com/forum/viewtopic.php?t=64721&sid=bc400a5a6d404f8f092e4d32a92f5de7
LINKPRG:
STUB_IMPLEMENTATION()
+6
View File
@@ -0,0 +1,6 @@
This routine is used to launch other software. It is used by:
- Exomizer (see https://github.com/bitshifters/exomizer/blob/master/exomizer/exomizer115.txt)
- FileBrowser64 (FB64) - found by debugging
and probably others.
+7
View File
@@ -0,0 +1,7 @@
// 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
setcharptr:
STUB_IMPLEMENTATION()
+8 -2
View File
@@ -1,3 +1,9 @@
This routine is mentionned in the cartridge writing tutorial here: https://codebase64.org/doku.php?id=base:assembling_your_own_cart_rom_image
This routine is used to launch other software. It is used by:
- Exomizer (see https://github.com/bitshifters/exomizer/blob/master/exomizer/exomizer115.txt)
- FileBrowser64 (FB64) - found by debugging
and probably others. It is also mentionned in the cartridge writing tutorial here:
- https://codebase64.org/doku.php?id=base:assembling_your_own_cart_rom_image
We have to implement (or at least provide stub), otherwise cartridges will crash.
+4 -1
View File
@@ -1,5 +1,8 @@
// 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
NEWSTT:
STUB_IMPLEMENTATION()
STUB_IMPLEMENTATION()
+1 -1
View File
@@ -142,6 +142,6 @@ load_loop:
lda FA
jsr close_load
.break
// Return last address
jmp lvs_return_last_address