1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

PDP-8, PDP-11, PDP-1, other 18b PDP, Nova, and IBM 1401 simulators.

This commit is contained in:
James Raynard 1997-11-08 20:33:01 +00:00
parent 46bf36ee1a
commit 8588e86aef
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=8523
12 changed files with 222 additions and 0 deletions

36
emulators/sim/Makefile Normal file
View File

@ -0,0 +1,36 @@
# New ports collection makefile for: sim
# Version required: 2.3
# Date created: 7 November 1997
# Whom: jraynard
#
# $Id$
#
DISTNAME= sim_2.3
CATEGORIES= emulators
MASTER_SITES= ftp://minnie.cs.adfa.oz.au/pub/PDP-11/Sims/Supnik_2.3/sources/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}.update1.tar.gz
MAINTAINER= jraynard@FreeBSD.ORG
RESTRICTED= "Non-commercial use only"
NO_WRKSUBDIR= yes
post-configure:
@${CP} ${FILESDIR}/Makefile ${WRKSRC}
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/i1401 ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKDIR}/nova ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKDIR}/pdp1 ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKDIR}/pdp4 ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKDIR}/pdp7 ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKDIR}/pdp8 ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKDIR}/pdp9 ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKDIR}/pdp11 ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKDIR}/pdp15 ${PREFIX}/bin
@${MKDIR} ${PREFIX}/share/sim && ${INSTALL_DATA} ${WRKDIR}/simh_doc.txt \
${PREFIX}/share/sim
.include <bsd.port.mk>

2
emulators/sim/distinfo Normal file
View File

@ -0,0 +1,2 @@
MD5 (sim_2.3.tar.gz) = 4dbd894a56359f6607375d602322c9df
MD5 (sim_2.3.update1.tar.Z) = 278ae979d1f7960aa2e6705496d7657d

View File

@ -0,0 +1,52 @@
CONTROL_FILES= scp.c scp_tty.c
I1401_FILES= i1401_cd.c i1401_cpu.c i1401_iq.c i1401_lp.c \
i1401_mt.c i1401_sys.c
NOVA_FILES= nova_clk.c nova_cpu.c nova_dkp.c nova_dsk.c \
nova_lp.c nova_mta.c nova_pt.c nova_sys.c nova_tt.c
PDP11_FILES= pdp11_cpu.c pdp11_fp.c pdp11_lp.c pdp11_rk.c pdp11_rl.c \
pdp11_rp.c pdp11_rx.c pdp11_stddev.c pdp11_sys.c pdp11_tm.c
PDP18B_FILES= pdp18b_cpu.c pdp18b_drm.c pdp18b_lp.c pdp18b_mt.c \
pdp18b_rf.c pdp18b_rp.c pdp18b_stddev.c pdp18b_sys.c
PDP1_FILES= pdp1_cpu.c pdp1_lp.c pdp1_stddev.c pdp1_sys.c
PDP8_FILES= pdp8_clk.c pdp8_cpu.c pdp8_lp.c pdp8_mt.c pdp8_pt.c \
pdp8_rf.c pdp8_rk.c pdp8_rx.c pdp8_sys.c pdp8_tt.c
all: i1401 nova pdp1 pdp4 pdp7 pdp8 pdp9 pdp11 pdp15
i1401: $(I1401_FILES) i1401_defs.h
cc $(I1401_FILES) $(CONTROL_FILES) -o i1401
nova: $(NOVA_FILES) nova_defs.h
cc $(NOVA_FILES) $(CONTROL_FILES) -lm -o nova
pdp1: $(PDP1_FILES) pdp1_defs.h
cc $(PDP1_FILES) $(CONTROL_FILES) -o pdp1
pdp4: $(PDP18B_FILES) pdp18b_defs.h
cc -DPDP4 $(PDP18B_FILES) $(CONTROL_FILES) -lm -o pdp4
pdp7: $(PDP18B_FILES) pdp18b_defs.h
cc -DPDP7 $(PDP18B_FILES) $(CONTROL_FILES) -lm -o pdp7
pdp8: $(PDP8_FILES) pdp8_defs.h
cc $(PDP8_FILES) $(CONTROL_FILES) -lm -o pdp8
pdp9: $(PDP18B_FILES) pdp18b_defs.h
cc -DPDP9 $(PDP18B_FILES) $(CONTROL_FILES) -lm -o pdp9
pdp11: $(PDP11_FILES) pdp11_defs.h
cc $(PDP11_FILES) $(CONTROL_FILES) -lm -o pdp11
pdp15: $(PDP18B_FILES) pdp18b_defs.h
cc -DPDP15 $(PDP18B_FILES) $(CONTROL_FILES) -lm -o pdp15
clean:
rm -f *.o i1401 nova pdp1 pdp4 pdp7 pdp8 pdp9 pdp11 pdp15
#.include <bsd.prog.mk>

