1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-07 04:29:01 +00:00
cc65/libsrc/geos-cbm/graph/drawline.s
uz e6d74e7205 Renamed the old geos target to geos-cbm.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5343 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-12-28 17:11:21 +00:00

32 lines
519 B
ArmAsm

;
; 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 "../inc/jumptab.inc"
.include "../inc/geossym.inc"
.include "../inc/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