1
0
mirror of https://github.com/livingcomputermuseum/cpus-pdp8.git synced 2026-02-26 17:04:27 +00:00

basic instruction tests

This commit is contained in:
brad
2010-04-06 11:38:40 +00:00
parent 76c70a15b3
commit 01867212c9
21 changed files with 116 additions and 0 deletions

10
tests/Makefile Normal file
View File

@@ -0,0 +1,10 @@
SUBDIRS = basic diags
define makeone
echo "[ $(1) ]";
make -C $(1) $(2);
endef
all clean:
@$(foreach dir,$(SUBDIRS),$(call makeone,$(dir),$@))

43
tests/NOTES.txt Normal file
View File

@@ -0,0 +1,43 @@
MAINDEC
801-2C 8/30/65 JMS & JMP test 1x
801-1 RIM 5/ 4/65 Instruction test - part 1 1x
802-2B BIN 3/22/66 Instruction test - part 2b 1x
8E-D1EB-PB 5/ 1/68 PDP-8, 8I Extended memory 1x
08-D1GD-PB 7/27/70 PDP-8, 8I, 8S Extended memory control 1x
08-D1HA-PB 10/ 1/68 PDP-8, 8I extended memory address test 1x
8I-D01B-PB 3/25/68 Instruction test 1 1x
8I-D02B-PB 3/25/68 Instruction test 2 1x
8I-D02B-PB 1/ 3/68 Instruction test 2b 1x
8I-D02B-PB 1/ 3/68 Instruction test 2b 1x
---
http://pdp-8.org/papertape/MAINDEC-08-D1EB-PB.pt
http://pdp-8.org/papertape/MAINDEC-08-D1GD-PB.pt
http://pdp-8.org/papertape/MAINDEC-08-D1HA-PB.pt
http://pdp-8.org/papertape/MAINDEC-8I-D01C-PB.pt x
http://pdp-8.org/papertape/MAINDEC-8I-D02B-PB.pt x
http://pdp-8.org/papertape/MAINDEX-08-D1GB-PB.pt x
---
MAINDEX-08-D1GB-PB 5/5/68
PDP 8I,8,8/S
EXTENDED MEMORY CONTROL TEST
Maindec-8I-DO1C-Pb 12/10/69 x
Instruction Test 1
Dec Copyright December 1969
MAINDEC-8I-DO2B-PB 3/21/68 x
Instruction Test 2
MAINDEX-08-DO2B-PB 1/3/68 x
INSTRUCTION TEST - PART 2B

3
tests/basic/Makefile Normal file
View File

@@ -0,0 +1,3 @@
#
all:

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,4 @@
load ../bin/MAINDEC-8I-D01C-PB.pt.fixed
d SR 07777
run 0200
quit

View File

@@ -0,0 +1,4 @@
load ../bin/MAINDEC-8I-D02B-PB.pt.fixed
d SR 0
run 0200
quit

View File

@@ -0,0 +1,5 @@
load ../bin/MAINDEX-08-D1GB-PB.pt.fixed
d SR 017
run 0200
quit

47
tests/diags/Makefile Normal file
View File

@@ -0,0 +1,47 @@
#
# make "mem" files for simulation from various binary formats
# we get to xxdp and other places.
#
SIMH_PDP8 = ../../simhv36-1/BIN/pdp8
DIAGS = MAINDEX-08-D1GB MAINDEC-8I-D01C MAINDEC-8I-D02B
#MAINDEC-08-D1GD MAINDEC-08-D1EB MAINDEC-08-D1HA
MEMS = $(addsuffix .mem,$(basename $(DIAGS)))
LOGS = $(addsuffix .log,$(basename $(DIAGS)))
#all: loadtomem mems logs
all: mems logs
mems: $(MEMS)
define loadone
../../utils/showbin/showbin -z $(1) >$(2);
../../utils/skipz/skipz $(1) >$(1).fixed;
endef
define genlog_from_script
M=10000 $(SIMH_PDP8) $(1) >$(2)
endef
#------------------------------
%.mem: ../bin/%-PB.pt
$(call loadone,$<,$@)
#------------------------------
.PRECIOUS: $(LOGS)
logs: $(LOGS)
%.log : %.simh.script
$(call genlog_from_script,$<,$@)
#------------------------------
clean:
rm -rf *.mem *.log
rm -rf loadtomem

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.