jump table now uses vectors in RAM

This commit is contained in:
FeralChild64 committed 2019-08-05 18:08:15 +02:00
1 parent fb9caa7602
commit d5d6581901
32 files changed
+60 -140

No files matched your search

+5 -5
View File
@@ -38,7 +38,7 @@ found_message_in_token_stream:
beq +
jsr print_packed_word
lda #$20
jsr via_IBSOUT
jsr JCHROUT
pla
tay
iny
@@ -47,7 +47,7 @@ found_message_in_token_stream:
pla
;; Rub out space at the end
lda #$14
jsr via_IBSOUT
jsr JCHROUT
rts
print_packed_word:
@@ -144,7 +144,7 @@ next_packed_word_char:
;; X=1-14 = first 14 chars, so subtract one
lda packed_message_chars-1,x
jsr via_IBSOUT
jsr JCHROUT
;; See if there is a char in the low nybl to print
pla
@@ -171,7 +171,7 @@ has_nybl:
;; X=1-14 = first 14 chars, so subtract one
lda packed_message_chars-1,x
jsr via_IBSOUT
jsr JCHROUT
*
pla
tay
@@ -207,7 +207,7 @@ unpack_literal_char:
tya
pha
lda (temp_string_ptr),y
jsr via_IBSOUT
jsr JCHROUT
pla
tay
rts