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

Commit

Permalink
v1.16.2: Improve drawing performance on desktop Safari
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffpar committed Dec 6, 2014
1 parent 65f694e commit fe65937
Show file tree
Hide file tree
Showing 143 changed files with 7,041 additions and 871 deletions.
2 changes: 1 addition & 1 deletion apps/pc/1981/visicalc/manifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.1/manifest.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/manifest.xsl"?>
<manifest type="software">
<title>VisiCalc</title>
<!-- Since version numbers are incorporated into the disk image names, and this version number is a bit ugly, we're not exposing it with the normal "version" tag -->
Expand Down
2 changes: 1 addition & 1 deletion apps/pc/1982/esuite/manifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.1/manifest.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/manifest.xsl"?>
<manifest type="software">
<title>Executive Suite</title>
<version/>
Expand Down
2 changes: 1 addition & 1 deletion apps/pc/1985/rogue/manifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.1/manifest.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/manifest.xsl"?>
<manifest type="software">
<title>Rogue</title>
<version/>
Expand Down
2 changes: 1 addition & 1 deletion apps/pc/1987/thinktank/manifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.1/manifest.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/manifest.xsl"?>
<manifest type="software">
<title>ThinkTank</title>
<version>2.41NP</version>
Expand Down
2 changes: 1 addition & 1 deletion apps/pc/1988/moria/manifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.1/manifest.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/manifest.xsl"?>
<manifest type="software">
<title>The Dungeons of Moria</title>
<version>4.872</version>
Expand Down
2 changes: 1 addition & 1 deletion apps/pc/1992/moria/manifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.1/manifest.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/manifest.xsl"?>
<manifest type="software">
<title>The Dungeons of Moria</title>
<version>5.5</version>
Expand Down
65 changes: 65 additions & 0 deletions blog/2014/12/05/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
Canvas Performance and ContentEditable
---
From the beginning of the [JavaScript Machines](/docs/about/) Project, I've always used an HTML5
[Canvas](https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API) object for both machine output
and input. It's the obvious choice for output, because the Canvas provides a 2D drawing API that's
essential both for drawing bitmappped graphics and for faithfully rendering individual characters
using the machine's original bitmapped fonts.

The Canvas is perhaps a less obvious choice for input, but the theory was that by adding a
"[contenteditable](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_Editable)" attribute
to the Canvas object, the user could simply click (or tap) the Canvas to give it focus, and then all the
usual *onkeydown*, *onkeyup*, and *onkeypress* event handlers would work as expected. The advantage of
this approach is that it eliminated the need for another on-screen control that would no serve no visual
purpose.

The "contenteditable" attribute had some issues, but mainly only on mobile devices, so I left those
issues for another day. For example, using PCjs on an Android device is problematic, in part because
it doesn't honor the "contenteditable" attribute on a Canvas, but also because Android's built-in
"soft keyboard" doesn't deliver any keys to the application until you press Enter. So for now, you
have to use PCjs machines that come with their own "soft keyboard".

