Exemplo n.º 1
0
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();
}
Exemplo n.º 2
0
/* Read FM status (YM2612 only) */
unsigned int fm_read(unsigned int cycles, unsigned int address)
{
    fm_update(cycles << 11);
    return YM2612Read();
}
Exemplo n.º 3
0
int YM2612_read_port_1_r( int offset ){
  return YM2612Read(1,1);
}
Exemplo n.º 4
0
int YM2612_read_port_0_r( int offset ){
  return YM2612Read(0,1);
}
Exemplo n.º 5
0
int YM2612_status_port_1_B_r( int offset ) {
  return YM2612Read(1,2);
}
Exemplo n.º 6
0
int YM2612_status_port_0_A_r( int offset )
{
  return YM2612Read(0,0);
}