Re: [hatari-devel] Small Program

[ Thread Index | Date Index | More Archives ]


I would set the keyboard to scancode instead of symbolic. On my MacBook Air with a US keyboard, only the tilde/backtick key and the pipe/backslash keys are reversed when I use the scancode option. I use WordWriter ST to check all of my keys. I have set F11 as my Help key and F12 as my Undo key. I had to go into the SDL menu and remove F11 as fullscreen (I use Cmd-F) and also remove F12 as the SDL menu shortcut. I thought I set it to the right-Cmd key but it is not working correctly for me right now.

My MacBook Air keyboard does not include F13, F14, or F15 so those keys are not available to me. Regarding Cmd-C that reboots Hatari, that is because Hatari defaults to the modifier key (AltGr on European PC keyboards, Right Alt on US PC keyboards, and Cmd on the Mac). You can go into the configuration file and change kColdReset in the KeyShortcutsWithMod to something other than C. Cmd-R is used for a Warm Reset.

Bob C

On Jan 1, 2023, at 10:58 AM, Miguel Saro <miguel.saro@xxxxxxx> wrote:

Hi, Bonsoir,
I finished my program started in the years 90...93. This text is a report on the use of Hatari on a macbook pro (I7 at 2.9 GHz) in the context of programming.
The most annoying point is the keyboard. I think someone has already solved this problem. If so, I would like the information or where I can find it. A number of characters are not on the correct key and the four-sign keys are totally out of the keys on Apple. the most terrible are certain key combinations as "command-c":"copy" on the mac and "reset" on Hatari (I yelled a great number of times and came back on mac I did "control-C" to  copy!!!. If the Mac keyboard problem is not solved I would like to have an additional setting to reverse the "control" and "command" keys in the key combinations. For programming, I used Pure-C. in MegaSte mode at 16 MHz. The Pure-C debugger has display faults or the mouse disappears each time you come out of a "debugging" (in French: mise au point). I've seen some pretty clear differences between what Sozobon and Pure-C admit. 
I put the program in attachment with the file LANG_EN.RSC, to have the program in French modify the name in LANG_FR.RSC. the program is not very fast because the number of nested loops is 15 and the innermost loop can be traversed 2.7 million times in the worst case. The same algorithm on my mac takes less than a second. If you try it and find any bugs, let me know.

And happy New Year !


M et Y Saro
Méaudre:  04 76 94 79 32
Seyssinet: 04 76 21 61 02
// locations. vercors. free. fr
// cocoa. pod. free. fr

Mail converted by MHonArc 2.6.19+