Re: [hatari-devel] Hatari screen test |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Hatari screen test
- From: Thomas Huth <th.huth@xxxxxxxxx>
- Date: Fri, 29 May 2020 12:02:45 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1590746568; bh=PYnkeYpu2SGVdxHxlfKd69G0CR9Wit6dCdYi+IgvY6Q=; h=Date:From:To:Subject:From; b=l0/Eg7U5KDxjEjGUfp2DeBR48Vi77WMXgaaDnZFxPZaWCYhtLR52ntpxXeZCwt44f +YtAso/hhoH7xtbPjhv3lqCbidn4kEelLl39vvuU3rtEZWvSo79DggGrzzvtp5ZIuu HlOcVSlDCnoF0aq1DTTvLKxCmEjLYVtXGwxjPfM0jZ1So28JI3h2/QY6+K3lP8ZNqp YyhG4MnvBL1oknWlIBgE9SJNO29rtlsAm/vYRHriM1XGOd/eGatqhbFUxHH69+a46f eYrfjnfbsFXZUgRaOwptyXyP+I9IE4yVfLT7TFcMoRHEa2v4T1M8SbANB06UUvUer4 t4Q+J+6Xf8x3g==
Am Thu, 28 May 2020 21:22:00 +0200
schrieb Thomas Huth <th.huth@xxxxxxxxx>:
> Am Thu, 28 May 2020 02:23:38 +0300
> schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>:
[...]
> > However, the really interesting thing is that
> > *5* additional VBLs are needed for screenshot
> > to look correct! [1]
> >
> > Looking at the assembly code, install_all()
> > subroutine sets A0 value first, then does
> > 2 vsyncs, and get_lines() subroutine does also
> > 2 vsyncs. These are before the real fullscreen
> > routine starts, which explains the need for
> > extra 5 VBLs.
>
> Are you sure that your breakpoint triggered at the right point in
> time? A0 is only set to FFFF820A in the open_top2 section during
> fullvbl ... which should be called only after all the initialization
> stuff has been done. During install_all, A0 is set to FFFF8201
> instead. ==> Please double check that your breakpoint really triggers
> at the right location.
I just notice another thing: Please check your --frameskips setting. If
it is set to something different than 0 (it is "auto" by default), then
you could run into the situation that the screen is not updated yet,
though it should be correct already from the ST side.
Thomas