Re: [hatari-devel] ikbd overrun when using midi (Bad Mood for Falcon) |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] ikbd overrun when using midi (Bad Mood for Falcon)
- From: Laurent Sallafranque <laurent.sallafranque@xxxxxxx>
- Date: Fri, 11 Nov 2022 07:45:18 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1668149118; bh=oR91stkkaB2U3uB/NZSXjnteODbz9nkmewduHsmQ9eE=; h=Date:Subject:To:References:From:In-Reply-To:From; b=vGE2/g/ryC+FPR8b/EzakBjjDsJoK5n/fqOtDF7oOV7ukp9QujTGTXDR+d6UrjiYB 7j7+oNpwCy9gqgtQ4YyJXagiyGqUDOyP0UKAR/kg2+GTQ9yeLchgpp+Ex72n2y/VCv nsN7PJm1dySO03Geve21dMlW2oy8pUcECMGv/BhpxCP5yYxiqFG/ssRkVJnPTp5Sba TCmH+FjWGCf5UiBz8a0w7XLwJQkdALUeCqYw/OMn/nOJwpn7YBOnpH8dDOjesNpzKX /idvzLS80y8VCd9egXVp6MuYrqBU+vUXV5RsP7FFPkqqqxhrRXeM+EZtDe8HI+hov0 9fcacYfUFahaw==
Hi atarians,
I may enconter the same problem in my current dev.
I use the mouse and the keyboard.
Everything works as a charm since month without the music.
I added DMA music last week (two 8192 bytes buffer that I switch with a
mfp7 interrupt at the end of the DMA play), and I get "random" ESC key
press. When I don't use the music, I don't get these key pressed artifacts.
I haven't tested on real hardware, I'll do it today and tell you if I
encounter the same behaviour.
That's just in case there's a patch, I can help testing.
Regards,
Le 10/11/2022 à 22:22, Nicolas Pomarède a écrit :
Hi
as discussed on atari-forum.com, the game Bad Mood by DML shows some
error in the sequence of received ikbd bytes, resulting in loss of
synchronisation when processing multi-bytes packets (when moving mouse
for example)
problem is not reproducible on real Falcon ; under Hatari it happens
when midi runs at the same time.
Looking at the code for both ikbd and midi IRQ, I might have an idea
of what is causing this.
Eero, as you managed to reproduce the bug on Hatari, can you try the
following patch with Bad Mood latest binary and see if any hang in Bad
Mood happens after printing those debug lines ""error clearing mfp irq" ?
It's possible some lines are printed and bad mood doesn't hang, but I
think than when bad mood hangs this error line should be printed just
before.
Nicolas