[A83] Re: Special ram areas?


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

[A83] Re: Special ram areas?




> Van: BRANDON STERNER <bms9019@osfmail.isc.rit.edu>

It might be a good idea to create a new program and copy your fonthook into
it (or just make one yourself with TASM and bin2var). Give that
'fonthook'-program some distinguishable header. Then make a routine that
knows the last correct adress of the file, checks if it's still there
(fast), looks it up if not (slow), and jumps to it. Such code would be
small, and could fit into the stack area. This way you are compatible with
almost all programs that exist for the Ti83+ I guess.

The header and the name of the program could be the same (to safe space).
Since the lookup routine has stored where your font-hook is, you can use
that info to calculate adresses inside the program (old Ti85 style).

Good luck!

	Henk Poley <><

> You really cant guarantee that that location will not be over written by
> another asm program/application.  In fact there really isn't anywhere in
> ram that you can feel safe there won't be shifting or overwriting unless
> your program is in complete control but the idea of hooks is that they
are
> used while your program is not running.  You could always look up the
> program in the vat but that would be insanely inefficient.
> 
> On Wed, 31 Oct 2001, Ronald Teune wrote:
> 
> > 
> > Hi,
> > 
> > Dunno if I told it, but I'm planning to make a font app, with external
font
> > support, if possible. If I have external fonts, I need to transfer them
to a
> > static location in ram, like ion's 9F60 or so. Is there another such
> > location that won't shift through memory? How does ion do it?
> > Another one: The ti-font is 5 pixels wide, but bytes are 8 bytes. Do I
have
> > to fill the rest with zeroes? Can anyone (Andy Hochhaus?) tell me what
to
> > change if I want to make a big font? And can anyone tell the use of
eea? I
> > don't see it. Maybe if I downloaded it, this will change.





Follow-Ups: