VOGONS


First post, by Great Hierophant

User metadata
Rank l33t
Rank
l33t

The PCjr doesn't have a numeric keypad but does have dedicated cursor keys. A visual comparison can be found here : http://www.brutman.com/PCjr/pcjr_keyboard_diff.html The PCjr cursor keys correspond to and give the same raw scancodes as the 2, 4, 6, 8 keys on a PC Keyboard Numeric keypad. When you press the key combination for Num Lock on the PCjr. keyboard, you will get numbers instead of cursor movement.

On 0.74, the default startup behavior - the Num Lock is off and the cursor keys act like cursor keys.

On current SVN, the default startup behavior - the Num Lock is on and the cursor keys act like number keys

0.74 is the closest to real hardware in my opinion. When you turn the PCjr. on, it defaults to the cursor key function. Was there a particular reason for the change?

http://nerdlypleasures.blogspot.com/ - Nerdly Pleasures - My Retro Gaming, Computing & Tech Blog

Reply 1 of 3, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

The SVN has the numlock detection at startup fixed.
So turn off your numlock.

Maybe the pcjr needs something special though...

Water flows down the stream
How to ask questions the smart way!

Reply 2 of 3, by Great Hierophant

User metadata
Rank l33t
Rank
l33t

The IBM PC, when connected to its accompanying 83-key keyboard, defaults to Num Lock off. This makes sense as it does not have separate cursor control keys and the number key row can handle number entry. I assume the same applies to the IBM PC AT and its 84-key keyboard, also without cursor keys.

If I recall correctly, an IBM PC/XT with a 101-Key keyboard should default to Num Lock on. (You can connect a 101 key keyboard to an IBM PC, but it may have to be a third-party keyboard). I believe the current DOSBox behavior (Num Lock on) is appropriate for all modes except for PCjr., where it should be off.

Of course, turning off the Num Lock has the same effect and should be in sync in the SVN with the state of the button and the LED.

http://nerdlypleasures.blogspot.com/ - Nerdly Pleasures - My Retro Gaming, Computing & Tech Blog

Reply 3 of 3, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

When you start DOSBox, DOSBox doesn't set numlock on.
It sets it to the same value as the host.
So if you have it on, when starting dosbox, dosbox turns it on.

Water flows down the stream
How to ask questions the smart way!