fixed jumptable in BASIC

This commit is contained in:
FeralChild64 committed 2020-12-04 15:36:16 +01:00
1 parent c45fcb7fa9
commit 5fc87be2cf
1 file changed
+6 -2
@@ -1,4 +1,4 @@
;; #LAYOUT# M65 * #TAKE
;; #LAYOUT# M65 BASIC_0 #TAKE
;; #LAYOUT# * * #IGNORE
;
@@ -6,7 +6,7 @@
;
!set ITEM_01 = cmd_sysinfo
!set ITEM_02 = cmd_joycrsr
!ifndef HAS_OPCODES_65C02 {
@@ -14,10 +14,13 @@
command_04_jumptable_lo:
!byte <(ITEM_01-1)
!byte <(ITEM_02-1)
command_04_jumptable_hi:
!byte >(ITEM_01-1)
!byte >(ITEM_02-1)
} else { ; HAS_OPCODES_65C02
@@ -26,4 +29,5 @@ command_04_jumptable:
; Note: 65C02 has the page boundary vector bug fixed!
!word ITEM_01
!word ITEM_02
}