]> git.sur5r.net Git - cc65/blob - libsrc/geos-cbm/graph/drawline.s
Avoid paths in .include directives. The path needs to be rather set in the Makefile...
[cc65] / libsrc / geos-cbm / graph / drawline.s
1
2 ;
3 ; Maciej 'YTM/Elysium' Witkowiak
4 ;
5 ; 29.10.99, 5.03.2003
6
7 ; void DrawLine         (char mode, struct window *mywindow);
8
9             .import _InitDrawWindow
10             .import popa
11             .importzp tmp1
12             .export _DrawLine
13
14             .include "jumptab.inc"
15             .include "geossym.inc"
16             .include "geosmac.ca65.inc"
17
18 _DrawLine:
19             tay
20             PushW r2
21             tya
22             jsr _InitDrawWindow
23             MoveW r2, r11
24             PopW r2
25             jsr popa
26             sta tmp1
27             clc
28             bit tmp1
29             bvc @1
30             sec
31 @1:         jmp DrawLine