VIDEO+T80: changed h_cnt padding to 6 and changed T2Write to 1 (write in T2), fixes div timings and burai fighter

This commit is contained in:
Bruno Duarte Gouveia
2019-03-05 00:31:39 +00:00
parent 51162ac92b
commit d61b75ce11
2 changed files with 2 additions and 2 deletions

View File

@@ -74,7 +74,7 @@ use work.T80_Pack.all;
entity GBse is
generic(
T2Write : integer := 0; -- 0 => WR_n active in T3, /=0 => WR_n active in T2
T2Write : integer := 1; -- 0 => WR_n active in T3, /=0 => WR_n active in T2
IOWait : integer := 1 -- 0 => Single cycle I/O, 1 => Std I/O cycle
);
port(

View File

@@ -585,7 +585,7 @@ always @(negedge clk) begin
if (!lcdc_on) begin // don't increase counters if lcdoff
//reset counters
h_cnt <= 9'd4;
h_cnt <= 9'd6;
v_cnt <= 8'd0;
end else begin