Date : Mon, 14 Nov 1994 11:42:08 GMT
From : David Alan Gilbert <gilbertd@...>
Subject: Keyboard emulation question
Hi,
Well I just got full beeb emulation (at hardware level) going on my
emulator - there is however one rather difficult problem.
The problem is the mapping of unshifted/shifted keystrokes -
for example when the user presses the shift key I tell the beeb
the shift is down by setting the bit in the keyboard matrix
so it finds it next time it scans. However on my PC ':' is
shift with ';' - so the beeb is given the keycode for the ':' and '*'
key and also a shift - so it types a '*'.
OK - so I could stamp on shifts or add them at times - but wouldn't
this upset some games which used the shift in combination with
other keys ?
What have other people done?
My only other problem at the moment is that the BRK flag is never cleared
- so after an error I never service anymore interrupts - does anyone know
when its supposed to be cleared?
Dave
P.S. As far as I can tell the keyboard matrix in the AUG is wrong - rows
1-6 are inverted and the 9 and the I are swapped.