From 435f417c6418b0c6bc3e0f48ec5da2593cb50d89 Mon Sep 17 00:00:00 2001 From: IrgendwerA8 Date: Thu, 21 Mar 2019 21:04:24 +0100 Subject: [PATCH] Moved documentation to funcref. --- doc/funcref.sgml | 29 +++++++++++++++++++++++++++++ doc/index.sgml | 3 --- doc/specialmath.sgml | 38 -------------------------------------- 3 files changed, 29 insertions(+), 41 deletions(-) delete mode 100644 doc/specialmath.sgml diff --git a/doc/funcref.sgml b/doc/funcref.sgml index bfd687b6f..f995d2982 100644 --- a/doc/funcref.sgml +++ b/doc/funcref.sgml @@ -578,6 +578,12 @@ communication, see also testcode/lib/ser-test.c. +

+ + + + +

@@ -1020,6 +1026,29 @@ It returns 1 if it does. +_mul20

+ + + +/ + + + +_mul40

+ + + +/ + + _poserror

diff --git a/doc/index.sgml b/doc/index.sgml index 55e69f40f..aecfb7de9 100644 --- a/doc/index.sgml +++ b/doc/index.sgml @@ -97,9 +97,6 @@ Describes Christian Krüger's macro package for writing self modifying assembler code. - - Library for speed optimized math functions. - Describes the o65 file format that is used for dynamically loadable modules diff --git a/doc/specialmath.sgml b/doc/specialmath.sgml deleted file mode 100644 index 5e2fd90a7..000000000 --- a/doc/specialmath.sgml +++ /dev/null @@ -1,38 +0,0 @@ - - -

-Special math functions -<author>Christian Krüger - -<abstract> -This library provides functions for speed optimized math operations. -</abstract> - -<!-- Table of contents --> -<toc> - -<!-- Begin the document --> - -<sect>Multiplication<p> - -When accessing screen memory often a multiplication of the vertical position is needed to calculate -the target address. A quite common horizontal span for 8-bit systems is 20 or 40 bytes (beside e.g. 32 bytes, where the multiplication can be accomplished by shifting 5 times). - -<p> -<tscreen><verb> - unsigned int __fastcall__ _mul20(unsigned char value); -</verb></tscreen> - -The 8 bit <tt>value</tt> is multiplied by 20 and returned as 16 bit value. -</p> - -<p> -<tscreen><verb> - unsigned int __fastcall__ _mul40(unsigned char value); -</verb></tscreen> - -The 8 bit <tt>value</tt> is multiplied by 40 and returned as 16 bit value. -</p> - - -</article> -- 2.39.2