Re: [Simh] Problem with default builds

2015-08-06 Thread khandy21yo
Wasnr rgere a recent change to tge SWMASK macro,
Gcc peobably optimizes this reference, but dev c must not.

 Original message 
From Alan Frisbie  
Date: 08/06/2015  8:53 PM  (GMT-07:00) 
To SIMH@trailing-edge.com 
Subject [Simh] Problem with default builds 
 
Another build error.   Unfortunately, I do not have the knowledge
to fix it myself.

Today, 6-Aug-2015, I downloaded the current simh-master.zip from
github.

My host is an Alpha XP1000 running VMS v8.4

Using MMK from the VMS Freeware 8 CD, I tried to do a default
build of all SIMH simulators.   All went well until the build of
ID16-AXP.OLB Library.   At that point I got the error:

    { "DP", SWMASK ('F'), 9, 0x32, o_DP0, o_DPF },
^
%CC-E-NEEDCONSTEXPR, In the initializer for dboot_tab[1].sw,
"sim_swmask(...)" is not constant, but occurs in a context that requires a 
constant
expression.
at line number 318 in file 
DKA200:[FRISBIE.SIMH.SIMH-MASTER.INTERDATA]ID16_DBOOT.C;4
%MMK-F-ERRUPD, error status %X10B91262 occurred when updating
target SYS$DISK:[.BIN.VMS.LIB]ID16-AXP.OLB


The log of the build (with lots of successful stuff snipped)
follows below.

Thanks,
Alan Frisbie

--

$ unzip simh-master.zip
Archive:  DKA200:[FRISBIE.SIMH]SIMH-MASTER.ZIP;5
7c7b44e409f05751c960a614dbb1e2abde22da60
replace [.simh-master].gitattributes? [y]es, [n]o, [A]ll, [N]one, [r]ename: A

  inflating: [.simh-master].gitattributes
  inflating: [.simh-master].gitignore
  inflating: [.simh-master]0readmeAsynchIO.txt
  inflating: [.simh-master]0readme_39.txt
...
  inflating: [.simh-master.swtp6800.swtp6800]swtp6800mp-a2.ini
  inflating: [.simh-master.swtp6800.swtp6800]swtp_defs.h
  inflating: [.simh-master.swtp6800.swtp6800]swtp_swtbug_bin.h
