[hatari-users] RESET instruction and MFP |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-users Archives
]
- To: hatari-users@xxxxxxxxxxxxxxxxxxx
- Subject: [hatari-users] RESET instruction and MFP
- From: Vincent Rivière <vincent.riviere@xxxxxxxxxxx>
- Date: Wed, 29 Aug 2012 22:26:06 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=w4s8Elu0iEXu1mybOL4rlFA98i2W9e7AAv4Zs+6Xcio=; b=1B1eIp/phzxK1iOwYqDDwFl0dfGgSaFGJ3yHwkszA/+A2YBhxDFKLJv2hxfjtj5F25 LeL4hAqDx+AwxJdmyhX19UAuf3zPbB4i1gVVRyNrP9iKKSo/2kjKRl2Rz91JSk3p2XEo ykS4zsh6BsgfE5DbriF9bvitnA4bWMGplm7v3E4yTd1S0B2LUL8X90ZwCFf86VZgZVeA rIaNmgEnHBaioAshjSmn0G015mU6C2+m/MkTrCpslTU3taoZX1Ct4TZaIhLK6KX4Uihq SEPVNlPHOHAkhZ+yFm5wzbXl2p989aBVXsTTZJwHbpkbZkr8xqpwOC8dEtsmHWz1dtO+ QCyA==
Hello.
I use Hatari 1.6.2 on Windows.
Basically, the RESET assembler instruction does not correctly reset the MFP.
Just tested on my real STe:
After a RESET instruction, the MFP IERB (0xfffffa09) is reset to 0.
But with Hatari, the IERB is unchanged after a RESET instruction, and
the MFP interrupts are still enabled. This can lead to wrong behavior in
programs which use the RESET instruction (I hit that with EmuTOS).
I suppose that the situation is the same with the MFP IERA (0xfffffa07).
This looks like a Hatari bug.
--
Vincent Rivière