Date : Wed, 08 Sep 2004 16:27:32 +0100
From : jgh@... (Jonathan Graham Harston)
Subject: Re: Softkey definition memory
Andrew W <a.weston2@...> wrote:
> In <URL:news:local.misc> on Sun 05 Sep, Jonathan Graham Harston wrote:
> > need as much space as is needed for each definition,
> > plus 17 index bytes to define the start and end of each string.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> What do the seventeen bytes represent?
&B00+x contains the offset with &B00 to the start of string x
&B01+x contains the offset with &B00 to after the end of string x
So, on a BBC:
soft key string 0 runs from &B00+?&B00 to &B00+?&B01-1.
soft key string 1 runs from &B00+?&B01 to &B00+?&B02-1.
soft key string 2 runs from &B00+?&B02 to &B00+?&B03-1.
...etc... up to
soft key string 15 runs from &B00+?&B0F to &B00+?&B10-1.
--
J.G.Harston - jgh@... - mdfs.net/User/JGH
Badly formed email is deleted unseen as spam