Moved the 'graph' files from 'geos-cbm' to 'geos-common' which are believed to work as-is on Apple GEOS too.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5439 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
31
libsrc/geos-common/graph/drawline.s
Normal file
31
libsrc/geos-common/graph/drawline.s
Normal file
@@ -0,0 +1,31 @@
|
||||
|
||||
;
|
||||
; Maciej 'YTM/Elysium' Witkowiak
|
||||
;
|
||||
; 29.10.99, 5.03.2003
|
||||
|
||||
; void DrawLine (char mode, struct window *mywindow);
|
||||
|
||||
.import _InitDrawWindow
|
||||
.import popa
|
||||
.importzp tmp1
|
||||
.export _DrawLine
|
||||
|
||||
.include "jumptab.inc"
|
||||
.include "geossym.inc"
|
||||
.include "geosmac.ca65.inc"
|
||||
|
||||
_DrawLine:
|
||||
tay
|
||||
PushW r2
|
||||
tya
|
||||
jsr _InitDrawWindow
|
||||
MoveW r2, r11
|
||||
PopW r2
|
||||
jsr popa
|
||||
sta tmp1
|
||||
clc
|
||||
bit tmp1
|
||||
bvc @1
|
||||
sec
|
||||
@1: jmp DrawLine
|
||||
Reference in New Issue
Block a user