From f7e6ba5b709e8658da1002b4828e7bba0022cccf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20Pati=C3=B1o?= Date: Tue, 2 Jul 2013 19:02:13 +0200 Subject: [PATCH] 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. --- DISPLAY.S | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/DISPLAY.S b/DISPLAY.S index 85ea084..cb0c0bc 100644 --- a/DISPLAY.S +++ b/DISPLAY.S @@ -96,7 +96,7 @@ DEBUT BIT $C050 ; GRAPHIQUES LDA #00 STA DHGR - LDA SOURCE+$0E + LDA SOURCE+$12 CMP #$18 BEQ GSTEST @@ -129,10 +129,7 @@ GSTEST SEC AND #$F0 STA $C034 ; BORDURE NOIRE -GO1 LDA SOURCE+6 - SEC - SBC #4 - CLC +GO1 LDA SOURCE+$0A ADC OFFSET+1 STA OFFSET+1 @@ -162,5 +159,9 @@ END PLA BF LDA $C000 BPL BF STA $C010 + STA $C000 + STA $C00C + BIT $C053 + BIT $C054 BIT $C051 RTS