Skip to content

Commit

Permalink
md board: zd bus pullup, za/va buskeepers
Browse files Browse the repository at this point in the history
  • Loading branch information
nukeykt committed Aug 13, 2023
1 parent dee7893 commit b96b912
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions md_board.v
Original file line number Diff line number Diff line change
Expand Up @@ -617,16 +617,19 @@ module md_board
VA <=
(~ym_VA_d & ym_VA_o) |
(~m68k_VA_d & m68k_VA_o) |
(~m3_cart_VA_d & m3_cart_VA_o);
(~m3_cart_VA_d & m3_cart_VA_o) |
((ym_VA_d & m68k_VA_d & m3_cart_VA_d) & VA);

ZD <=
(~ym_ZD_d & ym_ZD_o) |
(~z80_ZD_d & z80_ZD_o) |
(~ram_ZD_d & ram_z80_o);
(~ram_ZD_d & ram_z80_o) |
((ym_ZD_d & z80_ZD_d & z80_ZD_d) & 8'hff);

ZA <=
(~ym_ZA_d & ym_ZA_o) |
(~z80_ZA_d & z80_ZA_o);
(~z80_ZA_d & z80_ZA_o) |
((ym_ZA_d & z80_ZA_d) & ZA);

DTACK <= ~ym_DTACK_pull & ~ext_dtack;

Expand Down

0 comments on commit b96b912

Please sign in to comment.