Re: Booting on RiscPC

Mike Pumford <[email protected]> Fri, 5 Apr 2019 18:22:07 +0100
Newsgroups gmane.os.netbsd.ports.acorn32
Message-ID <[email protected]>

On 02/04/2019 15:04, Stephen Borrill wrote:
> On Mon, 1 Apr 2019, Mike Pumford wrote:
>> On 28/03/2019 09:43, Stephen Borrill wrote:
> The patch doesn't seem to help. I did try bypassing the RISC OS boot 
> sequence just in case I had some odd module loaded that did something 
> strange.
> 
Well I've figured out what is going on. For some reason your keyboard is 
generating different scan codes to the one expected by the NetBSD 
driver. NetBSD seems to be expecting AT scan code set 1.

Using z as an example:
In Set 1:
down: 0x2c
up: 0xac

In Set 2:
down: 0x1a 0xf0
up: 0x1a

If we look up 0x1a in set 1 that maps to [ so this explains the [[ you 
get when you type a z. I checked the other examples you gave and they 
all lined up this way. Just need to work out why there is a disconnect 
between hardware and software (and why it happens on your system and not 
mine ).

I'll keep digging to see if I can come up with a patch.

Mike