Support for XML comments (propagated to HTML)

This commit is contained in:
Jeff Parsons 2016-03-31 12:56:51 -07:00
commit e70f46afff
11 changed files with 56 additions and 10 deletions

View file

@ -1,5 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<video id="videoEGA" model="ega" memory="0x40000" screenwidth="1280" screenheight="800" scale="true" touchscreen="mouse" autolock="true" pos="center" padding="8px">
<video id="videoEGA" model="ega" memory="0x40000" screenwidth="1280" screenheight="700" scale="true" touchscreen="mouse" autolock="true" pos="center" padding="8px">
<comment>
If [Wikipedia](https://en.wikipedia.org/wiki/Enhanced_Graphics_Adapter) is correct that the IBM EGA
(presumably when paired with an IBM 5154 EGA monitor) has a "pixel aspect ratio" of 1:1.37 at its highest
resolution (640x350), that suggests we should "stretch" our screen size vertically to 350 * 1.37, or 640x480
(or something proportional, like 1280x960), assuming the native display has a "pixel aspect ratio" of 1:1.
But testing reveals that round images appear roundest when we stick with a screen size proportional to 640x350.
Also note that 1280x700 produces crisper results than 640x350, and 2560x1400 is sharper still (at least when
using Chrome). I'm going to split the difference and go with 1280x700.
</comment>
<menu>
<title>COMPAQ Enhanced Color Display</title>
<control type="container" pos="right">

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<video id="videoEGA" model="ega" memory="0x20000" screenwidth="640" screenheight="400" autolock="true" pos="center" padding="8px">
<video id="videoEGA" model="ega" memory="0x20000" screenwidth="640" screenheight="350" autolock="true" pos="center" padding="8px">
<menu>
<title>IBM Enhanced Color Display</title>
<control type="container" pos="right">

View file

@ -1,5 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<video id="videoEGA" model="ega" memory="0x20000" screenwidth="1280" screenheight="800" scale="true" touchscreen="mouse" autolock="true" pos="center" padding="8px">
<video id="videoEGA" model="ega" memory="0x20000" screenwidth="1280" screenheight="700" scale="true" touchscreen="mouse" autolock="true" pos="center" padding="8px">
<comment>
If [Wikipedia](https://en.wikipedia.org/wiki/Enhanced_Graphics_Adapter) is correct that the IBM EGA
(presumably when paired with an IBM 5154 EGA monitor) has a "pixel aspect ratio" of 1:1.37 at its highest
resolution (640x350), that suggests we should "stretch" our screen size vertically to 350 * 1.37, or 640x480
(or something proportional, like 1280x960), assuming the native display has a "pixel aspect ratio" of 1:1.
But testing reveals that round images appear roundest when we stick with a screen size proportional to 640x350.
Also note that 1280x700 produces crisper results than 640x350, and 2560x1400 is sharper still (at least when
using Chrome). I'm going to split the difference and go with 1280x700.
</comment>
<menu>
<title>IBM Enhanced Color Display</title>
<control type="container" pos="right">

View file

@ -1,5 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<video id="videoEGA" model="ega" memory="0x20000" screenwidth="1280" screenheight="800" scale="true" touchscreen="mouse" pos="center" padding="8px">
<video id="videoEGA" model="ega" memory="0x20000" screenwidth="1280" screenheight="700" scale="true" touchscreen="mouse" pos="center" padding="8px">
<comment>
If [Wikipedia](https://en.wikipedia.org/wiki/Enhanced_Graphics_Adapter) is correct that the IBM EGA
(presumably when paired with an IBM 5154 EGA monitor) has a "pixel aspect ratio" of 1:1.37 at its highest
resolution (640x350), that suggests we should "stretch" our screen size vertically to 350 * 1.37, or 640x480
(or something proportional, like 1280x960), assuming the native display has a "pixel aspect ratio" of 1:1.
But testing reveals that round images appear roundest when we stick with a screen size proportional to 640x350.
Also note that 1280x700 produces crisper results than 640x350, and 2560x1400 is sharper still (at least when
using Chrome). I'm going to split the difference and go with 1280x700.
</comment>
<menu>
<title>IBM Enhanced Color Display</title>
<control type="container" pos="right">

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<video id="videoEGA" model="ega" memory="0x40000" screenwidth="640" screenheight="400" width="640px" autolock="true" pos="center" padding="8px">
<video id="videoEGA" model="ega" memory="0x40000" screenwidth="640" screenheight="350" autolock="true" pos="center" padding="8px">
<menu>
<title>IBM Enhanced Color Display</title>
<control type="container" pos="right">

View file

@ -1,5 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<video id="videoEGA" model="ega" memory="0x40000" screenwidth="1280" screenheight="800" scale="true" touchscreen="mouse" autolock="true" pos="center" padding="8px">
<video id="videoEGA" model="ega" memory="0x40000" screenwidth="1280" screenheight="700" scale="true" touchscreen="mouse" autolock="true" pos="center" padding="8px">
<comment>
If [Wikipedia](https://en.wikipedia.org/wiki/Enhanced_Graphics_Adapter) is correct that the IBM EGA
(presumably when paired with an IBM 5154 EGA monitor) has a "pixel aspect ratio" of 1:1.37 at its highest
resolution (640x350), that suggests we should "stretch" our screen size vertically to 350 * 1.37, or 640x480
(or something proportional, like 1280x960), assuming the native display has a "pixel aspect ratio" of 1:1.
But testing reveals that round images appear roundest when we stick with a screen size proportional to 640x350.
Also note that 1280x700 produces crisper results than 640x350, and 2560x1400 is sharper still (at least when
using Chrome). I'm going to split the difference and go with 1280x700.
</comment>
<menu>
<title>IBM Enhanced Color Display</title>
<control type="container" pos="right">

View file

@ -1,5 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<video id="videoEGA" model="ega" memory="0x40000" screenwidth="1280" screenheight="800" scale="true" touchscreen="mouse" pos="center" padding="8px">
<video id="videoEGA" model="ega" memory="0x40000" screenwidth="1280" screenheight="700" scale="true" touchscreen="mouse" pos="center" padding="8px">
<comment>
If [Wikipedia](https://en.wikipedia.org/wiki/Enhanced_Graphics_Adapter) is correct that the IBM EGA
(presumably when paired with an IBM 5154 EGA monitor) has a "pixel aspect ratio" of 1:1.37 at its highest
resolution (640x350), that suggests we should "stretch" our screen size vertically to 350 * 1.37, or 640x480
(or something proportional, like 1280x960), assuming the native display has a "pixel aspect ratio" of 1:1.
But testing reveals that round images appear roundest when we stick with a screen size proportional to 640x350.
Also note that 1280x700 produces crisper results than 640x350, and 2560x1400 is sharper still (at least when
using Chrome). I'm going to split the difference and go with 1280x700.
</comment>
<menu>
<title>IBM Enhanced Color Display</title>
<control type="container" pos="right">