|
Re: About two devices sharing the same memory mapped space, in an interleaved manner
06/09/20 02:31 AM
|
|
|
I also tried to write a handler like this: WRITE16_MEMBER(stepstag_state::dual_ymz280b_w) { if (ACCESSING_BITS_0_7) ymz->write(data & 0xff, offset);
if (ACCESSING_BITS_8_15) ymz1->write(data >> 8, offset); }
However, when compiling (under gcc , it gives error messages: error: ‘ymz’ was not declared in this scope ymz->write(data & 0xff, offset); ^~~
The ymz has been added in the machine configuration function, then what is proper way to ref a device?
|
|