From 622d2c4e39f948056e87bb8fd1d03993895e582d Mon Sep 17 00:00:00 2001 From: Wayne Parham Date: Wed, 24 Nov 2021 14:30:19 -0600 Subject: [PATCH 1/4] Added Sym-1 link to documentation doc/index.sgml --- doc/index.sgml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/index.sgml b/doc/index.sgml index 01325529d..3bb085bf6 100644 --- a/doc/index.sgml +++ b/doc/index.sgml @@ -172,6 +172,9 @@ Topics specific to the Watara Supervision Console. + + Topics specific to the Synertek Systems Sym-1. + Topics specific to the Oric Telestrat. From e488d7b2a64be111b832786550e74594cee0ada1 Mon Sep 17 00:00:00 2001 From: Wayne Parham Date: Mon, 7 Feb 2022 19:14:02 -0600 Subject: [PATCH 2/4] Documentation updates for Sym-1. --- doc/funcref.sgml | 100 +++++++++++++++++++++++++++++++++++++++++++++++ doc/sym1.sgml | 4 +- 2 files changed, 102 insertions(+), 2 deletions(-) diff --git a/doc/funcref.sgml b/doc/funcref.sgml index 4dff14dd3..4571d34a3 100644 --- a/doc/funcref.sgml +++ b/doc/funcref.sgml @@ -754,6 +754,16 @@ communication, see also testcode/lib/ser-test.c. +

+ + + + + + + + +

@@ -1669,6 +1679,27 @@ used in presence of a prototype. +beep

+ + + +/ + +The function is specific to the Sym-1. + +, +, +, + + + + bgcolor

@@ -3363,6 +3394,29 @@ int main(void) +dumpt

+ + + +/ + +The function is specific to the Sym-1. +The function is only available as fastcall function, so it may only +be used in presence of a prototype. + +, +, +, + + + + em_commit

@@ -3721,6 +3775,28 @@ switching the CPU into double clock mode. +fdisp

+ + + +/ + +The function is specific to the Sym-1. +The front-panel display buffer mut be loaded prior to calling fdisp. See the DISPLAY struct definition in sym1.h. + +, +, +, + + + + feof

@@ -4961,6 +5037,30 @@ used in presence of a prototype. +loadt

+ + + +/ + +The function is specific to the Sym-1. +The return value is status. Non-zero status indicates an error. +The function is only available as fastcall function, so it may only +be used in presence of a prototype. + +, +, +, + + + + ltoa

diff --git a/doc/sym1.sgml b/doc/sym1.sgml index 60eb1c020..5961984bd 100644 --- a/doc/sym1.sgml +++ b/doc/sym1.sgml @@ -38,7 +38,7 @@ Special locations: Conio support is not currently available for the Sym-1. But stdio console functions are available. Sample programs

-All the samples will run on the "stock" 4KB Sym-1, except for symIO and symNotepad, which require 32KB. These sample programs can be found in the targettest/sym1 directory: +All the samples will run on the "stock" 4KB Sym-1, except for symIO and symNotepad, which require 32KB. These sample programs can be found in the samples/sym1 directory: symHello prints "Hello World!" and then inputs characters, which are echoed on the screen. It also makes a "beep" sound. From 84d639e40c6c84866d1fde9e79b7ac50d4a9377c Mon Sep 17 00:00:00 2001 From: Wayne Parham Date: Mon, 7 Feb 2022 19:46:16 -0600 Subject: [PATCH 3/4] Typo correction. --- doc/funcref.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/funcref.sgml b/doc/funcref.sgml index 4571d34a3..b66344a01 100644 --- a/doc/funcref.sgml +++ b/doc/funcref.sgml @@ -3785,7 +3785,7 @@ switching the CPU into double clock mode. The function is specific to the Sym-1. -The front-panel display buffer mut be loaded prior to calling fdisp. See the DISPLAY struct definition in sym1.h. +The front-panel display buffer must be loaded prior to calling fdisp. See the DISPLAY struct definition in sym1.h. Date: Mon, 7 Feb 2022 19:51:03 -0600 Subject: [PATCH 4/4] Added note about return value being function status. --- doc/funcref.sgml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/funcref.sgml b/doc/funcref.sgml index b66344a01..86c286909 100644 --- a/doc/funcref.sgml +++ b/doc/funcref.sgml @@ -3404,6 +3404,7 @@ int main(void) The function is specific to the Sym-1. +The return value is status. Non-zero status indicates an error. The function is only available as fastcall function, so it may only be used in presence of a prototype.