$
$ set default [.simh-master]
$ $ set file/attri=rfm:stm makefile,*.mms,[...]*.c,[...]*.h,[...]*.txt
$
$ mmk
$!
$! Building The SYS$DISK:[.BIN.VMS.LIB]SIMH-NONET-AXP.OLB
Library.
$!
$ CC/DECC/PREF=ALL/DEBUG/OPT=(LEV=5)/ARCH=HOST 
/NEST=PRIMARY/NAME=(AS_IS,SHORT)/DEF=("_LA
RGEFILE","SIM_ASYNCH_IO=1")  /OBJ=SYS$DISK:[.BIN.VMS.LIB.BLD-AXP]
SYS$DISK:[]SIM_CONSOLE.C
,SYS$DISK:[]SIM_SOCK.C,SYS$DISK:[]SIM_TMXR.C,SYS$DISK:[]SIM_ETHER.C,SYS$DISK:[]SIM_TAPE.C,
SYS$DISK:[]SIM_FIO.C,SYS$DISK:[]SIM_TIMER.C,SYS$DISK:[]SIM_DISK.C,SYS$DISK:[]SIM_SERIAL.C,
SYS$DISK:[]SIM_VIDEO.C
$ IF (F$SEARCH("SYS$DISK:[.BIN.VMS.LIB]SIMH-NONET-AXP.OLB").EQS."")
THEN  LIBRARY/CREATE SYS$DISK:[.BIN.VMS.LIB]SIMH-NONET-AXP.OLB
$ LIBRARY/REPLACE SYS$DISK:[.BIN.VMS.LIB]SIMH-NONET-AXP.OLB
SYS$DISK:[.BIN.VMS.LIB.BLD-AXP]*.OBJ
$ DELETE/NOLOG/NOCONFIRM SYS$DISK:[.BIN.VMS.LIB.BLD-AXP]*.OBJ;*
$!
$! Building The SYS$DISK:[.BIN.VMS.LIB]ALTAIR-AXP.OLB Library.
...
...
$! IBM1130 done
$!
$! Building The SYS$DISK:[.BIN.VMS.LIB]ID16-AXP.OLB Library.
$!
$ CC/DECC/PREF=ALL/DEBUG/OPT=(LEV=5)/ARCH=HOST 
/NEST=PRIMARY/NAME=(AS_IS,SHORT)/INCL=(SYS
$DISK:[],SYS$DISK:[.INTERDATA])/DEF=("_LARGEFILE","SIM_ASYNCH_IO=1") 
/OBJ=SYS$DISK:[.BIN.
VMS.LIB.BLD-AXP]
SYS$DISK:[.INTERDATA]ID16_CPU.C,SYS$DISK:[.INTERDATA]ID16_SYS.C,SYS$DISK:
[.INTERDATA]ID_DP.C,SYS$DISK:[.INTERDATA]ID_FD.C,SYS$DISK:[.INTERDATA]ID_FP.C,SYS$DISK:[.I
NTERDATA]ID_IDC.C,SYS$DISK:[.INTERDATA]ID_IO.C,SYS$DISK:[.INTERDATA]ID_LP.C,SYS$DISK:[.INT
ERDATA]ID_MT.C,SYS$DISK:[.INTERDATA]ID_PAS.C,SYS$DISK:[.INTERDATA]ID_PT.C,SYS$DISK:[.INTER
DATA]ID_TT.C,SYS$DISK:[.INTERDATA]ID_UVC.C,SYS$DISK:[.INTERDATA]ID16_DBOOT.C,SYS$DISK:[.IN
TERDATA]ID_TTP.C

    { "DP", SWMASK ('F'), 9, 0x32, o_DP0, o_DPF },
^
%CC-E-NEEDCONSTEXPR, In the initializer for dboot_tab[1].sw,
"sim_swmask(...)" is not constant, but occurs in a context that requires a 
constant
expression.
at line number 318 in file 
DKA200:[FRISBIE.SIMH.SIMH-MASTER.INTERDATA]ID16_DBOOT.C;4
%MMK-F-ERRUPD, error status %X10B91262 occurred when updating target 
SYS$DISK:[.BIN.VMS.LI
B]ID16-AXP.OLB
$

--
___
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

[Simh] Problem with default builds

2015-08-06 Thread Alan Frisbie
Another build error.   Unfortunately, I do not have the knowledge
to fix it myself.

Today, 6-Aug-2015, I downloaded the current simh-master.zip from
github.

My host is an Alpha XP1000 running VMS v8.4

Using MMK from the VMS Freeware 8 CD, I tried to do a default
build of all SIMH simulators.   All went well until the build of
ID16-AXP.OLB Library.   At that point I got the error:

{ "DP", SWMASK ('F'), 9, 0x32, o_DP0, o_DPF },
^
%CC-E-NEEDCONSTEXPR, In the initializer for dboot_tab[1].sw,
"sim_swmask(...)" is not constant, but occurs in a context that requires a 
constant
expression.
at line number 318 in file 
DKA200:[FRISBIE.SIMH.SIMH-MASTER.INTERDATA]ID16_DBOOT.C;4
%MMK-F-ERRUPD, error status %X10B91262 occurred when updating
target SYS$DISK:[.BIN.VMS.LIB]ID16-AXP.OLB


The log of the build (with lots of successful stuff snipped)
follows below.

Thanks,
Alan Frisbie

--

$ unzip simh-master.zip
Archive:  DKA200:[FRISBIE.SIMH]SIMH-MASTER.ZIP;5
7c7b44e409f05751c960a614dbb1e2abde22da60
replace [.simh-master].gitattributes? [y]es, [n]o, [A]ll, [N]one, [r]ename: A

  inflating: [.simh-master].gitattributes
  inflating: [.simh-master].gitignore
  inflating: [.simh-master]0readmeAsynchIO.txt
  inflating: [.simh-master]0readme_39.txt
...
  inflating: [.simh-master.swtp6800.swtp6800]swtp6800mp-a2.ini
  inflating: [.simh-master.swtp6800.swtp6800]swtp_defs.h
  inflating: [.simh-master.swtp6800.swtp6800]swtp_swtbug_bin.h
$
$ set default [.simh-master]
$ $ set file/attri=rfm:stm makefile,*.mms,[...]*.c,[...]*.h,[...]*.txt
$
$ mmk
$!
$! Building The SYS$DISK:[.BIN.VMS.LIB]SIMH-NONET-AXP.OLB
Library.
$!
$ CC/DECC/PREF=ALL/DEBUG/OPT=(LEV=5)/ARCH=HOST 
/NEST=PRIMARY/NAME=(AS_IS,SHORT)/DEF=("_LA
RGEFILE","SIM_ASYNCH_IO=1")  /OBJ=SYS$DISK:[.BIN.VMS.LIB.BLD-AXP]
SYS$DISK:[]SIM_CONSOLE.C
,SYS$DISK:[]SIM_SOCK.C,SYS$DISK:[]SIM_TMXR.C,SYS$DISK:[]SIM_ETHER.C,SYS$DISK:[]SIM_TAPE.C,
SYS$DISK:[]SIM_FIO.C,SYS$DISK:[]SIM_TIMER.C,SYS$DISK:[]SIM_DISK.C,SYS$DISK:[]SIM_SERIAL.C,
SYS$DISK:[]SIM_VIDEO.C
$ IF (F$SEARCH("SYS$DISK:[.BIN.VMS.LIB]SIMH-NONET-AXP.OLB").EQS."")
THEN  LIBRARY/CREATE SYS$DISK:[.BIN.VMS.LIB]SIMH-NONET-AXP.OLB
$ LIBRARY/REPLACE SYS$DISK:[.BIN.VMS.LIB]SIMH-NONET-AXP.OLB
SYS$DISK:[.BIN.VMS.LIB.BLD-AXP]*.OBJ
$ DELETE/NOLOG/NOCONFIRM SYS$DISK:[.BIN.VMS.LIB.BLD-AXP]*.OBJ;*
$!
$! Building The SYS$DISK:[.BIN.VMS.LIB]ALTAIR-AXP.OLB Library.
...
...
$! IBM1130 done
$!
$! Building The SYS$DISK:[.BIN.VMS.LIB]ID16-AXP.OLB Library.
$!
$ CC/DECC/PREF=ALL/DEBUG/OPT=(LEV=5)/ARCH=HOST 
/NEST=PRIMARY/NAME=(AS_IS,SHORT)/INCL=(SYS
$DISK:[],SYS$DISK:[.INTERDATA])/DEF=("_LARGEFILE","SIM_ASYNCH_IO=1") 
/OBJ=SYS$DISK:[.BIN.
VMS.LIB.BLD-AXP]
SYS$DISK:[.INTERDATA]ID16_CPU.C,SYS$DISK:[.INTERDATA]ID16_SYS.C,SYS$DISK:
[.INTERDATA]ID_DP.C,SYS$DISK:[.INTERDATA]ID_FD.C,SYS$DISK:[.INTERDATA]ID_FP.C,SYS$DISK:[.I
NTERDATA]ID_IDC.C,SYS$DISK:[.INTERDATA]ID_IO.C,SYS$DISK:[.INTERDATA]ID_LP.C,SYS$DISK:[.INT
ERDATA]ID_MT.C,SYS$DISK:[.INTERDATA]ID_PAS.C,SYS$DISK:[.INTERDATA]ID_PT.C,SYS$DISK:[.INTER
DATA]ID_TT.C,SYS$DISK:[.INTERDATA]ID_UVC.C,SYS$DISK:[.INTERDATA]ID16_DBOOT.C,SYS$DISK:[.IN
TERDATA]ID_TTP.C

{ "DP", SWMASK ('F'), 9, 0x32, o_DP0, o_DPF },
^
%CC-E-NEEDCONSTEXPR, In the initializer for dboot_tab[1].sw,
"sim_swmask(...)" is not constant, but occurs in a context that requires a 
constant
expression.
at line number 318 in file 
DKA200:[FRISBIE.SIMH.SIMH-MASTER.INTERDATA]ID16_DBOOT.C;4
%MMK-F-ERRUPD, error status %X10B91262 occurred when updating target 
SYS$DISK:[.BIN.VMS.LI
B]ID16-AXP.OLB
$

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

Re: [Simh] off-topic basic translator

2015-08-06 Thread Ton van Overbeek
For a cookbook look at
http://www.wherry.com/gadgets/retrocomputing/vax-simh.html
It includes setting up TCP/IP.
It is for Linux, but most of it is applicable to OS X too.
At the end is how to install Basic.
Just tried to install Basic on my OS X simh running VAX VMS 7.3. Installs
fine.

Ton van Overbeek



>


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

Re: [Simh] off-topic basic translator

2015-08-06 Thread Robert Thomas
I'm sorry.  I've only installed it on Windows.  I'm sure others have experience 
with OS-X.  The networking and other installation issues are addressed in 
http://simh.trailing-edge.com/pdf/simh_faq.pdf see specifically:

2.3 How do I install SIMH on Unix/Linux/OS-X?
Ethernet support is available only on Linux, OS-X, NetBSD, OpenBSD, FreeBSD and 
Solaris.
- Unzip the archive of sources to a new directory. You must specify the -a 
switch to unzip for
proper conversion of Windows cr-lf sequences to UNIX newline sequences.
- The makefile included in the simh source distribution is a GNU make makefile. 
Some systems
have GNU make as the default make (i.e. Linux). If your system’s make is not 
GNU make, then 
be sure to install the GNU make package first and then use the ‘gmake’ command 
instead of
‘make’:
% make all
- If you want Ethernet support in the PDP-11, VAX or VAX780, you should install 
your OS
distribution’s libpcap-devel package prior to building the simulator:
- More details about Ethernet installation and configuration can be found in the
0readme_ethernet.txt file in the simh sources. 


Sincerely,
Robert F. Thomas

 44 Industrial Way 
Norwood, MA USA 02062
N  Office Phone - (781) 329-9200
O mail to: r...@asthomas.com
 

-Original Message-
From: Dr Eberhard Lisse [mailto:e...@lisse.na] 
Sent: Thursday, August 6, 2015 11:22 AM
To: r...@asthomas.com
Cc: simh@trailing-edge.com; ni...@roberts.co.uk; sdeerh...@gmail.com
Subject: Re: [Simh] off-topic basic translator

Robert,

do you have a cookbook on how to install (and in particular the networking)?

I am struggling with this on Mac.

It's only a blast from the past (Medical School 30 years ago) but I would like 
to run it eventually on a MacPro and perhaps even on Ubuntu 14.04 (outward 
facing :-)-O).

greetings, el


-- 
Dr. Eberhard W. Lisse  \/ Obstetrician & Gynaecologist (Saar)
e...@lisse.na/ * |   Telephone: +264 81 124 6733 (cell)
PO Box 8421 \ /
Bachbrecht, Namibia ;/

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

Re: [Simh] off-topic basic translator

2015-08-06 Thread Dr Eberhard Lisse
Robert,

do you have a cookbook on how to install (and in particular the
networking)?

I am struggling with this on Mac.

It's only a blast from the past (Medical School 30 years ago) but I
would like to run it eventually on a MacPro and perhaps even on
Ubuntu 14.04 (outward facing :-)-O).

