joncampbell123 / dosbox-x

DOSBox-X fork of the DOSBox project
GNU General Public License v2.0
2.82k stars 383 forks source link

Many tiny nitpicks 2017-12-27 #424

Open joncampbell123 opened 6 years ago

joncampbell123 commented 6 years ago

Tasks:

NOTES for tasks:

Many tiny nitpicks coming up next, each one too small to make an issue for them:

roytam1 commented 6 years ago

what about keyboard in PC-98 mode?

joncampbell123 commented 6 years ago

@roytam1 Keyboard emulation is already there, except the commands TO the keyboard to control caps/kana state and such, at the hardware level. What's incomplete is BIOS scan code to ASCII and DOS console driver handling.

joncampbell123 commented 6 years ago

@roytam1 Since this conversation, I have expanded the BIOS and DOS CON driver support in PC-98 to include function keys, arrow keys, etc. Most of the DOSKEY-like editing functions in the IBM PC mode of the DOSBox shell now exist in PC-98 mode as well.

roytam1 commented 6 years ago

@joncampbell123 sounds great. But from my testing build with both vs2013/2015, it seems that keyboard mapping is still broken(only 1,q,a,arrow keys and numpad enter key are working).

dosbox.conf has 2 lines only for testing in this situation:

[dosbox]
machine=pc98
joncampbell123 commented 6 years ago

The mapper UI in the latest build offers a way to tell if any keys are triggering. Use CTRL+F1 to bring up the mapper UI. When you press keys, the key that DOSBox-X sends to the guest should light up.

roytam1 commented 6 years ago

In key mapper, every key works. but in PC-98 dosbox prompt, they don't work(except the keys mentioned earlier), in non-PC98 mode every key works as well. keymap

joncampbell123 commented 6 years ago

There is a known issue with the mapper UI where entering the mapper through the keyboard shortcut leaves the CTRL and SHIFT keys "stuck" in the guest. Does tapping the CTRL and SHIFT keys help?

Second, the mapper UI allows you to change and redefine the keys. The default bindings should show bindings for all the standard keys on the keyboard.

roytam1 commented 6 years ago

Does tapping the CTRL and SHIFT keys help?

nope, still 3 keys of alphanumeric area working in PC98 mode, all keys are working in non-PC98 mode.

joncampbell123 commented 6 years ago

@roytam1 Recent builds of DOSBox-X removed the hack code in SDL 1.x that loads the US keyboard layout for DOSBox-X itself. See if that helps with the keyboard issue.