From: Tony Nicholson <tony@no.spam.net>
Subject: Re: BASIC-Plus-2 Bug?
Date: Thu, 09 Dec 2010 17:33:32 +1100 [thread overview]
Message-ID: <SK_Lo.4486$MF5.2743@viwinnwfe02.internal.bigpond.com> (raw)
In-Reply-To: <idmke7$psd$1@Iltempo.Update.UU.SE>
On 8/12/2010 11:44 AM, Johnny Billquist wrote:
> On 2010-02-19 23:52, Tom Lake wrote:
>> When I'm in the BASIC-Plus-2 environment (under RSTS/E), I try to do and
>> DCL commands such as DIR but I never return to the BASIC2 prompt after
>> the command is completed. Is this a bug
>> or is my copy corrupted?
>
> Wow. Long time since this was asked, but anyway...
> It might just be the way things are. BASIC+2 is a layered product. In
> RSTS/E a user can only run one program at a time, and a program don't
> know what it was chanined to from, so when you invoke a DCL command such
> as DIR, a program is run, and it don't know that it should restart the
> program BASIC+2 afterwards in that case.
>
> This is a difference between a layered product, like BASIC+2, and an
> RTS, like BASIC+, under RSTS/E...
>
> Johnny
>
When you install BASIC-PLUS-2, a non-default installation dialog
(answering NO to the "Do you want the default installation?" question)
will let you select a build of the BP2 run time system.
If this BASIC-PLUS-2 runtime system is subsequently made the active
keyboard monitor, then DCL commands (lines you enter with a dollar sign
as the first character) will pass to DCL to be executed and then return
to the BASIC2 prompt.
$ show runtime
Run-Time Systems:
Name Typ Dev Size Users Comments
...RSX TSK 0(66)K 6 Monitor, KBM
DCL COM DU0: 24(8)K 0 Temp, Addr:103, DF KBM
RT11 SAV DU0: 4(28)K 0 Temp, Addr:149, KBM, CSZ, EMT:255
BASIC BAC DU0: 16(16)K 0 Non-Res, KBM, CSZ
TECO TEC DU0: 10(20)K 0 Non-Res, KBM
BP2 DU0: 1(1)K 0 Non-Res, KBM
$ switch bp2 ! the $ is the DCL prompt
PDP-11 BASIC-PLUS-2 V2.7-00
BASIC2
$ dir *.txt ! must type the $ character
Name .Typ Size Prot Name .Typ Size Prot SY:[11,42]
RSTSE .TXT 7 < 40>
Total of 7 blocks in 1 file in SY:[11,42]
PDP-11 BASIC-PLUS-2 V2.7-00
BASIC2
$ ! enter $ on a line by itself to return to DCL
$ ! this is the DCL prompt again
I never used the interactive mode of BASIC-PLUS-2 much - preferring
instead to use iterations of the text editor, compile and link commands.
Tony
next prev parent reply other threads:[~2010-12-09 6:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-19 22:52 BASIC-Plus-2 Bug? Tom Lake
2010-12-08 0:44 ` Johnny Billquist
2010-12-09 6:33 ` Tony Nicholson [this message]
2010-12-13 0:55 ` Johnny Billquist
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox