2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
;
|
2003-08-15 19:55:37 +00:00
|
|
|
; Maciej 'YTM/Elysium' Witkowiak
|
2000-05-28 13:40:48 +00:00
|
|
|
;
|
2004-03-05 17:13:52 +00:00
|
|
|
; 29.10.99, 5.03.2003
|
2000-05-28 13:40:48 +00:00
|
|
|
|
2003-08-15 19:55:37 +00:00
|
|
|
; void DrawLine (char mode, struct window *mywindow);
|
2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
.import _InitDrawWindow
|
2003-08-15 19:55:37 +00:00
|
|
|
.import popa
|
|
|
|
.importzp tmp1
|
2000-05-28 13:40:48 +00:00
|
|
|
.export _DrawLine
|
|
|
|
|
2012-01-31 20:49:58 +00:00
|
|
|
.include "jumptab.inc"
|
|
|
|
.include "geossym.inc"
|
|
|
|
.include "geosmac.ca65.inc"
|
2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
_DrawLine:
|
|
|
|
tay
|
|
|
|
PushW r2
|
|
|
|
tya
|
|
|
|
jsr _InitDrawWindow
|
|
|
|
MoveW r2, r11
|
|
|
|
PopW r2
|
2003-08-15 19:55:37 +00:00
|
|
|
jsr popa
|
|
|
|
sta tmp1
|
2004-03-05 17:13:52 +00:00
|
|
|
clc
|
2003-08-15 19:55:37 +00:00
|
|
|
bit tmp1
|
2004-03-05 17:13:52 +00:00
|
|
|
bvc @1
|
|
|
|
sec
|
|
|
|
@1: jmp DrawLine
|