-
-
Notifications
You must be signed in to change notification settings - Fork 930
Closed
Labels
pendingThis issue needs more investigation by a maintainer to triage appropriatelyThis issue needs more investigation by a maintainer to triage appropriately
Milestone
Description
I found two edge-cases when accessing HALTCNT:
- writes to HALTCNT seem to not work when R15 is not inside the BIOS region. I.e. on hardware a direct write from IWRAM or ROM code to HALTCNT doesn't appear to have any effect, but performing a CpuSet to it appears to work.
- writing a halfword to
HALTCNT & ~1appears to work on HW but doesn't seem to work on mGBA?
I attached a test ROM which I used to confirm the behavior on AGB-001, AGS-100 and a N3DS.
The first value should be around 2, the second should be around 1038 but the exact values don't matter.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
pendingThis issue needs more investigation by a maintainer to triage appropriatelyThis issue needs more investigation by a maintainer to triage appropriately