|
About two devices sharing the same memory mapped space, in an interleaved manner
06/09/20 02:24 AM
|
|
|
Recently during the stay-home days, I did some study on Jaleco's music & rhythm game "VJ" series. It shares the basic hardware with Jaleco's another series Rock'n Tread, which is simpler and has been well emulated in tetrisp2.cpp. While, VJ machines use two pieces of audio IC YMZ280b, instead of only one in Rock'n series.
These two 8-bit-port devices are mapped into the same memory space: map(0xa60000, 0xa60003). One IC uses only even byte addresses, while another uses odds.
The current code for the single audio IC in Rockn is like this: map(0xa60000, 0xa60003).w("ymz", FUNC(ymz280b_device::write)).umask16(0x00ff); // Sound Could some friends instruct me how to properly add the 2nd IC?
|
|