However, today I noticed an oddity with Safari on the desktop. For the most part, Safari and Chrome
perform comparably, and are generally the best browsers to use with PCjs. Firefox used to be a great
option a couple years ago, but ever since Mozilla started focusing heavily -- perhaps *too* heavily -- on
[asm.js](http://asmjs.org/) performance, they seem to have fallen behind in overall performance.

But I digress. What I noticed in Safari was that text-scrolling in both DOS and OS/2 was significantly
slower than Chrome. This seemed very odd -- they should have been almost equally fast. Then I made
an important discovery: while the machine was scrolling, if I clicked on some other part of the page,
taking focus *away* from the Canvas, scrolling dramatically sped up. When I clicked on the Canvas
again, it slowed way down again.

Long story short: when I removed the "contenteditable" attribute from the Canvas, drawing performance
was consistently fast. The only problem, of course, is that I couldn't type anything into the machine.

So I resurrected some old code I'd written that creates a transparent
&lt;[textarea](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea)&gt; on top of the Canvas,
and now I use the &lt;textarea&gt; to provide all keyboard, mouse, and touch events (and pointer locking,
for the handful of browsers that support it).

That seemed to work well, until I tested Safari on an iPad, where I noticed a blinking cursor in the top
left corner of the machine's screen; that is, the top left corner of the transparent &lt;textarea&gt;. I tried
all sorts of work-arounds suggested online -- setting the textarea's "color" attribute to "transparent",
on the theory that the cursor used the same color, or setting the "cursor" attribute to "none" -- but none
of those work-arounds seemed to, um, work.

I had almost settled on adding iOS detection code, and reverting to the old Canvas input code for iOS only,
when I noticed that even a Canvas on iOS displayed a blinking cursor -- it was just slightly less annoying
because the cursor was flush with the left edge of the Canvas. More importantly, it was also as tall as
the full height of the Canvas.

At this point, it seemed clear that iOS was trying to display the cursor based on what it believed the
character width and line height to be: presumably zero for a Canvas. So I switched back the transparent
&lt;textarea&gt; again, set its "line-height" attribute to zero, and viola: no more blinking cursor.

So that, in a nutshell, is why v1.16.2 of PCjs comes one day after v1.16.1: because I happened to noticed
that drawing performance in desktop Safari was suffering, and that there was a fairly straightforward solution.

Safari's behavior should probably be considered a bug, as it's probably doing something it shouldn't,
like trying to account for an "invisible" blinking cursor. Chrome certainly doesn't have this problem,
so unless I was the only person in the world who used "contenteditable" Canvases, this is probably something
Safari will want to fix.

*[@jeffpar](http://twitter.com/jeffpar)*
*December 5, 2014*
2 changes: 1 addition & 1 deletion devices/c1p/machine/32kb/machine.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/c1pjs/1.16.1/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/c1pjs/1.16.2/machine.xsl"?>
<machine id="c1psim" class="c1p" border="1" width="100%" style="background-color:#FAEBD7;padding-bottom:8px">
<name>OSI Challenger 1P (32Kb) with Disk Support</name>
<computer id="c1p" name="Challenger 1P">
Expand Down
2 changes: 1 addition & 1 deletion devices/c1p/machine/8kb/all/debugger/machine.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/c1pjs/1.16.1/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/c1pjs/1.16.2/machine.xsl"?>
<machine id="c1pAll" class="c1p" border="1" width="100%" style="background-color:#FAEBD7;padding-bottom:8px">
<name>OSI Challenger 1P (8Kb, More Programs)</name>
<computer id="c1p" name="Challenger 1P">
Expand Down
2 changes: 1 addition & 1 deletion devices/c1p/machine/8kb/array/machine.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/c1pjs/1.16.1/outline.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/c1pjs/1.16.2/outline.xsl"?>
<outline>
<title>Challenger 1P (8Kb) "Server Array"</title>
<machine id="OSI1" ref="/devices/c1p/machine/8kb/small/machine.xml"/>
Expand Down
2 changes: 1 addition & 1 deletion devices/c1p/machine/8kb/large/debugger/machine.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/c1pjs/1.16.1/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/c1pjs/1.16.2/machine.xsl"?>
<machine id="c1p8kb" class="c1p" border="1" width="100%" style="background-color:#FAEBD7;padding-bottom:8px">
<name>OSI Challenger 1P (8Kb) with Debugger</name>
<computer id="c1p" name="Challenger 1P">
Expand Down
2 changes: 1 addition & 1 deletion devices/c1p/machine/8kb/large/machine.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/c1pjs/1.16.1/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/c1pjs/1.16.2/machine.xsl"?>
<machine id="c1pLarge" class="c1p" border="1" pos="center" style="background-color:#FAEBD7;padding-bottom:8px">
<name pos="center">OSI Challenger 1P (circa 1978)</name>
<computer id="c1p" name="Challenger 1P">
Expand Down
2 changes: 1 addition & 1 deletion devices/c1p/machine/8kb/small/machine.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/c1pjs/1.16.1/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/c1pjs/1.16.2/machine.xsl"?>
<machine id="c1pSmall" class="c1p" border="1" width="272px" pos="left" padright="16px" padbottom="16px" style="background-color:#FAEBD7;padding-bottom:8px">
<computer id="c1p" name="Challenger 1P">
<module type="cpu" refid="cpu6502" start="0x0000" end="0xffff"/>
Expand Down
2 changes: 1 addition & 1 deletion devices/pc/machine/5150/cga/384kb/softkbd/machine.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.1/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<machine id="ibm5150" class="pc" border="1" width="1000px" pos="center" style="background-color:white">
<name>IBM PC (Model 5150), CGA, 384K</name>
<computer id="pc-cga-384k" name="IBM PC"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.1/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<machine id="ibm5150" class="pc" border="1" width="980px" pos="center" style="background-color:#FAEBD7">
<name pos="center">IBM PC (Model 5150), CGA, 64K</name>
<computer id="pc-cga-64k" name="IBM PC" state="/devices/pc/machine/5150/cga/64kb/donkey/state.json"/>
Expand Down
2 changes: 1 addition & 1 deletion devices/pc/machine/5150/cga/64kb/donkey/machine.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.1/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<machine id="ibm5150" class="pc" border="1" width="980px" pos="center" style="background-color:#FAEBD7">
<name pos="center">IBM PC (Model 5150), CGA, 64K</name>
<computer id="pc-cga-64k" name="IBM PC" state="/devices/pc/machine/5150/cga/64kb/donkey/state.json"/>
Expand Down
2 changes: 1 addition & 1 deletion devices/pc/machine/5150/cga/64kb/softkbd/machine.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.1/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<machine id="ibm5150" class="pc" border="1" width="1000px" pos="center" style="background-color:white">
<name>IBM PC (Model 5150), CGA, 64K</name>
<computer id="pc-cga-64k" name="IBM PC"/>
Expand Down
2 changes: 1 addition & 1 deletion devices/pc/machine/5150/mda/64kb/debugger/machine.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.1/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<machine id="ibm5150" class="pc" border="1" pos="center" style="background-color:#FAEBD7">
<name pos="center">IBM PC Model 5150 with Monochrome Display</name>
<computer id="pc-mda-64k" name="IBM PC" resume="1"/>
Expand Down
2 changes: 1 addition & 1 deletion devices/pc/machine/5150/mda/64kb/machine.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.1/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<machine id="ibm5150" class="pc" border="1" pos="center" style="background-color:#FAEBD7">
<name pos="center">IBM PC (Model 5150) with Monochrome Display</name>
<computer id="pc-mda-64k" name="IBM PC" resume="1"/>
Expand Down
2 changes: 1 addition & 1 deletion devices/pc/machine/5150/mda/64kb/softkbd/machine.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.1/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<machine id="ibm5150" class="pc" border="1" pos="center" style="background-color:white">
<name>IBM PC (Model 5150), MDA, 64K</name>
<computer id="pc-mda-64k" name="IBM PC"/>
Expand Down
2 changes: 1 addition & 1 deletion devices/pc/machine/5160/cga/256kb/array/machine.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.1/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<machine id="ibm5160" class="pc" border="1" width="1000px" pos="center" style="background-color:white">
<name pos="center">IBM PC XT (Model 5160), CGA, 256K, 10Mb Drive</name>
<computer id="xt-cga-256k" name="IBM PC XT"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.1/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<machine id="ibm5160" class="pc" border="1" width="980px" pos="center" style="background-color:#FAEBD7">
<name pos="center">IBM PC XT (Model 5160), CGA, 256Kb, 10Mb Drive</name>
<computer id="xt-cga-256k" name="IBM PC XT" resume="1"/>
Expand Down
2 changes: 1 addition & 1 deletion devices/pc/machine/5160/cga/256kb/demo/machine.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.1/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<machine id="ibm5160" class="pc" border="1" width="980px" pos="center" style="background-color:#FAEBD7">
<name pos="center">IBM PC XT (Model 5160), CGA, 256Kb, 10Mb Drive</name>
<computer id="xt-cga-256k" name="IBM PC XT" resume="1"/>
Expand Down
2 changes: 1 addition & 1 deletion devices/pc/machine/5160/cga/256kb/softkbd/machine.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.1/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<machine id="ibm5160" class="pc" border="1" width="1000px" pos="center" style="background-color:white">
<name>IBM PC XT (Model 5160), CGA, 256K, 10Mb Drive</name>
<computer id="xt-cga-256k" name="IBM PC XT"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.1/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<machine id="ibm5160" class="pc" border="1" width="980px" pos="center" style="background-color:#FAEBD7">
<name pos="center">IBM PC XT (Model 5160) running Windows v1.01</name>
<computer id="xt-cga-win101" name="IBM PC XT" state="/devices/pc/machine/5160/cga/256kb/win101/state.json" resume="1"/>
Expand Down
2 changes: 1 addition & 1 deletion devices/pc/machine/5160/cga/256kb/win101/machine.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.1/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<machine id="ibm5160" class="pc" border="1" pos="center" style="background-color:#FAEBD7">
<name pos="center">IBM PC XT (Model 5160) running Windows v1.01</name>
<computer id="xt-cga-win101" name="IBM PC XT" state="/devices/pc/machine/5160/cga/256kb/win101/state.json"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.1/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<machine id="ibm5160" class="pc" border="1" width="1000px" pos="center" style="background-color:white">
<name>IBM PC XT (Model 5160), CGA, 256K, WIN101</name>
<computer id="xt-cga-256k" name="IBM PC XT"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.1/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<machine id="ibm5160" class="pc" border="1" width="1000px" pos="center" style="background-color:white">
<name>IBM PC XT (Model 5160), CGA, 512K, WIN101</name>
<computer id="xt-cga-512k" name="IBM PC XT"/>
Expand Down
2 changes: 1 addition & 1 deletion devices/pc/machine/5160/cga/640kb/debugger/machine.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.1/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<machine id="ibm5160" class="pc" border="1" width="980px" pos="center" style="background-color:#FAEBD7">
<name pos="center">IBM PC XT (Model 5160), CGA, 640K, 10Mb Drive</name>
<computer id="xt-cga-640k" name="IBM PC XT"/>
Expand Down
2 changes: 1 addition & 1 deletion devices/pc/machine/5160/cga/640kb/dos400m/machine.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.1/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<machine id="ibm5160" class="pc" border="1" width="1000px" pos="center" style="background-color:white">
<name>IBM PC XT (Model 5160), CGA, 640K, 10Mb Drive</name>
<computer id="xt-cga-640k" name="IBM PC XT"/>
Expand Down
2 changes: 1 addition & 1 deletion devices/pc/machine/5160/cga/640kb/machine.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.1/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<machine id="ibm5160" class="pc" border="1" pos="center" style="background-color:#FAEBD7">
<name pos="center">IBM PC XT (Model 5160), CGA, 640K, 10Mb Drive</name>
<computer id="xt-cga-640k" name="IBM PC XT"/>
Expand Down
2 changes: 1 addition & 1 deletion devices/pc/machine/5160/ega/256kb/debugger/machine.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.1/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<machine id="ibm5160" class="pc" border="1" pos="center" style="background-color:#FAEBD7">
<name>IBM PC XT (Model 5160), 64K EGA, 256K RAM, 10Mb Hard Drive</name>
<computer id="xt-ega-256k" name="IBM PC XT"/>
Expand Down
2 changes: 1 addition & 1 deletion devices/pc/machine/5160/ega/640kb/array/machine.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.1/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<machine id="ibm5160" class="pc" border="1" width="680px" float="left" style="background-color:#FAEBD7">
<name pos="center">IBM PC XT, 128K EGA, 640K RAM, 10Mb Hard Drive</name>
<computer id="xt-ega-640k" name="IBM PC XT" state="/devices/pc/machine/5160/ega/640kb/win101/state.json"/>
Expand Down
2 changes: 1 addition & 1 deletion devices/pc/machine/5160/ega/640kb/debugger/machine.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.1/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<machine id="ibm5160" class="pc" border="1" pos="center" style="background-color:#FAEBD7">
<name>IBM PC XT, 128K EGA, 640K RAM, 10Mb Hard Drive</name>
<computer id="xt-ega-640k" name="IBM PC XT"/>
Expand Down
2 changes: 1 addition & 1 deletion devices/pc/machine/5160/ega/640kb/machine.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.1/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<machine id="ibm5160" class="pc" border="1" pos="center" style="background-color:#FAEBD7">
<name>IBM PC XT, 128K EGA, 640K RAM, 10Mb Hard Drive</name>
<computer id="xt-ega-640k" name="IBM PC XT"/>
Expand Down
2 changes: 1 addition & 1 deletion devices/pc/machine/5160/ega/640kb/win101/machine.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.1/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<machine id="ibm5160" class="pc" border="1" style="background-color:#FAEBD7">
<name pos="center">IBM PC XT, 128K EGA, 640K RAM, 10Mb Hard Drive</name>
<computer id="xt-ega-640k" name="IBM PC XT" state="/devices/pc/machine/5160/ega/640kb/win101/state.json"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.1/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<machine id="ibm5160" class="pc" border="1" width="740px" pos="center" style="background-color:#FAEBD7">
<name pos="center">IBM PC XT (Model 5160), MDA, 256Kb, 10Mb Drive</name>
<computer id="xt188-mda-256k" name="IBM PC XT"/>
Expand Down
2 changes: 1 addition & 1 deletion devices/pc/machine/5160/mda/256kb/fake188/machine.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.1/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<machine id="ibm5160" class="pc" border="1" pos="center" style="background-color:#FAEBD7">
<name pos="center">IBM PC XT (Model 5160), MDA, 256Kb, 10Mb Drive</name>
<computer id="xt188-mda-256k" name="IBM PC XT"/>
Expand Down
Loading

0 comments on commit fe65937

Please sign in to comment.