Fixed the components.xsl for PDPjs machines, and added more instructions, resource links, etc, for the PDP-11 demo machines
This commit is contained in:
parent
8e2b50afe1
commit
21d91cbcfa
35 changed files with 685 additions and 284 deletions
|
|
@ -8,4 +8,16 @@ machines:
|
|||
autoMount: ''
|
||||
---
|
||||
|
||||
DEC PDP-11 BASIC Demo
|
||||
---------------------
|
||||
|
||||
This machine pre-loads the **[DEC PDP-11 BASIC](/apps/pdp11/tapes/basic/)** tape image into 16Kb of RAM:
|
||||
|
||||
<ram id="ram" addr="0x0000" size="0x4000" file="/apps/pdp11/tapes/basic/DEC-11-AJPB-PB.json"/>
|
||||
|
||||
However, if this is too convenient for you, you can manually load it into memory using the
|
||||
[Bootstrap Loader](/apps/pdp11/boot/bootstrap/).
|
||||
|
||||
{% include machine.html id="test1120" %}
|
||||
|
||||
See also: [DEC PDP-11 BASIC Demo (with Debugger)](/devices/pdp11/machine/1120/basic/debugger/)
|
||||
|
|
|
|||
|
|
@ -9,4 +9,16 @@ machines:
|
|||
autoMount: ''
|
||||
---
|
||||
|
||||
DEC PDP-11 BASIC Demo (with Debugger)
|
||||
-------------------------------------
|
||||
|
||||
This machine pre-loads the **[DEC PDP-11 BASIC](/apps/pdp11/tapes/basic/)** tape image into 16Kb of RAM:
|
||||
|
||||
<ram id="ram" addr="0x0000" size="0x4000" file="/apps/pdp11/tapes/basic/DEC-11-AJPB-PB.json"/>
|
||||
|
||||
However, if this is too convenient for you, you can manually load it into memory using the
|
||||
[Bootstrap Loader](/apps/pdp11/boot/bootstrap/).
|
||||
|
||||
See [Bootstrap Loader Demo (with Debugger)](/devices/pdp11/machine/1120/bootstrap/debugger/) for details.
|
||||
|
||||
{% include machine.html id="test1120" %}
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<name pos="center">PDP-11/20: 16Kb, DEC BASIC, Debugger</name>
|
||||
<computer id="computer" busWidth="16"/>
|
||||
<cpu id="cpu" model="1120" cycles="6666667"/>
|
||||
<ram id="ram" addr="0x0000" size="0x4000" file="/apps/pdp11/tapes/DEC-11-AJPB-PB.json"/>
|
||||
<ram id="ram" addr="0x0000" size="0x4000" file="/apps/pdp11/tapes/basic/DEC-11-AJPB-PB.json"/>
|
||||
<device id="default" type="default"/>
|
||||
<serial id="dl11" adapter="0" binding="print"/>
|
||||
<panel ref="/devices/pdp11/panel/test/debugger/terminal.xml"/>
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<name pos="center">PDP-11/20: 16Kb, DEC BASIC</name>
|
||||
<computer id="computer" busWidth="16"/>
|
||||
<cpu id="cpu" model="1120" cycles="6666667"/>
|
||||
<ram id="ram" addr="0x0000" size="0x4000" file="/apps/pdp11/tapes/DEC-11-AJPB-PB.json"/>
|
||||
<ram id="ram" addr="0x0000" size="0x4000" file="/apps/pdp11/tapes/basic/DEC-11-AJPB-PB.json"/>
|
||||
<device id="default" type="default"/>
|
||||
<serial id="dl11" adapter="0" binding="print"/>
|
||||
<panel ref="/devices/pdp11/panel/test/terminal.xml"/>
|
||||
|
|
|
|||
|
|
@ -7,4 +7,22 @@ machines:
|
|||
type: pdp11
|
||||
---
|
||||
|
||||
Bootstrap Loader Demo
|
||||
---------------------
|
||||
|
||||
This machine pre-loads the **[Bootstrap Loader](/apps/pdp11/boot/bootstrap/)** code into RAM:
|
||||
|
||||
<ram id="ram" addr="0x0000" size="0x4000" file="/apps/pdp11/boot/bootstrap/BOOTSTRAP-16KB.json"/>
|
||||
|
||||
and then pre-attaches the **[Absolute Loader](/apps/pdp11/tapes/absloader/)** tape image to the PC11 Paper Tape Reader:
|
||||
|
||||
<device id="pc11" type="pc11" baudReceive="9600" autoMount='{path:"/apps/pdp11/tapes/DEC-11-L2PC-PO.json"}' ...>...</device>
|
||||
|
||||
Click "Run" to load the **[Absolute Loader](/apps/pdp11/tapes/absloader/)**.
|
||||
When the **[Bootstrap Loader](/apps/pdp11/boot/bootstrap/)** is finished, it will HALT,
|
||||
leaving the **[Absolute Loader](/apps/pdp11/tapes/absloader/)** ready to run immediately after the HALT.
|
||||
|
||||
You can then select another tape image in the Absolute Loader format, such as **[BASIC (Single User)](/apps/pdp11/tapes/basic/)**,
|
||||
click "Attach" and then "Run".
|
||||
|
||||
{% include machine.html id="test1120" %}
|
||||
|
|
|
|||
|
|
@ -8,4 +8,25 @@ machines:
|
|||
debugger: true
|
||||
---
|
||||
|
||||
Bootstrap Loader Demo (with Debugger)
|
||||
-------------------------------------
|
||||
|
||||
This machine pre-loads the **[Bootstrap Loader](/apps/pdp11/boot/bootstrap/)** code into RAM:
|
||||
|
||||
<ram id="ram" addr="0x0000" size="0x4000" file="/apps/pdp11/boot/bootstrap/BOOTSTRAP-16KB.json"/>
|
||||
|
||||
and then pre-attaches the **[Absolute Loader](/apps/pdp11/tapes/absloader/)** tape image to the PC11 Paper Tape Reader:
|
||||
|
||||
<device id="pc11" type="pc11" baudReceive="9600" autoMount='{path:"/apps/pdp11/tapes/DEC-11-L2PC-PO.json"}' ...>...</device>
|
||||
|
||||
Click "Run" to load the **[Absolute Loader](/apps/pdp11/tapes/absloader/)**.
|
||||
When the **[Bootstrap Loader](/apps/pdp11/boot/bootstrap/)** is finished, it will HALT,
|
||||
leaving the **[Absolute Loader](/apps/pdp11/tapes/absloader/)** ready to run immediately after the HALT.
|
||||
|
||||
You can then select another tape image in the Absolute Loader format, such as **[BASIC (Single User)](/apps/pdp11/tapes/basic/)**,
|
||||
click "Attach" and then "Run".
|
||||
|
||||
If you need to start over, select "Bootstrap Loader (16Kb)" from the list of tapes and click "Load" instead of
|
||||
"Attach", re-installing the **[Bootstrap Loader](/apps/pdp11/boot/bootstrap/)** directly into RAM.
|
||||
|
||||
{% include machine.html id="test1120" %}
|
||||
|
|
|
|||
|
|
@ -4,6 +4,24 @@
|
|||
<control type="container" class="pcjs-textarea" width="60%" padBottom="8px">
|
||||
<control type="textarea" binding="print" width="100%" height="300px" padRight="8px" pos="relative" style="resize:vertical;"/>
|
||||
</control>
|
||||
<control type="container" class="pcjs-registers" width="35%" padLeft="8px">
|
||||
<name>Registers</name>
|
||||
<control type="register" label="R0" binding="R0" pos="left" width="60px" padRight="8px" padBottom="8px">0000</control>
|
||||
<control type="register" label="R1" binding="R1" pos="left" width="60px" padRight="8px" padBottom="8px">0000</control>
|
||||
<control type="register" label="R2" binding="R2" pos="left" width="60px" padRight="8px" padBottom="8px">0000</control>
|
||||
<control type="register" label="R3" binding="R3" pos="left" width="60px" padRight="8px" padBottom="8px">0000</control>
|
||||
<control type="register" label="R4" binding="R4" pos="left" width="60px" padRight="8px" padBottom="8px">0000</control>
|
||||
<control type="register" label="R5" binding="R5" pos="left" width="60px" padRight="8px" padBottom="8px">0000</control>
|
||||
<control type="register" label="SP" binding="R6" pos="left" width="60px" padRight="8px" padBottom="8px">0000</control>
|
||||
<control type="register" label="PC" binding="R7" pos="left" width="60px" padRight="8px" padBottom="8px">0000</control>
|
||||
<control type="register" label="PS" binding="PS" pos="left" width="60px" padRight="8px" padBottom="8px">0000</control>
|
||||
<control type="container" pos="left">
|
||||
<control type="flag" label="N" binding="NF" width="8px" padRight="4px" padBottom="8px">0</control>
|
||||
<control type="flag" label="Z" binding="ZF" width="8px" padRight="4px" padBottom="8px">0</control>
|
||||
<control type="flag" label="V" binding="VF" width="8px" padRight="4px" padBottom="8px">0</control>
|
||||
<control type="flag" label="C" binding="CF" width="8px" padRight="4px" padBottom="8px">0</control>
|
||||
</control>
|
||||
</control>
|
||||
<control type="container" width="35%" padLeft="8px" padBottom="8px">
|
||||
<control type="button" binding="run">Run</control>
|
||||
<control type="button" binding="reset">Reset</control>
|
||||
|
|
|
|||
|
|
@ -9,15 +9,27 @@ PC11 High-Speed Paper Tape Reader/Punch
|
|||
|
||||
PDPjs implements the PC11 component in [pc11.js](/modules/pdp11/lib/pc11.js).
|
||||
|
||||
Paper Tape configurations include:
|
||||
A variety of [Paper Tape Images](/apps/pdp11/tapes/) have been archived, and they are typically collected in a
|
||||
configuration file such as [demo.xml](demo.xml):
|
||||
|
||||
- [Demo](demo.xml)
|
||||
|
||||
which are typically instantiated by a Machine XML file using:
|
||||
|
||||
<device ref="/devices/pdp11/pc11/demo.xml"/>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<device id="pc11" type="pc11" baudReceive="9600" autoMount='{path:"/apps/pdp11/tapes/DEC-11-L2PC-PO.json"}' pos="left" width="35%" padLeft="8px" padBottom="8px">
|
||||
<name>Paper Tape Controls</name>
|
||||
<control type="container">
|
||||
<control type="list" binding="listTapes">
|
||||
<tape id="tape00" name="Bootstrap Loader (16Kb)" path="/apps/pdp11/boot/bootstrap/BOOTSTRAP-16KB.json"/>
|
||||
<tape id="tape01" name="Absolute Loader" path="/apps/pdp11/tapes/absloader/DEC-11-L2PC-PO.json"/>
|
||||
<tape id="tape02" name="BASIC (Single User)" path="/apps/pdp11/tapes/basic/DEC-11-AJPB-PB.json"/>
|
||||
</control>
|
||||
<control type="button" binding="attachTape">Attach</control>
|
||||
<control type="button" binding="loadTape">Load</control>
|
||||
<control type="description" binding="descTape" padRight="8px"/>
|
||||
<control type="file" binding="mountTape"/>
|
||||
<control type="progress" binding="readProgress" pos="default" width="250px" padTop="8px">Tape Progress</control>
|
||||
</control>
|
||||
</device>
|
||||
|
||||
The above configurations are used by machines such as:
|
||||
The above configuration is used by PDPjs machines such as:
|
||||
|
||||
- [PDP-11/20 with 16Kb and Bootstrap Loader](/devices/pdp11/machine/1120/bootstrap/) ([Debugger](/devices/pdp11/machine/1120/bootstrap/debugger/))
|
||||
- [PDP-11/20 with 16Kb and DEC BASIC](/devices/pdp11/machine/1120/basic/) ([Debugger](/devices/pdp11/machine/1120/basic/debugger/))
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<device id="pc11" type="pc11" autoMount='{path:"/apps/pdp11/tapes/DEC-11-L2PC-PO.json"}' pos="left" width="35%" padLeft="8px" padBottom="8px">
|
||||
<device id="pc11" type="pc11" baudReceive="9600" autoMount='{path:"/apps/pdp11/tapes/DEC-11-L2PC-PO.json"}' pos="left" width="35%" padLeft="8px" padBottom="8px">
|
||||
<name>Paper Tape Controls</name>
|
||||
<control type="container">
|
||||
<control type="list" binding="listTapes">
|
||||
<tape id="tape00" name="Bootstrap Loader (16Kb)" path="/apps/pdp11/boot/bootstrap/BOOTSTRAP-16KB.json"/>
|
||||
<tape id="tape01" name="Absolute Loader" path="/apps/pdp11/tapes/DEC-11-L2PC-PO.json"/>
|
||||
<tape id="tape02" name="BASIC (Single User)" path="/apps/pdp11/tapes/DEC-11-AJPB-PB.json"/>
|
||||
<tape id="tape01" name="Absolute Loader" path="/apps/pdp11/tapes/absloader/DEC-11-L2PC-PO.json"/>
|
||||
<tape id="tape02" name="BASIC (Single User)" path="/apps/pdp11/tapes/basic/DEC-11-AJPB-PB.json"/>
|
||||
</control>
|
||||
<control type="button" binding="attachTape">Attach</control>
|
||||
<control type="button" binding="loadTape">Load</control>
|
||||
|
|
|
|||
Loading…
Reference in a new issue