Documentation updates

This commit is contained in:
Jeff Parsons 2015-12-09 15:23:21 -08:00
commit 645748091c
30 changed files with 216 additions and 70 deletions

View file

@ -41,7 +41,7 @@ Some pre-configured machines are shown below, ready to run BASIC, DOS, Windows 1
[<img src="/devices/pc/machine/5150/cga/64kb/donkey/thumbnail.jpg" width="200" height="100" alt="IBM PC running DONKEY.BAS"/>](/devices/pc/machine/5150/cga/64kb/donkey/)
[<img src="/devices/pc/machine/5160/cga/256kb/demo/thumbnail.jpg" width="200" height="100" alt="IBM PC XT w/CGA, 10Mb Hard Drive"/>](/devices/pc/machine/5160/cga/256kb/demo/)
[<img src="/devices/pc/machine/5160/cga/256kb/win101/thumbnail.jpg" width="200" height="100" alt="IBM PC XT w/CGA, Windows 1.01"/>](/devices/pc/machine/5160/cga/256kb/win101/")
[<img src="/devices/pc/machine/5160/cga/256kb/win101/thumbnail.jpg" width="200" height="100" alt="IBM PC XT w/CGA, Windows 1.01"/>](/devices/pc/machine/5160/cga/256kb/win101/)
[<img src="/devices/pc/machine/5160/ega/640kb/win101/thumbnail.jpg" width="200" height="100" alt="IBM PC XT w/EGA, Windows 1.01"/>](/devices/pc/machine/5160/ega/640kb/win101/)
[<img src="/disks/pc/os2/ibm/1.0/thumbnail.jpg" width="200" height="100" alt="IBM PC AT w/EGA, OS/2 1.0"/>](/disks/pc/os2/ibm/1.0/)
[<img src="/disks/pc/cpm/thumbnail.jpg" width="200" height="100" alt="IBM PC w/MDA, CP/M-86"/>](/disks/pc/cpm/)

7
blog/README.md Normal file
View file

@ -0,0 +1,7 @@
---
layout: blog
title: Blog
menu_order: 2
permalink: /blog/
---

View file

@ -0,0 +1,10 @@
---
layout: page
title: "OSI Challenger 1P (8Kb) with Additional Software"
permalink: /devices/c1p/machine/8kb/all/debugger/
machines:
- type: c1p-dbg
id: c1p8kb
---
{% include machine.html id="c1p8kb" %}

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/c1pjs/1.20.2/machine.xsl"?>
<machine id="c1pAll" class="c1p" border="1" width="100%" padbottom="8px" background="#FAEBD7" style="padding-bottom:8px">
<name>OSI Challenger 1P (8Kb, More Programs)</name>
<name>OSI Challenger 1P (8Kb, Additional Software)</name>
<computer id="c1p" name="Challenger 1P">
<module type="cpu" refid="cpu6502" start="0x0000" end="0xffff"/>
<module type="ram" refid="ram8K" start="0x0000" end="0x1fff"/>

View file

@ -0,0 +1,10 @@
---
layout: page
title: "OSI Challenger 1P (8Kb) with Large Display"
permalink: /devices/c1p/machine/8kb/large/debugger/
machines:
- type: c1p-dbg
id: c1p8kb
---
{% include machine.html id="c1p8kb" %}

View file

@ -0,0 +1,10 @@
---
layout: page
title: "OSI Challenger 1P (8Kb) with Large Display"
permalink: /devices/c1p/machine/8kb/large/
machines:
- type: c1p
id: c1p8kb
---
{% include machine.html id="c1p8kb" %}

View file

@ -0,0 +1,10 @@
---
layout: page
title: "OSI Challenger 1P (8Kb) with Small Display"
permalink: /devices/c1p/machine/8kb/small/
machines:
- type: c1p
id: c1p8kb
---
{% include machine.html id="c1p8kb" %}

View file

@ -1,4 +1,11 @@
---
layout: page
title: Docs
menu_order: 6
permalink: /docs/
---
Documentation
---
Documentation for [PCjs](/docs/pcjs/) and [C1Pjs](/docs/c1pjs/) is now available.
Documentation for [PCjs](/docs/pcjs/) and [C1Pjs](/docs/c1pjs/) is now available.

View file

@ -1,3 +1,13 @@
---
layout: page
title: C1Pjs Documentation
permalink: /docs/c1pjs/
machines:
- type: c1p-dbg
id: c1p8kb
config: /devices/c1p/machine/8kb/large/debugger/machine.xml
---
C1Pjs Documentation
---
@ -5,7 +15,7 @@ C1Pjs is a JavaScript simulation of the Challenger 1P, an 8-bit 6502-based micro
manufactured by Ohio Scientific in 1978. The base configuration included 4Kb of RAM and an
8Kb BASIC-in-ROM from Microsoft. Below is a simulation of the 8Kb model.
[OSI Challenger C1P](/devices/c1p/machine/8kb/large/debugger/ "C1Pjs:c1p8kb:::debugger")
{% include machine.html id="c1p8kb" %}
More sample [C1P machine configurations](/devices/c1p/machine/) are available, as well as
information on [customizing and embedding](embed/) your own configurations.
@ -143,6 +153,6 @@ the &lt;canvas&gt; tag until IE9.
### Challenger 1P Reference Manuals
![OSI BASIC-IN-ROM Manual](http://static.pcjs.org/pubs/c1p/techref/thumbs/OSI_BASIC-IN-ROM_Reference_Manual-thumb.jpg "link:http://static.pcjs.org/pubs/c1p/techref/pdfs/OSI_BASIC-IN-ROM_Reference_Manual.pdf:200:260")
![OSI C1P Graphics Manual](http://static.pcjs.org/pubs/c1p/techref/thumbs/OSI_C1P_Character_Graphics_Reference_Manual-thumb.jpg "link:http://static.pcjs.org/pubs/c1p/techref/pdfs/OSI_C1P_Character_Graphics_Reference_Manual.pdf:200:260")
![OSI C1P Users Manual](http://static.pcjs.org/pubs/c1p/techref/thumbs/OSI_C1P_Users_Manual-thumb.jpg "link:http://static.pcjs.org/pubs/c1p/techref/pdfs/OSI_C1P_Users_Manual.pdf:200:260")
[<img src="http://static.pcjs.org/pubs/c1p/techref/thumbs/OSI_BASIC-IN-ROM_Reference_Manual-thumb.jpg" width="200" height="260" alt="OSI BASIC-IN-ROM Manual"/>](http://static.pcjs.org/pubs/c1p/techref/pdfs/OSI_BASIC-IN-ROM_Reference_Manual.pdf)
[<img src="http://static.pcjs.org/pubs/c1p/techref/thumbs/OSI_C1P_Character_Graphics_Reference_Manual-thumb.jpg" width="200" height="260" alt="OSI C1P Graphics Manual"/>](http://static.pcjs.org/pubs/c1p/techref/pdfs/OSI_C1P_Character_Graphics_Reference_Manual.pdf)
[<img src="http://static.pcjs.org/pubs/c1p/techref/thumbs/OSI_C1P_Users_Manual-thumb.jpg" width="200" height="260" alt="OSI C1P Users Manual"/>](http://static.pcjs.org/pubs/c1p/techref/pdfs/OSI_C1P_Users_Manual.pdf)

View file

@ -1,6 +1,17 @@
---
layout: page
title: Embedding The C1Pjs Simulator
permalink: /docs/c1pjs/embed/
machines:
- type: c1p
id: c1p8kb
config: /devices/c1p/machine/8kb/embed/machine.xml
---
Embedding The C1Pjs Simulator
===
[Challenger 1P](/devices/c1p/machine/8kb/embed/ "C1Pjs:c1pDemo")
---
{% include machine.html id="c1p8kb" %}
If you want to read as little as possible, then just paste the following code onto a web page:

View file

@ -1,10 +1,20 @@
---
layout: page
title: PCjs Documentation
permalink: /docs/pcjs/
machines:
- type: pc
id: ibm5150
config: /devices/pc/machine/5150/mda/64kb/machine.xml
---
PCjs Documentation
---
[PCjs](/docs/about/pcjs/) is a full-featured IBM PC, PC XT and PC AT emulator written entirely in JavaScript.
After you've read the Documentation, play with the [Demos](demos/).
[IBM PC Model 5150](/devices/pc/machine/5150/mda/64kb/ "PCjs:ibm5150")
{% include machine.html id="ibm5150" %}
The [simulation](/devices/pc/machine/5150/mda/64kb/) above features an Intel 8088
running at 4.77Mhz, with 64Kb of RAM and an IBM Monochrome Display Adapter. To create your

View file

@ -1,7 +1,10 @@
&lt;chipset&gt;
===
---
layout: page
title: PCjs &lt;chipset&gt; Element
permalink: /docs/pcjs/chipset/
---
PCjs *ChipSet* XML Specification
PCjs ChipSet Component
---
Format

View file

@ -1,7 +1,10 @@
&lt;component&gt;
===
---
layout: page
title: PCjs &lt;component&gt; Element
permalink: /docs/pcjs/component/
---
*Component* XML Specification
PCjs Component
---
Format
@ -42,4 +45,4 @@ Output
</div>
</div>
[Return to [PCjs Documentation](..)]
[Return to [PCjs Documentation](..)]

View file

@ -1,7 +1,10 @@
&lt;computer&gt;
===
---
layout: page
title: PCjs &lt;computer&gt; Element
permalink: /docs/pcjs/computer/
---
PCjs *Computer* XML Specification
PCjs Computer Component
---
Format
@ -62,4 +65,4 @@ Output
Also, if any controls are defined, another &lt;div&gt; of class="pc-controls" is created in the container &lt;div&gt;,
with each control inside a &lt;div&gt; of class="pc-control".
[Return to [PCjs Documentation](..)]
[Return to [PCjs Documentation](..)]

View file

@ -1,7 +1,10 @@
&lt;cpu&gt;
===
---
layout: page
title: PCjs &lt;cpu&gt; Element
permalink: /docs/pcjs/cpu/
---
PCjs *CPU* XML Specification
PCjs CPU Component
---
Format
@ -62,4 +65,4 @@ Output
Also, if any controls are defined, another &lt;div&gt; of class="pc-controls" is created in the container &lt;div&gt;,
with each control inside a &lt;div&gt; of class="pc-control".
[Return to [PCjs Documentation](..)]
[Return to [PCjs Documentation](..)]

View file

@ -1,7 +1,10 @@
&lt;debugger&gt;
===
---
layout: page
title: PCjs &lt;debugger&gt; Element
permalink: /docs/pcjs/debugger/
---
PCjs *Debugger* XML Specification
PCjs Debugger Component
---
Format
@ -51,4 +54,4 @@ Output
Also, if any controls are defined, another &lt;div&gt; of class="pc-controls" is created in the container &lt;div&gt;,
with each control inside a &lt;div&gt; of class="pc-control".
[Return to [PCjs Documentation](..)]
[Return to [PCjs Documentation](..)]

View file

@ -1,3 +1,13 @@
---
layout: page
title: PCjs Documentation Demos
permalink: /docs/pcjs/demos/
machines:
- type: pc
id: sample3
config: /docs/pcjs/demos/sample3b.xml
---
PCjs Documentation Demos
---
@ -19,6 +29,6 @@ the "file:" or "http:" protocol.
Have fun!
[IBM PC using sample3b.xml](sample3b.xml "PCjs:sample3")
{% include machine.html id="sample3" %}
[Return to [PCjs Documentation](..)]

View file

@ -1,7 +1,10 @@
&lt;FDC&gt;
===
---
layout: page
title: PCjs &lt;fdc&gt; Element
permalink: /docs/pcjs/fdc/
---
PCjs *FDC* (Floppy Disk Controller) XML Specification
PCjs Floppy Disk Controller (FDC) Component
---
Format
@ -72,4 +75,4 @@ Output
Also, if any controls are defined, another &lt;div&gt; of class="pc-controls" is created in the container &lt;div&gt;,
with each control inside a &lt;div&gt; of class="pc-control".
[Return to [PCjs Documentation](..)]
[Return to [PCjs Documentation](..)]

View file

@ -1,7 +1,10 @@
&lt;HDC&gt;
===
---
layout: page
title: PCjs &lt;hdc&gt; Element
permalink: /docs/pcjs/hdc/
---
PCjs *HDC* (Hard Disk Controller) XML Specification
PCjs Hard Disk Controller (HDC) Component
---
Format
@ -72,4 +75,4 @@ Output
Also, if any controls are defined, another &lt;div&gt; of class="pc-controls" is created in the container &lt;div&gt;,
with each control inside a &lt;div&gt; of class="pc-control".
[Return to [PCjs Documentation](..)]
[Return to [PCjs Documentation](..)]

View file

@ -1,7 +1,10 @@
&lt;keyboard&gt;
===
---
layout: page
title: PCjs &lt;keyboard&gt; Element
permalink: /docs/pcjs/keyboard/
---
PCjs *Keyboard* XML Specification
PCjs Keyboard Component
---
Format

View file

@ -1,7 +1,10 @@
&lt;machine&gt;
===
---
layout: page
title: PCjs &lt;machine&gt; Element
permalink: /docs/pcjs/machine/
---
PCjs *Machine* XML Specification
PCjs Machine Component
---
Format
@ -39,4 +42,4 @@ Output
</div>
</div>
[Return to [PCjs Documentation](..)]
[Return to [PCjs Documentation](..)]

View file

@ -1,7 +1,10 @@
&lt;mouse&gt;
===
---
layout: page
title: PCjs &lt;mouse&gt; Element
permalink: /docs/pcjs/mouse/
---
PCjs *Mouse* XML Specification
PCjs Mouse Component
---
Format
@ -37,4 +40,4 @@ Output
</div>
</div>
[Return to [PCjs Documentation](..)]
[Return to [PCjs Documentation](..)]

View file

@ -1,7 +1,10 @@
&lt;panel&gt;
===
---
layout: page
title: PCjs &lt;panel&gt; Element
permalink: /docs/pcjs/panel/
---
PCjs *Panel* XML Specification
PCjs Control Panel Component
---
Format

View file

@ -1,7 +1,10 @@
&lt;ram&gt;
===
---
layout: page
title: PCjs &lt;ram&gt; Element
permalink: /docs/pcjs/ram/
---
PCjs *RAM* XML Specification
PCjs Random-Access Memory (RAM) Component
---
Format
@ -53,4 +56,4 @@ Output
Also, if any controls are defined, another &lt;div&gt; of class="pc-controls" is created in the container &lt;div&gt;,
with each control inside a &lt;div&gt; of class="pc-control".
[Return to [PCjs Documentation](..)]
[Return to [PCjs Documentation](..)]

View file

@ -1,7 +1,10 @@
&lt;rom&gt;
===
---
layout: page
title: PCjs &lt;rom&gt; Element
permalink: /docs/pcjs/rom/
---
PCjs *ROM* XML Specification
PCjs Read-Only Memory (ROM) Component
---
Format
@ -50,4 +53,4 @@ Output
</div>
</div>
[Return to [PCjs Documentation](..)]
[Return to [PCjs Documentation](..)]

View file

@ -1,7 +1,10 @@
&lt;serial&gt;
===
---
layout: page
title: PCjs &lt;serial&gt; Element
permalink: /docs/pcjs/serial/
---
PCjs *SerialPort* XML Specification
PCjs SerialPort Component
---
Format
@ -46,4 +49,4 @@ Output
</div>
</div>
[Return to [PCjs Documentation](..)]
[Return to [PCjs Documentation](..)]

View file

@ -1,7 +1,10 @@
&lt;video&gt;
===
---
layout: page
title: PCjs &lt;video&gt; Element
permalink: /docs/pcjs/video/
---
PCjs *Video* XML Specification
PCjs Video Component
---
Format
@ -91,4 +94,4 @@ Output
Also, if any controls are defined, another &lt;div&gt; of class="pc-controls" is created in the container &lt;div&gt;,
with each control inside a &lt;div&gt; of class="pc-control".
[Return to [PCjs Documentation](..)]
[Return to [PCjs Documentation](..)]

View file

@ -14,6 +14,9 @@
.c1pjs-embed:after {
clear:both;
}
.c1pjs-machine {
padding-bottom: 1em;
}
.c1pjs-name {
clear: both;
font-weight: bold;

View file

@ -134,11 +134,11 @@ To convert PCjs' special links, such as:
to normal Markdown links, search using this regex:
\!\[(.*?)\]\(([^ )]*) \"link:([^:]*):([0-9]*):([0-9]*)\"\)
\!\[(.*?)\]\(([^ )]*) \"link:(.*?):([0-9]*):([0-9]*)\"\)
and replace using this regex:
[<img src="$2" width="$4" height="$5"/>]($3 "$1")
[<img src="$2" width="$4" height="$5" alt="$1"/>]($3)
Jekyll "Cheat Sheet"

View file

@ -9,6 +9,9 @@
.c1pjs-embed:after {
clear:both;
}
.c1pjs-machine {
padding-bottom: 1em;
}
.c1pjs-name {
clear: both;
font-weight: bold;