Well nothing kills like overkill...if you've determined the model the
screen character data is always maintained in RAM at the same spot per
model (as opposed to the raster which is only maintained in the display
drivers). Using varptr peek and poke you could create a special 40
character string that points to the last line. Once you've done that you
can use regular string and print routines to save / restore it which would
be very fast.

Though I am becoming intrigued... I'd have thought the label line would be
saved and restored by the interpreter. If it isn't there must be some way
to hook the event so that the program can repair the display when the user
pops it back down.

-- John.

On Wed, Feb 15, 2023, 10:18 AM B 9 <hacke...@gmail.com> wrote:

> On Wed, Feb 15, 2023 at 7:45 AM John R. Hogerhuis <jho...@pobox.com>
> wrote:
>
>>
>> What is needed is a way to disable the label key feature while the
>> program runs.
>>
>
> Oh. If that's the ultimate goal, I believe you can just use:
>
> KEY OFF
>
> But, perhaps all the machinations to handle the damage from the label key
> were because the plan is to eventually allow labels to be toggled during
> the game.
>
> Even if not, it seems like allowing labels and quickly restoring the line
> they covered up is a technique that I'd like to know how to do. On the
> Tandy 200, you can use the Esc S and Esc R sequences to save and restore a
> line of text, but I'm particularly interested in hearing if anyone knows of
> a portable solution.
>
> —b9
>
>

Reply via email to