Start using fenced code blocks with language identifiers to improve highlighting with GitHub Pages
This commit is contained in:
parent
415e7ed984
commit
2ba7f502c1
12 changed files with 247 additions and 209 deletions
|
|
@ -1,6 +1,8 @@
|
|||
---
|
||||
layout: page
|
||||
title: Device Configurations
|
||||
menu_title: Devices
|
||||
menu_order: 3
|
||||
permalink: /devices/
|
||||
redirect_from:
|
||||
- /configs/
|
||||
|
|
@ -11,7 +13,7 @@ Device Configurations
|
|||
|
||||
All PCjs machines are built from the following collections of devices:
|
||||
|
||||
* 6502-based Devices (e.g., [Challenger 1P](c1p/))
|
||||
* 6502-based Devices (e.g., [Challenger 1P](c1p/machine/))
|
||||
* [8080-based Devices](pc8080/) (e.g., [Space Invaders](pc8080/machine/invaders/))
|
||||
* [8086-based Devices](pc/) (e.g., [IBM PC, including 80286 and 80386-based compatibles](pc/machine/))
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ redirect_from:
|
|||
IBM PC Device Configurations
|
||||
---
|
||||
|
||||
[IBM PC Machines](machine/) are built from a collection of PC Devices, including:
|
||||
[IBM PC Machines](machine/) are built from a collection of devices, including:
|
||||
|
||||
* CPU (e.g., 8088, 80286, 80386)
|
||||
* RAM
|
||||
|
|
@ -34,21 +34,23 @@ or it can include pre-configured device XML files, such as those provided above
|
|||
Here's an example of [IBM 5150](/devices/pc/machine/5150/mda/64kb/)
|
||||
[XML](/devices/pc/machine/5150/mda/64kb/machine.xml):
|
||||
|
||||
<machine id="ibm5150" class="pc" border="1" pos="center" background="#FAEBD7">
|
||||
<name pos="center">IBM PC (Model 5150) with Monochrome Display</name>
|
||||
<computer id="pc-mda-64k" name="IBM PC" resume="1"/>
|
||||
<ram id="ramLow" addr="0x00000"/>
|
||||
<rom id="romBASIC" addr="0xf6000" size="0x8000" file="/devices/pc/rom/5150/basic/BASIC100.json"/>
|
||||
<rom id="romBIOS" addr="0xfe000" size="0x2000" file="/devices/pc/rom/5150/1981-04-24/PCBIOS-REV1.json"/>
|
||||
<video ref="/devices/pc/video/ibm/mda/ibm-mda.xml"/>
|
||||
<fdc ref="/disks/pc/compiled/samples.xml"/>
|
||||
<cpu id="cpu8088" model="8088" autostart="true" pos="left" padleft="8px" padbottom="8px">
|
||||
<control type="button" binding="run">Run</control>
|
||||
<control type="button" binding="reset">Reset</control>
|
||||
</cpu>
|
||||
<keyboard ref="/devices/pc/keyboard/us83-buttons-arrows.xml"/>
|
||||
<chipset id="chipset" model="5150" sw1="01000001" sw2="11111000"/>
|
||||
</machine>
|
||||
```xml
|
||||
<machine id="ibm5150" class="pc" border="1" pos="center" background="#FAEBD7">
|
||||
<name pos="center">IBM PC (Model 5150) with Monochrome Display</name>
|
||||
<computer id="pc-mda-64k" name="IBM PC" resume="1"/>
|
||||
<ram id="ramLow" addr="0x00000"/>
|
||||
<rom id="romBASIC" addr="0xf6000" size="0x8000" file="/devices/pc/rom/5150/basic/BASIC100.json"/>
|
||||
<rom id="romBIOS" addr="0xfe000" size="0x2000" file="/devices/pc/rom/5150/1981-04-24/PCBIOS-REV1.json"/>
|
||||
<video ref="/devices/pc/video/ibm/mda/ibm-mda.xml"/>
|
||||
<fdc ref="/disks/pc/compiled/samples.xml"/>
|
||||
<cpu id="cpu8088" model="8088" autostart="true" pos="left" padleft="8px" padbottom="8px">
|
||||
<control type="button" binding="run">Run</control>
|
||||
<control type="button" binding="reset">Reset</control>
|
||||
</cpu>
|
||||
<keyboard ref="/devices/pc/keyboard/us83-buttons-arrows.xml"/>
|
||||
<chipset id="chipset" model="5150" sw1="01000001" sw2="11111000"/>
|
||||
</machine>
|
||||
```
|
||||
|
||||
In this example, all the devices are fully configured within the machine XML file, except for the
|
||||
[Video](/docs/pcjs/video/) [XML](/devices/pc/video/ibm/mda/ibm-mda.xml),
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
---
|
||||
layout: page
|
||||
title: IBM PC Machine Configurations
|
||||
menu_title: Machines
|
||||
menu_order: 6
|
||||
permalink: /devices/pc/machine/
|
||||
redirect_from:
|
||||
- /configs/pc/machines/
|
||||
|
|
@ -11,7 +9,7 @@ redirect_from:
|
|||
IBM PC Machine Configurations
|
||||
---
|
||||
|
||||
[PC Devices](/devices/pc/) are the building blocks of these early [IBM PC Machines](#ibm-pc-machines):
|
||||
PCjs supports these early [IBM PC Machines](#ibm-pc-machines):
|
||||
|
||||
* [IBM PC](/devices/pc/machine/5150/) (Model 5150)
|
||||
* [IBM PC XT](/devices/pc/machine/5160/) (Model 5160)
|
||||
|
|
|
|||
|
|
@ -23,25 +23,26 @@ or it can include pre-configured device XML files, such as those provided above
|
|||
For example, here's what the [Space Invaders (1978)](/devices/pc8080/machine/invaders/)
|
||||
[XML](/devices/pc8080/machine/invaders/machine.xml) looks like:
|
||||
|
||||
<?xml-stylesheet type="text/xsl" href="/versions/pc8080/1.22.0/machine.xsl"?>
|
||||
<machine id="invaders" class="pc8080" border="1" pos="center" background="#FAEBD7">
|
||||
<name pos="center">Space Invaders</name>
|
||||
<computer id="computer" busWidth="16"/>
|
||||
<cpu id="cpu8080" model="8080" cycles="2000000"/>
|
||||
<rom id="romH" addr="0x0000" size="0x0800" file="/devices/pc8080/rom/invaders/INVADERS-H.json"/>
|
||||
<rom id="romG" addr="0x0800" size="0x0800" file="/devices/pc8080/rom/invaders/INVADERS-G.json"/>
|
||||
<rom id="romF" addr="0x1000" size="0x0800" file="/devices/pc8080/rom/invaders/INVADERS-F.json"/>
|
||||
<rom id="romE" addr="0x1800" size="0x0800" file="/devices/pc8080/rom/invaders/INVADERS-E.json"/>
|
||||
<ram id="ram" addr="0x2000" size="0x2000"/>
|
||||
<video id="video" screenWidth="224" screenHeight="256" bufferAddr="0x2400" bufferCols="256" bufferRows="224" bufferBits="1" interruptRate="120" rotation="90" width="40%" pos="left" padding="8px">
|
||||
<menu>
|
||||
<title>224x256 Screen (Rotated)</title>
|
||||
</menu>
|
||||
</video>
|
||||
<chipset id="chipset" model="SI1978"/>
|
||||
<panel ref="/devices/pc8080/panel/left.xml"/>
|
||||
<debugger id="debugger" commands="s 8086"/>
|
||||
</machine>
|
||||
```xml
|
||||
<machine id="invaders" class="pc8080" border="1" pos="center" background="#FAEBD7">
|
||||
<name pos="center">Space Invaders</name>
|
||||
<computer id="computer" busWidth="16"/>
|
||||
<cpu id="cpu8080" model="8080" cycles="2000000"/>
|
||||
<rom id="romH" addr="0x0000" size="0x0800" file="/devices/pc8080/rom/invaders/INVADERS-H.json"/>
|
||||
<rom id="romG" addr="0x0800" size="0x0800" file="/devices/pc8080/rom/invaders/INVADERS-G.json"/>
|
||||
<rom id="romF" addr="0x1000" size="0x0800" file="/devices/pc8080/rom/invaders/INVADERS-F.json"/>
|
||||
<rom id="romE" addr="0x1800" size="0x0800" file="/devices/pc8080/rom/invaders/INVADERS-E.json"/>
|
||||
<ram id="ram" addr="0x2000" size="0x2000"/>
|
||||
<video id="video" screenWidth="224" screenHeight="256" bufferAddr="0x2400" bufferCols="256" bufferRows="224" bufferBits="1" interruptRate="120" rotation="90" width="40%" pos="left" padding="8px">
|
||||
<menu>
|
||||
<title>224x256 Screen (Rotated)</title>
|
||||
</menu>
|
||||
</video>
|
||||
<chipset id="chipset" model="SI1978"/>
|
||||
<panel ref="/devices/pc8080/panel/left.xml"/>
|
||||
<debugger id="debugger" commands="s 8086"/>
|
||||
</machine>
|
||||
```
|
||||
|
||||
In this example, all the devices are fully configured within the machine XML file, except for the
|
||||
[Control Panel](panel/) [XML](panel/left.xml).
|
||||
|
|
|
|||
|
|
@ -11,5 +11,5 @@ permalink: /devices/pc8080/rom/exerciser/
|
|||
* [8080EXER](8080EXER.MAC)
|
||||
* [8080PRE](8080PRE.MAC)
|
||||
|
||||
Our [8080 Exerciser Test Machine](/devices/pc8080/machine/exerciser/) runs the [8080EX1](8080EX1.MAC),
|
||||
since it is the most comprehensive test, and was designed specifically for the Intel 8080.
|
||||
Our [8080 Exerciser Test Machine](/devices/pc8080/machine/exerciser/) runs [8080EX1](8080EX1.MAC),
|
||||
since it is the most comprehensive test and verifies strict compatibilty with the original Intel 8080.
|
||||
|
|
|
|||
Loading…
Reference in a new issue