|[hatari-devel] Hatari ACIA TX interrupts|
[ Thread Index |
| More lists.tuxfamily.org/hatari-devel Archives
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: [hatari-devel] Hatari ACIA TX interrupts
- From: Douglas Little <doug694@xxxxxxxxxxxxxx>
- Date: Fri, 12 Sep 2014 19:23:30 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Kbmqz/VJ1xRkEjjGJW/Z0PkXa2Z4dhT35BnduQ5099U=; b=g8cCmqzH4H+R5QsDazqH6AFR4yCPp42+WK8BfYZ/Z3CkIJfOXM/Rc6cT0LQyFEQvx5 pZeEPucnQ9nSmYHsNmGHZbkOgJM92ttAs53Rkdg+fIu/pxJC5i538VcrReLfuT6Ul4TV XuLBBPe05rntqebciu+AAWmMCr/DweuRrix4ZFZSyVTNfogb6PkalBalEVbgFoo6cLlk oP4ZvZS6KzahuX8VEiEhMQUJd0NNxQwHjVhXyYCpdHQPYhtbmnm8U0t0VvpMjm3a1T5t BLmXm8pEKUY0qKCVE2DAsFihK0an+FL4tQ47helRemKFnf1/Ds2xlGpB/FNFGUp1sBty hsxw==
I have been trying to debug some MIDI code and getting different results between Hatari and a real Falcon.
Setting TX interrupt enable on the MIDI ACIA seems to have no effect - no interrupts are generated when writing to the MIDI data port.
Testing the same code on a real Falcon does generate interrupts as expected when the port clears.
I also noticed that setting the RX interrupt enable bit will generate interrupts when writing data to the MIDI data port, which seems a bit strange? I didn't test that on a real Falcon but at face value it seems incorrect? RX interrupts should only occur when data is flowing into the machine via the (virtual) midi socket.
While I am using a Windows build of Hatari and external Windows MIDI support isn't implemented - I think the emulated side should not behave in this way regardless.
Any info welcome.