Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/famicom-dumper-writer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'CPLD/FamicomDumper.v')
-rw-r--r--CPLD/FamicomDumper.v5
1 files changed, 3 insertions, 2 deletions
diff --git a/CPLD/FamicomDumper.v b/CPLD/FamicomDumper.v
index 168ac06..8ef5fb8 100644
--- a/CPLD/FamicomDumper.v
+++ b/CPLD/FamicomDumper.v
@@ -1,5 +1,6 @@
module FamicomDumper # (
- parameter LEDS_TIMER_SIZE = 12
+ parameter LEDS_TIMER_SIZE = 12,
+ parameter VERSION_3 = 1
)
(
input m2,
@@ -33,7 +34,7 @@ module FamicomDumper # (
);
assign romsel = !(m2 && a15 && ne1_active);
-assign cpu_rw = reg_cpu_rw || coolboy_mode;
+assign cpu_rw = reg_cpu_rw /*|| (coolboy_mode && VERSION_3)*/;
assign cpu_oe = !cpu_shifter_enabled;
assign cpu_dir = !reg_cpu_rw;
assign ppu_rd = !(!ne2 && !noe);