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

attribute port is now accessible only via #FF address

this is required to prevent a bus conflict when reading ports from addon connected to zxbus
This commit is contained in:
Eugene Lozovoy
2023-04-27 19:56:11 +03:00
parent eb262f7e4e
commit 0d85510652

View File

@ -39,8 +39,7 @@ always @(posedge clk28 or negedge rst_n) begin
if (!rst_n)
port_ff_rd <= 0;
else
port_ff_rd <= bus.rd && bus.ioreq && !magic_map && port_ff_active &&
(machine != MACHINE_S3) && (machine != MACHINE_PENT || bus.a[7:0] == 8'hFF);
port_ff_rd <= bus.rd && bus.ioreq && !magic_map && port_ff_active && (machine != MACHINE_S3) && bus.a[7:0] == 8'hFF;
end