greetings, el


On 2015-08-06 15:45, Robert Thomas wrote:
> I’m sure that I’m missing something, but VAX/VMS runs very
> well under SIMH. If you have access to the hobbyist program it is
> straightforward to install VMS and Basic.  We have a number of
> very old Basic programs that haven’t yet been converted to
> Itanium VMS 8.4 that when they are needed (approximately once per
> year), we start SIMH on a PC and boot the “MicroVAX”.  It
> never ceases to amaze us how small and efficient SIMH, the VAX
> emulators, VMS with all of the layered products are when compared
> to the “modern” operating systems.  The performance of the
> emulated MicroVAX on a relatively recent PC is very good.
> 
>  
> 
> When properly configured, the emulated MicroVAX system can become
> part of a cluster (although there is no official support for mixed
> VAX 7.3 and Itanium-64 8.4 clusters).  We are able to use
> DECWindows/MOTIF to connect from PC’s and VMS systems to the
> emulated system.
> 
>  
> 
> Sincerely,
> 
> Robert F. Thomas
[...]

-- 
Dr. Eberhard W. Lisse  \/ Obstetrician & Gynaecologist (Saar)
e...@lisse.na/ * |   Telephone: +264 81 124 6733 (cell)
PO Box 8421 \ /
Bachbrecht, Namibia ;/
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

Re: [Simh] off-topic basic translator

2015-08-06 Thread Robert Thomas
I'm sure that I'm missing something, but VAX/VMS runs very well under SIMH.
If you have access to the hobbyist program it is straightforward to install
VMS and Basic.  We have a number of very old Basic programs that haven't yet
been converted to Itanium VMS 8.4 that when they are needed (approximately
once per year), we start SIMH on a PC and boot the "MicroVAX".  It never
ceases to amaze us how small and efficient SIMH, the VAX emulators, VMS with
all of the layered products are when compared to the "modern" operating
systems.  The performance of the emulated MicroVAX on a relatively recent PC
is very good.

 

When properly configured, the emulated MicroVAX system can become part of a
cluster (although there is no official support for mixed VAX 7.3 and
Itanium-64 8.4 clusters).  We are able to use DECWindows/MOTIF to connect
from PC's and VMS systems to the emulated system. 

 

Sincerely,

Robert F. Thomas

A. S. Thomas, Inc.

 44 Industrial Way 
Norwood, MA USA 02062
*  Office Phone - (781) 329-9200
* mail to: r...@asthomas.com

 

[Disclaimer] WARNING- This document may contain technical data whose export
is restricted by the Arms Export Control Act (Title 22, U.S.C., SEQ 2751 ET
SEQ) or the Export Administration Act (Title 50, U.S.C., APP 2401-2420).
Violations of these export laws are subject to severe criminal penalties.
This e-mail is strictly confidential and intended solely for the addressee.
It may contain information which is covered by legal, professional, or other
privilege. If you are not the intended addressee you must not use, disclose,
or copy this transmission. This E-mail is not intended to impose nor shall
it be construed as imposing any legally binding obligation upon A. S.
Thomas, Inc. ("AST"), and/or any subsidiaries thereof or associated
companies therof. Neither AST nor any subsidiaries thereof or associated
companies thereof gives any representation or warranty as to the accuracy or
completeness of the contents of this E-mail. AST shall not be held liable to
any person resulting from the use of any information contained in this
E-mail and shall not be liable to any person who acts or omits to do
anything in reliance upon it.  Unendorsed export or re-export is prohibited.


 

 

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

Re: [Simh] off-topic basic translator

2015-08-06 Thread Ken Cornetet
I don’t know how feasible this would be for VAX code, but this might work: 
write a converter/emulator that reads the relocatable object code for VAX basic 
(assuming you can get it – I don’t know how VAX software is distributed) and 
converts it to C code. You’d have to write wrappers that emulate VAX library 
routines using posix routines.

If it worked, you’d have a portable version of VAX basic.

I’ve been thinking about trying this with the OS that I use simh for – 
hp1000/RTE



From: Simh [mailto:simh-boun...@trailing-edge.com] On Behalf Of khandy21yo
Sent: Wednesday, August 05, 2015 8:33 PM
To: Dan Gahlinger; simh@trailing-edge.com
Subject: Re: [Simh] off-topic basic translator

Tgat looks like vt52 sewuence. To work on more terminal screens you might want 
to upgrade to ansii vt100 at leasr. Some terminals dont understand the vt52 
codes.


 Original message 
From Dan Gahlinger mailto:dgahl...@hotmail.com>>
Date: 08/05/2015 1:56 PM (GMT-07:00)
To simh@trailing-edge.com
Subject Re: [Simh] off-topic basic translator

Another issue I'm running into which should be fun, is VT escape sequences

eg:
170 PRINT ESC+"Y"+CHR$(53)+CHR$(33);\INPUT #1;"PRESS RETURN TO CONTINUE";A$

That puts the cursor at a specific place on screen,
these were built on VT-52 and VT-100 terminals with fixed screen size.
using Linux you can get ANSI support, but the screen could be a vastly 
different size,
of course, we can just make it run like normal.

the other problem is the escape sequences themselves may not work any more.
they seem to work in Linux with ANSI enabled,
will they work on Mac CLI (maybe) or DOS/Windows ? portability is important.

But, I'm not going to do a ton of work writing cursor routines for a dozen 
basic programs from the 80's.

and btw freepascal has incredible string handling for those doubters out 
there...

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