Re: [Simh] Pascal 1.3 manual for RSX 11 4.6

2016-02-02 Thread Johnny Billquist

On 2016-02-02 18:55, Will Senn wrote:


Yeeha! I compiled a working Pascal program :). Here's how:

logged in as USER password USER (DCL is default):
$ edt HELLO.PAS
Input file does not exist
[EOB]
*i
 program hello(output);

 begin
 write('hello, world');
 end.
 ^Z
[EOB]
*ex
DB0:[USER]HELLO.PAS;1 5 lines

$ pascal HELLO.PAS
$
$ tkb HELLO,HELLO=HELLO,LB:[1,1]PASOTS/LB
$
$ run HELLO
hello, world

Thanks Johnny!


You are welcome.
That said, there are a few points I should make here.

As you log into the demo account, you are getting into DCL.
DCL is a CLI, but it is not the same as MCR. Thus, DCL actually have 
different commands, but normally if DCL do not understand what you 
wrote, it passes it on to MCR, which saved you here.


So, editing in DCL is normally done with the command "EDIT". "EDT" is 
the MCR command.


You are using the DCL PASCAL command, good.

TKB is once more a MCR command. The DCL command would be:

LINK HELLO,LB:[1,1]PASOTS/LIBRARY

DCL commands and qualifiers can be abbreviated. See HELP.

Johnny

--
Johnny Billquist  || "I'm on a bus
  ||  on a psychedelic trip
email: b...@softjar.se ||  Reading murder books
pdp is alive! ||  tryin' to stay hip" - B. Idol
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

Re: [Simh] Pascal 1.3 manual for RSX 11 4.6

2016-02-02 Thread Will Senn



On 2/2/16 8:50 AM, Johnny Billquist wrote:

On 2016-02-02 15:22, Johnny Billquist wrote:

On 2016-02-02 15:07, Will Senn wrote:



On 2/1/16 5:33 PM, Will Senn wrote:

Hi,

Does anyone know where I could find copy of a Pascal manual for RSX
11? Preferably Pascal version 1.3. I'm running it on RSX 11 v4.6 in
SimH and the PAS> prompt is singularly unrevealing about how it is
used (CTRL-D will exit though, which is better than the alternative).

This is the tape for the pascal that I've installed:
ftp://ftp.trailing-edge.com/pub/rsxdists/pascal_v1_3.zip

Thanks,

Will

OK. So I searched help (after building a new environment that worked
properly) and figured out it's some kind of interactive pascal compiler
that can also be run as a command line. So, I compiled a pascal file
from the command line and lo and behold, it produced a nice looking
object file. But, when I tried to link it as is, it appears to 
depend on

an external library. This makes perfect sense, but raises a couple of
questions that I'm hoping y'all might could answer:


"Interactive" meaning you can either get a prompt, and compile several
files while running the compiler, or just do one file at the time and
stop/start the compiler each time, I guess.

But yes, for any language that you want to link, you need to language
specific library included.


1. What's the name/location of the file(s) containing the pascal
delivered external functions (write, print, etc)?


Not sure, but I would suspect it would be LB:[1,1]PASLIB.OLB, but just
do a DIR LB:[1,1]PAS*.OLB, and you should spot it.


2. If you recall a typical Pascal workflow with RSX-11M Plus, what was
it (or was it simply, edit, compile, and link to the above referenced
libraries)?


Yes.
That is normally how you do it with any language.
That said, if you have a little more complex software system, you
usually create a couple of command files containing commands, so that
you don't have to type it all each time.

So, for PASCAL, you might have a COMPILE.CMD, which holds the arguments
you give to the PASCAL compiler, and then you'd just do PAS @COMPILE

And then the same for the linking/task building. Maybe called LINK.CMD,
and then you'd do TKB @LINK

TKB have a lot of functions and features, and having to type it all in
every time is tedious and error prone. Much better to have that in a
file, which you just use.


All that said - assuming the PASCAL library is LB:[1,1]PASLIB.OLB, a 
simple commandline would be:


TKB FOO,FOO=FOO,LB:[1,1]PASLIB/LB

Johnny

___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

Yeeha! I compiled a working Pascal program :). Here's how:

logged in as USER password USER (DCL is default):
$ edt HELLO.PAS
Input file does not exist
[EOB]
*i
program hello(output);

begin
write('hello, world');
end.
^Z
[EOB]
*ex
DB0:[USER]HELLO.PAS;1 5 lines

$ pascal HELLO.PAS
$
$ tkb HELLO,HELLO=HELLO,LB:[1,1]PASOTS/LB
$
$ run HELLO
hello, world

Thanks Johnny!

Will

___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

Re: [Simh] Pascal 1.3 manual for RSX 11 4.6

2016-02-02 Thread lists
On Tue, 2 Feb 2016 06:58:25 -0800
Al Kossow  wrote:

> here is the SPD
> 
> http://h18000.www1.hp.com/info/SP1418/SP1418PF.PDF

That's unbelievable. Is there a way to cruise through all their old doc?
How do you find things of interest?

