[A83] Re: Graph Buffer


[Prev][Next][Index][Thread]

[A83] Re: Graph Buffer




>AHA!!! I'll try that, thank you very very much !!!
>
>Just a small question arises though, you say "...if you want the TI-OS to
>draw points and lines..." implying there are other (better?) ways to
drawing
>lines and points. Are there any ??? (I'm (currently) not using ION)

Write bits to the graph buffer. It's faster (AFAIK).

>>From: Jkhum98@aol.com
>>Reply-To: assembly-83@lists.ticalc.org
>>To: assembly-83@lists.ticalc.org
>>Subject: [A83] Re: Graph Buffer
>>Date: Wed, 15 Aug 2001 15:00:56 EDT
>>
>>In a message dated 8/15/01 11:45:46 AM Central Daylight Time,
>>typerfuture@hotmail.com writes:
>>
>>
>> > I know that the _grbufcpy_v romcall copy's from the graph buffer to the
>> > screen, but how can I write to the Graph-buffer in the first place?
>> >
>> > After looking at a program in AsmGuru I thought it was a mode-flag with
>> > textwrite (don't know the exact syntax anymore) and I tried this but it
>> > didn't seem the make any difference to the program...
>>
>>When using Vputs-type romcalls, you can do "SET textwrite, (IY+sGrFlags)"
>>to
>>have that small-font text be written to the graph buffer, and then copy
>>plotsscreen to the LCD with _grbufcpy_v (named _grbufcpy for the 83+).  If
>>you want to use TI-OS romcalls to draw points and lines with _IPoint and
>>_ILine and such, then you do "RES plotloc, (IY+plotflags)" to have those
>>pixels be set to plotsscreen also. You must Reset textwrite before
>>returning
>>to the TI-OS or else it wont render correctly in some places, but plotloc
>>doesnt seem to matter if its Set/Reset upon leaving. If you are using
>>common
>>routines like ION's putsprite, largesprite, and getpix, those will all
work
>>with the buffer and not send any data to the LCD until you call _grbufcpy.
>>
>>-Jason Kovacs
>>
>>
>>
>>
>
>
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>
>