]> git.sur5r.net Git - cc65/blob - libsrc/tgi/tgi_line.s
Replace sscanf by an assembler version
[cc65] / libsrc / tgi / tgi_line.s
1 ;
2 ; Ullrich von Bassewitz, 21.06.2002
3 ;
4 ; void __fastcall__ tgi_line (int x1, int y1, int x2, int y2);
5 ; /* Draw a line in the current drawing color */
6
7
8         .include        "tgi-kernel.inc"
9
10         .import         popax
11
12 .proc   _tgi_line
13
14         jsr     tgi_linepop     ; Pop/store Y2/X2
15         jsr     popax
16         jsr     tgi_popxy       ; Pop/store X1/Y1 into ptr1/ptr2
17         jmp     tgi_line        ; Call the driver
18
19 .endproc
20
21