From 536c28605e5ae6417269c5570c5aac89e0deab07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20Pati=C3=B1o?= Date: Sat, 29 Jun 2013 18:26:58 +0200 Subject: [PATCH] small corrections COMPTS is already initialized with READBMP. COMPTD has to be initialized instead. Otherwise a small shift appears in the image. This was not visible on the original demo picture because of the surrounding black background. Removed one unnecessary assignment to BUFFDST since it was already written on screen and will be overwritten thereafter. --- DISPLAY.S | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/DISPLAY.S b/DISPLAY.S index 2bb4407..96d0654 100644 --- a/DISPLAY.S +++ b/DISPLAY.S @@ -69,7 +69,6 @@ SAVEDST LDY DESTY S2 STY DESTY LDA #06 STA COMPTD - STA BUFFDST RTS @@ -102,8 +101,8 @@ GO1 LDA SOURCE+6 STA DESTY LDX #191 STX DESTX - LDA #07 - STA COMPTS + LDA #06 + STA COMPTD JSR READBMP BP ASL BUFFBMP