]> git.sur5r.net Git - cc65/blobdiff - libsrc/geos/graph/drawline.s
fixed bug in DrawLine function; extended DrawLine behavior
[cc65] / libsrc / geos / graph / drawline.s
index baa68bce680db119e08655156aeefa935d28c55b..874a58bbd8ec2af967b5d9d06ccd0fe45e5d9a0e 100644 (file)
@@ -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