View File

@ -0,0 +1 @@
PDP-8, PDP-11, PDP-1, other 18b PDP, Nova, and IBM 1401 simulators.

10
emulators/sim/pkg-descr Normal file
View File

@ -0,0 +1,10 @@
PDP-8, PDP-11, PDP-1, other 18b PDP, Nova, and IBM 1401 simulators.
The simulators have been tested on VAX VMS, Alpha VMS, Alpha UNIX, Intel
FreeBSD and Intel LINUX; a port to Windows 95 and Windows NT is in progress
but lacks terminal emulation code. Porting to other environments will
require changes to the operating system dependent code in scp_tty.c.
These simulators are capable of running the Unix V5, V6 and V7 binaries
licenced for non-commercial use by SCO. See ${WRKDIR}/simh_doc.txt for
further details.

10
emulators/sim/pkg-plist Normal file
View File

@ -0,0 +1,10 @@
bin/i1401
bin/nova
bin/pdp1
bin/pdp4
bin/pdp7
bin/pdp8
bin/pdp9
bin/pdp11
bin/pdp15
share/sim/simh_doc.txt

36
emulators/simh/Makefile Normal file
View File

@ -0,0 +1,36 @@
# New ports collection makefile for: sim
# Version required: 2.3
# Date created: 7 November 1997
# Whom: jraynard
#
# $Id$
#
DISTNAME= sim_2.3
CATEGORIES= emulators
MASTER_SITES= ftp://minnie.cs.adfa.oz.au/pub/PDP-11/Sims/Supnik_2.3/sources/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}.update1.tar.gz
MAINTAINER= jraynard@FreeBSD.ORG
RESTRICTED= "Non-commercial use only"
NO_WRKSUBDIR= yes
post-configure:
@${CP} ${FILESDIR}/Makefile ${WRKSRC}
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/i1401 ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKDIR}/nova ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKDIR}/pdp1 ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKDIR}/pdp4 ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKDIR}/pdp7 ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKDIR}/pdp8 ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKDIR}/pdp9 ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKDIR}/pdp11 ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKDIR}/pdp15 ${PREFIX}/bin
@${MKDIR} ${PREFIX}/share/sim && ${INSTALL_DATA} ${WRKDIR}/simh_doc.txt \
${PREFIX}/share/sim
.include <bsd.port.mk>

2
emulators/simh/distinfo Normal file
View File

@ -0,0 +1,2 @@
MD5 (sim_2.3.tar.gz) = 4dbd894a56359f6607375d602322c9df
MD5 (sim_2.3.update1.tar.Z) = 278ae979d1f7960aa2e6705496d7657d

View File

