Re: [hatari-devel] Hatari 2.0.0 has been released

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


On Sunday 13 November 2016 15:57:33 Christian Zietz wrote:
>  It seems that TOS
> also takes into account the memory contents at $4ba (number of 200 Hz
> interrupts) to decide whether it is a cold boot and it should run a
> memory test:

Yes, thats true:

/* 306de: 00e009a2 */
/* 206de: 00e0097a */
dmaboot:
        move.l    #80*200,d7
        cmp.l     _hz_200,d7                /* is the system running for > 
80s? */
        bcs       dmadone                   /* (no memory test) */
        movea.w   #$0000,a5                 /* done status = false */
dmaloop:
        cmpa.w    #$0000,a5                 /* memtest done? */
        bne       skipsp                    /* (yes) */
        bsr       memtest


> I wonder why fast booting TOS 3.06 worked at all in some
>previous version, as you mention.

I'm quite sure it worked. All you have to do is, beside setting the memvalid 
flags, to set _hz_200 to a value >= 16000.



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