1
0
mirror of https://github.com/UzixLS/zx-sizif-xxs.git synced 2025-07-19 07:11:28 +03:00

fix ulaplus ghost image on border

This commit is contained in:
UzixLS
2022-02-01 22:08:09 +03:00
parent 72a13f6dfc
commit 03454b00fe
3 changed files with 5 additions and 3 deletions

View File

@ -107,7 +107,9 @@ assign vd[7:0] =
div_dout_active? div_dout :
turbosound_dout_active? turbosound_dout :
ports_dout_active? ports_dout :
8'hFF;
(bus.m1 && bus.iorq)? 8'hFF :
bus.rd? 8'hFF :
{8{1'bz}};
endmodule

View File

@ -239,7 +239,7 @@ always @(posedge clk28 or negedge rst_n) begin
if (ck14) begin
if (fetch)
fetch_step <= fetch_step + 1'b1;
fetch <= fetch_allow;
fetch <= fetch_next;
if (fetch_attr)
attr_next <= fetch_data;

View File

@ -77,7 +77,7 @@ always @(posedge clk28 or negedge rst_n) begin
bus.a_reg <= bus.a;
bus.d_reg <= bus.d;
bus_ioreq <= n_iorq == 1'b0 && n_m1 == 1'b1;
bus_memreq <= n_mreq == 1'b0;
bus_memreq <= n_mreq == 1'b0 && n_rfsh == 1'b1;
end
else begin
if (n_iorq)