@ -0,0 +1,52 @@
CONTROL_FILES= scp.c scp_tty.c
I1401_FILES= i1401_cd.c i1401_cpu.c i1401_iq.c i1401_lp.c \
i1401_mt.c i1401_sys.c
NOVA_FILES= nova_clk.c nova_cpu.c nova_dkp.c nova_dsk.c \
nova_lp.c nova_mta.c nova_pt.c nova_sys.c nova_tt.c
PDP11_FILES= pdp11_cpu.c pdp11_fp.c pdp11_lp.c pdp11_rk.c pdp11_rl.c \
pdp11_rp.c pdp11_rx.c pdp11_stddev.c pdp11_sys.c pdp11_tm.c
PDP18B_FILES= pdp18b_cpu.c pdp18b_drm.c pdp18b_lp.c pdp18b_mt.c \
pdp18b_rf.c pdp18b_rp.c pdp18b_stddev.c pdp18b_sys.c
PDP1_FILES= pdp1_cpu.c pdp1_lp.c pdp1_stddev.c pdp1_sys.c
PDP8_FILES= pdp8_clk.c pdp8_cpu.c pdp8_lp.c pdp8_mt.c pdp8_pt.c \
pdp8_rf.c pdp8_rk.c pdp8_rx.c pdp8_sys.c pdp8_tt.c
all: i1401 nova pdp1 pdp4 pdp7 pdp8 pdp9 pdp11 pdp15
i1401: $(I1401_FILES) i1401_defs.h
cc $(I1401_FILES) $(CONTROL_FILES) -o i1401
nova: $(NOVA_FILES) nova_defs.h
cc $(NOVA_FILES) $(CONTROL_FILES) -lm -o nova
pdp1: $(PDP1_FILES) pdp1_defs.h
cc $(PDP1_FILES) $(CONTROL_FILES) -o pdp1
pdp4: $(PDP18B_FILES) pdp18b_defs.h
cc -DPDP4 $(PDP18B_FILES) $(CONTROL_FILES) -lm -o pdp4
pdp7: $(PDP18B_FILES) pdp18b_defs.h
cc -DPDP7 $(PDP18B_FILES) $(CONTROL_FILES) -lm -o pdp7
pdp8: $(PDP8_FILES) pdp8_defs.h
cc $(PDP8_FILES) $(CONTROL_FILES) -lm -o pdp8
pdp9: $(PDP18B_FILES) pdp18b_defs.h
cc -DPDP9 $(PDP18B_FILES) $(CONTROL_FILES) -lm -o pdp9
pdp11: $(PDP11_FILES) pdp11_defs.h
cc $(PDP11_FILES) $(CONTROL_FILES) -lm -o pdp11
pdp15: $(PDP18B_FILES) pdp18b_defs.h
cc -DPDP15 $(PDP18B_FILES) $(CONTROL_FILES) -lm -o pdp15
clean:
rm -f *.o i1401 nova pdp1 pdp4 pdp7 pdp8 pdp9 pdp11 pdp15
#.include <bsd.prog.mk>

View File

@ -0,0 +1 @@
PDP-8, PDP-11, PDP-1, other 18b PDP, Nova, and IBM 1401 simulators.

10
emulators/simh/pkg-descr Normal file
View File

@ -0,0 +1,10 @@
PDP-8, PDP-11, PDP-1, other 18b PDP, Nova, and IBM 1401 simulators.
The simulators have been tested on VAX VMS, Alpha VMS, Alpha UNIX, Intel
FreeBSD and Intel LINUX; a port to Windows 95 and Windows NT is in progress
but lacks terminal emulation code. Porting to other environments will
require changes to the operating system dependent code in scp_tty.c.
These simulators are capable of running the Unix V5, V6 and V7 binaries
licenced for non-commercial use by SCO. See ${WRKDIR}/simh_doc.txt for
further details.

10
emulators/simh/pkg-plist Normal file
View File

@ -0,0 +1,10 @@
bin/i1401
bin/nova
bin/pdp1
bin/pdp4
bin/pdp7
bin/pdp8
bin/pdp9
bin/pdp11
bin/pdp15
share/sim/simh_doc.txt