-- 
Please do not copy me on mailing list replies. I read the mailing list.
RSA 4096 fingerprint 7940 3F02 16D3 AFEE F2F8  ACAA 557C 4B36 98E4 4D49
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

Re: [Simh] Pascal 1.3 manual for RSX 11 4.6

2016-02-02 Thread Armistead, Jason BIS
Al Kossow wrote:

> here is the SPD
>
> http://h18000.www1.hp.com/info/SP1418/SP1418PF.PDF

And the second page of the SPD even mentions "On-line Debugging Technique 
(ODT)" - the topic of one of our other recent SIMH mailing list threads !!!


___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

Re: [Simh] Interdata OS/32 - adding disks

2016-02-02 Thread Don Stalkowski
On Mon, Feb 01, 2016 at 10:14:23PM -0500, Davis Johnson wrote:
> 
> There were two SMD controllers, older "MSM" and newer "IDC". The IDC
> controller relaxed some of the restrictions on mixing drives in the same
> string.

I had an MSM300 and 2 MSM80 drives configured so the controller
shouldn't have been an issue.

> 
> Try configuring multiple identical disks. I know that I've done that with
> SIMH.

I configured 3 MSM80 drives and the results surprised me.

dm0 remained on DSC4 and dm1 was on DSC3 and dm2 on DSC5. I would have
thought dm0 would have been allocated to the first MSM80 drive, DSC3.

The new drives formatted ok.

Ah, I just got it: DSC4 is address FC, DCS3, FD, and DSC5, FE. The
simh drives are assigned by address.

Ok, I went back to my previous sysgen and set/attached the drives
properly and it worked. The problem was that I was getting the drives
all mixed up!

Thanks for the suggestion about using 3 identical drives - it got me
going in the right direction.

Don
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

Re: [Simh] Pascal 1.3 manual for RSX 11 4.6

2016-02-02 Thread Al Kossow

here is the SPD

http://h18000.www1.hp.com/info/SP1418/SP1418PF.PDF


On 2/1/16 3:33 PM, Will Senn wrote:

Hi,

Does anyone know where I could find copy of a Pascal manual for RSX 11?
Preferably Pascal version 1.3. I'm running it on RSX 11 v4.6 in SimH and
the PAS> prompt is singularly unrevealing about how it is used (CTRL-D
will exit though, which is better than the alternative).

This is the tape for the pascal that I've installed:
ftp://ftp.trailing-edge.com/pub/rsxdists/pascal_v1_3.zip

Thanks,

Will
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh


___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

Re: [Simh] Pascal 1.3 manual for RSX 11 4.6

2016-02-02 Thread Johnny Billquist

On 2016-02-02 15:22, Johnny Billquist wrote:

On 2016-02-02 15:07, Will Senn wrote:



On 2/1/16 5:33 PM, Will Senn wrote:

Hi,

Does anyone know where I could find copy of a Pascal manual for RSX
11? Preferably Pascal version 1.3. I'm running it on RSX 11 v4.6 in
SimH and the PAS> prompt is singularly unrevealing about how it is
used (CTRL-D will exit though, which is better than the alternative).

This is the tape for the pascal that I've installed:
ftp://ftp.trailing-edge.com/pub/rsxdists/pascal_v1_3.zip

Thanks,

Will

OK. So I searched help (after building a new environment that worked
properly) and figured out it's some kind of interactive pascal compiler
that can also be run as a command line. So, I compiled a pascal file
from the command line and lo and behold, it produced a nice looking
object file. But, when I tried to link it as is, it appears to depend on
an external library. This makes perfect sense, but raises a couple of
questions that I'm hoping y'all might could answer:


"Interactive" meaning you can either get a prompt, and compile several
files while running the compiler, or just do one file at the time and
stop/start the compiler each time, I guess.

But yes, for any language that you want to link, you need to language
specific library included.


1. What's the name/location of the file(s) containing the pascal
delivered external functions (write, print, etc)?


Not sure, but I would suspect it would be LB:[1,1]PASLIB.OLB, but just
do a DIR LB:[1,1]PAS*.OLB, and you should spot it.


2. If you recall a typical Pascal workflow with RSX-11M Plus, what was
it (or was it simply, edit, compile, and link to the above referenced
libraries)?


Yes.
That is normally how you do it with any language.
That said, if you have a little more complex software system, you
usually create a couple of command files containing commands, so that
you don't have to type it all each time.

So, for PASCAL, you might have a COMPILE.CMD, which holds the arguments
you give to the PASCAL compiler, and then you'd just do PAS @COMPILE

And then the same for the linking/task building. Maybe called LINK.CMD,
and then you'd do TKB @LINK

TKB have a lot of functions and features, and having to type it all in
every time is tedious and error prone. Much better to have that in a
file, which you just use.


All that said - assuming the PASCAL library is LB:[1,1]PASLIB.OLB, a 
simple commandline would be:


TKB FOO,FOO=FOO,LB:[1,1]PASLIB/LB

Johnny

___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

Re: [Simh] Pascal 1.3 manual for RSX 11 4.6

2016-02-02 Thread Johnny Billquist

