1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-24 11:31:31 +00:00

Added <cx16.h> to the function reference document.

This commit is contained in:
Greg King 2019-11-20 12:11:47 -05:00
parent d1fd7ffc59
commit f75657d7e2

View File

@ -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>