mirror of
https://github.com/cc65/cc65.git
synced 2024-12-27 00:29:31 +00:00
1ce25913dd
git-svn-id: svn://svn.cc65.org/cc65/trunk@2326 b7a2c559-68d2-44c3-8de9-860c34a00d81
29 lines
487 B
ArmAsm
29 lines
487 B
ArmAsm
|
|
;
|
|
; Maciej 'YTM/Elysium' Witkowiak
|
|
;
|
|
; 29.10.99, 15.08.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
|
|
bit tmp1
|
|
jmp DrawLine
|