On 2016-02-02 15:07, Will Senn wrote:



On 2/1/16 5:33 PM, Will Senn wrote:

Hi,

Does anyone know where I could find copy of a Pascal manual for RSX
11? Preferably Pascal version 1.3. I'm running it on RSX 11 v4.6 in
SimH and the PAS> prompt is singularly unrevealing about how it is
used (CTRL-D will exit though, which is better than the alternative).

This is the tape for the pascal that I've installed:
ftp://ftp.trailing-edge.com/pub/rsxdists/pascal_v1_3.zip

Thanks,

Will

OK. So I searched help (after building a new environment that worked
properly) and figured out it's some kind of interactive pascal compiler
that can also be run as a command line. So, I compiled a pascal file
from the command line and lo and behold, it produced a nice looking
object file. But, when I tried to link it as is, it appears to depend on
an external library. This makes perfect sense, but raises a couple of
questions that I'm hoping y'all might could answer:


"Interactive" meaning you can either get a prompt, and compile several 
files while running the compiler, or just do one file at the time and 
stop/start the compiler each time, I guess.


But yes, for any language that you want to link, you need to language 
specific library included.



1. What's the name/location of the file(s) containing the pascal
delivered external functions (write, print, etc)?


Not sure, but I would suspect it would be LB:[1,1]PASLIB.OLB, but just 
do a DIR LB:[1,1]PAS*.OLB, and you should spot it.



2. If you recall a typical Pascal workflow with RSX-11M Plus, what was
it (or was it simply, edit, compile, and link to the above referenced
libraries)?


Yes.
That is normally how you do it with any language.
That said, if you have a little more complex software system, you 
usually create a couple of command files containing commands, so that 
you don't have to type it all each time.


So, for PASCAL, you might have a COMPILE.CMD, which holds the arguments 
you give to the PASCAL compiler, and then you'd just do PAS @COMPILE


And then the same for the linking/task building. Maybe called LINK.CMD, 
and then you'd do TKB @LINK


TKB have a lot of functions and features, and having to type it all in 
every time is tedious and error prone. Much better to have that in a 
file, which you just use.


Johnny

___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

Re: [Simh] Pascal 1.3 manual for RSX 11 4.6

2016-02-02 Thread Will Senn



On 2/1/16 5:33 PM, Will Senn wrote:

Hi,

Does anyone know where I could find copy of a Pascal manual for RSX 
11? Preferably Pascal version 1.3. I'm running it on RSX 11 v4.6 in 
SimH and the PAS> prompt is singularly unrevealing about how it is 
used (CTRL-D will exit though, which is better than the alternative).


This is the tape for the pascal that I've installed:
ftp://ftp.trailing-edge.com/pub/rsxdists/pascal_v1_3.zip

Thanks,

Will
OK. So I searched help (after building a new environment that worked 
properly) and figured out it's some kind of interactive pascal compiler 
that can also be run as a command line. So, I compiled a pascal file 
from the command line and lo and behold, it produced a nice looking 
object file. But, when I tried to link it as is, it appears to depend on 
an external library. This makes perfect sense, but raises a couple of 
questions that I'm hoping y'all might could answer:


1. What's the name/location of the file(s) containing the pascal 
delivered external functions (write, print, etc)?
2. If you recall a typical Pascal workflow with RSX-11M Plus, what was 
it (or was it simply, edit, compile, and link to the above referenced 
libraries)?


Thanks,

Will
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

Re: [Simh] Pascal 1.3 manual for RSX 11 4.6

2016-02-02 Thread Johnny Billquist
Well, depending on how your terminal is set up, ^C would also not finish 
the program. But it would give you a CLI prompt anyway.

^Z is EOF in all DEC OSes, and that would exit from pretty much any program.

Johnny

On 2016-02-02 02:27, Will Senn wrote:

Oops. CTRL-C. Is there a better way?



Sent from my iPhone


On Feb 1, 2016, at 6:51 PM, Johnny Billquist  wrote:


On 2016-02-02 00:33, Will Senn wrote:
Hi,

Does anyone know where I could find copy of a Pascal manual for RSX 11?
Preferably Pascal version 1.3. I'm running it on RSX 11 v4.6 in SimH and
the PAS> prompt is singularly unrevealing about how it is used (CTRL-D
will exit though, which is better than the alternative).

This is the tape for the pascal that I've installed:
ftp://ftp.trailing-edge.com/pub/rsxdists/pascal_v1_3.zip


^D to exit??? Are you sure? That just sounds so unlikely.

Apart from that, I have no idea where any manuals might be found. As for how to 
use it, it should have installed some HELP files, at least. Have you tried HELP 
PAS?

Johnny

--
Johnny Billquist  || "I'm on a bus
  ||  on a psychedelic trip
email: b...@softjar.se ||  Reading murder books
pdp is alive! ||  tryin' to stay hip" - B. Idol
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh


--
Johnny Billquist  || "I'm on a bus
  ||  on a psychedelic trip
email: b...@softjar.se ||  Reading murder books
pdp is alive! ||  tryin' to stay hip" - B. Idol
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh