A89: Re: how to draw lines and stuff with TI-GCC
[Prev][Next][Index][Thread]
A89: Re: how to draw lines and stuff with TI-GCC
> how am l supposed to use the library functions in graphlib.h with TI-GCC?
l
> don't understand how l'm supposed to do something like fill(0,0,30,30,2)
(in
> the graphlib.h file) with this program. l can #define it at the top of my
> source code, and put fill(0,0,30,30,2); in my program but it doesn't do
> anything. Am l supposed to somehow switch to a graph mode or something?
And
> also what is the point of void clr_scr(); in the source code? And also
one
> more thing, where is the DrawStr command (in the source code) listed?
There is no graphlib.h for TI-GCC - you have to write one yourself. Having
done this for the two libraries in Prosit I can tell you that it's not that
hard. Email or contact me on ICQ at 419327 if you need help.
As for DrawStr, it's in romcalls.h.
/ Niklas Brunlid
Check out Prosit for the TI-89 / TI-92 Plus at http://c625.sparta.lu.se
Random PQF Quote follows:
Ankh-Morpork had dallied with many forms of government and had ended up
with that form of democracy known as One Man, One Vote. The Patrician was
the Man; he had the Vote.
-- Discworld politics explained
(Terry Pratchett, Mort)
References: