VOGONS


First post, by jcdutton

User metadata
Rank Newbie
Rank
Newbie

Hi,

I have problems with CAPS LOCK in DOSBOX 0.72.
On 32-bit platforms it works fine. I.e. You press CAPS LOCK and it locks.
On 64-bit platforms it does not work correctly. I.e. You press CAPS LOCK and it does not lock, but works like a SHIFT key.
I have even installed a chroot 32-bit userspace on a 64-bit platform and the CAPS LOCK works fine.
So, I conclude that the problem is 64-bit related.
Has anyone else seen this behaviour.

The test I am doing is simple.
type "dosbox" without any config file, and just type chars at the DOS prompt and press the CAPS lock on and off.

Reply 1 of 7, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

os?

Reply 2 of 7, by jcdutton

User metadata
Rank Newbie
Rank
Newbie

os?

Linux, Ubuntu Edgy, Feisty, Hardy. Gentoo

Reply 3 of 7, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

All of them show this behaviour on your pc???

Reply 4 of 7, by jcdutton

User metadata
Rank Newbie
Rank
Newbie

Ok, I have done some more investigations.
Is seems that the binary dosbox that comes with ubuntu is fine, but if I try to compile my own dosbox, I have problems.
Is there any way to find out which compile options were used when ubuntu compiled dosbox?

Reply 5 of 7, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Check out the CAN_USE_LOCK in bios_keyboard.cpp, maybe that has an
effect on that.
Is everything else the same, especially the SDL version?

Reply 6 of 7, by jcdutton

User metadata
Rank Newbie
Rank
Newbie

CAN_USE_LOCK 1

makes is work.
Just a minor bug, if dosbox is entered with the CAPS LOCK ON, the first press of CAPS LOCK in dosbox does not call the IRQ1 routine. If CAPS LOCK is OFF when dosbox in entered, the first press of CAPS LOCK works fine.

Reply 7 of 7, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

it is actually a debian/ubuntu bug.

they change SDL it's behaviour.

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