Re: [hatari-devel] Bug: Hatari CyclesPerVBL assert with monochrome VDI mode

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


Am Wed, 28 Dec 2011 21:27:31 +0200
schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>:

> Hi,
> 
> On keskiviikko 28 joulukuu 2011, Eero Tamminen wrote:
> > Hatari asserts when trying to start it with monochrome VDI mode:
> > ------------
> > $ src/hatari --vdi-width 640 --vdi-height 480 --vdi-planes 1
> > VDI screen: request = 640x480@1, aligned result = 640x480@1
> > ...
> > hatari: /home/eero/work/hatari/src/video.c:2789:
> > Video_StartInterrupts: Assertion `CyclesPerVBL <= 8012800/49'
> > failed. Aborted
> > ------------
> > 
> > It works fine with 2 or 4 planes.  Monochrome VID mode aborts
> > regardless of screen size.
> 
> With TT emulation VDI mode works also on monochrome.
> 
> I.e. this assert happens only with ST /STE / Falcon emulation.

Ah, ok, that means I should do the nCyclesPerLine always when running
in monochrome VDI mode. I've updated Video_StartHBL(), now it should
work without triggering the assertion again.

 Thomas



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