<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Sun, 05 Sep 2004 13:25:07 +0100 (BST)
From   : Brian Widdas <brian@...>
Subject: Re: Softkey definition memory

On Sun, 5 Sep 2004, Steven Flintham wrote:

> On Sat, Sep 04, 2004 at 05:47:19PM +0100, Andrew W 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?
>
> AFAICR, each key definition only took up the minimum possible amount of
> space in the buffer, and if the total size exceeded 255 bytes, the
> attempt to define the expansion which would have gone over the limit
> failed with a 'Bad key' error. But I haven't tried this in years and I
> don't have an emulator handy to experiment with.

A quick experiment with a copy of B-Em suggests that this is, indeed, the
case.

Brian
-- 
   *  *   * *  **       *  * ** ** *   *
   *  ** *      *      ** *   *  *    *
 *    *        *     *  *             *
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>