1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-06 15:06:07 +00:00
cc65/libsrc/geos/graph/initdrawwindow.s
uz 53dd513176 This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-05-28 13:40:48 +00:00

26 lines
379 B
ArmAsm

;
; Maciej 'YTM/Alliance' Witkowiak
;
; 29.10.99
; 11.03.2000
; void InitDrawWindow (struct window *myWindow);
.importzp ptr4
.export _InitDrawWindow
.include "../inc/geossym.inc"
_InitDrawWindow: ;a/x is a struct window*
sta ptr4
stx ptr4+1
ldy #0
copyWin: lda (ptr4),y
sta r2L,y
iny
cpy #6
bne copyWin
rts