Skip to content

Commit

Permalink
Change SYS to jump far if target address >=
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-b-jakobsson committed Oct 15, 2022
1 parent 5cb622d commit 36059a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion basic/code26.s
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ plot =$fff0

csys jsr frmadr ;get int. addr
lda linnum+1
cmp #$c0
cmp #$a0
bcs csysfar
lda #>csysrz ;push return address
pha
Expand Down

0 comments on commit 36059a6

Please sign in to comment.