Halllo zusammen,
ich bin dabei mir eine Keyman64 Config für mein 250466+ Board zu erstellen.
Kernal umschalten, SID Adresse auswählen und Joystick Swappen, es funktioniert fast alles bis auf eine von 8 Kernal-Umschaltungen.
Mit der Meta Taste und einem doppelten Tastendruck auf die Tasten 1 bis 8 möchte ich die 8 Kernal's umschalten.
Bis auf die "6" gehen auch alle und die Kernal Zeilen sind alle identisch aufgebaut.
Evtl. hat einer ne Idee woran das liegen könnte!?
Hier die Config...
Code
#========================================================================================--
# myKeyman64.conf Keyman64 Config File
# http://henning-liebenau.de/keyman64/de/
#
# Testing the config file:
# keyman64.exe convert myKeyman64.conf outfile.out
#
# Convert and Transfer:
# keyman64.exe configure myKeyman64.conf
#
# Pin Layout
# Port A |76543210| A
# Port B |76543210| B
#
#========================================================================================--
# Define Metakey
meta ARROWLEFT
# Load "saved" Pin State from EEPROM with "restore"
# If nothing is stored set all to "Tristate"
restore
#tristate a
#tristate b
# Define Keys with Names
# Used Alpha Keys: r c x z v i s j k
# User Number Keys: 1 2 3 4 5 6 7 8
MOBO_RESET = r # Reset
MOBO_COLDBOOT = c # Reset + Exrom Reset
MOBO_XCOLDBOOT = x # Reset + Exrom Reset + Port Restore
KEYMAN_BOOTMODE = z # Active Keyman Bootmode (5xKey)
KEYMAN_SHOWVERSION = v
KEYMAN_SHOWSTATUS = a
KEYMAN_SAVESTATE = s
KEYMAN_DEFAULT = d
MOBO_KERNAL1 = ONE # Kernal 1 (Standard)
MOBO_KERNAL2 = TWO # Kernal 2
MOBO_KERNAL3 = THREE # Kernal 3
MOBO_KERNAL4 = FOUR # Kernal 4
MOBO_KERNAL5 = FIVE # Kernal 5
MOBO_KERNAL6 = SIX # Kernal 6
MOBO_KERNAL7 = SEVEN # Kernal 7
MOBO_KERNAL8 = EIGHT # Kernal 8
MOBO_JYNO = j # Joystick Normal (Standard)
MOBO_JYSW = k # Joystick Swapped
MOBO_SID400 = u # SID#2 0xD400 (Standard)
MOBO_SID420 = i # SID#2 0xD420
MOBO_SID500 = o # SID#2 0xD500
MOBO_SID520 = p # SID#2 0xD520
# Define 250466 MoBo IOs
MOBO_EXRO = port a bit 0 # Mainboard -EXROM (Low Active) J33/5
MOBO_RST = port a bit 1 # Mainboard -INTRST (Low Active) J33/6
MOBO_SIA5 = port a bit 2 # Mainboard SID A5 J33/7
MOBO_SIA8 = port a bit 3 # Mainboard SID A8 J33/8
MOBO_KA13 = port a bit 4 # Mainboard Kernal A13 J33/9
MOBO_KA14 = port a bit 5 # Mainboard Kernal A14 J33/10
MOBO_KA15 = port a bit 6 # Mainboard Kernal A15 J33/11
MOBO_JOYSWAP = port a bit 7 # Mainboard Joystick Swap J33/12 (clear = swap)
#PB0 = port b bit 0
#PB1 = port b bit 1
#PB2 = port b bit 2
#PB3 = port b bit 3
#PB4 = port b bit 4
#PB5 = port b bit 5
#PB6 = port b bit 6
#PB7 = port b bit 7
#Define Value
RESETTIME = 200
EXROMTIME = 300
RESTORETIME = 500
#========================================================================================
# Scripts
#========================================================================================
# For the 250466+ Board you can use "set" or "tristate" to set the Pins to "1" because of Pin PullUp's.
# Use "clear" to set Pins to "0".
# ==== Keyman Save State (s) ====
# Save State to EEPROM needs 2 times Meta-S
KEYMAN_SAVESTATE: requires 3
KEYMAN_SAVESTATE: save
KEYMAN_SAVESTATE: type keyman savestate done!\n
# ==== Keyman Show Version (v) ====
KEYMAN_SHOWVERSION: requires 3
KEYMAN_SHOWVERSION: version
# ==== Keyman Show Status (a) ====
KEYMAN_SHOWSTATUS: requires 3
KEYMAN_SHOWSTATUS: status
# ==== Keyman Set Ports to Default/Tristate (d) ====
KEYMAN_DEFAULT: requires 5
KEYMAN_DEFAULT: tristate a
KEYMAN_DEFAULT: tristate b
#KEYMAN_DEFAULT: sleep 100
KEYMAN_DEFAULT: type set all ports tristate!\n
KEYMAN_DEFAULT: sleep 200
KEYMAN_DEFAULT: status
# ==== Keyman Boot Mode (z) ====
# Boot Mode needs 5 times Meta-Z
KEYMAN_BOOTMODE: requires 5
KEYMAN_BOOTMODE: boot
KEYMAN_BOOTMODE: type keyman bootmode active!\n
# ==== MOBO Reset (r) ====
# Reset needs 2 times Meta-R
MOBO_RESET: requires 2
MOBO_RESET: clear MOBO_RST
MOBO_RESET: sleep RESETTIME
MOBO_RESET: tristate MOBO_RST
# ==== MOBO Coldboot (c) ====
# Coldboot/Reset needs 3 times Meta-C
MOBO_COLDBOOT: requires 3
MOBO_COLDBOOT: sleep 50
MOBO_COLDBOOT: clear MOBO_EXRO
MOBO_COLDBOOT: exec MOBO_RESET
MOBO_COLDBOOT: sleep EXROMTIME
MOBO_COLDBOOT: tristate MOBO_EXRO
# ==== MOBO X-Coldboot with "restore" (x) ====
# Coldboot/Reset needs 3 times Meta-X
MOBO_XCOLDBOOT: requires 3
MOBO_XCOLDBOOT: restore
MOBO_XCOLDBOOT: sleep RESTORETIME
MOBO_XCOLDBOOT: clear MOBO_EXRO
MOBO_XCOLDBOOT: exec MOBO_RESET
MOBO_XCOLDBOOT: sleep EXROMTIME
MOBO_XCOLDBOOT: tristate MOBO_EXRO
# ==== 250466plus MOBO KERNAL Set's ====
# A13, A14, A15 are Pull-Up'ed "OnBoard"
# Kernal 1 (000)
MOBO_KERNAL1: requires 2
MOBO_KERNAL1: clear MOBO_KA13
MOBO_KERNAL1: clear MOBO_KA14
MOBO_KERNAL1: clear MOBO_KA15
MOBO_KERNAL1: exec MOBO_RESET
#MOBO_KERNAL1: type kernal 1 active!\n
# Kernal 2 (001)
MOBO_KERNAL2: requires 2
MOBO_KERNAL2: tristate MOBO_KA13
MOBO_KERNAL2: clear MOBO_KA14
MOBO_KERNAL2: clear MOBO_KA15
MOBO_KERNAL2: exec MOBO_RESET
#MOBO_KERNAL2: type kernal 2 active!\n
# Kernal 3 (010)
MOBO_KERNAL3: requires 2
MOBO_KERNAL3: clear MOBO_KA13
MOBO_KERNAL3: tristate MOBO_KA14
MOBO_KERNAL3: clear MOBO_KA15
MOBO_KERNAL3: exec MOBO_RESET
#MOBO_KERNAL3: type kernal 3 active!\n
# Kernal 4 (011)
MOBO_KERNAL4: requires 2
MOBO_KERNAL4: tristate MOBO_KA13
MOBO_KERNAL4: tristate MOBO_KA14
MOBO_KERNAL4: clear MOBO_KA15
MOBO_KERNAL4: exec MOBO_RESET
#MOBO_KERNAL4: type kernal 4 active!\n
# Kernal 5 (100)
MOBO_KERNAL5: requires 2
MOBO_KERNAL5: clear MOBO_KA13
MOBO_KERNAL5: clear MOBO_KA14
MOBO_KERNAL5: tristate MOBO_KA15
MOBO_KERNAL5: exec MOBO_RESET
#MOBO_KERNAL5: type kernal 5 active!\n
# Kernal 6 (101)
MOBO_KERNAL6: requires 2
MOBO_KERNAL6: tristate MOBO_KA13
MOBO_KERNAL6: clear MOBO_KA14
MOBO_KERNAL6: tristate MOBO_KA15
MOBO_KERNAL6: exec MOBO_RESET
#MOBO_KERNAL6: type kernal 6 active!\n
# Kernal 7 (110)
MOBO_KERNAL7: requires 2
MOBO_KERNAL7: clear MOBO_KA13
MOBO_KERNAL7: tristate MOBO_KA14
MOBO_KERNAL7: tristate MOBO_KA15
MOBO_KERNAL7: exec MOBO_RESET
#MOBO_KERNAL7: type kernal 7 active!\n
# Kernal 8 (111)
MOBO_KERNAL8: requires 2
MOBO_KERNAL8: tristate MOBO_KA13
MOBO_KERNAL8: tristate MOBO_KA14
MOBO_KERNAL8: tristate MOBO_KA15
MOBO_KERNAL8: exec MOBO_RESET
#MOBO_KERNAL8: type kernal 8 active!\n
# ==== 250466plus MOBO SID#2 Set's ====
# A3, A5 are Pull-Up'ed "OnBoard"
# SID#2 at 0xD400 (Standard)
MOBO_SID400: requires 2
MOBO_SID400: clear MOBO_SIA5
MOBO_SID400: clear MOBO_SIA8
#MOBO_SID400: exec MOBO_RESET
#MOBO_SID400: type sid2 0xd400!\n
# SID#2 at 0xD420
MOBO_SID420: requires 2
MOBO_SID420: tristate MOBO_SIA5
MOBO_SID420: clear MOBO_SIA8
#MOBO_SID420: exec MOBO_RESET
#MOBO_SID420: type sid2 0xd420!\n
# SID#2 at 0xD500
MOBO_SID500: requires 2
MOBO_SID500: clear MOBO_SIA5
MOBO_SID500: tristate MOBO_SIA8
#MOBO_SID500: exec MOBO_RESET
#MOBO_SID500: type sid2 0xd500!\n
# SID#2 at 0xD520
MOBO_SID520: requires 2
MOBO_SID520: tristate MOBO_SIA5
MOBO_SID520: tristate MOBO_SIA8
#MOBO_SID520: exec MOBO_RESET
#MOBO_SID520: type sid2 0xd520!\n
# ==== 250466plus MOBO Joystick Swapper ====
# Pin is Pull-Up'ed "OnBoard"
MOBO_JYNO: requires 2
MOBO_JYNO: tristate MOBO_JOYSWAP
#MOBO_JYNO: type joystick normal!\n
MOBO_JYSW: requires 2
MOBO_JYSW: clear MOBO_JOYSWAP
#MOBO_JYSW: type joystick swapped!\n
#========================================================================================
Display More