From 71cdffebdd32dd6b9f4e66bde99f43e849bbe88b Mon Sep 17 00:00:00 2001 From: cuz Date: Sun, 4 Apr 2004 12:30:50 +0000 Subject: [PATCH] Applied a graphics driver bugfix sent by Greg King git-svn-id: svn://svn.cc65.org/cc65/trunk@2967 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/c128/c128-640-200-2.s | 3 +-- libsrc/c128/c128-640-480-2.s | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/libsrc/c128/c128-640-200-2.s b/libsrc/c128/c128-640-200-2.s index 34024825d..dbe0a0e6b 100644 --- a/libsrc/c128/c128-640-200-2.s +++ b/libsrc/c128/c128-640-200-2.s @@ -2,6 +2,7 @@ ; Graphics driver for the 640x200x2 mode on the C128 VDC ; Maciej 'YTM/Elysium' Witkowiak ; 23.12.2002 +; 2004-04-04, Greg King ; ; NOTES: ; For any smart monkey that will try to optimize this: PLEASE do tests on @@ -612,7 +613,6 @@ LINE: ldy X1+1 jsr icmp bcc @L0243 - beq @L0243 ; dx = 1; lda #1 bne @L0244 @@ -626,7 +626,6 @@ LINE: ldy Y1+1 jsr icmp bcc @L024A - beq @L024A ; dy = 1; lda #1 bne @L024B diff --git a/libsrc/c128/c128-640-480-2.s b/libsrc/c128/c128-640-480-2.s index 20fa4c02b..48cbaf1eb 100644 --- a/libsrc/c128/c128-640-480-2.s +++ b/libsrc/c128/c128-640-480-2.s @@ -3,6 +3,7 @@ ; (values for this mode based on Fred Bowen's document) ; Maciej 'YTM/Elysium' Witkowiak ; 23.12.2002 +; 2004-04-04, Greg King ; ; NOTES: ; For any smart monkey that will try to optimize this: PLEASE do tests on @@ -292,7 +293,7 @@ UNINSTALL: INIT: lda pages ; is there enough memory? bne @L11 ; Jump if there is one screen - lda #TGI_ERR_INV_MODE ; ## Error + lda #TGI_ERR_INV_MODE ; Error bne @L9 ; Initialize variables @@ -610,7 +611,6 @@ LINE: ldy X1+1 jsr icmp bcc @L0243 - beq @L0243 ; dx = 1; lda #1 bne @L0244 @@ -624,7 +624,6 @@ LINE: ldy Y1+1 jsr icmp bcc @L024A - beq @L024A ; dy = 1; lda #1 bne @L024B -- 2.39.5