[Coco] OS-9 graphics using C
Bob Devries
devries.bob at gmail.com
Tue Apr 20 04:45:29 EDT 2010
Todd,
I'd suggest you spend some time seriously studying the documentation of the
CGFX library. This extension to the C language is available on RTSI:
Docs:
ftp://www.rtsi.com/OS9/OS9_6X09/PROG/Cgfx_7_doc.lzh
Binary files:
ftp://www.rtsi.com/OS9/OS9_6X09/PROG/Cgfx_7.lzh
Source Code:
ftp://www.rtsi.com/OS9/OS9_6X09/PROG/Cgfx_7_src.lzh
Hope that helps.
Regards, Bob Devries
Las Pinas City, Philippines
--
Besides a mathematical inclination, an exceptionally good mastery of one's
native tongue is the most vital asset of a competent programmer.
Edsger W.Dijkstra, 18 June 1975
----- Original Message -----
From: "Todd Wallace" <dragonbytes at cox.net>
To: "CoCoList for Color Computer Enthusiasts" <coco at maltedmedia.com>
Sent: Tuesday, April 20, 2010 6:00 PM
Subject: [Coco] OS-9 graphics using C
Hey guys,
So I have been continuing to experiment and learn to write simple programs
for OS-9 in C. I have reached the point where I'd like to manipulate the
screen, such as background/foreground colors and locating the cursor in
specific parts, etc. The documentation I have checked so far is "Microware
C Compiler User’s Guide" which explains about standard input/output,
compiling, etc. I also have been through "The complete Rainbow guide to
os-9 level II. volume 1: a beginners guide to windows". This has taught me
how to use the "display, wcreate, iniz" commands etc in OS9 to manipulate
the screen. But I still lack the knowledge of how to perform those commands
from C. And finally "The NitrOS-9" level 2 windowing system" which again
taught me alot about manipulating windows in os9 but not how to do any of
that stuff from C. I suspect I will somehow need to use the _os9 system
call in C, but I have no reference as to the possible commands I can do with
that. Any help is appreciated as always! :-)
- Todd Wallace
--
Coco mailing list
Coco at maltedmedia.com
http://five.pairlist.net/mailman/listinfo/coco
More information about the Coco
mailing list