[hatari-devel] Regression when restoring desktop.inf
Eero Tamminen
eerot at users.berlios.de
Sun May 22 01:35:21 CEST 2011
Hi,
On perjantai 20 toukokuu 2011, Nicolas Pomarède wrote:
> Well, after spending quite some time with different disasm of hatari
> booting to the desktop using different values of ACIA_CYCLE to emulate
> the TX delay in the ACIA, I came to the conclusion that the TOS has some
> bugs, which under certain conditions are causing some parts of the
> system memory being overwritten by the stack (movem xxx,-(a7)).
> In that case addr $6122/$6124 used to restore the resolution are filled
> with stack pointers !
>
> Of course, sthg is certainly wrong with our ACIA's timings, since this
> works on real hardware, but still it seems that's tos 1.02/1.04 are
> working more or less by luck regarding this specific ACIA's integration
> (I think the stack was not allocated big enough to handle too many
> levels of jsr/bsr/trap/exception)
>
> For now, I put 1000 cycles as a delay. When I got time, I'll try to do
> some measures on a real ST.
For me, medium resolution still isn't restored with TOS v1.04 or v1.02...
(With latest Hatari from hg, or with Hatari 1.4.)
- Eero
More information about the hatari-devel
mailing list