mirror of
https://github.com/ksherlock/hfs-boot.git
synced 2025-01-04 15:29:51 +00:00
xba sets z based on the (new) low 8-bits
This commit is contained in:
parent
6baf9b600f
commit
8a9c0d55c2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user