Changed the last embedPC() parameter from sStateFile to sParms, although for backward compatibility, if sParms is not a JSON object definition (ie, beginning with a brace), it continues to be treated as a state filename.
This change allows us to pass any number of additional properties to embedPC(), which in turn can override properties contained in the XML file; the only property overrides currently supported are 'state' (which overrides any 'state' property set in the XML's <computer> element) and 'automount' (which overrides any 'automount' property set in the XML's <fdc> element). The goal is to make it easier to reuse XML machine definitions, by allowing commonly altered component attributes to be overridden.
This commit is contained in:
parent
5d2da60d67
commit
12b760f912
28 changed files with 2187 additions and 2059 deletions
|
|
@ -14,9 +14,6 @@ The PCjs machine below is running PC-DOS 4.00.
|
|||
|
||||
{% include machine.html id="ibm5170-msdos400" %}
|
||||
|
||||
Vital Statistics
|
||||
---
|
||||
|
||||
MS-DOS 4.00 was released in October 1988. The contents of the six 360Kb distribution diskettes are shown below.
|
||||
|
||||
### Directory of MS-DOS 4.00 (Disk 1)
|
||||
|
|
|
|||
|
|
@ -14,9 +14,6 @@ The PCjs machine below is running PC-DOS 4.01.
|
|||
|
||||
{% include machine.html id="ibm5170-msdos401" %}
|
||||
|
||||
Vital Statistics
|
||||
---
|
||||
|
||||
MS-DOS 4.01 was released in April 1989. The contents of the six 360Kb distribution diskettes are shown below.
|
||||
|
||||
### Directory of MS-DOS 4.01 (Disk 1)
|
||||
|
|
|
|||
Loading…
Reference in a new issue