More infrastructure for compatibles (eg, AT&T 6300)

This commit is contained in:
Jeff Parsons 2016-03-22 10:42:09 -07:00
commit 38685968be
3 changed files with 560 additions and 290 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<chipset id="chipset" model="att6300" sw1="01001001" sw2="11110000" pos="left" padleft="8px" padbottom="8px">
<control type="switches" label="SW1" binding="sw1" left="0px"/>
<control type="description" binding="swdesc" left="0px"/>
<chipset id="chipset" model="att6300" sw1="01001000" sw2="11111001" pos="left" padleft="8px" padbottom="8px">
<control type="switches" label="SW0" binding="sw1" left="0px"/>
<control type="switches" label="SW1" binding="sw2" left="0px"/>
</chipset>

File diff suppressed because it is too large Load diff

View file

@ -364,11 +364,11 @@ CompaqController.MAPPINGS = {
* through the 8042 Keyboard Controller's KBC.INPORT register, as follows:
*
* SW1-1: TODO: Determine
* SW1-2: ChipSet.KBC.INPORT.COMPAQ_NO80387 clear if ON, set (0x04) if OFF
* SW1-2: ChipSet.KC8042.INPORT.COMPAQ_NO80387 clear if ON, set (0x04) if OFF
* SW1-3: TODO: Determine
* SW1-4: ChipSet.KBC.INPORT.COMPAQ_HISPEED clear if ON, set (0x10) if OFF
* SW1-5: ChipSet.KBC.INPORT.COMPAQ_DIP5OFF clear if ON, set (0x20) if OFF
* SW1-6: ChipSet.KBC.INPORT.COMPAQ_NONDUAL clear if ON, set (0x40) if OFF
* SW1-4: ChipSet.KC8042.INPORT.COMPAQ_HISPEED clear if ON, set (0x10) if OFF
* SW1-5: ChipSet.KC8042.INPORT.COMPAQ_DIP5OFF clear if ON, set (0x20) if OFF
* SW1-6: ChipSet.KC8042.INPORT.COMPAQ_NONDUAL clear if ON, set (0x40) if OFF
*/
CompaqController.SETTINGS = {
B0_PARITY: 0x0001, // parity OK in byte 0