mirror device pointers

This commit is contained in:
Peter Ferrie 2019-10-01 13:08:50 -07:00
parent 27b22b522c
commit d1779f48d1
3 changed files with 14 additions and 8 deletions

Binary file not shown.

View File

@ -180,7 +180,14 @@ OneTimeSetup
jsr SaveOrRestoreScreenHoles ; save initial copy of screen hole content
lda #$91
sta holepatch ; enable restoring of copy from now on
lda $43
ldy #$0b
CopyDevs
lda $BF13,y
sta promote + $13,y
dey
bpl CopyDevs
lda $BF30
sta promote + ProDOS_unit - $bf00
; save unit in LC bank 2 while overriding !pseudopc

View File

@ -117,7 +117,12 @@ seekread stx bloklo
sty blokhi
entry jmp $d1d1
fakeMLI beq readblk
fakeMLI bne retcall
readblk dey
dey
sty adrhi
tay
jsr seekread
retcall pla
tax
inx
@ -126,12 +131,6 @@ retcall pla
txa
pha
rts
readblk dey
dey
sty adrhi
tay
jsr seekread
bcc retcall
fakeMLI_e
filename !byte filename_e - filename_b