static READ_HANDLER( yiear_speech_r ) { return rand(); /* maybe bit 0 is VLM5030 busy pin??? */ if (VLM5030_BSY()) return 1; else return 0; }
int punchout_input_3_r(int offset) { int data = input_port_3_r(offset); /* bit 4 is busy pin level */ if( VLM5030_BSY() ) data &= ~0x10; else data |= 0x10; return data; }
static READ8_HANDLER( ddrible_vlm5030_busy_r ) { return mame_rand(Machine); /* patch */ /* FIXME: remove ? */ #if 0 if (VLM5030_BSY()) return 1; else return 0; #endif }
UInt8 vlm5030Read(VLM5030* vlm5030, UInt16 ioPort) { switch (ioPort & 1) { case 0: return VLM5030_BSY() ? 0x10 : 0; case 1: break; } return 0xff; }
static READ8_HANDLER( yiear_speech_r ) { if (VLM5030_BSY()) return 1; else return 0; }
static READ_HANDLER( ddrible_vlm5030_busy_r ) { return rand(); /* patch */ if (VLM5030_BSY()) return 1; else return 0; }
static READ8_HANDLER( jailbrek_speech_r ) { return ( VLM5030_BSY() ? 1 : 0 ); }