Previous 15994 Revisions Next

r7963 Tuesday 4th May, 2010 at 12:09:57 UTC by Curt Coder
[WD17XX] Suppressed extra interrupt after FORCE INTERRUPT ($D0) command. [Barry Nelson]
[docs]messnew.txt
[src/mess/machine]wd17xx.c

src/mess/machine/wd17xx.c
r7962r7963
313313   UINT8   read_cmd;            /* last read command issued */
314314   UINT8   write_cmd;            /* last write command issued */
315315   INT8   direction;            /* last step direction */
316   UINT8   last_command_data;      /* last command data */
316317
317318   UINT8   status_drq;          /* status register data request bit */
318319   UINT8   busy_count;          /* how long to keep busy bit set */
r7962r7963
464465static TIMER_CALLBACK( wd17xx_command_callback )
465466{
466467   running_device *device = (running_device *)ptr;
467   wd17xx_set_intrq(device);
468   wd1770_state *w = get_safe_token(device);
469
470   if (w->last_command_data != FDC_FORCE_INT)
471   {
472      wd17xx_set_intrq(device);
473   }
468474}
469475
470476/* set drq after delay */
r7962r7963
14241430   {
14251431      logerror("wd17xx_data_r: (no new data) $%02X (data_count %d)\n", w->data, w->data_count);
14261432   }
1433
14271434   return w->data;
14281435}
14291436
r7962r7963
14321439{
14331440   wd1770_state *w = get_safe_token(device);
14341441
1442   w->last_command_data = data;
1443
14351444   /* only the WD1770 and WD1772 have a 'motor on' line */
14361445   if (device->type == WD1770 || device->type == WD1772)
14371446   {
docs/messnew.txt
r7962r7963
111111
112112- Changes to the wd17xx implementation:
113113  - Added support for immediate/index pulse interrupts. [Curt Coder]
114  - Suppressed extra interrupt after FORCE INTERRUPT ($D0) command. [Barry Nelson]
114115
115116- Implemented Commodore DOS errors 21, 22, and 23 in D64 images.
116117  "Microsoft Multiplan" now loads on C64. (bug #1932) [Curt Coder]

Previous 15994 Revisions Next


© 1998-2018 The MESS Team