VOGONS


First post, by quackgyver

User metadata
Rank Newbie
Rank
Newbie

Hi,

I switched out the motherboard in my Pentium MMX PC running Windows 98 SE and MS-DOS 7.

Everything was working fine including in MS-DOS, but now all of a sudden some of the keys on my keyboard are mapped incorrectly.

I'm on a Swedish keyboard and I'm using the same configuration as I've always used:

mode con codepage prepare=((850) c:\dos\ega.cpi)
mode con codepage select=850
keyb sv,,c:\dos\keyboard.sys

This has always worked in MS-DOS, including after switching out the motherboard, but when I booted the PC today some of the keys seemed to have the wrong mapping.

Any ideas?

Game design studio: http://astrojone.com
Personal site: http://quackgyver.com

Reply 1 of 3, by Disruptor

User metadata
Rank Oldbie
Rank
Oldbie

which keys do you refer to?
when you type Y, what do you get?
when you type Z, what do you get?
when you type shift-8, what do you get?
what do you get when you hit the key right of P?
what do you get when you hit the keys right of L?

does keyb approach when you type
mem /c /p

what do you get when you type
chcp

Reply 2 of 3, by quackgyver

User metadata
Rank Newbie
Rank
Newbie
Disruptor wrote on 2022-12-05, 10:52:

which keys do you refer to?

On the Swedish keyboard layout, the left bracket key is mapped to "å" and the right bracket key is mapped to "¨" (with "^" and "~" accessed via Shift and AltGr respectively).

Both of these keys work fine when pressed without modifier keys (i.e. they output "å" and "¨" as expected), but when combined with AltGr, left bracket outputs a left bracket even though it's supposed to output nothing, and the right bracket outputs a right bracket even though it's supposed to output a tilde ("~").

So basically, the keyboard layout behaves like a Swedish keyboard layout, but the left- and right bracket keys behave like they do on an American keyboard layout only when AltGr is used as a modifier key.

Disruptor wrote on 2022-12-05, 10:52:

when you type Y, what do you get?

"y", as expected.

Disruptor wrote on 2022-12-05, 10:52:

when you type Z, what do you get?

"z", as expected.

Disruptor wrote on 2022-12-05, 10:52:

when you type shift-8, what do you get?

Left parenthesis ("("), as expected.

Disruptor wrote on 2022-12-05, 10:52:

what do you get when you hit the key right of P?

"å", as expected.

Disruptor wrote on 2022-12-05, 10:52:

what do you get when you hit the keys right of L?

"ö", as expected.

Disruptor wrote on 2022-12-05, 10:52:

does keyb approach when you type
mem /c /p

Yep!

Disruptor wrote on 2022-12-05, 10:52:

what do you get when you type
chcp

"Active code page: 850"

Game design studio: http://astrojone.com
Personal site: http://quackgyver.com