예제 #1
0
static DEVICE_START(atari_fdc)
{
	int id;
	for(id=0;id<4;id++)
	{
		floppy_install_load_proc(atari_floppy_get_device_child(device, id), atari_load_proc);
	}
}
예제 #2
0
void atari_fdc_device::device_start()
{
    int id;

    memset(m_serout_buff, 0, sizeof(m_serout_buff));
    memset(m_serin_buff, 0, sizeof(m_serin_buff));
    memset(m_drv, 0, sizeof(m_drv));

    for(id=0; id<4; id++)
    {
        atari_floppy_get_device_child(id)->floppy_install_load_proc(_atari_load_proc);
    }
}