]> git.sur5r.net Git - cc65/blobdiff - doc/nes.sgml
Followed the discussions in the Pull request #682.
[cc65] / doc / nes.sgml
index ae8e4a9719fd12c3d0765b53021302110cb22aa1..8f4374e055b998cb1c4bdaa38d232c830f43cb48 100644 (file)
@@ -69,8 +69,8 @@ Programs containing NES specific code may use the <tt/nes.h/ header file.
 <sect1>NES specific functions<p>
 
 <itemize>
-<item>waitvblank - wait until the start of vblank
-<item>get_tv
+<item>waitvsync - wait until the start of the next frame</item>
+<item>get_tv</item>
 </itemize>
 
 
@@ -123,6 +123,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>