X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=doc%2Fnes.sgml;h=3f8f74183c59b5285b88610b0bfab32e9270f58c;hb=a01c4231f20a27cea7022e8d2a9b8e4124fb65ca;hp=ca9ce72b351eb93e288d372c34619887e2859291;hpb=ec417c0dc5f920807f3483e4309d755734ae0e69;p=cc65 diff --git a/doc/nes.sgml b/doc/nes.sgml index ca9ce72b3..3f8f74183 100644 --- a/doc/nes.sgml +++ b/doc/nes.sgml @@ -1,12 +1,10 @@
- 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> @@ -173,17 +179,14 @@ including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: <enum> -<item> The origin of this software must not be misrepresented; you must not - claim that you wrote the original software. If you use this software - in a product, an acknowledgment in the product documentation would be - appreciated but is not required. -<item> Altered source versions must be plainly marked as such, and must not - be misrepresented as being the original software. -<item> This notice may not be removed or altered from any source - distribution. +<item> The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. +<item> Altered source versions must be plainly marked as such, and must not + be misrepresented as being the original software. +<item> This notice may not be removed or altered from any source + distribution. </enum> </article> - - -