]> git.sur5r.net Git - cc65/blob - libsrc/c64/get_tv.s
Use the .max function to calculate the backup space.
[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         .include        "c64.inc"
9         .include        "get_tv.inc"
10
11 ;--------------------------------------------------------------------------
12 ; _get_tv
13
14 .proc   _get_tv
15
16         lda     PALFLAG
17         ldx     #0
18         rts
19
20 .endproc
21
22