[HECnet] simh vax version

Mark Pizzolato Mark at infocomm.com
Sat Nov 16 12:16:19 PST 2019


On Saturday, November 16, 2019 at 11:26 AM, Bill Cunningham wrote:
> On 11/16/2019 3:40 AM, Mark Pizzolato wrote:
> >
> > You are working on a Linux system which has case sensitive file names, so
> there is a distinct difference between vmst and VMST.  This command is
> missing the device name TQ as well...
> >
> > The simh commands and many of their arguments (ansi-vms and -f) are case
> > insensitive, but filenames are whatever the host system supports.
> >
> > In the latest commit, I've enriched the error messages issued when
> > unrecognized arguments/files are presented to a tape attach.
> >
> > - Mark
> 
> OK I went to git and downloaded using the "clone" button the latest zip file.

If you're using git, "git clone" is what you do to get a local "clone" of a remote repository (including all the git plumbing found in the .git directory).  If you're already working in a directory produced by a previous clone, you shouldn't be able to clone to that directory.

In any case, cloning produces a working directory with the contents of the repo you just cloned.  It DOES NOT produce a zip file.  You can fetch a zip file (also referred to as a "git archive") of the latest code (without any git plumbing) from https://github.com/simh/simh/archive/master.zip You can then expand this zip and build.  Either approach works, but they DO NOT mix.

I explained the above since you do not appear to  have picked up the latest code, which has a commit id of 318b0e32.

> copied to linux's partition and uses "unzip -a simh-master.zip". A new directory
> was created. Here's the new log file. I show all I think is the question.

I just now performed:

mark at Linux:~$ wget https://github.com/simh/simh/archive/master.zip
--2019-11-16 11:53:54--  https://github.com/simh/simh/archive/master.zip
Resolving github.com (github.com)... 192.30.255.112
Connecting to github.com (github.com)|192.30.255.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/simh/simh/zip/master [following]
--2019-11-16 11:54:00--  https://codeload.github.com/simh/simh/zip/master
Resolving codeload.github.com (codeload.github.com)... 192.30.255.121
Connecting to codeload.github.com (codeload.github.com)|192.30.255.121|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘master.zip’

master.zip                             [               <=>                                               ]  18.52M  6.32MB/s    in 2.9s

2019-11-16 11:54:07 (6.32 MB/s) - ‘master.zip’ saved [19415613]

mark at Linux:~$ unzip master.zip
Archive:  master.zip
318b0e32bb874207772686e28cd2ffbcf1da083e
   creating: simh-master/
[...]
  inflating: simh-master/swtp6800/swtp6800/swtp_swtbug_bin.h
