fix register confusion if interleave=0

This commit is contained in:
4am 2023-08-30 19:00:56 -04:00 committed by GitHub
parent 017a7b214b
commit a41a656906
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -225,6 +225,8 @@ read
!if interleave=1 { !if interleave=1 {
tax tax
ldy $100, x ldy $100, x
} else {
tay
} }
sty <(sector+1) ;store index for later sty <(sector+1) ;store index for later
ldx <addrtbl, y ;fetch corresponding address ldx <addrtbl, y ;fetch corresponding address