Migrated the 'resume' property from a hard-coded computer property to page-configurable machine property

This commit is contained in:
Jeff Parsons 2017-06-23 14:53:55 -07:00 committed by Jeff Parsons
commit 69f69f5b46
35 changed files with 64 additions and 42 deletions

View file

@ -9,8 +9,9 @@ redirect_from:
- /devices/pc/machine/5150/cga/64kb/donkey/
- /devices/pcx86/machine/5150/cga/64kb/donkey/
machines:
- type: pcx86
id: ibm5150-donkey
- id: ibm5150-donkey
type: pcx86
resume: 1
config: /devices/pcx86/machine/5150/cga/64kb/machine.xml
state: /apps/pcx86/1981/donkey/state.json
autoMount:

View file

@ -3,8 +3,9 @@ layout: page
title: "DONKEY.BAS (1981) with Debugger"
permalink: /apps/pcx86/1981/donkey/debugger/
machines:
- type: pcx86
id: ibm5150-donkey
- id: ibm5150-donkey
type: pcx86
resume: 1
config: /devices/pcx86/machine/5150/cga/64kb/debugger/machine.xml
state: /apps/pcx86/1981/donkey/state.json
autoMount:

View file

@ -6,6 +6,7 @@ machines:
- type: pcx86
id: ibm5150-visicalc
config: /devices/pcx86/machine/5150/mda/64kb/machine.xml
resume: 1
state: /apps/pcx86/1981/visicalc/state.json
autoMount:
A:

View file

@ -6,6 +6,7 @@ machines:
- type: pcx86
id: ibm5150-adventmath
config: /devices/pcx86/machine/5150/cga/64kb/machine.xml
resume: 1
autoMount:
A:
path: /disks/pcx86/dos/ibm/1.00/PCDOS100.json

View file

