Instead of hard-coding the 'resume' setting inside individual machine files, we now support a 'resume' setting inside a page's machine properties

This commit is contained in:
Jeff Parsons 2017-01-28 23:39:03 -08:00 committed by Jeff Parsons
commit df5eb66429
13 changed files with 23 additions and 25 deletions

View file

@ -7,10 +7,12 @@ machines:
type: pdp11
config: /devices/pdp11/machine/1170/vt100/machine-left.xml
connection: dl11->vt100.serialPort
resume: 1
- id: vt100
type: pc8080
config: /devices/pc8080/machine/vt100/machine-right.xml
connection: serialPort->test1170.dl11
resume: 1
---
This VT100 Terminal is connected to the PDP-11/70 below.

View file

@ -8,11 +8,13 @@ machines:
debugger: true
config: /devices/pdp11/machine/1170/vt100/debugger/machine-left.xml
connection: dl11->vt100.serialPort
resume: 1
- id: vt100
type: pc8080
debugger: true
config: /devices/pc8080/machine/vt100/debugger/machine-right.xml
connection: serialPort->test1170.dl11
resume: 1
---
This VT100 Terminal is connected to the PDP-11/70 below.

View file

@ -2,7 +2,7 @@
<?xml-stylesheet type="text/xsl" href="/versions/pdpjs/1.32.2/machine.xsl"?>
<machine id="test1170" class="pdp11 machine-left" border="1" pos="center" background="#FAEBD7">
<name pos="center">PDP-11/70 with 256Kb, Front Panel, and Debugger</name>
<computer id="computer" busWidth="22" resume="1"/>
<computer id="computer" busWidth="22"/>
<cpu id="cpu" model="1170" cycles="6666667" autoStart="true"/>
<ram id="ram" addr="0x00000" size="0x40000" file="/apps/pdp11/boot/monitor/BOOTMON.json"/>
<device id="default" type="default"/>

View file

@ -2,7 +2,7 @@
<?xml-stylesheet type="text/xsl" href="/versions/pdpjs/1.32.2/machine.xsl"?>
<machine id="test1170" class="pdp11 machine-left" border="1" pos="center" background="#FAEBD7">
<name pos="center">PDP-11/70 with 256Kb and Front Panel</name>
<computer id="computer" busWidth="22" resume="1"/>
<computer id="computer" busWidth="22"/>
<cpu id="cpu" model="1170" cycles="6666667" autoStart="true"/>
<ram id="ram" addr="0x00000" size="0x40000" file="/apps/pdp11/boot/monitor/BOOTMON.json"/>
<device id="default" type="default"/>