Skip to contentSkip to conversation

OS X keyboard patch

Qemu-devel J. Fortmann 1 participant 1 message Jun 12, 2004

lore
Share & tools
lore
#0 lore raw

Attached is a patch to get keyboard input working in Mac OS X. This works using a mac->pc scancode conversion table, with a switch statement for a few boundary cases.
I also had to add an #include <SDL/SDL.h> in vl.c. This is necessary for SDL to do its main() magic and shouldn't harm other platforms.

With this patch, I can boot freedos and type commands. Stuff that does memory or vga magic fails, though.
- Bananoid crashed hard
- Mario screws up the screen
- Settlers (no, that's not on the qemu freedos image :-) crashes hard

Greetings,
Johannes Fortmann

Signature · 2 lines
"Sie haben neue Mails!" - Die GMX Toolbar informiert Sie beim Surfen!
Jetzt aktivieren unter http://www.gmx.net/info