From 2620c1dee1432f67c15e773ce5da5f951cdf5ca8 Mon Sep 17 00:00:00 2001 From: Zellyn Hunter Date: Wed, 27 Feb 2013 22:44:33 -0800 Subject: [PATCH] Added bug for proper on-cycle reads and writes. --- cpu/opcodemodes.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cpu/opcodemodes.go b/cpu/opcodemodes.go index 1edb2fd..5c3416c 100644 --- a/cpu/opcodemodes.go +++ b/cpu/opcodemodes.go @@ -8,6 +8,10 @@ package cpu // read twice on 65C02. See // http://en.wikipedia.org/wiki/MOS_Technology_6502#Bugs_and_quirks. +// BUG(zellyn): Instructions should do many more reads. See +// http://users.telenet.be/kim1-6502/6502/hwman.html#AA and/or table +// 4.1 of "Understanding the Apple II". + // immediate2 performs 2-opcode, 2-cycle immediate mode instructions. func immediate2(f func(*cpu, byte)) func(*cpu) { return func(c *cpu) {