mark at Linux:~$ cd simh-master/
mark at Linux:~/simh-master$ make vax
lib paths are: /lib/ /lib/x86_64-linux-gnu/ /lib32/ /usr/lib/ /usr/lib/x86_64-linux-gnu/ /usr/lib/x86_64-linux-gnu/libfakeroot/ /usr/lib32/
include paths are:  /usr/lib/gcc/x86_64-linux-gnu/7/include /usr/local/include /usr/lib/gcc/x86_64-linux-gnu/7/include-fixed /usr/include/x86_64-linux-gnu /usr/include
using libm: /usr/lib/x86_64-linux-gnu/libm.so
using librt: /usr/lib/x86_64-linux-gnu/librt.so
using libpthread: /usr/lib/x86_64-linux-gnu/libpthread.so /usr/include/pthread.h
using libpcreposix: /usr/lib/x86_64-linux-gnu/libpcreposix.so /usr/lib/x86_64-linux-gnu/libpcre.so /usr/include/pcreposix.h /usr/include/pcre.h
using semaphore: /usr/include/semaphore.h
using libdl: /usr/lib/x86_64-linux-gnu/libdl.so /usr/include/dlfcn.h
using mman: /usr/include/x86_64-linux-gnu/sys/mman.h
using libSDL2: /usr/include/SDL2/SDL.h
using libpcap: /usr/include/pcap.h
*** Info ***
*** Info *** vax Simulator is being built with
*** Info *** minimal libpcap networking support
*** Info ***
*** Info ***
*** Info *** Simulators on your Linux platform can also be built with
*** Info *** extended LAN Ethernet networking support by using VDE Ethernet.
*** Info ***
*** Info *** To build simulator(s) with extended networking support you
*** Info *** should install the vde2 package to provide this
*** Info *** functionality for your Linux system:
*** Info ***        $ sudo apt-get install libvdeplug-dev
*** Info ***
***
*** vax Simulator being built with:
*** - compiler optimizations and no debugging support. GCC Version: 7.4.0.
*** - dynamic networking support using Linux provided libpcap components.
*** - Local LAN packet transports: PCAP TAP NAT(SLiRP)
*** - video capabilities provided by libSDL2 (Simple Directmedia Layer).
*** - Per simulator tests will be run.
***
*** git commit id is 318b0e32bb874207772686e28cd2ffbcf1da083e.
*** git commit time is 2019-11-16T00:39:01-08:00.
***
gcc -std=gnu99 -U__STRICT_ANSI__  -O2 -finline-functions -fgcse-after-reload -fpredictive-commoning -fipa-cp-clone -fno-unsafe-loop-optimizations -fno-strict-overflow -Wno-unused-result -Wno-format-truncation -DSIM_GIT_COMMIT_ID=318b0e32bb874207772686e28cd2ffbcf1da083e -DSIM_GIT_COMMIT_TIME=2019-11-16T00:39:01-08:00  -DSIM_COMPILER="GCC Version: 7.4.0" -I . -D_GNU_SOURCE -DUSE_READER_THREAD -DSIM_ASYNCH_IO  -DHAVE_PCREPOSIX_H -DHAVE_SEMAPHORE -DHAVE_SYS_IOCTL -DHAVE_LINUX_CDROM -DHAVE_DLOPEN=so -DHAVE_UTIME -DHAVE_GLOB -DHAVE_SHM_OPEN  VAX/vax_cpu.c VAX/vax_cpu1.c VAX/vax_fpa.c VAX/vax_io.c VAX/vax_cis.c VAX/vax_octa.c  VAX/vax_cmode.c VAX/vax_mmu.c VAX/vax_stddev.c VAX/vax_sysdev.c VAX/vax_sys.c  VAX/vax_syscm.c VAX/vax_syslist.c VAX/vax_vc.c VAX/vax_lk.c VAX/vax_vs.c VAX/vax_2681.c PDP11/pdp11_rl.c PDP11/pdp11_rq.c PDP11/pdp11_ts.c PDP11/pdp11_dz.c PDP11/pdp11_lp.c PDP11/pdp11_tq.c PDP11/pdp11_xq.c PDP11/pdp11_vh.c PDP11/pdp11_cr.c PDP11/pdp11_td.c PDP11/pdp11_io_lib.c scp.c sim_console.c sim_fio.c sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c sim_disk.c sim_serial.c sim_video.c sim_imd.c sim_card.c -DVM_VAX -DUSE_INT64 -DUSE_ADDR64 -DUSE_SIM_VIDEO -I VAX -I PDP11 -DHAVE_PCAP_NETWORK -I/usr/include/ -DBPF_CONST_STRING -DUSE_SHARED -DHAVE_TAP_NETWORK -Islirp -Islirp_glue -Islirp_glue/qemu -DHAVE_SLIRP_NETWORK -DUSE_SIMH_SLIRP_DEBUG slirp/*.c slirp_glue/*.c -DHAVE_LIBSDL -DUSE_SIM_VIDEO `/usr/bin/sdl2-config --cflags` `/usr/bin/sdl2-config --libs` -o BIN/microvax3900 -lm -lrt -lpthread -lpcreposix -lpcre -ldl
cp BIN/microvax3900 BIN/vax
BIN/microvax3900 /home/mark/simh-master/VAX/tests/vax-diag_test.ini

MicroVAX 3900 simulator V4.0-0 Current        git commit id: 318b0e32
Running Hardware Core Test (EHKAA)

*** PASSED - MicroVAX 3900 Hardware Core Instruction test EHKAA

mark at Linux:~/simh-master$ BIN/vax

MicroVAX 3900 simulator V4.0-0 Current        git commit id: 318b0e32
sim> att tq -f ansi-vms Hob*
file not found: Hob*
Can't open ANSI-VMS format tape image: Hob*
sim>

Notice that I didn't expect success here.  I'm just demonstrating 1) the updated commit id, and 2) the error messages issued when errors occur.

- Mark



More information about the Hecnet-list mailing list