I had some fun this weekend sorting out the keyboard in my #Amiga emulation setu...
Simon Tatham @simontatham@hachyderm.io
I had some fun this weekend sorting out the keyboard in my #Amiga emulation setup. I use FS-UAE (for the moment), on a Linux PC with a UK keyboard. But even the 'gb' keymap in Amiga Workbench 1.3 isn't quite right – I assume the British Amiga keyboard had the punctuation keys laid out slightly differently. So I wanted to make a keymap of my own that matches _this_ keyboard.
I found a graphical keymap editor for the Amiga itself, but wasn't able to get it to run easily (system library version mismatch). I found a keymap editor on Github written in Scala, but couldn't even get it to _build_. Eventually I resorted to looking up / figuring out the file format, and using a hex editor to manually construct the keymap I wanted.
But then I had to install the new keymap file on my Workbench disk image. Happily, I now have a machine in my house running this year's Ubuntu release (26.04 Resolute Raccoon), which has a kernel new enough to contain my own fixes to the 'affs' filesystem implementation. So at only the cost of copying a few files to and from that machine, I was _finally_ able to tweak my disk image in the nice simple way that _should_ have worked for me last year but didn't:
mount -t affs -o loop workbench.adf mnt
cp fs-uae-gb mnt/devs/keymaps
emacs mnt/s/Startup-Sequence # edit to load the keymap I just installed
umount mnt