From 2b09a1a9f4120a4c755b066f9f9a26c9eaccb4d9 Mon Sep 17 00:00:00 2001 From: Steven Hugg Date: Thu, 1 Aug 2019 23:10:31 -0400 Subject: [PATCH] verilog: fixed RAM Text Display example incrementing by +2 --- doc/notes.txt | 1 + index.html | 2 +- presets/verilog/chardisplay.v | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/notes.txt b/doc/notes.txt index 310901cf..b6d71339 100644 --- a/doc/notes.txt +++ b/doc/notes.txt @@ -130,6 +130,7 @@ TODO: - support NES_HEADER_16K? - PPU/TIA register write visualization - NES crt should mark raster pos when debugging + - OAMDMA in profiler? (haltCycles) - JSNES - doesn't support hiding >8 sprites - doesn't do sprite zero test right diff --git a/index.html b/index.html index e4649834..20994e56 100644 --- a/index.html +++ b/index.html @@ -211,7 +211,7 @@ if (window.location.host.endsWith('8bitworkshop.com')) {
  • - +   Making Games For The NES diff --git a/presets/verilog/chardisplay.v b/presets/verilog/chardisplay.v index b732eba7..133bc07c 100644 --- a/presets/verilog/chardisplay.v +++ b/presets/verilog/chardisplay.v @@ -72,7 +72,7 @@ module test_ram1_top(clk, reset, hsync, vsync, rgb); // increment RAM cell ram_write <= (ram_read + 1); // only enable write on last scanline of cell - ram_writeenable <= (vpos[2:0] == 7); + ram_writeenable <= display_on && rom_yofs == 7; end // on 8th pixel of cell 7: begin