diff --git a/_includes/machine-engines.html b/_includes/machine-engines.html index f35dc8290..51951229a 100644 --- a/_includes/machine-engines.html +++ b/_includes/machine-engines.html @@ -26,6 +26,7 @@ The following optional machine properties will be added to the 'parms' property: 'drives' (eg, '[{name:"68Mb Hard Disk",type:4,path:"http://archive.pcjs.org/disks/pc/fixed/68mb/win95.json"}]') 'state' (eg, "state.json") 'messages' (eg, "fault") + 'connection' (eg, "serialPort=vt100a.serialPort") Finally, all our JavaScript components expect multi-word property names to use camelCase, so we automatically convert any lower-case forms to camelCase, both here and in markout.js and components.xsl, in case we've gotten sloppy in any @@ -97,7 +98,7 @@ of our Markdown or XML documents. Examples: 'automount' becomes 'autoMount', 'a {% else %} {% assign machine_template = machine.template %} {% endunless %} - {% capture machine_parms %}{{ site.left_brace }}autoMount:{{ machine_autoMount }}{{ machine_autoPower }}{{ machine_autoStart }}{{ machine_drives }},state:"{{ machine.state }}",messages:"{{ machine.messages }}"{{ site.right_brace }}{% endcapture %} + {% capture machine_parms %}{{ site.left_brace }}autoMount:{{ machine_autoMount }}{{ machine_autoPower }}{{ machine_autoStart }}{{ machine_drives }},state:"{{ machine.state }}",messages:"{{ machine.messages }}",connection:"{{ machine.connection }}"{{ site.right_brace }}{% endcapture %} {% if site.pcjs.compiled == true and machine.uncompiled != true %} {% capture machine_script %}{% endcapture %} {% unless machine_scripts contains machine_script %}