]> git.sur5r.net Git - cc65/blob - libsrc/geos/graph/initdrawwindow.s
This commit was generated by cvs2svn to compensate for changes in r2,
[cc65] / libsrc / geos / graph / initdrawwindow.s
1
2 ;
3 ; Maciej 'YTM/Alliance' Witkowiak
4 ;
5 ; 29.10.99
6 ; 11.03.2000
7
8 ; void InitDrawWindow (struct window *myWindow);
9
10             .importzp ptr4
11             
12             .export _InitDrawWindow
13
14             .include "../inc/geossym.inc"
15
16 _InitDrawWindow:                        ;a/x is a struct window*
17             sta ptr4
18             stx ptr4+1
19             ldy #0
20 copyWin:    lda (ptr4),y
21             sta r2L,y
22             iny
23             cpy #6
24             bne copyWin
25             rts