MAMEWorld >> Programming
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

Naibo
Reged: 10/17/07
Posts: 148
Send PM
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?







Entire thread
Subject Posted by Posted on
* About two devices sharing the same memory mapped space, in an interleaved manner Naibo 06/09/20 02:24 AM
. * Re: About two devices sharing the same memory mapped space, in an interleaved manner Vas Crabb  06/09/20 07:12 AM
. * Re: About two devices sharing the same memory mapped space, in an interleaved manner Naibo  06/12/20 05:46 AM
. * Re: About two devices sharing the same memory mapped space, in an interleaved manner Naibo  06/09/20 02:31 AM

Extra information Permissions
Moderator:  Pi 
0 registered and 4 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 444