mirror of
https://github.com/cc65/cc65.git
synced 2026-04-26 13:18:31 +00:00
fixed bug in DrawLine function; extended DrawLine behavior
git-svn-id: svn://svn.cc65.org/cc65/trunk@2326 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
|
||||
;
|
||||
; Maciej 'YTM/Alliance' Witkowiak
|
||||
; Maciej 'YTM/Elysium' Witkowiak
|
||||
;
|
||||
; 29.10.99
|
||||
; 29.10.99, 15.08.2003
|
||||
|
||||
; void DrawLine (struct window *mywindow);
|
||||
; void DrawLine (char mode, struct window *mywindow);
|
||||
|
||||
.import _InitDrawWindow
|
||||
.import popa
|
||||
.importzp tmp1
|
||||
.export _DrawLine
|
||||
|
||||
.include "../inc/jumptab.inc"
|
||||
@@ -20,4 +22,7 @@ _DrawLine:
|
||||
jsr _InitDrawWindow
|
||||
MoveW r2, r11
|
||||
PopW r2
|
||||
jsr popa
|
||||
sta tmp1
|
||||
bit tmp1
|
||||
jmp DrawLine
|
||||
|
||||
Reference in New Issue
Block a user