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:
parent
1a0c871976
commit
e0822357c7
2 changed files with 9 additions and 0 deletions
|
@ -69,6 +69,7 @@ Programs containing NES specific code may use the <tt/nes.h/ header file.
|
|||
|
||||
<itemize>
|
||||
<item>waitvblank
|
||||
<item>get_tv
|
||||
</itemize>
|
||||
|
||||
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Add table
Reference in a new issue