]> git.sur5r.net Git - cc65/blob - libsrc/geos-common/graph/initdrawwindow.s
Removed (pretty inconsistently used) tab chars from source code base.
[cc65] / libsrc / geos-common / graph / initdrawwindow.s
1 ;
2 ; Maciej 'YTM/Alliance' Witkowiak
3 ;
4 ; 29.10.99
5 ; 11.03.2000
6
7 ; void InitDrawWindow (struct window *myWindow);
8
9             .importzp ptr4
10             .export _InitDrawWindow
11
12             .include "geossym.inc"
13
14 _InitDrawWindow:                ; a/x is a struct window*
15         sta ptr4
16         stx ptr4+1
17         ldy #0
18 copyWin:lda (ptr4),y
19         sta r2L,y
20         iny
21         cpy #6
22         bne copyWin
23         rts