Applied a graphics driver bugfix sent by Greg King
git-svn-id: svn://svn.cc65.org/cc65/trunk@2967 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
e4de88958e
commit
71cdffebdd
2 changed files with 3 additions and 5 deletions
|
@ -2,6 +2,7 @@
|
||||||
; Graphics driver for the 640x200x2 mode on the C128 VDC
|
; Graphics driver for the 640x200x2 mode on the C128 VDC
|
||||||
; Maciej 'YTM/Elysium' Witkowiak <ytm@elysium.pl>
|
; Maciej 'YTM/Elysium' Witkowiak <ytm@elysium.pl>
|
||||||
; 23.12.2002
|
; 23.12.2002
|
||||||
|
; 2004-04-04, Greg King
|
||||||
;
|
;
|
||||||
; NOTES:
|
; NOTES:
|
||||||
; For any smart monkey that will try to optimize this: PLEASE do tests on
|
; For any smart monkey that will try to optimize this: PLEASE do tests on
|
||||||
|
@ -612,7 +613,6 @@ LINE:
|
||||||
ldy X1+1
|
ldy X1+1
|
||||||
jsr icmp
|
jsr icmp
|
||||||
bcc @L0243
|
bcc @L0243
|
||||||
beq @L0243
|
|
||||||
; dx = 1;
|
; dx = 1;
|
||||||
lda #1
|
lda #1
|
||||||
bne @L0244
|
bne @L0244
|
||||||
|
@ -626,7 +626,6 @@ LINE:
|
||||||
ldy Y1+1
|
ldy Y1+1
|
||||||
jsr icmp
|
jsr icmp
|
||||||
bcc @L024A
|
bcc @L024A
|
||||||
beq @L024A
|
|
||||||
; dy = 1;
|
; dy = 1;
|
||||||
lda #1
|
lda #1
|
||||||
bne @L024B
|
bne @L024B
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
; (values for this mode based on Fred Bowen's document)
|
; (values for this mode based on Fred Bowen's document)
|
||||||
; Maciej 'YTM/Elysium' Witkowiak <ytm@elysium.pl>
|
; Maciej 'YTM/Elysium' Witkowiak <ytm@elysium.pl>
|
||||||
; 23.12.2002
|
; 23.12.2002
|
||||||
|
; 2004-04-04, Greg King
|
||||||
;
|
;
|
||||||
; NOTES:
|
; NOTES:
|
||||||
; For any smart monkey that will try to optimize this: PLEASE do tests on
|
; For any smart monkey that will try to optimize this: PLEASE do tests on
|
||||||
|
@ -292,7 +293,7 @@ UNINSTALL:
|
||||||
INIT:
|
INIT:
|
||||||
lda pages ; is there enough memory?
|
lda pages ; is there enough memory?
|
||||||
bne @L11 ; Jump if there is one screen
|
bne @L11 ; Jump if there is one screen
|
||||||
lda #TGI_ERR_INV_MODE ; ## Error
|
lda #TGI_ERR_INV_MODE ; Error
|
||||||
bne @L9
|
bne @L9
|
||||||
|
|
||||||
; Initialize variables
|
; Initialize variables
|
||||||
|
@ -610,7 +611,6 @@ LINE:
|
||||||
ldy X1+1
|
ldy X1+1
|
||||||
jsr icmp
|
jsr icmp
|
||||||
bcc @L0243
|
bcc @L0243
|
||||||
beq @L0243
|
|
||||||
; dx = 1;
|
; dx = 1;
|
||||||
lda #1
|
lda #1
|
||||||
bne @L0244
|
bne @L0244
|
||||||
|
@ -624,7 +624,6 @@ LINE:
|
||||||
ldy Y1+1
|
ldy Y1+1
|
||||||
jsr icmp
|
jsr icmp
|
||||||
bcc @L024A
|
bcc @L024A
|
||||||
beq @L024A
|
|
||||||
; dy = 1;
|
; dy = 1;
|
||||||
lda #1
|
lda #1
|
||||||
bne @L024B
|
bne @L024B
|
||||||
|
|
Loading…
Add table
Reference in a new issue