mirror of
https://github.com/cc65/cc65.git
synced 2026-04-25 06:17:58 +00:00
New get_tv function by Stefan Haubenthal.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3832 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -83,11 +83,19 @@
|
||||
#define COLOR_LIGHTBLUE 0x0E
|
||||
#define COLOR_GRAY3 0x0F
|
||||
|
||||
/* Return codes of get_tv */
|
||||
#define TV_NTSC 0
|
||||
#define TV_PAL 1
|
||||
#define TV_OTHER 2
|
||||
|
||||
|
||||
|
||||
void __fastcall__ waitvblank (void);
|
||||
/* Wait for the vertical blanking */
|
||||
|
||||
unsigned char __fastcall__ get_tv (void);
|
||||
/* Return the video mode the machine is using. */
|
||||
|
||||
|
||||
|
||||
/* End of nes.h */
|
||||
|
||||
Reference in New Issue
Block a user