BBC Micro

BeebEm - BBC Micro and Master 128 Emulator

BBC Micro

Home

Help Contents

Download Software

BeebEm Website


Keyboard Mappings

There are two main keyboard mappings available on the BeebEm Options menu, default mapping and logical mapping. The Beeb keyboard looks like this:

Beeb Keyboard

Logical Mapping

With the Logical Mapping the key symbols on the PC keyboard are mapped directly to the same symbols on the Beeb keyboard, so you get what you press. Note that the logical mapping sometimes has to change the shift key state in order to work so it can do some unexpected things if you use it while playing a game that uses shift. Its probably better to use Default Mapping when playing games.

Default Mapping

For the Default Mapping most of the keys are the same on the Beeb and PC but these are not:

PC Key Beeb Key
F10 & F11 f0
F1-F9 f1-f9
F12 Break
-_ -=
=+ ^~
` @
#~ _
;: ;+
'@ :*
End Copy

Shortcut Keys

There are some shortcut keys for various features:

PC Key Press Function
keypad + Increase emulation speed
ALT + Increase emulation speed
keypap - Decrease emulation speed
ALT - Decrease emulation speed
keypad / Quick save state
ALT 1 Quick save state
keypad * Quick load state
ALT 2 Quick load state
ALT keypad 5 Capture screen to file (with NumLock on)
ALT 5 Capture screen to file
ALT Enter Toggle fullscreen mode
ALT F4 Exit

Custom Key Mappings

Key mappings are kept in .kmap files stored in the 'My Documents\BeebEm' area. BeebEm will read the Default.kmap and Logical.kmap files at start up. These files contain mappings for a UK PC keyboard and they can be replaced with alternative mapping files if you are not using a UK keyboard (for example, the USLogical.kmap file for a US keyboard).

You can create your own mapping to map your PC keyboard to your emulated BBC one. Do this as follows:

  1. If you are in full screen mode then switch back to Windowed mode.
  2. Select menu item "Options -> Define User Key Mapping". A graphic showing the BBC keyboard layout will appear within the BeebEm interface.
  3. Use your mouse pointer to click once on the BBC key that you are attempting to map to your PC keyboard.
    e.g. Click BBC key 8(
  4. Decide which PC keys you want to map to the unshifted BBC key press and which PC key you want to map to the shifted BBC key press. It could be the same PC key for both or it could be different keys.
    e.g. For unshifted BBC key 8( press you would select PC key 8*
    e.g. For shifted BBC key 8( press you would select PC key 9(
  5. Now press the PC key you selected for the unshifted BBC key press.
    e.g. Press PC key 8*
  6. If the PC key you selected for the BBC shifted key press requires the PC to be shifted then check the 'shift' box in the key dialog. Now press the PC key you selected for the shifted BBC key press (but do not press shift).
    e.g. Check the 'shift' box and press PC key 9(
  7. Repeat from step 3 for other keys you want to map.
  8. Save your mapping using menu item "Options -> Save User Key Mapping". You can write over the default user key mapping file (DefaultUser.kmap) or save a new file.
  9. Select your mapping using menu item "Options -> User Defined Mapping". You can also use the "Save Preferences" option to save the default user key mapping file that gets loaded when BeebEm starts up.

Copyright © 2011 Mike Wyatt