ProDOS adaption

The original version was intended for use with DOS3.3 and it considered
the 4 byte header displacement produced by it.
To be able to use it under ProDOS this consideration had to be removed.
Also some soft switches were reset.
This commit is contained in:
Mario Patiño 2013-07-02 19:02:13 +02:00
parent 63ccf78e16
commit f7e6ba5b70
1 changed files with 6 additions and 5 deletions

View File

@ -96,7 +96,7 @@ DEBUT BIT $C050 ; GRAPHIQUES
LDA #00 LDA #00
STA DHGR STA DHGR
LDA SOURCE+$0E LDA SOURCE+$12
CMP #$18 CMP #$18
BEQ GSTEST BEQ GSTEST
@ -129,10 +129,7 @@ GSTEST SEC
AND #$F0 AND #$F0
STA $C034 ; BORDURE NOIRE STA $C034 ; BORDURE NOIRE
GO1 LDA SOURCE+6 GO1 LDA SOURCE+$0A
SEC
SBC #4
CLC
ADC OFFSET+1 ADC OFFSET+1
STA OFFSET+1 STA OFFSET+1
@ -162,5 +159,9 @@ END PLA
BF LDA $C000 BF LDA $C000
BPL BF BPL BF
STA $C010 STA $C010
STA $C000
STA $C00C
BIT $C053
BIT $C054
BIT $C051 BIT $C051
RTS RTS