OSDN Git Service

jmp inst ok.
[motonesfpga/motonesfpga.git] / de0_cv_nes / dummy-mos6502.vhd
index 2c685cf..175c83f 100644 (file)
@@ -236,15 +236,15 @@ end;
                             --set vram addr 2005 (first row, 6th col)\r
                             io_out(16#2006#, 16#20#);\r
                         elsif (nt_step_cnt = 1 * cpu_io_multi) then\r
-                            io_out(16#2006#, 16#03#);\r
+                            io_out(16#2006#, 16#08#);\r
                         elsif (nt_step_cnt = 2 * cpu_io_multi) then\r
                             --set name tbl data\r
-                            --0x44, 45, 45 = DEE\r
+                            --0x44, 45, 45 = DEM\r
                             io_out(16#2007#, 16#44#);\r
                         elsif (nt_step_cnt = 3 * cpu_io_multi) then\r
                             io_out(16#2007#, 16#45#);\r
                         elsif (nt_step_cnt = 4 * cpu_io_multi) then\r
-                            io_out(16#2007#, 16#45#);\r
+                            io_out(16#2007#, 16#4d#);\r
 \r
 \r
                         elsif (nt_step_cnt = 5 * cpu_io_multi) then\r
@@ -567,7 +567,7 @@ entity prg_rom is
 end prg_rom;\r
 architecture rtl of prg_rom is\r
 begin\r
-    p_read : process (pi_base_clk)\r
+    p_read : process (pi_rst_n, pi_base_clk)\r
     begin\r
         if (pi_rst_n = '0') then\r
             pi_data <= (others => 'Z');\r