mirror of
https://github.com/ksherlock/hfs-boot.git
synced 2025-01-06 12:30:29 +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
|
jsr read_extent_block
|
||||||
|
|
||||||
lda data+BTNodeDescriptor.numRecords ; # of records
|
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
|
beq advance
|
||||||
|
|
||||||
|
xba
|
||||||
|
sta count
|
||||||
|
|
||||||
again
|
again
|
||||||
ldx #512-2 ; last entry
|
ldx #512-2 ; last entry
|
||||||
@loop
|
@loop
|
||||||
|
Loading…
Reference in New Issue
Block a user