]> git.sur5r.net Git - cc65/blobdiff - include/pce.h
added waitvblank and fixed get_tv
[cc65] / include / pce.h
index 912e0157be786a34f971fc378567f477bfb38b05..74b6409e189803412087f4eb1760a60ac332648c 100644 (file)
@@ -65,9 +65,6 @@
 #define COLOR_LIGHTBLUE         0x0E
 #define COLOR_GRAY3             0x0F
 
-#define CLOCKS_PER_SEC          50      // FIXME: is this correct?
-#define CLK_TCK                 50      // FIXME: is this correct?
-
 #define TV_NTSC                 0
 #define TV_PAL                  1
 #define TV_OTHER                2
@@ -86,8 +83,8 @@ extern void pce_stdjoy_joy[];       /* Referred to by joy_static_stddrv[] */
 void waitvblank (void);
 /* Wait for the vertical blanking */
 
-/* FIXME: not implemented */
-unsigned char get_tv (void);
+/* all PCE are NTSC */
+#define get_tv() TV_NTSC
 /* Return the video mode the machine is using. */