Date : Mon, 06 Sep 2004 01:17:17 +0100 (BST)
From : Andrew W <a.weston2@...>
Subject: Re: Softkey definition memory
In <URL:news:local.misc> on Sun 05 Sep, Jonathan Graham Harston wrote:
> > According to the BBC memory map I've got there are 255 bytes reserved
> > for softkey definitions. If there are 9 function keys (excluding the
> > cursor keys and Break) on the Beeb surely that would need 10*255? What
> > happens in the event you define all 9?
>
> First, there's *256*, not 255, bytes for function key definitions on the
> BBC,
Of course, I was missing of the first byte.
> secondly, there's *ten*, not nine, function keys excluding the cursor
> keys and Break;
Of course, F0-F9.
> there are sixteen in total.
> Thirdly, you're assuming that
> you need 255 bytes for each function key definition. You don't. You only
> 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?
A.Weston
--