summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Couriersud <couriersud@users.noreply.github.com>2008-12-14 18:47:33 +0000
committer Couriersud <couriersud@users.noreply.github.com>2008-12-14 18:47:33 +0000
commit4ffa2901ceed2884ddbb9c5046712427ba3b871f (patch)
tree69470a137ee270848fddf8bb6b6c8850cb237270 /src
parent046ef441d97b7a5f549f2671953cbfef2cb7d213 (diff)
Fix raster effects in nbbatman - as far as I can judge.
I was not able to dig out information about the V33 prefetch timing and the prefetch cache size. Anybody has more information?
Diffstat (limited to 'src')
-rw-r--r--src/emu/cpu/nec/nec.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/emu/cpu/nec/nec.c b/src/emu/cpu/nec/nec.c
index d173dd9f44e..ca85cf974aa 100644
--- a/src/emu/cpu/nec/nec.c
+++ b/src/emu/cpu/nec/nec.c
@@ -1241,8 +1241,11 @@ static CPU_INIT( v33 )
nec_init(device, index, clock, irqcallback, 2);
nec_state->chip_type=V33;
- nec_state->prefetch_size = 6; /* ???? */
- nec_state->prefetch_cycles = 2; /* two cycles per byte / four per word */
+ nec_state->prefetch_size = 6;
+ /* FIXME: Need information about prefetch size and cycles for V33.
+ * complete guess below, nbbatman will not work
+ * properly without. */
+ nec_state->prefetch_cycles = 1; /* two cycles per byte / four per word */
configure_memory_16bit(nec_state);
}