PDP-10 Debugger now supports command overrides from the page settings (with Jekyll)

This commit is contained in:
Jeff 2017-03-17 10:33:47 -07:00 committed by Jeff Parsons
commit 73a0fa200e

View file

@ -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"}]')
'resume' (eg, "1")
'state' (eg, "state.json")
'commands' (debugger commands, if any)
'messages' (eg, "fault")
'connection' (eg, "serialPort->vt100a.serialPort")
@ -101,7 +102,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 }},resume:"{{ machine.resume }}",state:"{{ machine.state }}",messages:"{{ machine.messages }}",connection:"{{ machine.connection }}"{{ site.right_brace }}{% endcapture %}
{% capture machine_parms %}{{ site.left_brace }}autoMount:{{ machine_autoMount }}{{ machine_autoPower }}{{ machine_autoStart }}{{ machine_drives }},resume:"{{ machine.resume }}",state:"{{ machine.state }}",commands:"{{ machine.commands }}",messages:"{{ machine.messages }}",connection:"{{ machine.connection }}"{{ site.right_brace }}{% endcapture %}
{% if site.pcjs.compiled == true and machine.uncompiled != true %}
{% capture machine_script %}<!--suppress BadExpressionStatementJS -->
<script type="text/javascript" src="{{ site.baseurl }}/versions/{{ machine_app }}/{{ site.pcjs.version }}/{{ machine_file }}.js"></script>{% endcapture %}