Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
08020 DIP/Input Minor Always Jul 3, 2021, 20:54 Jul 15, 2021, 17:07
Tester Hirudov View Status Public Platform MAME (Official Binary)
Assigned To Steve Coomber Resolution Fixed OS
Status [?] Resolved Driver acrnsys.cpp
Version 0.233 Fixed in Version 0.234 Build
Fixed in Git Commit f5ec4ab Github Pull Request # #8279
Summary MESS-specific 08020: acrnsys5: Keyboard is not working.
Description When starting the Acorn System 5 (acrnsys5) the keyboard is not working with the latest version of MAME. I've tested with MAME 0.220 and it works there.
Steps To Reproduce Start MAME with
>mame ACRNSYS5
Additional Information
Github Commit
Flags
Regression Version 0.226
Affected Sets / Systems acrnsys5
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
3
User avatar
No.19067
Steve Coomber
Tester
Jul 4, 2021, 16:38
Unless I am missing something, I don't think this is an issue. Vas Crabb added a feature in emu/natkeyboard.cpp to allow keyboard devices to be enabled/disabled in MAME 0.226. To enable the keyboard for this machine, do the following:
1. Start acrnsys5 machine in MAME
2. Enable MAME UI by pressing Scroll/Lock key
3. Press TAB to bring up UI
4. Select 'Keyboard Mode' from menu
5. Change 'Generic Keyboard' from Disabled to Enabled
When you exit MAME and then relaunch acrnsys5, the keyboard should then always default to Enabled
User avatar
No.19069
Tafoid
Administrator
Jul 4, 2021, 19:53
It does seem odd that it should default to OFF, however. I'll ask for direction here and see if perhaps the default state needs changing or explain why it is disabled by default.
User avatar
No.19092
cuavas
Administrator
Jul 10, 2021, 03:22
The issue is that the root system has a 1-key “keyboard” for the Break key, so MAME disables the second keyboard (the real keyboard) by default. You can fix it – in src/mame/drivers/arcrsys.cpp, change line 316 to:
     PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_OTHER) PORT_NAME("BREAK") PORT_CODE(KEYCODE_F12) PORT_CHANGED_MEMBER(DEVICE_SELF, acrnsys_state, trigger_reset, 0)
(i.e. change it from IPT_KEYBOARD to IPT_OTHER, and remove the PORT_CHAR)
When the HLE keyboard is replaced, it will all have to change anyway.