[A83] Re: What the heck is RST???


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

[A83] Re: What the heck is RST???




I also meant to mention that your idea of having your own vputmap would
speed it up greatly.. if you used your own font. TI's vputmap is... shall we
say, not designed with speed in mind. personally, i'd recommend adapting
patrick davidson's fast sprite routine. it's very fast -- just about the
only thing faster is having a bunch of rotate tables hard coded into your
app, and that amount of space is hardly worth the small speed increase.

-----Original Message-----
From: assembly-83-bounce@lists.ticalc.org
[mailto:assembly-83-bounce@lists.ticalc.org]On Behalf Of Hyperbyte
Sent: Saturday, July 07, 2001 3:41 PM
To: assembly-83@lists.ticalc.org
Subject: [A83] Re: What the heck is RST???



Ok, what I'm trying to do is read "basic text" files (containing
tokens) directly from flash. It needs to be done very quick, since
it needs to be translated into human readable text on the fly.

The program I've written so far handles only unarchived variables,
but even then it takes a little while to display al of the page.
So I thought having _vputmap in the program (maybe even with an
own font) would speed up the displaying process.
Since every byte is read separately I like as much speed gain as possible.

I'm also a bit reluctant of copying a selected area of the program to a
certain
part of the ram, because of the possiblity of splitting a two-byte token in
half. I'm afraid unarchiving the program wouldn't be very handy if the ram
is almost full.

Also, I like to do things the unconventional way :-)

--Peter-Martijn



> Well I think he was thinking of wanting to do it quickly, i.e. probably
> direct access. Perhaps he didn't know of FlashToRAM, as I didn't either.
>
> -----Original Message-----
> From: assembly-83-bounce@lists.ticalc.org
> [mailto:assembly-83-bounce@lists.ticalc.org]On Behalf Of Dan Englender
> Sent: Saturday, July 07, 2001 3:12 PM
> To: assembly-83@lists.ticalc.org
> Subject: [A83] Re: What the heck is RST???
>
> At risk of sounding ignorant because I didn't read the earlier parts of
the
> conversation...If all he's doing is reading variables from Flash, why
would
> he need to do any so complicated as the RAM page switching scheme?
>
> What I do to read variables from Flash (in MirageOS anyhow), is just copy
> all the archived VAT/header information to a bit of RAM using FlashToRAM,
> sort out from that where the data actually starts, and then store that
> pointer.  At that point, you can just use FlashToRAM, LoadCIndPaged, or
the
> PagedGet routines to read the data from Flash, or load it into a buffer in
> RAM.
>
> -Dan Englender
>
>
>





References: