Follow my own advice and write any 32-bit hex constant > 0x7fffffff as (constant|0)

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
This commit is contained in:
Jeff Parsons 2015-02-19 11:18:40 -08:00 committed by jeffpar
commit c8aec14b0b
153 changed files with 6296 additions and 188 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.17.1/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.17.2/machine.xsl"?>
<machine id="ibm5170" class="pc" border="1" pos="center" style="background-color:#FAEBD7">
<name>IBM PC AT (8Mhz), 128Kb EGA, 1152Kb RAM, 20Mb Hard Disk</name>
<computer id="at-ega-1152k" name="IBM PC AT" buswidth="24"/>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.17.1/manifest.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.17.2/manifest.xsl"?>
<manifest type="software">
<title>IBM OS/2 1.0</title>
<machine href="/disks/pc/os2/ibm/1.0/machine.xml"/>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.17.1/manifest.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.17.2/manifest.xsl"?>
<manifest type="software">
<title>IBM OS/2 1.1</title>
<disk id="disk00" size="1474560" chs="80:2:18" img="private/OS211-INSTALLATION.img" href="/disks/pc/os2/ibm/1.1/OS211-INSTALLATION.json" md5="64b1a50f35385f326e7b59b17b417769" md5json="6510aede5a434ae794a3ee9e8d09d6c9">

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.17.1/manifest.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.17.2/manifest.xsl"?>
<manifest type="software">
<title>IBM OS/2 1.3</title>
<disk id="disk01" size="1474560" chs="80:2:18" img="private/OS213-DISK01.img" href="/disks/pc/os2/ibm/1.3/OS213-DISK01.json" md5="b393291dc9d96255b7ea9d9d614ecf23" md5json="a3af9c440d774c4084862a4caa5e17e2">

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.17.1/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.17.2/machine.xsl"?>
<machine id="ibm5170" class="pc" border="1" pos="center" style="background-color:#FAEBD7">
<name>IBM PC AT (8Mhz), 128Kb EGA, 1152Kb RAM, 20Mb Hard Disk</name>
<computer id="at-ega-1152k" name="IBM PC AT" buswidth="24"/>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.17.1/manifest.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.17.2/manifest.xsl"?>
<manifest type="software">
<title>OS/2 Miscellaneous Disks</title>
<machine href="/disks/pc/os2/misc/1.0/debugger/machine.xml"/>