[Coco] Kreider OS-9 C Library
Bill Pierce
ooogalapasooo at aol.com
Wed May 2 02:16:06 EDT 2018
Tim, all versions I have of the Kreider C library docs, including the edited version from Dean Leiber's old site, have the same problem.
But looking at the sources for the library, it seems to return after the first <space> is found therefore skipping the word (skipword?). The position of that <space> is returned.
I have uploaded the revised manual to my FTP:
http:yaccs.info/BPIERCECOCO/Stuff/CLib-91 C Library Reference (Carl Kreider).pdf
Here is the sources for both skipbl and skipwd in RMA assembler:
psect skip_a,0,0,0,0,0
nam skip_c
skipbl:
ldx 2,s
_3 ldb ,x+
cmpb #32
beq _3
cmpb #9
beq _3
bra _7
skipwd:
ldx 2,s
_8 ldb ,x+
beq _7
cmpb #32
beq _7
cmpb #9
bne _8
_7 leax -1,x
tfr x,d
rts
endsect
Hope it helps :-)
Bill Pierce
"Charlie stole the handle, and the train it won't stop going, no way to slow down!" - Ian Anderson - Jethro Tull
My Music from the Tandy/Radio Shack Color Computer 2 & 3
https://sites.google.com/site/dabarnstudio/
Co-Contributor, Co-Editor for CocoPedia
http://www.cocopedia.com/wiki/index.php/Main_Page
E-Mail: ooogalapasooo at aol.com
-----Original Message-----
From: tim lindner <tlindner at macmess.org>
To: CoCoList for Color Computer Enthusiasts <coco at maltedmedia.com>
Sent: Wed, May 2, 2018 12:41 am
Subject: [Coco] Kreider OS-9 C Library
I was going over the documentation for this library (I found it onRTSI). I discovered an error.The man pages for SKIPWD and SKIPBL have the same text. Both describe SKIPBL.To anyone who might have their own copy of the man page for SKIPWD: Ifyou have the correct man page for this function please forward it tome.-- --tim lindner"Proper User Policy apparently means Simon Says."-- Coco mailing listCoco at maltedmedia.comhttps://pairlist5.pair.net/mailman/listinfo/coco
More information about the Coco
mailing list