@ -42,7 +42,7 @@ example:
```xml
<machine id="ibm5150" class="pcx86" border="1" pos="center" background="#FAEBD7">
<name pos="center">IBM PC (Model 5150) with Monochrome Display</name>
<computer id="pc-mda-64k" name="IBM PC" resume="1"/>
<computer id="pc-mda-64k" name="IBM PC"/>
<ram id="ramLow" addr="0x00000"/>
<rom id="romBASIC" addr="0xf6000" size="0x8000" file="/devices/pcx86/rom/5150/basic/BASIC100.json"/>
<rom id="romBIOS" addr="0xfe000" size="0x2000" file="/devices/pcx86/rom/5150/1981-04-24/PCBIOS-REV1.json"/>

View file

@ -3,8 +3,9 @@ layout: page
title: IBM PC (Model 5150, 64Kb) with Color Display and Debugger
permalink: /devices/pcx86/machine/5150/cga/64kb/debugger/
machines:
- type: pcx86
id: ibm5150
- id: ibm5150
type: pcx86
resume: 1
debugger: true
---

View file

@ -2,7 +2,7 @@
<?xml-stylesheet type="text/xsl" href="/versions/pcx86/1.35.1/machine.xsl"?>
<machine id="ibm5150" type="pcx86" border="1" pos="center" background="default">
<name pos="center">IBM PC (Model 5150), CGA, 64K</name>
<computer id="pc-cga-64k" name="IBM PC" resume="1"/>
<computer id="pc-cga-64k" name="IBM PC"/>
<ram id="ramLow" addr="0x00000"/>
<rom id="romBASIC" addr="0xf6000" size="0x8000" file="/devices/pcx86/rom/5150/basic/BASIC100.json"/>
<rom id="romBIOS" addr="0xfe000" size="0x2000" file="/devices/pcx86/rom/5150/1981-04-24/PCBIOS-REV1.json"/>

View file

@ -2,7 +2,7 @@
<?xml-stylesheet type="text/xsl" href="/versions/pcx86/1.35.1/machine.xsl"?>
<machine id="ibm5150" type="pcx86" border="1" pos="center" background="default">
<name pos="center">IBM PC (Model 5150), CGA, 64K</name>
<computer id="pc-cga-64k" name="IBM PC" resume="1"/>
<computer id="pc-cga-64k" name="IBM PC"/>
<ram id="ramLow" addr="0x00000"/>
<rom id="romBASIC" addr="0xf6000" size="0x8000" file="/devices/pcx86/rom/5150/basic/BASIC100.json"/>
<rom id="romBIOS" addr="0xfe000" size="0x2000" file="/devices/pcx86/rom/5150/1981-04-24/PCBIOS-REV1.json"/>

View file

@ -3,8 +3,9 @@ layout: page
title: IBM PC (Model 5150, 64Kb) with Dual Displays
permalink: /devices/pcx86/machine/5150/dual/64kb/
machines:
- type: pcx86
id: ibm5150
- id: ibm5150
type: pcx86
resume: 1
---
{% include machine.html id="ibm5150" %}

View file

@ -2,7 +2,7 @@
<?xml-stylesheet type="text/xsl" href="/versions/pcx86/1.35.1/machine.xsl"?>
<machine id="ibm5150" type="pcx86" border="1" pos="center" background="default">
<name pos="center">IBM PC (Model 5150) with Dual Displays</name>
<computer id="pc-dual-64k" name="IBM PC" resume="1"/>
<computer id="pc-dual-64k" name="IBM PC"/>
<ram id="ramLow" addr="0x00000"/>
<rom id="romBASIC" addr="0xf6000" size="0x8000" file="/devices/pcx86/rom/5150/basic/BASIC100.json"/>
<rom id="romBIOS" addr="0xfe000" size="0x2000" file="/devices/pcx86/rom/5150/1981-04-24/PCBIOS-REV1.json"/>

View file

@ -2,7 +2,7 @@
<?xml-stylesheet type="text/xsl" href="/versions/pcx86/1.35.1/machine.xsl"?>
<machine id="ibm5150" type="pcx86" border="1" pos="center" background="default">
<name pos="center">IBM PC (Model 5150), MDA, 256K, Debugger</name>
<computer id="pc-mda-256k" name="IBM PC" resume="1"/>
<computer id="pc-mda-256k" name="IBM PC"/>
<ram id="ramLow" addr="0x00000" test="false" comment="no memory test"/>
<rom id="romBASIC" addr="0xf6000" size="0x8000" file="/devices/pcx86/rom/5150/basic/BASIC100.json"/>
<rom id="romBIOS" addr="0xfe000" size="0x2000" file="/devices/pcx86/rom/5150/1981-04-24/PCBIOS-REV1.json"/>

View file

@ -2,7 +2,7 @@
<?xml-stylesheet type="text/xsl" href="/versions/pcx86/1.35.1/machine.xsl"?>
<machine id="ibm5150" type="pcx86" border="1" pos="center" background="default">
<name pos="center">IBM PC (Model 5150), MDA, 64K</name>
<computer id="pc-mda-64k" name="IBM PC" resume="1"/>
<computer id="pc-mda-64k" name="IBM PC"/>
<ram id="ramLow" addr="0x00000"/>
<rom id="romBASIC" addr="0xf6000" size="0x8000" file="/devices/pcx86/rom/5150/basic/BASIC100.json"/>
<rom id="romBIOS" addr="0xfe000" size="0x2000" file="/devices/pcx86/rom/5150/1981-04-24/PCBIOS-REV1.json"/>

View file

@ -5,9 +5,10 @@ permalink: /devices/pcx86/machine/5150/mda/
redirect_from:
- /configs/pc/machines/5150/mda/
machines:
- type: pcx86
id: ibm5150
- id: ibm5150
type: pcx86
config: /devices/pcx86/machine/5150/mda/64kb/machine.xml
resume: 1
---
IBM PC with Monochrome (MDA) Display

View file

@ -2,7 +2,7 @@
<?xml-stylesheet type="text/xsl" href="/versions/pcx86/1.35.1/machine.xsl"?>
<machine id="ibm5160" type="pcx86" border="1" pos="center" background="default">
<name pos="center">IBM PC XT (Model 5160), CGA, 256Kb, 10Mb Drive</name>
<computer id="xt-cga-256k" name="IBM PC XT" resume="1"/>
<computer id="xt-cga-256k" name="IBM PC XT"/>
<ram id="ramLow" addr="0x00000" test="false" comment="ROM BIOS memory test has been disabled"/>
<rom id="romHDC" addr="0xc8000" size="0x2000" file="/devices/pcx86/hdc/ibm-xebec-1982.json"/>
<rom id="romBASIC" addr="0xf6000" size="0x8000" file="/devices/pcx86/rom/5160/basic/BASIC110.json"/>

View file

@ -3,8 +3,9 @@ layout: page
title: "IBM PC (Model 5150) running CP/M-86 v1.1B"
permalink: /disks/pcx86/cpm/1.1b/
machines:
- type: pcx86
id: ibm5150
- id: ibm5150
type: pcx86
resume: 1
---
CP/M-86 1.1B

View file

@ -2,7 +2,7 @@
<?xml-stylesheet type="text/xsl" href="/versions/pcx86/1.35.1/machine.xsl"?>
<machine id="ibm5150" type="pcx86" border="1" pos="center" background="default">
<name pos="center">IBM PC (Model 5150) running CP/M-86</name>
<computer id="cpm-mda-64k" name="IBM PC" resume="1"/>
<computer id="cpm-mda-64k" name="IBM PC"/>
<ram id="ramLow" addr="0x00000"/>
<rom id="romBASIC" addr="0xf6000" size="0x8000" file="/devices/pcx86/rom/5150/basic/BASIC100.json"/>
<rom id="romBIOS" addr="0xfe000" size="0x2000" file="/devices/pcx86/rom/5150/1981-04-24/PCBIOS-REV1.json"/>

View file

@ -6,6 +6,7 @@ machines:
- type: pcx86
id: ibm5150-compaq111
config: /devices/pcx86/machine/5150/mda/64kb/machine.xml
resume: 1
autoMount:
A:
path: /disks/pcx86/dos/compaq/1.11/COMPAQ-DOS111.json

View file

@ -6,6 +6,7 @@ machines:
- type: pcx86
id: ibm5150-compaq112
config: /devices/pcx86/machine/5150/mda/64kb/machine.xml
resume: 1
autoMount:
A:
path: /disks/pcx86/dos/compaq/1.12/COMPAQ-DOS112.json

View file

@ -7,6 +7,7 @@ machines:
id: ibm5150-pcdos090
debugger: true
config: /devices/pcx86/machine/5150/mda/256kb/debugger/machine.xml
resume: 1
autoMount:
A:
path: /disks/pcx86/dos/ibm/0.90/PCDOS090.json

View file

@ -6,6 +6,7 @@ machines:
- type: pcx86
id: ibm5150-pcdos100
config: /devices/pcx86/machine/5150/mda/64kb/machine.xml
resume: 1
autoMount:
A:
path: /disks/pcx86/dos/ibm/1.00/PCDOS100.json

View file

@ -6,6 +6,7 @@ machines:
- type: pcx86
id: ibm5150-pcdos110
config: /devices/pcx86/machine/5150/mda/64kb/machine.xml
resume: 1
autoMount:
A:
path: /disks/pcx86/dos/ibm/1.10/PCDOS110.json

View file

@ -3,8 +3,9 @@ layout: page
title: "IBM PC (Model 5150) running The Hitchhiker's Guide to the Galaxy"
permalink: /disks/pcx86/games/infocom/hhiker/
machines:
- type: pcx86
id: ibm5150-hhiker
- id: ibm5150-hhiker
type: pcx86
resume: 1
config: /disks/pcx86/games/infocom/machine.xml
autoMount:
A:

View file

@ -2,7 +2,7 @@
<?xml-stylesheet type="text/xsl" href="/versions/pcx86/1.35.1/machine.xsl"?>
<machine id="ibm5150-infocom" type="pcx86" border="1" pos="center" background="default">
<name pos="center">IBM PC Model 5150 (CGA, 64K)</name>
<computer id="infocom-cga-64k" name="IBM PC" resume="1"/>
<computer id="infocom-cga-64k" name="IBM PC"/>
<ram id="ramLow" addr="0x00000" test="false"/>
<rom id="romBASIC" addr="0xf6000" size="0x8000" file="/devices/pcx86/rom/5150/basic/BASIC100.json"/>
<rom id="romBIOS" addr="0xfe000" size="0x2000" file="/devices/pcx86/rom/5150/1981-04-24/PCBIOS-REV1.json"/>

View file

@ -3,8 +3,9 @@ layout: page
title: "IBM PC (Model 5150) running Planetfall"
permalink: /disks/pcx86/games/infocom/planet/
machines:
- type: pcx86
id: ibm5150-planet
- id: ibm5150-planet
type: pcx86
resume: 1
config: /disks/pcx86/games/infocom/machine.xml
autoMount:
A:

View file

@ -3,9 +3,9 @@ layout: page
title: "IBM PC (Model 5150) running Zork I with Debugger"
permalink: /disks/pcx86/games/infocom/zork1/debugger/
machines:
- type: pcx86
- id: ibm5150-zork1
type: pcx86
debugger: true
id: ibm5150-zork1
---
Zork I

View file

@ -5,8 +5,9 @@ permalink: /disks/pcx86/games/infocom/zork1/
redirect_from:
- /disks/pc/games/infocom/zork1/
machines:
- type: pcx86
id: ibm5150-zork1
- id: ibm5150-zork1
type: pcx86
resume: 1
config: /disks/pcx86/games/infocom/machine.xml
---

View file

@ -3,8 +3,9 @@ layout: page
title: "IBM PC (Model 5150) running Zork II"
permalink: /disks/pcx86/games/infocom/zork2/
machines:
- type: pcx86
id: ibm5150-zork2
- id: ibm5150-zork2
type: pcx86
resume: 1
config: /disks/pcx86/games/infocom/machine.xml
autoMount:
A:

View file

@ -3,8 +3,9 @@ layout: page
title: "IBM PC (Model 5150) running Zork III"
permalink: /disks/pcx86/games/infocom/zork3/
machines:
- type: pcx86
id: ibm5150-zork3
- id: ibm5150-zork3
type: pcx86
resume: 1
config: /disks/pcx86/games/infocom/machine.xml
autoMount:
A:

View file

@ -3,8 +3,9 @@ layout: page
title: "IBM PC (Model 5150) running Microsoft Adventure (1981)"
permalink: /disks/pcx86/games/microsoft/adventure/
machines:
- type: pcx86
id: ibm5150
- id: ibm5150
type: pcx86
resume: 1
---
{% include machine.html id="ibm5150" %}

View file

@ -2,7 +2,7 @@
<?xml-stylesheet type="text/xsl" href="/versions/pcx86/1.35.1/machine.xsl"?>
<machine id="ibm5150" type="pcx86" border="1" pos="center" background="default">
<name pos="center">IBM PC (Model 5150) running Microsoft Adventure</name>
<computer id="msadv-mda-64k" name="IBM PC" resume="1"/>
<computer id="msadv-mda-64k" name="IBM PC"/>
<ram id="ramLow" addr="0x00000"/>
<rom id="romBASIC" addr="0xf6000" size="0x8000" file="/devices/pcx86/rom/5150/basic/BASIC100.json"/>
<rom id="romBIOS" addr="0xfe000" size="0x2000" file="/devices/pcx86/rom/5150/1981-04-24/PCBIOS-REV1.json"/>

View file

@ -3,8 +3,9 @@ layout: page
title: PC-SIG Library 8th Edition CD-ROM (April 1990)
permalink: /disks/pcx86/shareware/pcsig08/
machines:
- type: pcx86
id: ibm5150-pcsig08
- id: ibm5150-pcsig08
type: pcx86
resume: 1
config: /disks/pcx86/shareware/pcsig08/machine.xml
autoMount:
A:

View file

@ -2,7 +2,7 @@
<?xml-stylesheet type="text/xsl" href="/versions/pcx86/1.35.1/machine.xsl"?>
<machine id="ibm5150" type="pcx86" border="1" pos="center" background="default">
<name pos="center">IBM PC (Model 5150), CGA, 256K</name>
<computer id="pc-cga-256k" name="IBM PC" resume="1"/>
<computer id="pc-cga-256k" name="IBM PC"/>
<cpu id="cpu8088" model="8088"/>
<ram id="ramLow" addr="0x00000" test="false" comment="no memory test"/>
<rom id="romBASIC" addr="0xf6000" size="0x8000" file="/devices/pcx86/rom/5150/basic/BASIC100.json"/>

View file

@ -6,9 +6,10 @@ redirect_from:
- /configs/pc/machines/5160/cga/256kb/win101/debugger/
- /devices/pcx86/machine/5160/cga/256kb/win101/debugger/
machines:
- type: pcx86
id: ibm5160-cga-win101
- id: ibm5160-cga-win101
type: pcx86
debugger: true
resume: 1
state: /disks/pcx86/windows/1.01/cga/state.json
config: /devices/pcx86/machine/5160/cga/256kb/debugger/machine.xml
drives: '[{name:"10Mb Hard Disk",type:3,path:"/disks/pcx86/fixed/10mb/PCDOS200-WIN101-CGA.json"}]'

View file

@ -6,6 +6,7 @@ machines:
- type: pcx86
id: ibm5150
config: /devices/pcx86/machine/5150/mda/64kb/machine.xml
resume: 1
---
PCx86 Documentation

View file

@ -2,7 +2,7 @@
<?xml-stylesheet type="text/xsl" href="/versions/pcx86/1.35.1/machine.xsl"?>
<machine id="ibm5160" type="pcx86" border="1" width="980px" pos="center" background="#FAEBD7">
<name pos="center">IBM PC XT (Model 5160), CGA, 256Kb, 10Mb Drive</name>
<computer id="xt-cga-256k" name="IBM PC XT" resume="1"/>
<computer id="xt-cga-256k" name="IBM PC XT"/>
<ram id="ramLow" addr="0x00000" test="false"/>
<rom id="romHDC" addr="0xc8000" size="0x2000" file="/devices/pcx86/hdc/ibm-xebec-1982.json"/>
<rom id="romBASIC" addr="0xf6000" size="0x8000" file="/devices/pcx86/rom/5160/basic/BASIC110.json"/>