Hi,
I'm in hospital for the foreseeable future so I going to continue developing on BeebEm.
Problem is, BeebEm's default keyboard mappings don't work, the custom mapping form is unfathomable and the documentation is out to lunch.
This is the problem I'm trying to solve, typing tilde, '~'
So, Caret '^' and Tilde are on the same key.
And on a regular keyboard Caret is Shift-6 and on mine Tilde is Shift-#
I've mapped PC-Shift to BBC-Shift (it was unmapped for some reason??)
And then I think you're supposed to click BBC-^ and then check shift, followed by check shift and PC-#?
But when I go back to the Beeb and press PC-Shift-6 in types an up arrow?!?!
And if I press PC-Shift-# I get the divide symbol!!
I hope someone can help, I'm trapped in this hospital for months and I need something to do but BeebEm is driving me insane!
Or has anybody documented the kmap file format?
It might be easier to just write that out instead!
Or maybe write my own configurator.
TIA,
J1M.
BeebEm Custom Keyboard Mapping
Re: BeebEm Custom Keyboard Mapping
Are you in mode 7 by any chance? Try a non-teletext mode.
Re: BeebEm Custom Keyboard Mapping
You almost certainly are using MODE 7; which uses a slightly different character set, generated by the SAA5250 Teletext character generator IC, from the legends on the keyboard, but also requires only one byte to store the character code at each screen position. MODEs 0 to 6 use Acorn's own graphics hardware to generate the display; but in these modes, the colour of every individual pixel is stored separately, which swallows up more memory.RoboJ1M wrote: ↑Sat Feb 24, 2024 1:37 amThis is the problem I'm trying to solve, typing tilde, '~'
So, Caret '^' and Tilde are on the same key.
And on a regular keyboard Caret is Shift-6 and on mine Tilde is Shift-#
I've mapped PC-Shift to BBC-Shift (it was unmapped for some reason??)
And then I think you're supposed to click BBC-^ and then check shift, followed by check shift and PC-#?
But when I go back to the Beeb and press PC-Shift-6 in types an up arrow?!?!
And if I press PC-Shift-# I get the divide symbol!!
In MODE 7, an opening square bracket [ displays as a left arrow, a backslash \ displays as 1/2, a closing square bracket displays as a right arrow, an exclusive-or sign ^ (which the BBC actually takes to mean **; the exclusive-or operator is EOR) displays as an up arrow; an opening posh bracket { displays 1/4, a vertical bar | displays as a double vertical bar, a closing posh bracket } displays as 3/4 and a tilde ~ displays as a calculator division sign ÷ .
Type MODE 6 for a display mode that will match the key legends (but be aware this will use up 8KB for the screen, as opposed to 1KB in MODE 7).
As far as the computer is concerned, the characters have the same meaning irrespective how they be displayed.