Re: [hatari-devel] OS X Hatari 1.9.0 devel version

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


----- 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. :)




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/