Re: [hatari-devel] OS X Hatari 1.9.0 devel version |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] OS X Hatari 1.9.0 devel version
- From: David Savinkoff <dsavnkff@xxxxxxxxx>
- Date: Sun, 8 Nov 2015 02:08:53 -0700 (MST)
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=telus.net; s=neo; t=1446973733; bh=Pajqssilz1m1FGwzM4fCGMR9BF9qvzYRsrizodqR9L4=; h=Date:From:To:Message-ID:In-Reply-To:References:Subject: MIME-Version:Content-Type:Content-Transfer-Encoding; b=im7cHmgFiwQDp/Wgukftgm+Qyfli2e8UVGjRUYsXQsuwF7c37Ik8aaPNOGxwYY1Ls suXAvE4/Kz3G0zaJSWE4MHy2xYk1IrVCqnhD81ApMnXAH51W9KAehbN7CmEzmshnrM RmvsTMiBzXqnxVohFBHFemTBLBNBjyiO7VTZrte7UeZMh5mt0Jb4wyTfOYwILqn8D1 mBC05/u8gONedyxb9qCMsA+9lKAN9C1veXpPPi2aDZFNGKZPfhZFjHcU7RdMQHl4r+ XTeiCGIgOz4x17WpvEZkQ++hERJ8zkmy9SsyC0uvy6vSTLjSjxzTmsWjvs9aVQwuf5 wZ4A7u5+r23nw==
- Thread-index: MLWubQRFXjN+IGjzh2bc7ptqQfQwOA==
- Thread-topic: OS X Hatari 1.9.0 devel version
----- Thomas Huth wrote:
> Am Sat, 7 Nov 2015 15:10:30 -0700 (MST)
> schrieb David Savinkoff
>
> > ----- Jerome Vernet wrote:
> > >
> > > Le 07/11/2015 02:10, Bob Carpenter a écrit :
> > > > Jerome,
> > > >
> > > > Unfortunately, I cannot run any of your Hatari versions because
> > > > it is looking for the Readline framework but it cannot find it in
> > > > the package. I do see it there, but Hatari does not see it.
> > > >
> > > >
> > > > Bob C
> > > >
> > > Hi Bob,
> > >
> > > Can you send me the error message ?
> > > You may have it working by moving Readline Framework in your
> > > ~/LIbrary/Frameworks folder. With CMake, I need to tell to Hatari
> > > where to find Frameworks, never recall how this should be done.....
> > >
> > > For the black screen bug: I also think it's a SDL 2.0.4 bug. I
> > > think that, just right after doing the full screen stuff, we have
> > > to ask a full repaint of the screen, but do not know this can be
> > > done with SDL.
> >
> > I've noted this, and similar bugs in Linux too. I've been keeping
> > quiet because I hope that your bug fix will fix some of mine.
> > My suspicion is that Hatari is not generating enough screen
> > callbacks. Moving the mouse generates a callback. Maybe
> > Hatari should generate callbacks on each vbl (and several
> > times per second when there is no vbl in the SDL GUI).
> > This is only a suggestion to inspire a better solution...
> > unless it is the solution.
>
> What is a screen callback, and how do you generate one? Can you give
> some example code?
>
I don't know how (or if) SDL does callbacks for window resizing, or moving,
or screen update, or mouse movement. However, I would expect it to be
similar to Hatari SDL function call Audio_CallBack() in hatari/src/audio.c
I just looked at line 413 of hatari/src/main.c This is the comment for
Main_WarpMouse() to ignore a mouse event. Maybe too much is ignored
by bIgnoreNextMouseMotion for SDL2.
SDL_AddTimer() SDL_AudioSpec() SDL_AddEventWatch() are some
SDL callbacks that I found with a google search.
I think I've said more than I know about what I think I said. :)