]> git.sur5r.net Git - cc65/blob - libsrc/tgi/tgi_getxres.s
improved handling of cursor display and position
[cc65] / libsrc / tgi / tgi_getxres.s
1 ;
2 ; Ullrich von Bassewitz, 21.06.2002
3 ;
4 ; unsigned __fastcall__ tgi_getxres (void);
5 ; /* Return the resolution in X direction */
6
7
8         .include        "tgi-kernel.inc"
9         .export         _tgi_getxres
10
11
12 _tgi_getxres:
13         lda     _tgi_xres
14         ldx     _tgi_xres+1
15         rts
16
17