Previous 15994 Revisions Next

r5756 Thursday 17th September, 2009 at 05:18:47 UTC by Miodrag Milanović
Fixed various driver crashing, due to bad wd17xx config
[src/mess/drivers]a310.c atarist.c bw2.c
[src/mess/machine]dgn_beta.c mbee.c

src/mess/machine/dgn_beta.c
r5755r5756
950950   LOG_DISK(("dgnbeta_fdc_callback(%d)\n",state));
951951}
952952
953const wd17xx_interface dgnbeta_wd17xx_interface = { dgnbeta_fdc_callback, NULL };
953const wd17xx_interface dgnbeta_wd17xx_interface = { dgnbeta_fdc_callback, NULL, {FLOPPY_0,FLOPPY_1,FLOPPY_2,FLOPPY_3}};
954954
955955 READ8_HANDLER(dgnbeta_wd2797_r)
956956{
src/mess/machine/mbee.c
r5755r5756
132132      fdc_status &= 0x7f;
133133}
134134
135const wd17xx_interface mbee_wd17xx_interface = { mbee_fdc_callback, NULL };
135const wd17xx_interface mbee_wd17xx_interface = { mbee_fdc_callback, NULL, {FLOPPY_0, FLOPPY_1, NULL, NULL }};
136136
137137READ8_HANDLER ( mbee_fdc_status_r )
138138{
src/mess/drivers/atarist.c
r5755r5756
105105   }
106106}
107107
108static const wd17xx_interface atarist_wd17xx_interface = { atarist_fdc_callback, NULL };
108static const wd17xx_interface atarist_wd17xx_interface = { atarist_fdc_callback, NULL, {FLOPPY_0,FLOPPY_1, NULL,NULL} };
109109
110110static READ16_HANDLER( atarist_fdc_data_r )
111111{
src/mess/drivers/bw2.c
r5755r5756
802802   FLOPPY_DRIVE_DS_80,
803803   FLOPPY_OPTIONS_NAME(bw2)
804804};
805static const wd17xx_interface bw2_wd17xx_interface = { bw2_wd17xx_callback, NULL, {FLOPPY_0, FLOPPY_1}};
805static const wd17xx_interface bw2_wd17xx_interface = { bw2_wd17xx_callback, NULL, {FLOPPY_0, FLOPPY_1, NULL, NULL}};
806806
807807static MACHINE_DRIVER_START( bw2 )
808808   MDRV_DRIVER_DATA(bw2_state)
src/mess/drivers/a310.c
r5755r5756
207207
208208static const wd17xx_interface a310_wd17xx_interface = {
209209   a310_wd177x_callback,
210   NULL
210   NULL,
211   {FLOPPY_0,FLOPPY_1,FLOPPY_2,FLOPPY_3}
211212};
212213
213214static MACHINE_DRIVER_START( a310 )
r5755r5756
235236   MDRV_SOUND_ROUTE(0, "a310", 1.00)
236237   
237238   MDRV_WD1772_ADD("wd1772", a310_wd17xx_interface )
239   
240   //MDRV_FLOPPY_4_DRIVES_ADD(a310_floppy_config)
238241MACHINE_DRIVER_END
239242
240243ROM_START(a310)

Previous 15994 Revisions Next


© 1998-2018 The MESS Team