From d923233a53981bbb5fa3d2bb982cdb10eb392baa Mon Sep 17 00:00:00 2001 From: izydorst Date: Fri, 5 Mar 2004 17:13:52 +0000 Subject: [PATCH] - fixed bug which prevented DrawPoint/Line from drawing git-svn-id: svn://svn.cc65.org/cc65/trunk@2897 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/geos/graph/drawline.s | 7 +++++-- libsrc/geos/graph/drawpoint.s | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/libsrc/geos/graph/drawline.s b/libsrc/geos/graph/drawline.s index 874a58bbd..06d05f663 100644 --- a/libsrc/geos/graph/drawline.s +++ b/libsrc/geos/graph/drawline.s @@ -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 diff --git a/libsrc/geos/graph/drawpoint.s b/libsrc/geos/graph/drawpoint.s index 5492c4831..7c212176d 100644 --- a/libsrc/geos/graph/drawpoint.s +++ b/libsrc/geos/graph/drawpoint.s @@ -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 -- 2.39.5