* [Qemu-devel] Mac OS X (SDL quartz driver) Bug in resizing.
@ 2004-07-17 13:37 Pierre d'Herbemont
2004-07-17 13:47 ` René Korthaus
2004-07-17 14:03 ` Laurent Amon
0 siblings, 2 replies; 10+ messages in thread
From: Pierre d'Herbemont @ 2004-07-17 13:37 UTC (permalink / raw)
To: sdl; +Cc: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 395 bytes --]
Hi,
When using Qemu [1] on Mac OS X, changing the window size ends up in a
segfault. Actually it seems that there are memory leaks if the Window
and its view are not totally released. The ugly patch attached fixes
the troubles:
By the way if any Mac OS X SDL developer want to try out QEMU, I think
there are some libsdl-bugs to track down.
Thanks,
Pierre.
[1] http://bellard.org/qemu
[-- Attachment #2: sdl.diff.txt --]
[-- Type: text/plain, Size: 834 bytes --]
Index: SDL_QuartzVideo.m
===================================================================
RCS file: /home/sdlweb/libsdl.org/cvs/SDL12/src/video/quartz/SDL_QuartzVideo.m,v
retrieving revision 1.39
diff -u -r1.39 SDL_QuartzVideo.m
--- SDL_QuartzVideo.m 22 Mar 2004 09:38:20 -0000 1.39
+++ SDL_QuartzVideo.m 17 Jul 2004 13:36:15 -0000
@@ -671,11 +671,13 @@
- If it is OpenGL (since gl attributes could be different)
- If new mode is OpenGL, but previous mode wasn't
*/
+#if 0
if (video_set == SDL_TRUE)
if ( (mode_flags & SDL_FULLSCREEN) ||
((mode_flags ^ flags) & (SDL_NOFRAME|SDL_RESIZABLE)) ||
(mode_flags & SDL_OPENGL) ||
(flags & SDL_OPENGL) )
+#endif
QZ_UnsetVideoMode (this);
/* Check for user-specified window and view */
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Qemu-devel] Mac OS X (SDL quartz driver) Bug in resizing.
2004-07-17 13:37 [Qemu-devel] Mac OS X (SDL quartz driver) Bug in resizing Pierre d'Herbemont
@ 2004-07-17 13:47 ` René Korthaus
2004-07-17 16:06 ` Pierre d'Herbemont
2004-07-17 14:03 ` Laurent Amon
1 sibling, 1 reply; 10+ messages in thread
From: René Korthaus @ 2004-07-17 13:47 UTC (permalink / raw)
To: qemu-devel
Hi,
thanks for the patch, thats probably the reason why i could'nt install
gentoo and couldnt start yoperv2. Now i got that sdl.diff.txt file
where to put it?
Thanks
Am 17.07.2004 um 15:37 schrieb Pierre d'Herbemont:
> Hi,
>
> When using Qemu [1] on Mac OS X, changing the window size ends up in a
> segfault. Actually it seems that there are memory leaks if the Window
> and its view are not totally released. The ugly patch attached fixes
> the troubles:
>
> By the way if any Mac OS X SDL developer want to try out QEMU, I think
> there are some libsdl-bugs to track down.
>
> Thanks,
>
> Pierre.
>
> [1] http://bellard.org/qemu
>
> <sdl.diff.txt>_______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Qemu-devel] Mac OS X (SDL quartz driver) Bug in resizing.
2004-07-17 13:37 [Qemu-devel] Mac OS X (SDL quartz driver) Bug in resizing Pierre d'Herbemont
2004-07-17 13:47 ` René Korthaus
@ 2004-07-17 14:03 ` Laurent Amon
2004-07-17 14:32 ` Johannes Schindelin
1 sibling, 1 reply; 10+ messages in thread
From: Laurent Amon @ 2004-07-17 14:03 UTC (permalink / raw)
To: qemu-devel
On 17 juil. 04, at 15:37, Pierre d'Herbemont wrote:
> By the way if any Mac OS X SDL developer want to try out QEMU, I think
> there are some libsdl-bugs to track down.
>
>
Hello Pierre,
The main problem I have is keyboard management. I am trying to use
Windows and I barely have the letters and the numbers on the keypad
only. Do you know if the problem is with qemu or sdl? and if it might
be feasible to have a better recognition of the Mac keyboard?
Thanks,
Lga.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Qemu-devel] Mac OS X (SDL quartz driver) Bug in resizing.
2004-07-17 14:03 ` Laurent Amon
@ 2004-07-17 14:32 ` Johannes Schindelin
2004-07-17 16:21 ` Laurent Amon
0 siblings, 1 reply; 10+ messages in thread
From: Johannes Schindelin @ 2004-07-17 14:32 UTC (permalink / raw)
To: qemu-devel
Hi,
On Sat, 17 Jul 2004, Laurent Amon wrote:
> The main problem I have is keyboard management. I am trying to use
> Windows and I barely have the letters and the numbers on the keypad
> only. Do you know if the problem is with qemu or sdl? and if it might
> be feasible to have a better recognition of the Mac keyboard?
I think the problem lies with the correct translation of your key presses
to pc keycodes, i.e. in qemu. IIRC, Fabrice committed a quick fix a few
days ago: Are you using qemu CVS?
Ciao,
Dscho
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Qemu-devel] Mac OS X (SDL quartz driver) Bug in resizing.
2004-07-17 13:47 ` René Korthaus
@ 2004-07-17 16:06 ` Pierre d'Herbemont
0 siblings, 0 replies; 10+ messages in thread
From: Pierre d'Herbemont @ 2004-07-17 16:06 UTC (permalink / raw)
To: qemu-devel
You have to get the libsdl sources (cvs version) and patch the sources,
then run 'make'. If you don't want to rebuild libsdl prefer Kevin's
Hack: at launch time press ctrl-shit-f to go in fullscreen mode. It
runs fine from here.
Pierre
Le 17 juil. 04, à 15:47, René Korthaus a écrit :
> Hi,
>
> thanks for the patch, thats probably the reason why i could'nt install
> gentoo and couldnt start yoperv2. Now i got that sdl.diff.txt file
> where to put it?
>
> Thanks
>
> Am 17.07.2004 um 15:37 schrieb Pierre d'Herbemont:
>
>> Hi,
>>
>> When using Qemu [1] on Mac OS X, changing the window size ends up in
>> a segfault. Actually it seems that there are memory leaks if the
>> Window and its view are not totally released. The ugly patch attached
>> fixes the troubles:
>>
>> By the way if any Mac OS X SDL developer want to try out QEMU, I
>> think there are some libsdl-bugs to track down.
>>
>> Thanks,
>>
>> Pierre.
>>
>> [1] http://bellard.org/qemu
>>
>> <sdl.diff.txt>_______________________________________________
>> Qemu-devel mailing list
>> Qemu-devel@nongnu.org
>> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Qemu-devel] Mac OS X (SDL quartz driver) Bug in resizing.
2004-07-17 14:32 ` Johannes Schindelin
@ 2004-07-17 16:21 ` Laurent Amon
2004-07-18 8:08 ` [Qemu-devel] Mac OS X keycodes Laurent Amon
2004-08-14 13:44 ` [Qemu-devel] Mac OS X (SDL quartz driver) Bug in resizing Gianni Tedesco
0 siblings, 2 replies; 10+ messages in thread
From: Laurent Amon @ 2004-07-17 16:21 UTC (permalink / raw)
To: qemu-devel
I'm using the latest snapshot (2004_07_15_23) but I might as well
compile from CVS. I'll have a look. If the patch is not in CVS, can
someone point me to it?
I should report that I just installed Office 2000 on Win95 OSR2 on my
TiBook/400. It walks rather than run, but perfectly so far. At least,
it doesn't crawl like bochs. It is useable, but I'll be thankful for
any optimization :-) I wanted to try WinME, but the copy I have is a
reformed EOM system and it seems that it won't install except on a DELL
:-(
How far is USB support? I would be interested in running some utilities
for my Canon BJC-6200 printer. They have not been developed for OSX.
Thanks for the info,
Lga.
On 17 juil. 04, at 16:32, Johannes Schindelin wrote:
> Hi,
>
> On Sat, 17 Jul 2004, Laurent Amon wrote:
>> The main problem I have is keyboard management. I am trying to use
>> Windows and I barely have the letters and the numbers on the keypad
>> only. Do you know if the problem is with qemu or sdl? and if it might
>> be feasible to have a better recognition of the Mac keyboard?
>
> I think the problem lies with the correct translation of your key
> presses
> to pc keycodes, i.e. in qemu. IIRC, Fabrice committed a quick fix a few
> days ago: Are you using qemu CVS?
>
> Ciao,
> Dscho
>
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Qemu-devel] Mac OS X keycodes
2004-07-17 16:21 ` Laurent Amon
@ 2004-07-18 8:08 ` Laurent Amon
2004-07-18 12:36 ` René Korthaus
2004-07-18 22:01 ` [Qemu-devel] PATCH : " Laurent Amon
2004-08-14 13:44 ` [Qemu-devel] Mac OS X (SDL quartz driver) Bug in resizing Gianni Tedesco
1 sibling, 2 replies; 10+ messages in thread
From: Laurent Amon @ 2004-07-18 8:08 UTC (permalink / raw)
To: qemu-devel
On 17 juil. 04, at 18:21, Laurent Amon wrote:
> I'm using the latest snapshot (2004_07_15_23) but I might as well
> compile from CVS. I'll have a look. If the patch is not in CVS, can
> someone point me to it?
>
> On 17 juil. 04, at 16:32, Johannes Schindelin wrote:
>
>> I think the problem lies with the correct translation of your key
>> presses
>> to pc keycodes, i.e. in qemu. IIRC, Fabrice committed a quick fix a
>> few
>> days ago: Are you using qemu CVS?
>>
>> Ciao,
>> Dscho
>>
>>
I found the patch on the mailing list archives, dated from last month.
However, it has not been commited in CVS then and needs some rework to
patch cleanly against current CVS. I have it working and I hope to post
a reworked patch later today, once I correct a few keycodes that are
incorrectly mapped on my keyboard.
Bye for now,
Lga.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Qemu-devel] Mac OS X keycodes
2004-07-18 8:08 ` [Qemu-devel] Mac OS X keycodes Laurent Amon
@ 2004-07-18 12:36 ` René Korthaus
2004-07-18 22:01 ` [Qemu-devel] PATCH : " Laurent Amon
1 sibling, 0 replies; 10+ messages in thread
From: René Korthaus @ 2004-07-18 12:36 UTC (permalink / raw)
To: qemu-devel
Hello again,
i just created something like a tutorial for Qemu on Mac OS X. Please
add and edit heavily, i just made the start...
Just posted it at MorphixWiki News
(http://am.xs4all.nl/phpwiki/index.php/Qemu) ....
http://cordney.com/mymacintosh/doku.php?id=wiki:qemu
Greets
Am 18.07.2004 um 10:08 schrieb Laurent Amon:
>
> On 17 juil. 04, at 18:21, Laurent Amon wrote:
>
>> I'm using the latest snapshot (2004_07_15_23) but I might as well
>> compile from CVS. I'll have a look. If the patch is not in CVS, can
>> someone point me to it?
>>
>
>> On 17 juil. 04, at 16:32, Johannes Schindelin wrote:
>>
>>> I think the problem lies with the correct translation of your key
>>> presses
>>> to pc keycodes, i.e. in qemu. IIRC, Fabrice committed a quick fix a
>>> few
>>> days ago: Are you using qemu CVS?
>>>
>>> Ciao,
>>> Dscho
>>>
>>>
> I found the patch on the mailing list archives, dated from last month.
> However, it has not been commited in CVS then and needs some rework to
> patch cleanly against current CVS. I have it working and I hope to
> post a reworked patch later today, once I correct a few keycodes that
> are incorrectly mapped on my keyboard.
>
>
> Bye for now,
>
> Lga.
>
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Qemu-devel] PATCH : Mac OS X keycodes
2004-07-18 8:08 ` [Qemu-devel] Mac OS X keycodes Laurent Amon
2004-07-18 12:36 ` René Korthaus
@ 2004-07-18 22:01 ` Laurent Amon
1 sibling, 0 replies; 10+ messages in thread
From: Laurent Amon @ 2004-07-18 22:01 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 287 bytes --]
Greetings,
Here is the reworked patch to make the Mac keyboard mostly useful. It
patches against yesterday's night CVS. Can somebody commit it?
In addition to this it patches configure and vl.c to include SDL/SDL.h
instead of SDL.h for Mac (The precompiled OS X libsdl needs this).
[-- Attachment #2: mac-key-lga.tgz --]
[-- Type: application/x-gzip, Size: 2241 bytes --]
[-- Attachment #3: Type: text/plain, Size: 747 bytes --]
There are a few keys that are not correctly mapped, but I think we will
need a new keyboard definition in the guest OS to correct this (or even
better, use the current keylayout in OSX, but that is beyond my ken).
We get a working alt-graph key.
Thanks to Johannes Fortmann for the original patch posted on June 12th.
This one improves very little on it.
Lga.
On 18 juil. 04, at 10:08, Laurent Amon wrote:
> I found the patch on the mailing list archives, dated from last month.
> However, it has not been commited in CVS then and needs some rework to
> patch cleanly against current CVS. I have it working and I hope to
> post a reworked patch later today, once I correct a few keycodes that
> are incorrectly mapped on my keyboard.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Qemu-devel] Mac OS X (SDL quartz driver) Bug in resizing.
2004-07-17 16:21 ` Laurent Amon
2004-07-18 8:08 ` [Qemu-devel] Mac OS X keycodes Laurent Amon
@ 2004-08-14 13:44 ` Gianni Tedesco
1 sibling, 0 replies; 10+ messages in thread
From: Gianni Tedesco @ 2004-08-14 13:44 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 1176 bytes --]
On Sat, 2004-07-17 at 18:21 +0200, Laurent Amon wrote:
> I'm using the latest snapshot (2004_07_15_23) but I might as well
> compile from CVS. I'll have a look. If the patch is not in CVS, can
> someone point me to it?
>
> I should report that I just installed Office 2000 on Win95 OSR2 on my
> TiBook/400. It walks rather than run, but perfectly so far. At least,
> it doesn't crawl like bochs. It is useable, but I'll be thankful for
> any optimization :-) I wanted to try WinME, but the copy I have is a
> reformed EOM system and it seems that it won't install except on a DELL
> :-(
>
> How far is USB support? I would be interested in running some utilities
> for my Canon BJC-6200 printer. They have not been developed for OSX.
It emulates all the chipsets functionality just about. All thats missing
is the actual packet processing code. I haven't had any time to progress
it in the last 6 weeks, and probably won't have time for the next 6
weeks.
--
// Gianni Tedesco (gianni at scaramanga dot co dot uk)
lynx --source www.scaramanga.co.uk/scaramanga.asc | gpg --import
8646BE7D: 6D9F 2287 870E A2C9 8F60 3A3C 91B5 7669 8646 BE7D
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2004-08-14 13:49 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-17 13:37 [Qemu-devel] Mac OS X (SDL quartz driver) Bug in resizing Pierre d'Herbemont
2004-07-17 13:47 ` René Korthaus
2004-07-17 16:06 ` Pierre d'Herbemont
2004-07-17 14:03 ` Laurent Amon
2004-07-17 14:32 ` Johannes Schindelin
2004-07-17 16:21 ` Laurent Amon
2004-07-18 8:08 ` [Qemu-devel] Mac OS X keycodes Laurent Amon
2004-07-18 12:36 ` René Korthaus
2004-07-18 22:01 ` [Qemu-devel] PATCH : " Laurent Amon
2004-08-14 13:44 ` [Qemu-devel] Mac OS X (SDL quartz driver) Bug in resizing Gianni Tedesco
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).