The address bus (output of the Z80) and the data bus (inout of the Z80) are shared with all components.
What we need is some logic to turn the read/write/input/output Z80 commands into read/xrite commands for each of the modules.
This takes, as input:
This outputs RD,WR signals for each component: RAM, ROM, VDP, PSG, IO