[hatari-devel] MoonGames

Thomas Huth huth at users.berlios.de
Mon Nov 23 21:37:58 CET 2009


I once tried to debug it, but as far as I could see, the problem was
not directly related to the IKBD. I guess the problem is rather a
timing problem of the Videl emulation (you know, Videl timings are not
emulated right yet).

 Thomas


On Sun, 22 Nov 2009 19:12:25 +0100
Laurent Sallafranque <laurent.sallafranque at free.fr> wrote:

> No, it doesn't work either with or without -D.
> 
> But the lights are computed by the DSP.
> So Dsp is running "normally", only 68030 seems to be freezed (the
> mouse pointer).
> 
> Thomas said that it can't be relative to  the 6301 patch from Nicolas.
> 
> 
> 
> npomarede at corp.free.fr a écrit :
> > On Sun, 22 Nov 2009, Eero Tamminen wrote:
> >
> >   
> >> Hi,
> >>
> >> On Sunday 22 November 2009, Eero Tamminen wrote:
> >>     
> >>>> Uninitialized exception handler #28!
> >>>>         
> >> ...
> >>     
> >>> This value refers to the next PC position on exceptions.  I.e. the
> >>> exception handler address is zero.  What's the exception number
> >>> ("nr")? 
> >> Er, should have read your mail better. :-)
> >>
> >> Exception 28 is VBL according to the Exception() function comments.
> >>
> >>
> >>     
> >>> Looking at the end of this function, one possible issue for the
> >>> game not working properly could be that an incorrect number of
> >>> cycles are used for that exception.
> >>>       
> >> Thomas, Nicolas, I'm not familiar with the cycle adding stuff.  Are
> >> the values for these same between ST, MegaST(e), TT, Falcon...?
> >>
> >>     
> >
> > I don't think so, they're 68000 specific ; but on the other end, I
> > would be very surprised that some falcon programs are relying on
> > strict cycles counting (with cache and things like that on the
> > 68030, it's almost impossible to "predict" how it will run (except
> > if you flush the cache at some regular points)).
> >
> > But the question is : does it work without -D ? Some programs
> > sometimes try to generate an exception in order to determine what
> > hardware is used. It's harmless, but if -D is used you will have to
> > use 'c' to continue.
> >
> > Nicolas




More information about the hatari-devel mailing list