<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Mon, 09 Sep 2002 09:25:25 +0100
From   : Richard_Talbot-Watkins@...
Subject: Re: Regaining disc drive memory work space

Richard Gellman wrote:

> You write your program thus:
>
> 10 IF PAGE<>&E00 GOTO 9000
> ...
> your program
> ...
> 9000 FOR I%=0 TO TOP-PAGE STEP 4:!(I%+&E00)=!(i%+PAGE):NEXT:
>      PAGE=&E00:OLD:RUN

I don't think OLD is allowed in a program, only from the command line.

The virtually identical method I've seen in the past though, as already
mentioned somewhere here, is to program a function key with that
command line and then insert it into the keyboard buffer, e.g.

9000 *KEY 0 F.I%=0TO TOP-PAGE STEP4:I%!&E00=!(I%+PAGE):N.|MPAGE=&E00|MO.
|MRUN|F|M
9010 VDU 21
9020 *FX 15
9030 *FX 138,0,128
9040 END

VDU 21 disables output so that we don't see the command entered on the
screen.  Notice this is re-enabled by inserting a Ctrl-F (|F) into the
buffer within the *KEY 0 definition.

*FX 15 clears the keyboard buffer before inserting function key 0.

--
Rich Talbot-Watkins
SCEE Cambridge
Richard_Talbot-Watkins@...     




**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
postmaster@...     

This footnote also confirms that this email message has been checked
for all known viruses.

**********************************************************************
 SCEE 2002
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>