Interrupt maps.

master
Nabile Rahmani 2018-12-19 17:35:54 +01:00
parent e9af937d4d
commit 78d7002396
1 changed files with 5 additions and 0 deletions

View File

@ -62,8 +62,13 @@ namespace DotN64.RCP
{
Read = o => 0 // TODO.
},
new MappingEntry(0x04300008, 0x0430000B) // MI interrupt.
{
Read = o => (uint)Interrupt
},
new MappingEntry(0x0430000C, 0x0430000F) // MI interrupt mask.
{
Read = o => (uint)InterruptMask,
Write = (o, d) =>
{
var mask = (InterruptMaskWrites)d;