The Closure Compiler does a fine job of replacing all such expressions with their decimal equivalent, relieving us from having to calculate them ourselves, and eliminating any runtime impact
26 lines
1.5 KiB
XML
26 lines
1.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<?xml-stylesheet type="text/xsl" href="/versions/c1pjs/1.17.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"/>
|
|
<module type="ram" refid="ram8K" start="0x0000" end="0x1fff"/>
|
|
<module type="rom" refid="romNull" start="0x2000" end="0x9fff"/>
|
|
<module type="rom" refid="romBasic" start="0xa000" end="0xbfff"/>
|
|
<module type="video" refid="video" start="0xd000" end="0xd3ff"/>
|
|
<module type="keyboard" refid="keyboard" start="0xdf00" end="0xdfff"/>
|
|
<module type="serial" refid="serialPort" start="0xf000" end="0xf0ff"/>
|
|
<module type="rom" refid="romSystem" start="0xf800" end="0xffff"/>
|
|
</computer>
|
|
<cpu id="cpu6502"/>
|
|
<ram id="ram8K" size="0x2000"/>
|
|
<rom id="romNull" size="0x8000"/>
|
|
<rom id="romBasic" size="0x2000" image="/devices/c1p/rom/basic-gcpatch.hex"/>
|
|
<rom id="romSystem" size="0x0800" image="/devices/c1p/rom/system.hex"/>
|
|
<video id="video" screenwidth="256" screenheight="192" cols="32" rows="32" charset="/devices/c1p/video/chargen1x.png" width="256px" padding="8px"/>
|
|
<keyboard id="keyboard" padleft="8px">
|
|
<control type="button" binding="ctrl-c">CTRL-C</control>
|
|
<control type="button" binding="ctrl-o">CTRL-O</control>
|
|
<control type="button" binding="break">BREAK</control>
|
|
</keyboard>
|
|
<serial id="serialPort" demo="true"/>
|
|
</machine>
|