]> git.sur5r.net Git - cc65/blob - libsrc/tgi/tgi_getmaxx.s
Merge pull request #740 from laubzega/master
[cc65] / libsrc / tgi / tgi_getmaxx.s
1 ;
2 ; Ullrich von Bassewitz, 21.06.2002
3 ;
4 ; unsigned tgi_getmaxx (void);
5 ; /* Return the maximum x coordinate. The resolution in x direction is
6 ; ** getmaxx() + 1
7 ; */
8
9         .include        "tgi-kernel.inc"
10
11
12 .proc   _tgi_getmaxx
13
14         lda     _tgi_xmax
15         ldx     _tgi_xmax+1
16         rts
17
18 .endproc