mirror of
https://github.com/cc65/cc65.git
synced 2024-11-19 06:31:31 +00:00
- fixed bug which prevented DrawPoint/Line from drawing
git-svn-id: svn://svn.cc65.org/cc65/trunk@2897 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
2b66c5e131
commit
d923233a53
@ -2,7 +2,7 @@
|
||||
;
|
||||
; Maciej 'YTM/Elysium' Witkowiak
|
||||
;
|
||||
; 29.10.99, 15.08.2003
|
||||
; 29.10.99, 5.03.2003
|
||||
|
||||
; void DrawLine (char mode, struct window *mywindow);
|
||||
|
||||
@ -24,5 +24,8 @@ _DrawLine:
|
||||
PopW r2
|
||||
jsr popa
|
||||
sta tmp1
|
||||
clc
|
||||
bit tmp1
|
||||
jmp DrawLine
|
||||
bvc @1
|
||||
sec
|
||||
@1: jmp DrawLine
|
||||
|
@ -2,7 +2,7 @@
|
||||
;
|
||||
; Maciej 'YTM/Elysium' Witkowiak
|
||||
;
|
||||
; 29.10.99, 16.8.2003
|
||||
; 29.10.99, 05.3.2003
|
||||
|
||||
; void DrawPoint (char mode, struct pixel *mypixel);
|
||||
|
||||
@ -18,5 +18,8 @@ _DrawPoint:
|
||||
jsr PointRegs
|
||||
jsr popa
|
||||
sta tmp1
|
||||
clc
|
||||
bit tmp1
|
||||
jmp DrawPoint
|
||||
bvc @1
|
||||
sec
|
||||
@1: jmp DrawPoint
|
||||
|
Loading…
Reference in New Issue
Block a user