Moved all the KA10 diagnostics into a ka10 folder

This commit is contained in:
Jeff 2017-03-31 16:57:40 -07:00 committed by Jeff Parsons
commit 6eba847a18
57 changed files with 76 additions and 53 deletions

View file

@ -8,7 +8,7 @@ machines:
type: pdp10
config: /devices/pdp10/machine/ka10/test/debugger/machine.xml
debugger: true
commands: a 30724 /apps/pdp10/diags/klad/dakaa/DAKAA.MAC
commands: a 30724 /apps/pdp10/diags/ka10/dakaa/DAKAA.MAC
---
A few weeks ago, I finished my first cut of the *core* PDP-10 instructions in PDPjs. Most of my remaining work
@ -49,9 +49,9 @@ Any machine that includes the PDPjs Debugger (like the machine below) now includ
{% include machine.html id="testka10" %}
The above machine uses the Debugger's assemble ('a') command to assemble DEC's "DAKAA" diagnostic
[KA10 Basic Instruction Diagnostic](/apps/pdp10/diags/klad/dakaa/) and load the resulting code at address 30724:
[KA10 Basic Instruction Diagnostic](/apps/pdp10/diags/ka10/dakaa/) and load the resulting code at address 30724:
a 30724 /apps/pdp10/diags/klad/dakaa/DAKAA.MAC
a 30724 /apps/pdp10/diags/ka10/dakaa/DAKAA.MAC
The Debugger invokes the MACRO-10 mini-assembler whenever the target address is followed by an argument ending with ".MAC".
@ -206,8 +206,8 @@ now, since I'm holding off on all floating-point support for as long as possible
Much more work is needed to make the MACRO-10 "Mini-Assembler" a general-purpose assembler, but it's already proved itself
useful in assembling the following tests:
- [KA10 Basic Instruction Diagnostic #1](/apps/pdp10/diags/klad/dakaa/)
- [KA10 Basic Instruction Diagnostic #4](/apps/pdp10/diags/klad/dakad/)
- [KA10 Basic Instruction Diagnostic #1](/apps/pdp10/diags/ka10/dakaa/)
- [KA10 Basic Instruction Diagnostic #4](/apps/pdp10/diags/ka10/dakad/)
- [Assorted MACRO-10 Mini-Assembler Tests](/apps/pdp10/tests/macro10/)
However, there's "*assembling*" and then there's "*assembling correctly*". One early problem I had to immediately

View file

@ -8,19 +8,19 @@ machines:
type: pdp10
config: /devices/pdp10/machine/ka10/test/debugger/machine.xml
debugger: true
commands: a 30724 /apps/pdp10/diags/klad/dakaa/DAKAA.MAC
commands: a 30724 /apps/pdp10/diags/ka10/dakaa/DAKAA.MAC
---
Now that the PDPjs MACRO-10 Mini-Assembler is [limping along](/blog/2017/03/21/), it's time to start assembling some
of DEC's PDP-10 "Basic Instruction" diagnostics and loading them into a test machine. The first diagnostic I tried was
[KA10 Basic Instruction Diagnostic #1 (MAINDEC-10-DAKAA)](/apps/pdp10/diags/klad/dakaa/), which has been loaded into
[KA10 Basic Instruction Diagnostic #1 (MAINDEC-10-DAKAA)](/apps/pdp10/diags/ka10/dakaa/), which has been loaded into
the machine below.
{% include machine.html id="testka10" %}
Here were the results of my first run attempt:
>> a 30724 /apps/pdp10/diags/klad/dakaa/DAKAA.MAC
>> a 30724 /apps/pdp10/diags/ka10/dakaa/DAKAA.MAC
starting PCjs MACRO-10 Mini-Assembler...
loading DAKAA.MAC
CPU will not be auto-started (click Run to start)
@ -54,13 +54,13 @@ Here were the results of my first run attempt:
035057: 000000 000000 UUO 0,0 ;history=1
Happily, this was a good outcome, because 035057 is the end of the test. If you look at the diagnostic's
[listing file](/apps/pdp10/diags/klad/dakaa/DAKAA.LST.txt), this is what you would normally see at address 035057:
[listing file](/apps/pdp10/diags/ka10/dakaa/DAKAA.LST.txt), this is what you would normally see at address 035057:
035057 254 00 0 00 030057 ENDXX: JRST BEGEND ;LOOP PROGRAM
I had similar success with [Diagnostic #2 (MAINDEC-10-DAKAB)](/apps/pdp10/diags/klad/dakab/).
I had similar success with [Diagnostic #2 (MAINDEC-10-DAKAB)](/apps/pdp10/diags/ka10/dakab/).
Problems started to crop up in [Diagnostic #3 (MAINDEC-10-DAKAC)](/apps/pdp10/diags/klad/dakac/):
Problems started to crop up in [Diagnostic #3 (MAINDEC-10-DAKAC)](/apps/pdp10/diags/ka10/dakac/):
CAME [0,-1] ;PASS TEST IF C(AC)=0,,-1
@ -68,9 +68,9 @@ Based on the comment, it's clear what they really meant was either "[0,,-1]" or
desired result, which means that even when the assembler parses an mnemonic-less instruction like "0,-1", it must still truncate
the second (address) operand. Once I generated the appropriate value (000000,777777), the test passed.
And I had several failures running [Diagnostic #4 (MAINDEC-10-DAKAD)](/apps/pdp10/diags/klad/dakad/):
And I had several failures running [Diagnostic #4 (MAINDEC-10-DAKAD)](/apps/pdp10/diags/ka10/dakad/):
>> a 30724 /apps/pdp10/diags/klad/dakad/DAKAD.MAC
>> a 30724 /apps/pdp10/diags/ka10/dakad/DAKAD.MAC
starting PCjs MACRO-10 Mini-Assembler...
loading DAKAD.MAC
1986 words loaded at 030724-034625

View file

@ -9,4 +9,4 @@ DEC PDP-10 Diagnostics
PCjs has archived the following PDP-10 diagnostics:
- [KLAD Diagnostics](klad/)
- [KA10 Diagnostics](ka10/)

View file

@ -1,19 +1,20 @@
---
layout: page
title: PDP-10 KLAD Diagnostics
permalink: /apps/pdp10/diags/klad/
title: PDP-10 KA10 Diagnostics
permalink: /apps/pdp10/diags/ka10/
---
PDP-10 KLAD Diagnostics
PDP-10 KA10 Diagnostics
-----------------------
PCjs has archived selected files from
PCjs has archived selected KA10 diagnostic source files from the
[PDP-10 KLAD Diagnostics Sources](http://pdp-10.trailing-edge.com/klad_sources/index.html) and turned them into
stand-alone PDP-10 diagnostics, using the new PCjs [MACRO-10 Mini-Assembler](/modules/pdp10/lib/macro10.js). A complete
list is provided [below](#list-of-ka10-diagnostics).
stand-alone PDP-10 diagnostics, using the new PCjs [MACRO-10 Mini-Assembler](/modules/pdp10/lib/macro10.js).
I experimented with assembling an entire diagnostic (**DAKAK**) from all its original pieces, by going to the
[DAKAK Diagnostic](dakak/) page and typing the following command:
A complete list of supported diagnostics is provided [below](#list-of-ka10-diagnostics).
I've also experimented with assembling these diagnostics from the original (unmodified) source files. For example,
you can go to the [DAKAK Diagnostic](dakak/) page and try the following command:
a 'dakakt.mac;../param.klm;../fixed.klm;dakakm.mac;../uuoerr.klm;../stor.klm'

View file

@ -1,7 +1,7 @@
---
layout: page
title: PDP-10 KA10 Basic Instruction Diagnostic #1
permalink: /apps/pdp10/diags/klad/dakaa/
permalink: /apps/pdp10/diags/ka10/dakaa/
machines:
- id: testka10
type: pdp10
@ -17,13 +17,17 @@ The *PDP-10 KA10 Basic Instruction Diagnostic #1* (MAINDEC-10-DAKAA) test code h
[DAKAAM.MAC](DAKAAM.MAC.txt) [[original](http://pdp-10.trailing-edge.com/klad_sources/01/klad.sources/dakaam.mac.html)]
for use with the [PDP-10 Test Machine with Debugger](/devices/pdp10/machine/ka10/test/debugger/) below.
This diagnostic "IS THE FIRST IN A SERIES OF PDP-10 KA10 PROCESSOR DIAGNOSTICS. IT IS THE MOST BASIC OF THE PROCESSOR DIAGNOSTICS.
THIS DIAGNOSTIC ASSUMES THE HALT INSTRUCTION AND THE COMPUTER CONSOLE TO BE OPERATIVE. IT MAKES NO FURTHER ASSUMPTIONS EXCEPT
THAT IT IS LOADED INTO MEMORY CORRECTLY."
Resources for this test include:
- [Instructions](#dakaatxt)
- [History](#dakaahst)
- [Source Code](#dakaamac)
- [MACRO-10 Listing](DAKAA.LST.txt)
- [Additional Information](http://archive.pcjs.org/apps/pdp10/diags/klad/dakaa/DAKAA.SEQ.txt)
- [Additional Information](http://archive.pcjs.org/apps/pdp10/diags/ka10/dakaa/DAKAA.SEQ.txt)
{% include machine.html id="testka10" %}

View file

@ -1,7 +1,7 @@
---
layout: page
title: PDP-10 KA10 Basic Instruction Diagnostic #2
permalink: /apps/pdp10/diags/klad/dakab/
permalink: /apps/pdp10/diags/ka10/dakab/
machines:
- id: testka10
type: pdp10
@ -17,13 +17,15 @@ The *PDP-10 KA10 Basic Instruction Diagnostic #2* (MAINDEC-10-DAKAB) test code h
[DAKABM.MAC](DAKABM.MAC.txt) [[original](http://pdp-10.trailing-edge.com/klad_sources/01/klad.sources/dakabm.mac.html)]
for use with the [PDP-10 Test Machine with Debugger](/devices/pdp10/machine/ka10/test/debugger/) below.
Resources for this test include:
This diagnostic tests "MOVE, COMPARE, TEST, HALF WORD AND BOOLE. IT ALSO TESTS THE ADDERS USING ADD AND COMPARE INSTRUCTIONS."
Resources for this diagnostic include:
- [Instructions](#dakabtxt)
- [History](#dakabhst)
- [Source Code](#dakabmac)
- [MACRO-10 Listing](DAKAB.LST.txt)
- [Additional Information](http://archive.pcjs.org/apps/pdp10/diags/klad/dakab/DAKAB.SEQ.txt)
- [Additional Information](http://archive.pcjs.org/apps/pdp10/diags/ka10/dakab/DAKAB.SEQ.txt)
{% include machine.html id="testka10" %}

View file

@ -1,7 +1,7 @@
---
layout: page
title: PDP-10 KA10 Basic Instruction Diagnostic #3
permalink: /apps/pdp10/diags/klad/dakac/
permalink: /apps/pdp10/diags/ka10/dakac/
machines:
- id: testka10
type: pdp10
@ -17,13 +17,15 @@ The *PDP-10 KA10 Basic Instruction Diagnostic #3* (MAINDEC-10-DAKAC) test code h
[DAKACM.MAC](DAKACM.MAC.txt) [[original](http://pdp-10.trailing-edge.com/klad_sources/01/klad.sources/dakacm.mac.html)]
for use with the [PDP-10 Test Machine with Debugger](/devices/pdp10/machine/ka10/test/debugger/) below.
Resources for this test include:
This diagnostic tests "LOGICAL TEST, HALF WORD INSTRUCTIONS AND THE ADDER."
Resources for this diagnostic include:
- [Instructions](#dakactxt)
- [History](#dakachst)
- [Source Code](#dakacmac)
- [MACRO-10 Listing](DAKAC.LST.txt)
- [Additional Information](http://archive.pcjs.org/apps/pdp10/diags/klad/dakac/DAKAC.SEQ.txt)
- [Additional Information](http://archive.pcjs.org/apps/pdp10/diags/ka10/dakac/DAKAC.SEQ.txt)
{% include machine.html id="testka10" %}

View file

@ -1,7 +1,7 @@
---
layout: page
title: PDP-10 KA10 Basic Instruction Diagnostic #4
permalink: /apps/pdp10/diags/klad/dakad/
permalink: /apps/pdp10/diags/ka10/dakad/
machines:
- id: testka10
type: pdp10
@ -17,13 +17,15 @@ The *PDP-10 KA10 Basic Instruction Diagnostic #4* (MAINDEC-10-DAKAD) test code h
[DAKADM.MAC](DAKADM.MAC.txt) [[original](http://pdp-10.trailing-edge.com/klad_sources/01/klad.sources/dakadm.mac.html)]
for use with the [PDP-10 Test Machine with Debugger](/devices/pdp10/machine/ka10/test/debugger/) below.
Resources for this test include:
This diagnostic "TESTS REGISTER ADDRESSING, JFCL, AR FLAGS, AOS, SOS, JRST, AOBJX, JSP, XCT, INDIRECT AND INDEXED ADDRESSING."
Resources for this diagnostic include:
- [Instructions](#dakadtxt)
- [History](#dakadhst)
- [Source Code](#dakadmac)
- [MACRO-10 Listing](DAKAD.LST.txt)
- [Additional Information](http://archive.pcjs.org/apps/pdp10/diags/klad/dakad/DAKAD.SEQ.txt)
- [Additional Information](http://archive.pcjs.org/apps/pdp10/diags/ka10/dakad/DAKAD.SEQ.txt)
{% include machine.html id="testka10" %}

View file

@ -1,7 +1,7 @@
---
layout: page
title: PDP-10 KA10 Basic Instruction Diagnostic #5
permalink: /apps/pdp10/diags/klad/dakae/
permalink: /apps/pdp10/diags/ka10/dakae/
machines:
- id: testka10
type: pdp10
@ -17,13 +17,15 @@ The *PDP-10 KA10 Basic Instruction Diagnostic #5* (MAINDEC-10-DAKAE) test code h
[DAKAEM.MAC](DAKAEM.MAC.txt) [[original](http://pdp-10.trailing-edge.com/klad_sources/01/klad.sources/dakaem.mac.html)]
for use with the [PDP-10 Test Machine with Debugger](/devices/pdp10/machine/ka10/test/debugger/) below.
Resources for this test include:
This diagnostic "TESTS THE FWT, ADD/SUB, PC CHANGE AND COMPARE INSTRUCTIONS."
Resources for this diagnostic include:
- [Instructions](#dakaetxt)
- [History](#dakaehst)
- [Source Code](#dakaemac)
- [MACRO-10 Listing](DAKAE.LST.txt)
- [Additional Information](http://archive.pcjs.org/apps/pdp10/diags/klad/dakae/DAKAE.SEQ.txt)
- [Additional Information](http://archive.pcjs.org/apps/pdp10/diags/ka10/dakae/DAKAE.SEQ.txt)
{% include machine.html id="testka10" %}

View file

@ -1,7 +1,7 @@
---
layout: page
title: PDP-10 KA10 Basic Instruction Diagnostic #6
permalink: /apps/pdp10/diags/klad/dakaf/
permalink: /apps/pdp10/diags/ka10/dakaf/
machines:
- id: testka10
type: pdp10
@ -17,13 +17,15 @@ The *PDP-10 KA10 Basic Instruction Diagnostic #6* (MAINDEC-10-DAKAF) test code h
[DAKAFM.MAC](DAKAFM.MAC.txt) [[original](http://pdp-10.trailing-edge.com/klad_sources/01/klad.sources/dakafm.mac.html)]
for use with the [PDP-10 Test Machine with Debugger](/devices/pdp10/machine/ka10/test/debugger/) below.
Resources for this test include:
This diagnostic "TESTS THE BOOLE, HWT AND TEST INSTRUCTIONS."
Resources for this diagnostic include:
- [Instructions](#dakaftxt)
- [History](#dakafhst)
- [Source Code](#dakafmac)
- [MACRO-10 Listing](DAKAF.LST.txt)
- [Additional Information](http://archive.pcjs.org/apps/pdp10/diags/klad/dakaf/DAKAF.SEQ.txt)
- [Additional Information](http://archive.pcjs.org/apps/pdp10/diags/ka10/dakaf/DAKAF.SEQ.txt)
{% include machine.html id="testka10" %}

View file

@ -1,7 +1,7 @@
---
layout: page
title: PDP-10 KA10 Basic Instruction Diagnostic #7
permalink: /apps/pdp10/diags/klad/dakag/
permalink: /apps/pdp10/diags/ka10/dakag/
machines:
- id: testka10
type: pdp10
@ -17,13 +17,15 @@ The *PDP-10 KA10 Basic Instruction Diagnostic #7* (MAINDEC-10-DAKAG) test code h
[DAKAGM.MAC](DAKAGM.MAC.txt) [[original](http://pdp-10.trailing-edge.com/klad_sources/01/klad.sources/dakagm.mac.html)]
for use with the [PDP-10 Test Machine with Debugger](/devices/pdp10/machine/ka10/test/debugger/) below.
Resources for this test include:
This diagnostic "TESTS THE PUSH, POP, XCT AND BASIC SHIFT ROTATE INSTRUCTIONS."
Resources for this diagnostic include:
- [Instructions](#dakagtxt)
- [History](#dakaghst)
- [Source Code](#dakagmac)
- [MACRO-10 Listing](DAKAG.LST.txt)
- [Additional Information](http://archive.pcjs.org/apps/pdp10/diags/klad/dakag/DAKAG.SEQ.txt)
- [Additional Information](http://archive.pcjs.org/apps/pdp10/diags/ka10/dakag/DAKAG.SEQ.txt)
{% include machine.html id="testka10" %}

View file

@ -1,7 +1,7 @@
---
layout: page
title: PDP-10 KA10 Basic Instruction Diagnostic #8
permalink: /apps/pdp10/diags/klad/dakah/
permalink: /apps/pdp10/diags/ka10/dakah/
machines:
- id: testka10
type: pdp10
@ -18,13 +18,15 @@ The *PDP-10 KA10 Basic Instruction Diagnostic #8* (MAINDEC-10-DAKAH) test code h
[DAKAHT.MAC](DAKAHT.MAC.txt) [[original](http://pdp-10.trailing-edge.com/klad_sources/01/klad.sources/dakaht.mac.html)]
for use with the [PDP-10 Test Machine with Debugger](/devices/pdp10/machine/ka10/test/debugger/) below.
Resources for this test include:
This diagnostic "TESTS THE PI SYSTEM, INTERRUPTS, LUUO'S AND INPUT/OUTPUT."
Resources for this diagnostic include:
- [Instructions](#dakahtxt)
- [History](#dakahhst)
- [Source Code](#dakahmac)
- [MACRO-10 Listing](DAKAH.LST.txt)
- [Additional Information](http://archive.pcjs.org/apps/pdp10/diags/klad/dakah/DAKAH.SEQ.txt)
- [Additional Information](http://archive.pcjs.org/apps/pdp10/diags/ka10/dakah/DAKAH.SEQ.txt)
{% include machine.html id="testka10" %}

View file

@ -1,7 +1,7 @@
---
layout: page
title: PDP-10 KA10 Basic Instruction Diagnostic #9
permalink: /apps/pdp10/diags/klad/dakai/
permalink: /apps/pdp10/diags/ka10/dakai/
machines:
- id: testka10
type: pdp10
@ -18,13 +18,15 @@ The *PDP-10 KA10 Basic Instruction Diagnostic #9* (MAINDEC-10-DAKAI) test code h
[DAKAIT.MAC](DAKAIT.MAC.txt) [[original](http://pdp-10.trailing-edge.com/klad_sources/01/klad.sources/dakait.mac.html)]
for use with the [PDP-10 Test Machine with Debugger](/devices/pdp10/machine/ka10/test/debugger/) below.
Resources for this test include:
This diagnostic "TESTS THE SHIFTING AND ROTATING INSTRUCTIONS."
Resources for this diagnostic include:
- [Instructions](#dakaitxt)
- [History](#dakaihst)
- [Source Code](#dakaimac)
- [MACRO-10 Listing](DAKAI.LST.txt)
- [Additional Information](http://archive.pcjs.org/apps/pdp10/diags/klad/dakai/DAKAI.SEQ.txt)
- [Additional Information](http://archive.pcjs.org/apps/pdp10/diags/ka10/dakai/DAKAI.SEQ.txt)
{% include machine.html id="testka10" %}

View file

@ -1,7 +1,7 @@
---
layout: page
title: PDP-10 KA10 Basic Instruction Diagnostic #10
permalink: /apps/pdp10/diags/klad/dakaj/
permalink: /apps/pdp10/diags/ka10/dakaj/
machines:
- id: testka10
type: pdp10
@ -18,13 +18,15 @@ The *PDP-10 KA10 Basic Instruction Diagnostic #10* (MAINDEC-10-DAKAJ) test code
[DAKAJT.MAC](DAKAJT.MAC.txt) [[original](http://pdp-10.trailing-edge.com/klad_sources/01/klad.sources/dakajt.mac.html)]
for use with the [PDP-10 Test Machine with Debugger](/devices/pdp10/machine/ka10/test/debugger/) below.
Resources for this test include:
This diagnostic "CONTINUES TESTING THE SHIFT AND ROTATE INSTRUCTIONS."
Resources for this diagnostic include:
- [Instructions](#dakajtxt)
- [History](#dakajhst)
- [Source Code](#dakajmac)
- [MACRO-10 Listing](DAKAJ.LST.txt)
- [Additional Information](http://archive.pcjs.org/apps/pdp10/diags/klad/dakaj/DAKAJ.SEQ.txt)
- [Additional Information](http://archive.pcjs.org/apps/pdp10/diags/ka10/dakaj/DAKAJ.SEQ.txt)
{% include machine.html id="testka10" %}

View file

@ -1,7 +1,7 @@
---
layout: page
title: PDP-10 KA10 Basic Instruction Diagnostic #11
permalink: /apps/pdp10/diags/klad/dakak/
permalink: /apps/pdp10/diags/ka10/dakak/
machines:
- id: testka10
type: pdp10
@ -26,7 +26,7 @@ Resources for this diagnostic include:
- [History](#dakakhst)
- [Source Code](#dakakmac)
- [MACRO-10 Listing](DAKAK.LST.txt)
- [Additional Information](http://archive.pcjs.org/apps/pdp10/diags/klad/dakak/DAKAK.SEQ.txt)
- [Additional Information](http://archive.pcjs.org/apps/pdp10/diags/ka10/dakak/DAKAK.SEQ.txt)
{% include machine.html id="testka10" %}