Skip to content
This repository has been archived by the owner on Dec 24, 2020. It is now read-only.

Commit

Permalink
Added breadcrumbs, and UI for saving a local copy of a hard disk
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffpar committed Apr 2, 2016
1 parent eb7aef2 commit cc29988
Show file tree
Hide file tree
Showing 32 changed files with 1,311 additions and 1,249 deletions.
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
versions/c1pjs/* linguist-vendored
versions/pcjs/* linguist-vendored
_includes/google-analytics.html merge=ours
11 changes: 11 additions & 0 deletions _includes/breadcrumbs.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{% capture page_url_without_index_html %}{{ page.url | remove: "/index.html" | remove: "/404.html" }}{% endcapture %}
{% assign splitted_url_parts = page_url_without_index_html | split: '/' %}
{% capture forLoopMaxInt %}{{ splitted_url_parts.size | minus:1 }}{% endcapture %}
{% for i in (1..forLoopMaxInt) %}
{% capture url %}{{ url }}{{ splitted_url_parts[i] }}/{% endcapture %}
{% capture path %}{{ path }}\<a href="/{{ url }}">{{ splitted_url_parts[i] | upcase }}</a>{% endcapture %}
{% if splitted_url_parts[i] == "blog" %}
{% break %}
{% endif %}
{% endfor %}
<h4>Directory of C:\<a href="{{ site.baseurl }}/">PCJS.ORG</a>{{ path }}</h4>
4 changes: 4 additions & 0 deletions _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,9 @@
</nav>

</div>

<div class="wrapper">
{% include breadcrumbs.html %}
</div>

</header>
2 changes: 1 addition & 1 deletion _includes/page-scripts.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% comment %}

Used by pages like the one in /api/v1/dump/ to implement a client-side API.
Used by pages like the one in /api/v1/dump/ to simulate a client-side API.

{% endcomment %}
{% for script in page.scripts %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<keyboard ref="/devices/pc/keyboard/us84-buttons-functions.xml"/>
<debugger id="debugger" messages="fault" commands=""/>
<panel ref="/devices/pc/panel/btpanel.xml"/>
<hdc id="hdcAT" type="at" drives='[{name:"20Mb Hard Disk",type:2}]'/>
<hdc ref="/disks/pc/fixed/20mb/pcdos330-empty.xml"/>
<chipset id="chipset" model="5170" floppies="[1440,1200]" monitor="ega"/>
<serial id="com1" adapter="1"/>
<serial id="com2" adapter="2" binding="print"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<keyboard ref="/devices/pc/keyboard/us84-buttons-arrows.xml"/>
<debugger id="debugger" messages="fault" commands=""/>
<panel ref="/devices/pc/panel/wide.xml"/>
<hdc id="hdcAT" type="at" drives='[{name:"20Mb Hard Disk",type:2,path:"/disks/pc/fixed/20mb/PCDOS330-EMPTY.json"}]'/>
<hdc ref="/disks/pc/fixed/20mb/pcdos330-empty.xml"/>
<chipset id="chipset" model="5170" floppies="[1440,1200]"/>
<serial id="com1" adapter="1"/>
<serial id="com2" adapter="2" binding="print"/>
Expand Down
2 changes: 1 addition & 1 deletion devices/pc/machine/5170/ega/1152kb/rev3/machine.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<control type="button" binding="reset">Reset</control>
<control type="button" binding="setSpeed">Speed</control>
</cpu>
<hdc id="hdcAT" type="at" drives='[{name:"20Mb Hard Disk",type:2,path:"/disks/pc/fixed/20mb/PCDOS330-EMPTY.json"}]'/>
<hdc ref="/disks/pc/fixed/20mb/pcdos330-empty.xml"/>
<chipset id="chipset" model="5170" floppies="[1440,1200]"/>
<serial id="com1" adapter="1"/>
<mouse serial="com1"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<keyboard ref="/devices/pc/keyboard/us84-buttons-arrows.xml"/>
<debugger id="debugger" messages="fault" commands=""/>
<panel ref="/devices/pc/panel/btpanel.xml"/>
<hdc id="hdcAT" type="at" drives='[{name:"20Mb Hard Disk",type:2,path:"/disks/pc/fixed/20mb/PCDOS330-EMPTY.json"}]'/>
<hdc ref="/disks/pc/fixed/20mb/pcdos330-empty.xml"/>
<chipset id="chipset" model="5170" floppies="[1440,1200]"/>
<serial id="com1" adapter="1"/>
<serial id="com2" adapter="2" binding="print" tabsize="8" charbol="9"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<keyboard ref="/devices/pc/keyboard/us84-buttons-arrows.xml"/>
<debugger id="debugger" messages="fault" commands=""/>
<panel ref="/devices/pc/panel/wide.xml"/>
<hdc id="hdcAT" type="at" drives='[{name:"20Mb Hard Disk",type:2,path:"/disks/pc/fixed/20mb/PCDOS330-EMPTY.json"}]'/>
<hdc ref="/disks/pc/fixed/20mb/pcdos330-empty.xml"/>
<chipset id="chipset" model="5170" floppies="[1440,1200]"/>
<serial id="com1" adapter="1"/>
<serial id="com2" adapter="2" binding="print" tabsize="8" charbol="9"/>
Expand Down
2 changes: 1 addition & 1 deletion devices/pc/machine/5170/ega/2048kb/rev3/machine.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<video ref="/devices/pc/video/ibm/ega/1984-09-13/128kb-lockfs.xml"/>
<fdc ref="/disks/pc/compiled/library.xml" automount='{A:{name:"PC-DOS 3.30 (Disk 1)",path:"/disks/pc/dos/ibm/3.30/PCDOS330-DISK1.json"}, B:{name:"PC-DOS 3.30 (Disk 2)",path:"/disks/pc/dos/ibm/3.30/PCDOS330-DISK2.json"}}'/>
<keyboard ref="/devices/pc/keyboard/us84-buttons-arrows.xml"/>
<hdc id="hdcAT" type="at" drives='[{name:"20Mb Hard Disk",type:2,path:"/disks/pc/fixed/20mb/PCDOS330-EMPTY.json"}]'/>
<hdc ref="/disks/pc/fixed/20mb/pcdos330-empty.xml"/>
<chipset id="chipset" model="5170" floppies="[1440,1200]"/>
<serial id="com1" adapter="1"/>
<mouse serial="com1"/>
Expand Down
2 changes: 1 addition & 1 deletion devices/pc/machine/5170/vga/2048kb/debugger/machine.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<debugger id="debugger"/>
<panel ref="/devices/pc/panel/wide.xml"/>
<cpu id="cpu286" model="80286" cycles="8000000"/>
<hdc id="hdcAT" type="at" drives='[{name:"20Mb Hard Disk",type:2,path:"/disks/pc/fixed/20mb/PCDOS330-EMPTY.json"}]'/>
<hdc ref="/disks/pc/fixed/20mb/pcdos330-empty.xml"/>
<chipset id="chipset" model="5170" floppies="[1440,1200]"/>
<serial id="com1" adapter="1"/>
<serial id="com2" adapter="2" binding="print"/>
Expand Down
2 changes: 1 addition & 1 deletion devices/pc/machine/5170/vga/2048kb/machine.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<control type="button" binding="reset">Reset</control>
<control type="button" binding="setSpeed">Speed</control>
</cpu>
<hdc id="hdcAT" type="at" drives='[{name:"20Mb Hard Disk",type:2,path:"/disks/pc/fixed/20mb/PCDOS330-EMPTY.json"}]'/>
<hdc ref="/disks/pc/fixed/20mb/pcdos330-empty.xml"/>
<chipset id="chipset" model="5170" floppies="[1440,1200]"/>
<serial id="com1" adapter="1"/>
<mouse serial="com1"/>
Expand Down
2 changes: 1 addition & 1 deletion devices/pc/machine/5170/vga/4096kb/debugger/machine.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<debugger id="debugger"/>
<panel ref="/devices/pc/panel/wide.xml"/>
<cpu id="cpu286" model="80286" cycles="8000000"/>
<hdc id="hdcAT" type="at" drives='[{name:"20Mb Hard Disk",type:2,path:"/disks/pc/fixed/20mb/PCDOS330-EMPTY.json"}]'/>
<hdc ref="/disks/pc/fixed/20mb/pcdos330-empty.xml"/>
<chipset id="chipset" model="5170" floppies="[1440,1200]"/>
<serial id="com1" adapter="1"/>
<serial id="com2" adapter="2" binding="print"/>
Expand Down
2 changes: 1 addition & 1 deletion devices/pc/machine/5170/vga/4096kb/machine.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<control type="button" binding="reset">Reset</control>
<control type="button" binding="setSpeed">Speed</control>
</cpu>
<hdc id="hdcAT" type="at" drives='[{name:"20Mb Hard Disk",type:2,path:"/disks/pc/fixed/20mb/PCDOS330-EMPTY.json"}]'/>
<hdc ref="/disks/pc/fixed/20mb/pcdos330-empty.xml"/>
<chipset id="chipset" model="5170" floppies="[1440,1200]"/>
<serial id="com1" adapter="1"/>
<mouse serial="com1"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<keyboard ref="/devices/pc/keyboard/us84-buttons-arrows.xml"/>
<debugger id="debugger" messages="" commands=""/>
<panel ref="/devices/pc/panel/wide386.xml"/>
<hdc id="hdcAT" type="at" drives='[{name:"20Mb Hard Disk",type:2,path:"/disks/pc/fixed/20mb/PCDOS330-EMPTY.json"}]'/>
<hdc ref="/disks/pc/fixed/20mb/pcdos330-empty.xml"/>
<chipset id="chipset" model="deskpro386" floppies="[1200,1200]"/>
<serial id="com1" adapter="1"/>
<serial id="com2" adapter="2" binding="print"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<video ref="/devices/pc/video/ibm/ega/1984-09-13/128kb-autolockfs.xml"/>
<fdc ref="/disks/pc/compiled/library.xml" automount='{A: {name: "PC-DOS 3.30 (Disk 1)", path: "/disks/pc/dos/ibm/3.30/PCDOS330-DISK1.json"}, B: {name: "PC-DOS 3.30 (Disk 2)", path: "/disks/pc/dos/ibm/3.30/PCDOS330-DISK2.json"}}'/>
<keyboard ref="/devices/pc/keyboard/us84-buttons-arrows.xml"/>
<hdc id="hdcAT" type="at" drives='[{name:"20Mb Hard Disk",type:2,path:"/disks/pc/fixed/20mb/PCDOS330-EMPTY.json"}]'/>
<hdc ref="/disks/pc/fixed/20mb/pcdos330-empty.xml"/>
<chipset id="chipset" model="deskpro386" floppies="[1200,1200]"/>
<serial id="com1" adapter="1"/>
<serial id="com2" adapter="2" binding="print"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<keyboard ref="/devices/pc/keyboard/us84-buttons-arrows.xml"/>
<debugger id="debugger" messages="" commands=""/>
<panel ref="/devices/pc/panel/wide386.xml"/>
<hdc id="hdcAT" type="at" drives='[{name:"20Mb Hard Disk",type:2,path:"/disks/pc/fixed/20mb/PCDOS330-EMPTY.json"}]'/>
<hdc ref="/disks/pc/fixed/20mb/pcdos330-empty.xml"/>
<chipset id="chipset" model="deskpro386" floppies="[1200,1200]"/>
<parallel id="lpt1" adapter="2"/>
<serial id="com1" adapter="1"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<video ref="/devices/pc/video/ibm/ega/1984-09-13/128kb-autolockfs.xml"/>
<fdc ref="/disks/pc/compiled/library.xml" automount='{A: {name: "PC-DOS 3.30 (Disk 1)", path: "/disks/pc/dos/ibm/3.30/PCDOS330-DISK1.json"}, B: {name: "PC-DOS 3.30 (Disk 2)", path: "/disks/pc/dos/ibm/3.30/PCDOS330-DISK2.json"}}'/>
<keyboard ref="/devices/pc/keyboard/us84-buttons-arrows.xml"/>
<hdc id="hdcAT" type="at" drives='[{name:"20Mb Hard Disk",type:2,path:"/disks/pc/fixed/20mb/PCDOS330-EMPTY.json"}]'/>
<hdc ref="/disks/pc/fixed/20mb/pcdos330-empty.xml"/>
<chipset id="chipset" model="deskpro386" floppies="[1200,1200]"/>
<parallel id="lpt1" adapter="2"/>
<serial id="com1" adapter="1"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<keyboard ref="/devices/pc/keyboard/us84-buttons-functions.xml"/>
<debugger id="debugger" messages="fault|int" commands=""/>
<panel ref="/devices/pc/panel/wide386.xml"/>
<hdc id="hdcAT" type="at" drives='[{name:"20Mb Hard Disk",type:2,path:"/disks/pc/fixed/20mb/PCDOS330-EMPTY.json"}]'/>
<hdc ref="/disks/pc/fixed/20mb/pcdos330-empty.xml"/>
<chipset id="chipset" model="deskpro386" floppies="[1200,1200]" monitor="vga"/>
<serial id="com1" adapter="1"/>
<serial id="com2" adapter="2" binding="print"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<video ref="/devices/pc/video/ibm/vga/1986-10-27/256kb-autolockfs.xml"/>
<fdc ref="/disks/pc/compiled/library.xml" automount='{A: {name: "COMPAQ MS-DOS 3.31 (Disk 2)", path: "/disks/pc/dos/compaq/3.31/COMPAQ-DOS331-DISK2.json"}, B: {name: "COMPAQ MS-DOS 3.31 (Disk 3)", path: "/disks/pc/dos/compaq/3.31/COMPAQ-DOS331-DISK3.json"}}'/>
<keyboard ref="/devices/pc/keyboard/us84-buttons-functions.xml"/>
<hdc id="hdcAT" type="at" drives='[{name:"20Mb Hard Disk",type:2,path:"/disks/pc/fixed/20mb/PCDOS330-EMPTY.json"}]'/>
<hdc ref="/disks/pc/fixed/20mb/pcdos330-empty.xml"/>
<chipset id="chipset" model="deskpro386" floppies="[1200,1200]" monitor="vga"/>
<serial id="com1" adapter="1"/>
<serial id="com2" adapter="2" binding="print"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<keyboard id="keyboard"/>
<debugger id="debugger" messages="" commands=''/>
<panel ref="/devices/pc/panel/wide386.xml"/>
<hdc id="hdcAT" type="at" drives='[{name:"20Mb Hard Disk",type:2,path:"/disks/pc/fixed/20mb/PCDOS330-EMPTY.json"}]'/>
<hdc ref="/disks/pc/fixed/20mb/pcdos330-empty.xml"/>
<chipset id="chipset" model="deskpro386" floppies="[1200,1200]" monitor="vga"/>
<serial id="com1" adapter="1"/>
<serial id="com2" adapter="2" binding="print"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<video ref="/devices/pc/video/ibm/vga/1986-10-27/256kb-autolockfs.xml"/>
<fdc ref="/disks/pc/compiled/library.xml" automount='{A: {name: "PC-DOS 3.30 (Disk 1)", path: "/disks/pc/dos/ibm/3.30/PCDOS330-DISK1.json"}, B: {name: "PC-DOS 3.30 (Disk 2)", path: "/disks/pc/dos/ibm/3.30/PCDOS330-DISK2.json"}}'/>
<keyboard id="keyboard"/>
<hdc id="hdcAT" type="at" drives='[{name:"20Mb Hard Disk",type:2,path:"/disks/pc/fixed/20mb/PCDOS330-EMPTY.json"}]'/>
<hdc ref="/disks/pc/fixed/20mb/pcdos330-empty.xml"/>
<chipset id="chipset" model="deskpro386" floppies="[1200,1200]" monitor="vga"/>
<serial id="com1" adapter="1"/>
<serial id="com2" adapter="2" binding="print"/>
Expand Down
2 changes: 1 addition & 1 deletion devices/pc/rom/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: page
title: IBM PC ROMs
permalink: /devices/pc/rom/
redirect_from:
- /devices/pc/
- /devices/pc/bios/
---

IBM PC ROMs
Expand Down
4 changes: 4 additions & 0 deletions disks/pc/fixed/20mb/pcdos330-empty.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<hdc id="hdcAT" type="at" drives='[{name:"20Mb Hard Disk",type:2,path:"/disks/pc/fixed/20mb/PCDOS330-EMPTY.json"}]'>
<control type="button" binding="saveHD0" padright="8px">Save HD</control>
</hdc>
Loading

0 comments on commit cc29988

Please sign in to comment.