[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] No keyboard with GEM=ROM



Am 11.09.2010, 13:56 Uhr, schrieb Vincent Rivière <vincent.riviere@freesbee.fr>:
Hello.

If I put GEM=ROM in MINT.CNF, FreeMiNT runs the ROM AES, as expected.
However, the keyboard does not work in the AES. For example, we can't type anything in the New Folder dialog, and the keyboard shortcuts does not work...
However, the keyboard works fine in textmode programs running on the  
BIOS console.
Furthermore, if you type some characters while you are on the desktop,  
then you run some interactive textmode program such as bash, you will  
see your characters on the bash command line ! It seems that the  
keystrokes are ignored and buffered while in GEM applications, then they  
appear after switching to textmode.
I have checked this behaviour on ARAnyM and the latest FreeMiNT  
snapshot, with both EmuTOS and TOS 4.04.
The same happens on ROM-GEM on a real TT. The reason is in keyboard.c: No  
interrupt, no keyboard. There is an old acc (nohog.acc by E. Smith) that  
calls yield() periodically. When this is installed, keyboard should work.  
I  patched my kernel to let GEM run in single-task-mode, and keyboard  
works there too, but no repeat, just like pure-debugger.

--
Helmut Karlowski