xba sets z based on the (new) low 8-bits

This commit is contained in:
Kelvin Sherlock 2021-07-17 21:24:28 -04:00
parent 6baf9b600f
commit 8a9c0d55c2
1 changed files with 3 additions and 9 deletions

View File

@ -194,17 +194,11 @@ ok
jsr read_extent_block
lda data+BTNodeDescriptor.numRecords ; # of records
xba
; asl a ; x 2
; sec
; sbc #512
; eor #-1
; inc a
; adc #-513 ; carry will be clear. +1 to avoid inc
; eor #-1
sta count
beq advance
xba
sta count
again
ldx #512-2 ; last entry
@loop