]> git.sur5r.net Git - cc65/blobdiff - doc/telestrat.sgml
Merge pull request #706 from xlar54/master
[cc65] / doc / telestrat.sgml
index 9032156eeb5375f4fc32123819f4f2c9b367da82..76b3cdd30a2a6ad8f9e7a32d326381e720fd055f 100644 (file)
@@ -4,13 +4,12 @@
 
 <title>Oric Telestrat-specific information for cc65
 <author>
-<url url="mailto:jede@oric.org" name="Jede">,<newline>
+<url url="mailto:jede@oric.org" name="Jede">
 
 <date>2017-01-22
 
 <abstract>
-An overview over the Telestrat (Telemon 3.0 : http://orix.oric.org) runtime system as it is implemented for the cc65 C
-compiler.)
+An overview over the Telestrat (Telemon 2.4 & Telemon 3.x : http://orix.oric.org) runtime system as it is implemented for the cc65 C compiler.
 </abstract>
 
 <!-- Table of contents -->
@@ -32,25 +31,28 @@ information.
 
 <sect>Binary format<p>
 
-The standard binary output format generated the linker for the Telestrat target
-is a machine language program with a 20 bytes header described here : http://orix.oric.org/doku.php?id=orix:header 
+The standard binary output format generated the linker for the Telestrat
+target is a machine language program with a 20 bytes header described <url
+name="here" url="http://orix.oric.org/doku.php?id=orix:header">
 
-This header is used for Telemon 3.0. 
+This header is used for Telemon 3.0.
 
-Anyway, for Telemon 2.4, there is no file management, there is no TAPE routine in Telemon, there is no way to load a binary easily. 
+Anyway, for Telemon 2.4, there is no file management, there is no TAPE routine in Telemon, there is no way to load a binary easily.
 
-Stratsed (the Telestrat operating system) handles files management. Stratsed is loaded to memory from floppy disk. 
+Stratsed (the Telestrat operating system) handles files management. Stratsed is loaded to memory from floppy disk.
 
-There is no tool to insert a binary in a Stratsed floppy disk. 
+There is no tool to insert a binary in a Stratsed floppy disk.
 
-The only way to load a binary (for Telemon 2.4) is to :
+The only way to load a binary (for Telemon 2.4) is to:
 <itemize>
 <item>remove the 20 bytes header
-<item>download osdk : http://osdk.defence-force.org/index?page=download
+<item>download <url name="osdk" url="http://osdk.defence-force.org/index?page=download">
 <item>use Floppybuilder in OSDK to insert the binary with the tool (please read FloppyBuilder manual to insert your binary, and to start microdisc boot sector when Telestrat starts)
 </itemize>
 
-Please note also, that the binary converted into TAP file, will not produce a right stratsed file when tap2dsk and old2mfm are used. You will be in the case that Telestrat/Stratsed crashed when you do "DIR" command.
+Please note also, that the binary converted into TAP file, will not produce
+a right stratsed file when tap2dsk and old2mfm are used. You will be in the
+case that Telestrat/Stratsed crashed when you do "DIR" command.
 
 If you know the Stratsed disk format, please contact the author of this doc.
 
@@ -79,7 +81,7 @@ Special locations:
 
 <sect>Platform-specific header files<p>
 
-Programs containing Telestrat -specific code may use the <tt/telestrat.h/ header file.
+Programs containing Telestrat-specific code may use the <tt/telestrat.h/ header file.
 
 
 <sect1>Telestrat-specific functions<p>
@@ -113,6 +115,20 @@ structures; accessing the struct fields will access the chip registers.
 
 <sect>Loadable drivers<p>
 
+<sect1>TGI<p>
+
+TGI drivers is available on Oric Telestrat with some functions :
+
+<itemize>
+<item>tgi_done
+<item>tgi_install
+<item>tgi_init
+<item>tgi_clear
+<item>tgi_line
+<item>tgi_setpixel
+</itemize>
+
+
 <sect1>Extended memory drivers<p>
 
 No extended memory drivers are currently available for the Telestrat.
@@ -139,16 +155,20 @@ Telestrat manages also mouse, but it had been no handled yet in this version.
 
 <descrip>
 
-Telestrat has a RS232 port, but it's not used
+Telestrat has a RS232 port, but it's not usable in cc65.
 
-</descrip><
+</descrip>
 
 <sect>Limitations<label id="limitations"><p>
 
 <sect1>Disk I/O<p>
 
-Telemon 3.0 handles fopen, fread, fclose primitives. It means that this function will crash the Telestrat because Telemon 2.4 does not have these primitives.
-By the way, Telemon 3.0 uses an extension "ch376 card" which handles sdcard and FAT 32 usb key. In the next version of Telemon, FT DOS, Sedoric, Stratsed will be handled in these 3 primitives (fopen, fread, fclose).
+Telemon 3.0 handles fopen, fread, fclose primitives. It means that this
+function will crash the Telestrat because Telemon 2.4 does not have these
+primitives. By the way, Telemon 3.0 uses an extension "ch376 card" which
+handles sdcard and FAT 32 usb key. In the next version of Telemon, FT DOS,
+Sedoric, Stratsed will be handled in these 3 primitives (fopen, fread,
+fclose).
 
 <itemize>
 <item>fclose