re-enabled 65C02 optimized jumptable (needed Kick Assembler bugfix)

This commit is contained in:
FeralChild64 committed 2019-12-21 17:21:55 +01:00
1 parent 3ac1d11cbe
commit 527ad0a23a
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -34,7 +34,7 @@ chrout_try_jumptable_loop_noquote:
bne !+ bne !+
// Found, perform a jump to subroutine // Found, perform a jump to subroutine
#if !HAS_OPCODES_65C02_XXX_DISABLED #if !HAS_OPCODES_65C02
lda chrout_screen_jumptable_hi, x lda chrout_screen_jumptable_hi, x
pha pha
lda chrout_screen_jumptable_lo, x lda chrout_screen_jumptable_lo, x
@@ -44,7 +44,7 @@ chrout_try_jumptable_loop_noquote:
txa txa
asl asl
tax tax
jmp (chrout_screen_jumptable, x) // XXX whyy Kick Assembler does not accept this? jmp (chrout_screen_jumptable, x)
#endif #endif
!: !:
dex dex
@@ -36,7 +36,7 @@ __chrout_screen_jumptable_quote_guard:
__chrout_screen_jumptable_codes_end: __chrout_screen_jumptable_codes_end:
#if !HAS_OPCODES_65C02_XXX_DISABLED #if !HAS_OPCODES_65C02
chrout_screen_jumptable_lo: chrout_screen_jumptable_lo: