v1.16.3: Keyboard module rewrite

There are still a few regressions to address, but keyCode-to-simCode-to-scanCode conversion feels more robust/cleaner, and new features like programmable repeat rates will actually be doable now
This commit is contained in:
Jeff Parsons 2014-12-09 16:34:46 -08:00 • committed by jeffpar
commit 88cc526c32
146 changed files with 8127 additions and 1880 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.3/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"/>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.3/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"/>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.3/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"/>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.3/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"/>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.3/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"/>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.3/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"/>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.3/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"/>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.3/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"/>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.3/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"/>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.3/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"/>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.3/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"/>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.3/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"/>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.3/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"/>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.3/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"/>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.3/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"/>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.3/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"/>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.3/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"/>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.3/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"/>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.3/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"/>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.3/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"/>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.3/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"/>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.3/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"/>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.3/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"/>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.3/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"/>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.3/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"/>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.3/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="xt-mda-256k" name="IBM PC XT"/>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.3/machine.xsl"?>
<machine id="ibm5160" class="pc" border="1" width="1000px" pos="center" style="background-color:white">
<name>IBM PC XT (Model 5160), MDA, 64K, 10Mb Drive</name>
<computer id="xt-mda-64k" name="IBM PC XT"/>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.3/machine.xsl"?>
<machine id="ibm5170" class="pc" border="1" pos="center" style="background-color:#FAEBD7">
<name>IBM PC AT (6Mhz), 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.16.2/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.3/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"/>
@ -10,7 +10,7 @@
<rom id="romBIOS" addr="0xf0000" size="0x10000" alias="0xff0000" file="/devices/pc/bios/5170/1985-11-15.json"/>
<video ref="/devices/pc/video/video-ega-128kb-lock.xml"/>
<keyboard ref="/devices/pc/keyboard/keyboard-minimal-functions.xml"/>
<debugger id="debugger" messages="fault|kbd|port|keys" commands=""/>
<debugger id="debugger" messages="fault" commands=""/>
<panel ref="/devices/pc/panel/wide.xml"/>
<fdc ref="/disks/pc/library.xml" width="320px" automount='{A: {name: "PC-DOS 3.20 (Disk 1)", path: "/disks/pc/dos/ibm/3.20/PCDOS320-DISK1.json"}, B: {name: "PC-DOS 3.20 (Disk 2)", path: "/disks/pc/dos/ibm/3.20/PCDOS320-DISK2.json"}}'/>
<hdc id="hdcAT" type="at" drives='[{name:"20Mb Hard Disk",type:2}]'/>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.2/machine.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.3/machine.xsl"?>
<machine id="ibm5170" class="pc" border="1" pos="center" style="background-color:#FAEBD7">
<name>IBM PC AT, 128K EGA, 640K RAM</name>
<computer id="at-ega-640k" 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.16.2/manifest.xsl"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.3/manifest.xsl"?>
<manifest type="document">
<title>IBM PC AT References</title>
<document href="http://minuszerodegrees.net/manuals/IBM_5170_Technical_Reference_1502243_MAR84.pdf">