Prevent new scripts from interrupting scripts in progress
This commit is contained in:
parent
55b3ac0750
commit
d23ae82679
13 changed files with 1864 additions and 1423 deletions
|
|
@ -6,6 +6,7 @@ machines:
|
|||
- id: test1170
|
||||
type: pdp11
|
||||
debugger: true
|
||||
config: /devices/pdp11/machine/1170/panel/debugger/machine-slim.xml
|
||||
sticky: top
|
||||
---
|
||||
|
||||
|
|
@ -49,77 +50,80 @@ Debugger commands described below to load and execute these "toggle-ins".
|
|||
|
||||
Step 1: Load ADDRESS register with 200.
|
||||
|
||||
{% include machine-command.html type='clickOnce' label='LOAD 200' machine='test1170' command='script' value='set Panel SR 200;toggle Panel LOAD' %}
|
||||
{% include machine-command.html type='clickOnce' label='LOAD 200' machine='test1170' command='script' value='set Panel SR 200; sleep 500; hold Panel LOAD 250' %}
|
||||
|
||||
Step 2: Deposit 012737 at ADDRESS 200.
|
||||
|
||||
{% include machine-command.html type='clickOnce' label='DEPOSIT 012737' machine='test1170' command='script' value='set Panel SR 012737;toggle Panel DEP' %}
|
||||
{% include machine-command.html type='clickOnce' label='DEPOSIT 012737' machine='test1170' command='script' value='set Panel SR 012737; sleep 500; hold Panel DEP 250' %}
|
||||
|
||||
Step 3: Deposit 000400 at ADDRESS 202.
|
||||
|
||||
{% include machine-command.html type='clickOnce' label='DEPOSIT 000400' machine='test1170' command='script' value='set Panel SR 000400;toggle Panel DEP' %}
|
||||
{% include machine-command.html type='clickOnce' label='DEPOSIT 000400' machine='test1170' command='script' value='set Panel SR 000400; sleep 500; hold Panel DEP 250' %}
|
||||
|
||||
Step 4: Deposit 177572 at ADDRESS 204.
|
||||
|
||||
{% include machine-command.html type='clickOnce' label='DEPOSIT 177572' machine='test1170' command='script' value='set Panel SR 177572;toggle Panel DEP' %}
|
||||
{% include machine-command.html type='clickOnce' label='DEPOSIT 177572' machine='test1170' command='script' value='set Panel SR 177572; sleep 500; hold Panel DEP 250' %}
|
||||
|
||||
Step 5: Deposit 012737 at ADDRESS 206.
|
||||
|
||||
{% include machine-command.html type='clickOnce' label='DEPOSIT 012737' machine='test1170' command='script' value='set Panel SR 012737;toggle Panel DEP' %}
|
||||
{% include machine-command.html type='clickOnce' label='DEPOSIT 012737' machine='test1170' command='script' value='set Panel SR 012737; sleep 500; hold Panel DEP 250' %}
|
||||
|
||||
Step 6: Deposit 070707 at ADDRESS 210.
|
||||
|
||||
{% include machine-command.html type='clickOnce' label='DEPOSIT 070707' machine='test1170' command='script' value='set Panel SR 070707;toggle Panel DEP' %}
|
||||
{% include machine-command.html type='clickOnce' label='DEPOSIT 070707' machine='test1170' command='script' value='set Panel SR 070707; sleep 500; hold Panel DEP 250' %}
|
||||
|
||||
Step 7: Deposit 000200 at ADDRESS 212.
|
||||
|
||||
{% include machine-command.html type='clickOnce' label='DEPOSIT 000200' machine='test1170' command='script' value='set Panel SR 000200;toggle Panel DEP' %}
|
||||
{% include machine-command.html type='clickOnce' label='DEPOSIT 000200' machine='test1170' command='script' value='set Panel SR 000200; sleep 500; hold Panel DEP 250' %}
|
||||
|
||||
Step 8: Deposit 000000 at ADDRESS 214.
|
||||
|
||||
{% include machine-command.html type='clickOnce' label='DEPOSIT 000000' machine='test1170' command='script' value='set Panel SR 000000;toggle Panel DEP' %}
|
||||
{% include machine-command.html type='clickOnce' label='DEPOSIT 000000' machine='test1170' command='script' value='set Panel SR 000000; sleep 500; hold Panel DEP 250' %}
|
||||
|
||||
Step 9: Load ADDRESS register with 300.
|
||||
|
||||
{% include machine-command.html type='clickOnce' label='LOAD 300' machine='test1170' command='script' value='set Panel SR 300;toggle Panel LOAD' %}
|
||||
{% include machine-command.html type='clickOnce' label='LOAD 300' machine='test1170' command='script' value='set Panel SR 300; sleep 500; hold Panel LOAD 250' %}
|
||||
|
||||
Step 10: Deposit 300 at ADDRESS 300.
|
||||
|
||||
{% include machine-command.html type='clickOnce' label='DEPOSIT 300' machine='test1170' command='script' value='toggle Panel DEP' %}
|
||||
{% include machine-command.html type='clickOnce' label='DEPOSIT 300' machine='test1170' command='script' value='hold Panel DEP 250' %}
|
||||
|
||||
Step 11: Load ADDRESS register with 17772300.
|
||||
|
||||
{% include machine-command.html type='clickOnce' label='LOAD 17772300' machine='test1170' command='script' value='set Panel SR 17772300;toggle Panel LOAD' %}
|
||||
{% include machine-command.html type='clickOnce' label='LOAD 17772300' machine='test1170' command='script' value='set Panel SR 17772300; sleep 500; hold Panel LOAD 250' %}
|
||||
|
||||
Step 12: Deposit 077406 at ADDRESS 17772300.
|
||||
|
||||
{% include machine-command.html type='clickOnce' label='DEPOSIT 077406' machine='test1170' command='script' value='set Panel SR 077406;toggle Panel DEP' %}
|
||||
{% include machine-command.html type='clickOnce' label='DEPOSIT 077406' machine='test1170' command='script' value='set Panel SR 077406; sleep 500; hold Panel DEP 250' %}
|
||||
|
||||
Step 13: Load ADDRESS register with 17772340.
|
||||
|
||||
{% include machine-command.html type='clickOnce' label='LOAD 17772340' machine='test1170' command='script' value='set Panel SR 17772340;toggle Panel LOAD' %}
|
||||
{% include machine-command.html type='clickOnce' label='LOAD 17772340' machine='test1170' command='script' value='set Panel SR 17772340; sleep 500; hold Panel LOAD 250' %}
|
||||
|
||||
Step 14: Deposit 000001 at ADDRESS 17772340.
|
||||
|
||||
{% include machine-command.html type='clickOnce' label='DEPOSIT 000001' machine='test1170' command='script' value='set Panel SR 000001;toggle Panel DEP' %}
|
||||
{% include machine-command.html type='clickOnce' label='DEPOSIT 000001' machine='test1170' command='script' value='set Panel SR 000001; sleep 500; hold Panel DEP 250' %}
|
||||
|
||||
Step 15: Load ADDRESS register with 200.
|
||||
|
||||
{% include machine-command.html type='clickOnce' label='LOAD 200' machine='test1170' command='script' value='set Panel SR 200;toggle Panel LOAD' %}
|
||||
{% include machine-command.html type='clickOnce' label='LOAD 200' machine='test1170' command='script' value='set Panel SR 200; sleep 500; hold Panel LOAD 250' %}
|
||||
|
||||
Step 16: Set ENABLE and toggle START.
|
||||
|
||||
{% include machine-command.html type='clickOnce' label='START' machine='test1170' command='script' value='set Panel ENABLE 1; toggle Panel START' %}
|
||||
{% include machine-command.html type='clickOnce' label='START' machine='test1170' command='script' value='set Panel ENABLE 1; sleep 500; hold Panel START 250' %}
|
||||
|
||||
Step 17: Load ADDRESS register with 300.
|
||||
|
||||
{% include machine-command.html type='clickOnce' label='LOAD 300' machine='test1170' command='script' value='set Panel SR 300;toggle Panel LOAD' %}
|
||||
{% include machine-command.html type='clickOnce' label='LOAD 300' machine='test1170' command='script' value='set Panel SR 300; sleep 500; hold Panel LOAD 250' %}
|
||||
|
||||
Step 18: Examine ADDRESS 300.
|
||||
|
||||
{% include machine-command.html type='clickOnce' label='EXAM' machine='test1170' command='script' value='toggle Panel EXAM' %}
|
||||
{% include machine-command.html type='clickOnce' label='EXAM' machine='test1170' command='script' value='hold Panel EXAM 250' %}
|
||||
|
||||
Alternatively, with the PDPjs Debugger, the above "toggle-in" is easily entered with the following commands (the
|
||||
At this point, the DATA register should display `070707`. You can also use the PCjs Debugger's `rm` command to verify
|
||||
the contents of DATA register (DR).
|
||||
|
||||
In fact, using the PDPjs Debugger, it's much easier to enter the above "toggle-in" with the following commands (the
|
||||
semicolons are optional; they just make it easier to paste an entire set of commands into the Debugger at once):
|
||||
|
||||
e 200 012737 000400 177572 012737 070707 000200 000000;
|
||||
|
|
|
|||
13
devices/pdp11/machine/1170/panel/debugger/machine-slim.xml
Normal file
13
devices/pdp11/machine/1170/panel/debugger/machine-slim.xml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="/versions/pdpjs/1.34.0/machine.xsl"?>
|
||||
<machine id="test1170" type="pdp11" border="1" pos="center" background="#FAEBD7">
|
||||
<name pos="center">PDP-11/70 with 256Kb, Front Panel and Debugger</name>
|
||||
<computer id="computer" busWidth="22"/>
|
||||
<cpu id="cpu" model="1170" cycles="6666667"/>
|
||||
<ram id="ram" addr="0x00000" size="0x40000" file="/apps/pdp11/boot/monitor/BOOTMON.json"/>
|
||||
<rom id="m9312" addr="0xEA00" size="0x200" file="/devices/pdp11/rom/M9312/23-616F1.json"/>
|
||||
<device id="default" type="default"/>
|
||||
<serial id="dl11" adapter="0" binding="print"/>
|
||||
<panel ref="/devices/pdp11/panel/1170/debugger/front-slim.xml"/>
|
||||
<debugger id="debugger" base="8" messages="" commands=""/>
|
||||
</machine>
|
||||
Loading…
Reference in a new issue