1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-20 12:32:58 +00:00
cc65/libsrc/geos-common/graph/initdrawwindow.s
ol.sc 0828464f26 Moved the 'graph' files from 'geos-cbm' to 'geos-common' which are believed to work as-is on Apple GEOS too.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5439 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-02-04 17:17:32 +00:00

26 lines
372 B
ArmAsm

;
; Maciej 'YTM/Alliance' Witkowiak
;
; 29.10.99
; 11.03.2000
; void InitDrawWindow (struct window *myWindow);
.importzp ptr4
.export _InitDrawWindow
.include "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