better prefix handling

This commit is contained in:
Peter Ferrie 2019-10-10 20:06:36 -07:00
parent b7d98f529d
commit b557667613

View File

@ -151,18 +151,17 @@ ProDOS_enter
iny iny
tya tya
pha pha
dey
@copy_prefix @copy_prefix
lda ProDOS_prefix, y lda ProDOS_prefix-1, y
iny
sta (buffer), y sta (buffer), y
dey dey
dey
bne @copy_prefix bne @copy_prefix
pla pla
sta (buffer), y sta (buffer), y
tay
lda #'/' lda #'/'
iny sta (buffer), y
ldy #1
sta (buffer), y sta (buffer), y
bne @jmp_zp2 bne @jmp_zp2