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.
This commit is contained in:
Mario Patiño 2013-06-29 18:26:58 +02:00
parent 40502fc9e9
commit 536c28605e
1 changed files with 2 additions and 3 deletions

View File

@ -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