From 3240fd9daa1d5bbd97a6f6b89f42d13d86bfd80b Mon Sep 17 00:00:00 2001 From: Peter Ferrie Date: Mon, 18 Mar 2019 10:18:34 -0700 Subject: [PATCH] align object, turn off drive --- src/proboot.a | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/proboot.a b/src/proboot.a index d61e0f2..964b831 100644 --- a/src/proboot.a +++ b/src/proboot.a @@ -1,6 +1,6 @@ ;license:BSD-3-Clause ;minimal open/read binary file in ProDOS filesystem -;copyright (c) Peter Ferrie 2016-2018 +;copyright (c) Peter Ferrie 2016-2019 !cpu 6502 !to "build/proboot",plain *=$800 @@ -22,6 +22,7 @@ scrn2p2 = $f87b dirbuf = $1e00 ;for size-optimisation PHASEOFF = $c080 + MOTOROFF = $c088 Q6L = $c08c SETVID = $fe93 @@ -146,7 +147,9 @@ blockind ldy $ff txa bne readfile -readdone jsr SETVID ;undo PR#x hook +readdone ldx $2b + lda MOTOROFF, x + jsr SETVID ;undo PR#x hook jmp $2000 step1 !byte 1, $30, $28, $24, $20, $1e, $1d, $1c @@ -253,3 +256,4 @@ checksec ldx $2b jmp goprom2 !byte $D3,$C1,$CE,$A0,$C9,$CE,$C3,$AE +!align $ff,0,0