r8647 Wednesday 28th July, 2010 at 00:29:09 UTC by Dirk Best
[UPD765] Fix ready pin detection
[src/mess/machine]upd765.c

src/mess/machine/upd765.c
r8646r8647
8989   unsigned long   sector_counter;
9090   /* version of fdc to emulate */
9191   UPD765_VERSION version;
92   /* is the RDY pin connected or not */
93   UPD765_RDY_PIN   rdy_pin;
92
9493   /* main status register */
9594   unsigned char    FDC_main;
9695   /* data register */
r8646r8647
240239{
241240   upd765_t *fdc = get_safe_token(device);
242241
243   if (fdc->rdy_pin == UPD765_RDY_PIN_CONNECTED)
242   if (fdc->intf->rdy_pin == UPD765_RDY_PIN_CONNECTED)
244243   {
245244      running_device *img = current_image(device);
246245      return floppy_drive_get_flag_state(img, FLOPPY_DRIVE_READY);

Previous 509070 RevisionsNext 50


© 1998-2010 The MESS Team