Re: [hatari-devel] Lockup demo |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Lockup demo
- From: Mariusz Buras <mariusz.buras@xxxxxxxxx>
- Date: Sun, 6 Dec 2020 20:42:36 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=BC1xNVKP6Zhk3vh23aTfNT0LD/ja3Woi+fCy6ewpq0E=; b=Ywn+n1p46Q5lZLMlchHykjxgdaqYz9X0qkSYqf1frk6oroeOimwz6BvFArzkaAy2VO Vbb4KFHg4bmr8Sy+SBe+WUcOXztl5JiXGDFN5/eDqoVTmn1EHaXpgkhdU9J5Io4W6lPQ xaOK7xZiShKx38BFBg3wD6bCZB0HL5ucbnqVVC7NufhuMTRPmhaOWayNK/5qdwNaW7Ek QoWMtP+E5yUTL+Y/SBfavVVzohxwdzcjZVYGvK0RQw+td4WzbtwwX5XfMUxpYe7MBXGQ PO21o8PoF5BCLoYF9g2/qHHrJ2ZjPgV80HigG9JbQNmyBCIKhL9rLrUXjum92ajWurvF rCwQ==
If you get noise this might be due to another issue in hatari I've encountered.
When sending data to DSP over DMA in handshake mode data is shifted by
a bit or two. I think hatari didn't emulate that bug properly
properly.
On Sun, 6 Dec 2020 at 20:38, Laurent Sallafranque
<laurent.sallafranque@xxxxxxx> wrote:
>
> > What about the Lockup demo music?
>
> There were 2 different problems with lockup demo :
>
> - the tridi needed a hostport interruption that was bugged (never tested
> as I had never encountered any program that used it)
>
> - the music needs a new interrupt that was never coded until now.
>
> The SCI port is not connected to the Falcon and the Falcon docs says not
> to use it.
>
> But Mariusz used the SCI timer to synchronise the music with the SSI and
> it works.
>
> So, I have to code a new interrupt into the DSP, and a new timer.
>
> I've nearly finished, but instead of music, I have bad noise for now.
>
> I work on it.
>
> Regards
>
> Laurent
>
>
> Le 06/12/2020 à 20:10, Eero Tamminen a écrit :
> > Hi,
> >
> > On 12/6/20 8:09 PM, Laurent Sallafranque wrote:
> >> No, you're right. I've tested it also with older versions of hatari
> >> and I always get 4 bombs (with or without MMU, ...)
> >
> > Ok, it's weird that it on some days works for me.
> >
> >
> > What about the Lockup demo music?
> >
> > In the Youtube video linked from pouet.net,
> > music starts once the progress bar at the start
> > finishes, but in Hatari Lockup demo is silent.
> >
> >
> > - Eero
> >
> >> Le 06/12/2020 à 17:29, Eero Tamminen a écrit :
> >>> On 12/5/20 5:00 PM, Laurent Sallafranque wrote:
> >>>> I've comited a more simple version of the fix.
> >>>>
> >>>> No need to add the "dsp_core.interrupt_state == DSP_INTERRUPT_NONE"
> >>>> when searching for a new interruption.
> >>>>
> >>>> The patch is very easy now. I've just moved the 2 interruptions
> >>>> into the main interruption routine.
> >>>>
> >>>> Before, the hostport interruption was tested only after a DSP or
> >>>> host read or write, but the interruption can happen as soon as the
> >>>> buffers are empty or full.
> >>>>
> >>>> Now, I just do the test after each DSP instruction.
> >>>>
> >>>>
> >>>> I've done many tests with demos that I know use DSP interrupts,
> >>>> games and music programs.
> >>>>
> >>>> I didn't notice any regression with this patch.
> >>>>
> >>>> Enjoy Lockup demo now ;)
> >>>
> >>> It works now with DSP and shows 3D graphics, but I don't have any
> >>> music.
> >>>
> >>> Do you have music in it?
> >>>
> >>>
> >>> I tested many programs and only regression I
> >>> noticed was in Sidetracked music demo, it doesn't
> >>> anymore start, *even with older Hatari version*,
> >>> neither with TOS4 or EmuTOS, with or without MMU,
> >>> with Hatari default config or my own.
> >>>
> >>> (Dry Egg game, which also worked only with EmuTOS,
> >>> does still work.)
> >>>
> >>> I don't understand what could have changed, to
> >>> break that demo also with older Hatari versions.
> >>>
> >>> Maybe it's wall clock sensitive?
> >>>
> >>>
> >>> - Eero
> >>>
> >>> PS. I'll push update to compatibility list &
> >>> release notes after I've done some additional
> >>> testing.
> >>>
> >>>
> >>
> >>
> >
> >
>
>