Skip to content

Commit

Permalink
Merge branch 'master' into gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffpar committed Nov 16, 2023
2 parents aa53735 + 62cd49e commit c2f45fd
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 2 deletions.
24 changes: 24 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,30 @@
"order": 10
}
},
{
"name": "IBM PC XT with VGA",
"type": "chrome",
"request": "launch",
"url": "http://localhost:4000/machines/pcx86/ibm/5160/vga/",
"webRoot": "${workspaceFolder}",
"presentation": {
"hidden": false,
"group": "hardware",
"order": 10
}
},
{
"name": "IBM PC XT with VGA [Debugger]",
"type": "chrome",
"request": "launch",
"url": "http://localhost:4000/machines/pcx86/ibm/5160/vga/debugger/",
"webRoot": "${workspaceFolder}",
"presentation": {
"hidden": false,
"group": "hardware",
"order": 10
}
},
{
"name": "IBM PC AT with CGA [Debugger*]",
"type": "chrome",
Expand Down
2 changes: 1 addition & 1 deletion machines/pcx86/ibm/5160/vga/640kb/debugger/machine.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<cpu id="cpu8088" model="8088"/>
<debugger id="debugger"/>
<panel ref="/machines/pcx86/panel/wide.xml"/>
<chipset id="chipset" model="5160" sw1="01001101" pos="left" padLeft="8px" padBottom="8px">
<chipset id="chipset" model="5160" sw1="01001100" pos="left" padLeft="8px" padBottom="8px">
<control type="switches" label="SW1" binding="sw1" left="0px"/>
<control type="description" binding="swdesc" left="0px"/>
</chipset>
Expand Down
2 changes: 1 addition & 1 deletion machines/pcx86/ibm/5160/vga/640kb/machine.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<control type="button" binding="reset">Reset</control>
<control type="button" binding="setSpeed">Speed</control>
</cpu>
<chipset id="chipset" model="5160" sw1="01001101"/>
<chipset id="chipset" model="5160" sw1="01001100"/>
<serial id="com1" adapter="1"/>
<serial id="com2" adapter="2"/>
<mouse serial="com2"/>
Expand Down
6 changes: 6 additions & 0 deletions machines/pcx86/ibm/5160/vga/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ machines:
autoType: $date\r$time\r
---

NOTE: Unlike most IBM PC machines on PCjs, the DIP switches on this machine have been set to indicate *four* floppy disk drives (`0xxxxx00`) instead of the usual two drives (`0xxxxx01`). This can result in some confusion, depending on which version of DOS you're using and what your expectations are.

For example, PC DOS 3.20 will assign drive letters A-D to the floppy drives and drive letter E to the hard drive, whereas MS-DOS 5.00 always starts with drive letter C for any hard drives, regardless of the number of floppy drives; since this machine has only one hard drive, MS-DOS 5.00 will assign drive letters D and E to the 3rd and 4th floppy drives.

PCjs does not interrogate the operating system's drive letter assignments, so the removable drive letters displayed in the PCjs UI will always be A-D. The UI *could* display drive numbers instead of letters (eg, 1-4), but that would be more confusing for the average user *and* the typical machine, so I've decided to leave things as they are.

{% include machine.html id="ibm5160-vga" %}

{% include gallery/documents.html width="200" height="280" %}

0 comments on commit c2f45fd

Please sign in to comment.