]> git.sur5r.net Git - cc65/blob - libsrc/c64/get_tv.s
New loadable mouse drivers
[cc65] / libsrc / c64 / get_tv.s
1 ;
2 ; Ullrich von Bassewitz, 2002-12-03
3 ;
4 ; unsigned char __fastcall__ get_tv (void);
5 ; /* Return the video mode the machine is using */
6 ;
7
8         .export         _get_tv
9
10         .include        "c64.inc"
11
12
13 ;--------------------------------------------------------------------------
14 ; _get_tv
15
16 .proc   _get_tv
17
18         lda     PALFLAG
19         ldx     #0
20         rts
21
22 .endproc
23
24