[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] OS X keyboard patch
From: |
J. Fortmann |
Subject: |
[Qemu-devel] OS X keyboard patch |
Date: |
Sat, 12 Jun 2004 18:54:19 +0200 (MEST) |
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
--
"Sie haben neue Mails!" - Die GMX Toolbar informiert Sie beim Surfen!
Jetzt aktivieren unter http://www.gmx.net/info
mac-key.tar.gz
Description: GNU Zip compressed data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] OS X keyboard patch,
J. Fortmann <=