Previous 15994 Revisions Next

r6152 Wednesday 21st October, 2009 at 08:12:34 UTC by Barry Rodewald
[NEC765] Reset busy flag at the beginning of a seek or recalibrate function. Fixes elwro800, without breaking Bondwell 12/14.
[src/mess/machine]nec765.c

src/mess/machine/nec765.c
r6151r6152
5050
5151
5252/* uncomment the following line for verbose information */
53#define LOG_VERBOSE     
53#define LOG_VERBOSE      1
5454#define LOG_COMMAND      1
5555#define LOG_EXTRA      0
5656#define LOG_INTERRUPT   0
r6151r6152
505505
506506   fdc->FDC_main |= (1<<fdc->drive);
507507   fdc->FDC_main |= 0x20;  // execution phase
508   fdc->FDC_main &= ~0x10;  // not busy, can send another seek/recalibrate
509                            // for a different drive, or sense int status
508510
509511   /* recalibrate command? */
510512   if (is_recalibrate)

Previous 15994 Revisions Next


© 1998-2018 The MESS Team