The great DIP switch rewrite (major pain in the butt, but hopefully helpful for future machines)
I think the DIP switch tables could still be simplified somewhat, but most of the hard work is done now.
This commit is contained in:
parent
c3ad7d4f10
commit
c035b6b379
11 changed files with 495 additions and 262 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<chipset id="chipset" model="5150" sw1="01001001" sw2="11110000" pos="left" padleft="8px" padbottom="8px">
|
||||
<chipset id="chipset" model="5150" sw1="01001001" sw2="11111000" pos="left" padleft="8px" padbottom="8px">
|
||||
<control type="switches" label="SW1" binding="sw1" left="0px"/>
|
||||
<control type="switches" label="SW2" binding="sw2" left="0px"/>
|
||||
<control type="description" binding="swdesc" left="0px"/>
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
<fdc ref="/disks/pc/compiled/library.xml"/>
|
||||
<keyboard ref="/devices/pc/keyboard/us83-softkeys.xml"/>
|
||||
<panel ref="/devices/pc/panel/wide.xml"/>
|
||||
<chipset id="chipset" model="5150" sw1="01001001" sw2="10100000" pos="left" padleft="8px" padbottom="8px">
|
||||
<chipset id="chipset" model="5150" sw1="01001001" sw2="10101000" pos="left" padleft="8px" padbottom="8px">
|
||||
<control type="switches" label="SW1" binding="sw1" left="0px"/>
|
||||
<control type="switches" label="SW2" binding="sw2" left="0px"/>
|
||||
<control type="description" binding="swdesc" left="0px"/>
|
||||
|
|
|
|||
|
|
@ -13,5 +13,5 @@
|
|||
<control type="button" binding="reset">Reset</control>
|
||||
</cpu>
|
||||
<keyboard ref="/devices/pc/keyboard/us83-buttons-minimal.xml"/>
|
||||
<chipset id="chipset" model="5150" sw1="01001001" sw2="11110000"/>
|
||||
<chipset id="chipset" model="5150" sw1="01001001" sw2="11111000"/>
|
||||
</machine>
|
||||
|
|
|
|||
|
|
@ -14,5 +14,5 @@
|
|||
<control type="button" binding="reset">Reset</control>
|
||||
</cpu>
|
||||
<keyboard ref="/devices/pc/keyboard/us83-buttons-minimal.xml"/>
|
||||
<chipset id="chipset" model="5150" sw1="01000001" sw2="11110000"/>
|
||||
<chipset id="chipset" model="5150" sw1="01000001" sw2="11111000"/>
|
||||
</machine>
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
<keyboard ref="/devices/pc/keyboard/us83-buttons-functions.xml"/>
|
||||
<debugger id="debugger"/>
|
||||
<panel ref="/devices/pc/panel/wide.xml"/>
|
||||
<chipset id="chipset" model="5150" sw1="01000001" sw2="11110000" pos="left" padleft="8px" padbottom="8px">
|
||||
<chipset id="chipset" model="5150" sw1="01000001" sw2="11111000" pos="left" padleft="8px" padbottom="8px">
|
||||
<control type="switches" label="SW1" binding="sw1" left="0px"/>
|
||||
<control type="switches" label="SW2" binding="sw2" left="0px"/>
|
||||
<control type="description" binding="swdesc" left="0px"/>
|
||||
|
|
|
|||
|
|
@ -13,5 +13,5 @@
|
|||
<control type="button" binding="reset">Reset</control>
|
||||
</cpu>
|
||||
<keyboard ref="/devices/pc/keyboard/us83-buttons-arrows.xml"/>
|
||||
<chipset id="chipset" model="5150" sw1="01000001" sw2="11110000"/>
|
||||
<chipset id="chipset" model="5150" sw1="01000001" sw2="11111000"/>
|
||||
</machine>
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
<keyboard ref="/devices/pc/keyboard/us83-softkeys.xml"/>
|
||||
<debugger id="debugger"/>
|
||||
<panel ref="/devices/pc/panel/wide.xml"/>
|
||||
<chipset id="chipset" model="5150" sw1="01000001" sw2="11110000" pos="left" padleft="8px" padbottom="8px">
|
||||
<chipset id="chipset" model="5150" sw1="01000001" sw2="11111000" pos="left" padleft="8px" padbottom="8px">
|
||||
<control type="switches" label="SW1" binding="sw1" left="0px"/>
|
||||
<control type="switches" label="SW2" binding="sw2" left="0px"/>
|
||||
<control type="description" binding="swdesc" left="0px"/>
|
||||
|
|
|
|||
Loading…
Reference in a new issue