mirror of
https://github.com/a2-4am/4cade.git
synced 2024-12-26 04:33:10 +00:00
fix seek(*128k)
This commit is contained in:
parent
13d65a0b67
commit
5cda88b60b
@ -202,7 +202,7 @@ iCurBlockLo = $D601 ; constant
|
||||
iCurBlockHi = $D603 ; constant
|
||||
launchpatch = $D853 ; glue.launch.a
|
||||
iAddToPath = $FEA5 ; Roger Rabbit, avoid, use Infiltrator 2 style instead
|
||||
itraverse = $DB3F ; Roger Rabbit, avoid, use Infiltrator 2 style instead
|
||||
itraverse = $DB31 ; Roger Rabbit, avoid, use Infiltrator 2 style instead
|
||||
ldrlo = $55 ; constant
|
||||
ldrhi = $56 ; constant
|
||||
namlo = $57 ; constant
|
||||
|
@ -218,32 +218,24 @@ ProDOS_enter
|
||||
resetval=$f0
|
||||
@imp_seek
|
||||
jsr @set_rdwrbuff
|
||||
lda sizelo
|
||||
ora ldrlo
|
||||
ora ldrhi
|
||||
bne @not_zero
|
||||
sta treeidx
|
||||
sta blkidx
|
||||
beq @link_jmpzp
|
||||
|
||||
@not_zero
|
||||
lda sizelo
|
||||
lsr
|
||||
pha
|
||||
tay
|
||||
lda ldrhi
|
||||
ror
|
||||
sta blkidx
|
||||
pla
|
||||
tay
|
||||
ldx istree
|
||||
beq @sametree
|
||||
tax
|
||||
lda istree
|
||||
beq @skiptree
|
||||
iny
|
||||
cpy treeidx
|
||||
|
||||
@skiptree
|
||||
sty treeidx
|
||||
beq @sametree
|
||||
inx
|
||||
cpx treeidx
|
||||
beq @sametree
|
||||
stx treeidx
|
||||
ldx hddtreebuf, y
|
||||
lda hddtreebuf + 256, y
|
||||
ldx hddtreebuf - 1, y
|
||||
lda hddtreebuf + 255, y
|
||||
jsr hddreaddirsel
|
||||
|
||||
@sametree
|
||||
|
Loading…
Reference in New Issue
Block a user