[Oberon] Project Oberon 2013 on RISC-V
Andreas Pirklbauer
andreas_pirklbauer at yahoo.com
Mon Dec 28 19:42:36 CET 2020
> Are you testing the emulator on MacOS Big Sur? Apple has added a “feature” that
> verifies programs at start by sending a hash value to an Apple service that helps
> the system to check for known malware hashes. This also applies to self-compiled
> code. This can lead to a significant slowdown for the first start (and after every
> recompile), see also https://sneak.berlin/20201112/your-computer-isnt-yours/
No, that’s not it. It’s also slower on older versions of macOS. Also, on the same
machine oberon-risc-emu (RISC5) version is much faster.
> Rikke has modified the emulator quite a bit and it seems the Alt functionalily
> got lost along the way. The attached diff should restore the Alt key function.
>
> --- src.orig/sdl-main.c 2020-12-28 19:18:27.000000000 +0100
> +++ src/sdl-main.c 2020-12-28 19:18:48.000000000 +0100
> @@ -60,8 +60,6 @@
> {SDL_PRESSED, SDLK_RETURN, KMOD_ALT, 0, ACTION_TOGGLE_FULLSCREEN},
> {SDL_PRESSED, SDLK_f, KMOD_GUI, KMOD_SHIFT,
> ACTION_TOGGLE_FULLSCREEN}, // Mac?
> - { SDL_PRESSED, SDLK_LALT, 0, 0, ACTION_FAKE_MOUSE2 },
> - { SDL_RELEASED, SDLK_LALT, 0, 0, ACTION_FAKE_MOUSE2 },
> };
Thanks. The “Alt" functionality is now back! It would be good if this change were
also back-ported to the emulator - for the Mac users out there..
More information about the Oberon
mailing list