]> git.sur5r.net Git - cc65/blobdiff - doc/nes.sgml
Support for self explanatory KBCODE values
[cc65] / doc / nes.sgml
index ca9ce72b351eb93e288d372c34619887e2859291..14fcac559bcf995a9fdad020c7311b993a5d9d1d 100644 (file)
@@ -1,12 +1,10 @@
 <!doctype linuxdoc system>
 
 <article>
-
 <title>Nintendo Entertainment System specific information for cc65
 <author>
 <url url="mailto:uz@cc65.org" name="Ullrich von Bassewitz">,<newline>
 <url url="mailto:polluks@sdf.lonestar.org" name="Stefan A. Haubenthal">
-<date>2014-04-12
 
 <abstract>
 An overview over the NES runtime system as it is implemented for the
@@ -69,8 +67,8 @@ Programs containing NES specific code may use the <tt/nes.h/ header file.
 <sect1>NES specific functions<p>
 
 <itemize>
-<item>waitvblank
-<item>get_tv
+<item>waitvsync - wait until the start of the next frame</item>
+<item>get_tv</item>
 </itemize>
 
 
@@ -123,6 +121,14 @@ No extended memory drivers are currently available for the NES.
 
 </descrip><p>
 
+The generic interface doesn't export the start and select buttons. To
+test for those, use the defines in nes.h instead of the generic masks.
+
+Example:
+<tscreen><verb>
+if (joy_read(0) & KEY_A)
+</verb></tscreen>
+
 
 <sect1>Mouse drivers<p>