Blob Blame History Raw
From f75657d7e250268c5a4c444ecd8b2ac2ea7815db Mon Sep 17 00:00:00 2001
From: Greg King <gregdk@users.sf.net>
Date: Wed, 20 Nov 2019 12:11:47 -0500
Subject: [PATCH 126/170] Added <cx16.h> to the function reference document.

---
 doc/funcref.sgml | 59 ++++++++++++++++++++++++++++++++----------------
 1 file changed, 40 insertions(+), 19 deletions(-)

diff --git a/doc/funcref.sgml b/doc/funcref.sgml
index 7a46736e..c2b46f0f 100644
--- a/doc/funcref.sgml
+++ b/doc/funcref.sgml
@@ -318,6 +318,20 @@ function.
 </itemize>
 
 
+<sect1><tt/cx16.h/<label id="cx16.h"><p>
+
+<itemize>
+<!-- <item><ref id="get_ostype" name="get_ostype"> -->
+<!-- <item><ref id="get_tv" name="get_tv"> -->
+<!-- <item><ref id="set_tv" name="set_tv"> -->
+<item><ref id="videomode" name="videomode">
+<!-- <item><ref id="vpeek" name="vpeek"> -->
+<!-- <item><ref id="vpoke" name="vpoke"> -->
+</itemize>
+
+(incomplete)
+
+
 <sect1><tt/dbg.h/<label id="dbg.h"><p>
 
 <!-- <itemize> -->
@@ -7702,24 +7716,31 @@ used in presence of a prototype.
 
 <quote>
 <descrip>
-<tag/Function/Switch to either 40 or 80 column mode.
-<tag/Header/<tt/<ref id="apple2enh.h" name="apple2enh.h">,
-<ref id="c128.h" name="c128.h">/
-<tag/Declaration/<tt/unsigned __fastcall__ videomode (unsigned Mode);/
-<tag/Description/Switch to 40 or 80 column mode depending on the argument. If
-the requested mode is already active, nothing happens. The old mode is returned
-from the call.
+<tag/Function/Switch to either 40- or 80-column text mode, or a standard
+graphics mode.
+<tag/Header/<tt/
+<ref id="apple2enh.h" name="apple2enh.h">,
+<ref id="c128.h" name="c128.h">,
+<ref id="cx16.h" name="cx16.h">/
+<tag/Declaration/
+<tt>unsigned __fastcall__ videomode (unsigned Mode); /* for apple2enh and c128 */</tt><newline>
+<tt>signed char __fastcall__ videomode (signed char Mode); /* for cx16 */</tt>
+<tag/Description/Switch to a 40- or 80-column text or graphics mode, depending
+on the argument. If the requested mode is already active, nothing happens. The
+old mode is returned from the call.
 <tag/Notes/<itemize>
-<item>The function is specific to the C128 and enhanced Apple //e.
+<item>The function is specific to the Commodore 128, the enhanced Apple //e,
+and the Commander X16.
 <item>This function replaces <ref id="toggle_videomode"
 name="toggle_videomode">.
-<item>The function is only available as fastcall function, so it may only be
-used in presence of a prototype.
+<item>The function is available as only a fastcall function, so it may be used
+only in the presence of a prototype.
 </itemize>
-<tag/Availability/C128, enhanced Apple //e and CX16
+<tag/Availability/C128, enhanced Apple //e, and CX16
 <tag/See also/
 <ref id="fast" name="fast">,
 <ref id="isfast" name="isfast">,
+<!-- <ref id="set_tv" name="set_tv">, -->
 <ref id="slow" name="slow">,
 <ref id="toggle_videomode" name="toggle_videomode">
 <tag/Example/None.
@@ -7731,15 +7752,15 @@ used in presence of a prototype.
 
 <quote>
 <descrip>
-<tag/Function/Wait until the start of the next frame.
-<tag/Header/
-<tt/<ref id="cbm.h" name="cbm.h">/,
-<tt/<ref id="gamate.h" name="gamate.h">/,
-<tt/<ref id="nes.h" name="nes.h">/,
-<tt/<ref id="pce.h" name="pce.h">/
+<tag/Function/Wait until the start of the next video frame.
+<tag/Header/<tt/
+<ref id="cbm.h" name="cbm.h">,
+<ref id="gamate.h" name="gamate.h">,
+<ref id="nes.h" name="nes.h">,
+<ref id="pce.h" name="pce.h">/
 <tag/Declaration/<tt/void waitvsync (void);/
-<tag/Description/Wait for vertical sync to reduce flickering.
-<tag/Availability/Platforms above
+<tag/Description/Wait for vertical sync, to reduce flickering.
+<tag/Availability/Platforms served by the headers above
 <tag/Example/None.
 </descrip>
 </quote>
-- 
2.26.0