unsigned int fm_read(unsigned int cycles, unsigned int address) { /* synchronize FM chip with CPU */ fm_update(cycles); /* read FM status (YM2612 only) */ return YM2612Read(); }
/* Read FM status (YM2612 only) */ unsigned int fm_read(unsigned int cycles, unsigned int address) { fm_update(cycles << 11); return YM2612Read(); }
int YM2612_read_port_1_r( int offset ){ return YM2612Read(1,1); }
int YM2612_read_port_0_r( int offset ){ return YM2612Read(0,1); }
int YM2612_status_port_1_B_r( int offset ) { return YM2612Read(1,2); }
int YM2612_status_port_0_A_r( int offset ) { return YM2612Read(0,0); }