From 384d6a98bafbc804a63f307f8b8a56cd68052dc8 Mon Sep 17 00:00:00 2001 From: retro-wertz Date: Tue, 17 Oct 2017 12:49:12 +0800 Subject: [PATCH] Build fix and add comments --- src/boards/57.c | 2 -- src/boards/69.c | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/boards/57.c b/src/boards/57.c index df79d44..fb2a11f 100644 --- a/src/boards/57.c +++ b/src/boards/57.c @@ -42,11 +42,9 @@ static void Sync(void) { setchr8((regs[0] & 7) | (regs[1] & 7) | ((regs[0] & 0x40) >> 3)); } -#if 0 static DECLFR(M57Read) { return hrd_flag; } -#endif static DECLFW(M57Write) { switch (A & 0x8800) { diff --git a/src/boards/69.c b/src/boards/69.c index f1f79a9..0de0558 100644 --- a/src/boards/69.c +++ b/src/boards/69.c @@ -89,6 +89,9 @@ static DECLFW(M69Write1) { case 0xA: preg[1] = V; Sync(); break; case 0xB: preg[2] = V; Sync(); break; case 0xC: mirr = V & 3; Sync();break; + /* 17/10/17- reg $0D should awknowledge IRQ and no other + * http://forums.nesdev.com/viewtopic.php?f=2&t=12436&start=15 + */ case 0xD: IRQa = V; X6502_IRQEnd(FCEU_IQEXT); break; case 0xE: IRQCount &= 0xFF00; IRQCount |= V; break; case 0xF: IRQCount &= 0x00FF; IRQCount |= V << 8; break;