LINKPRG moved to Mega65 extra ROM

This commit is contained in:
FeralChild64 committed 2020-02-27 21:53:36 +01:00
1 parent 56a1431db8
commit 4b381db9f7
5 files changed
+61 -20

No files matched your search

@@ -12,17 +12,19 @@
// Label definitions
.label VB1__INITMSG = $4000 + 2 * 0
.label VB1__tokenise_line = $4000 + 2 * 1
.label VB1__list_single_line = $4000 + 2 * 2
.label VB1__print_packed_message = $4000 + 2 * 3
.label VB1__basic_do_clr = $4000 + 2 * 4
.label VB1__basic_do_new = $4000 + 2 * 5
.label VB1__LINKPRG = $4000 + 2 * 1
.label VB1__tokenise_line = $4000 + 2 * 2
.label VB1__list_single_line = $4000 + 2 * 3
.label VB1__print_packed_message = $4000 + 2 * 4
.label VB1__basic_do_clr = $4000 + 2 * 5
.label VB1__basic_do_new = $4000 + 2 * 6
#else
// Vector table (OpenROMs private!)
.word INITMSG
.word LINKPRG
.word tokenise_line
.word list_single_line
.word print_packed_message
+3 -1
View File
@@ -8,10 +8,12 @@
#import "BASIC_0_combined.sym"
.label peek_under_roms = BASIC_0.proxy_B1_peek_under_roms
.label peek_via_OLDTXT = BASIC_0.proxy_B1_peek_via_OLDTXT
.label poke_via_OLDTXT = BASIC_0.proxy_B1_poke_via_OLDTXT
.label JCHROUT = BASIC_0.proxy_B1_JCHROUT
.label JMEMTOP = KERNAL_0.JMEMTOP
.label plot_set = KERNAL_0.plot_set
.label init_oldtxt = BASIC_0.init_oldtxt
.label rom_revision_basic_string = BASIC_0.rom_revision_basic_string
.label print_integer = BASIC_0.proxy_B1_print_integer
.label print_return = BASIC_0.proxy_B1_print_return
+12 -2
View File
@@ -6,16 +6,26 @@
//
proxy_B1_peek_under_roms:
proxy_B1_peek_via_OLDTXT:
jsr map_NORMAL
#if CONFIG_MEMORY_MODEL_60K
jsr peek_under_roms
.error "not implemented"
#else // CONFIG_MEMORY_MODEL_38K
lda (OLDTXT),y
#endif
jmp map_BASIC_1
proxy_B1_poke_via_OLDTXT:
jsr map_NORMAL
#if CONFIG_MEMORY_MODEL_60K
.error "not implemented"
#else // CONFIG_MEMORY_MODEL_38K
sta (OLDTXT),y
#endif
jmp map_BASIC_1
proxy_B1_JCHROUT: