Previous 15994 Revisions Next

r12883 Sunday 18th September, 2011 at 14:53:18 UTC by Curt Coder
[WD17XX] Fixed side 0 select. (nw)
[src/emu/machine]wd17xx.c
[src/mess/drivers]abc1600.c

src/emu/machine/wd17xx.c
r12882r12883
10101010{
10111011   wd1770_state *w = get_safe_token(device);
10121012
1013   if (wd17xx_has_side_select(device))
1014      wd17xx_set_side(device, (command & FDC_SIDE_CMP_T) ? 1 : 0);
1015
10131016   if (command & FDC_SIDE_CMP_T)
1014   {
10151017      w->head = (command & FDC_SIDE_CMP_S) ? 1 : 0;
1016     
1017      if (wd17xx_has_side_select(device))
1018         wd17xx_set_side(device, w->head);
1019   }
10201018   else
1021   {
10221019      w->head = ~0;
1023   }
10241020}
10251021
10261022/* read a sector */
src/mess/drivers/abc1600.c
r12882r12883
1818    - short/long reset (RSTBUT)
1919    - SCC interrupt
2020    - CIO (interrupt controller)
21   
22      Task 15 BOOTE 1 MAGIC 1
23      Task 0 Segment 0 : 10
24      Z8536 '15b' Unimplemented write 20 to register 8
25      Task 0 BOOTE 1 MAGIC 1
26      Reset caused by the watchdog!!!
27     
2128        - RTC
2229        - NVRAM
2330    - hard disk (Xebec S1410)
r12882r12883
842849
843850   m_cause = (dmamap & 0x1f) << 3;
844851
852   logerror("virtual addr %06x\n", ((dmamap & 0x1f) << 16) | offset);
853   
845854   return ((dmamap & 0x1f) << 16) | offset;
846855}
847856

Previous 15994 Revisions Next


© 1998-2018 The MESS Team