Previous 199869 Revisions Next

r19235 Friday 30th November, 2012 at 19:43:47 UTC by Angelo Salese
Some logging disabling ...
[src/mess/drivers]pc9801.c

trunk/src/mess/drivers/pc9801.c
r19234r19235
14671467   machine().device<upd765a_device>("upd765_2hd")->set_rate(data & 0x02 ? 500000 : 250000);
14681468
14691469   m_fdc_ctrl = data;
1470   if(data & 0xfc)
1471      printf("FDC ctrl called with %02x\n",data);
1470   //if(data & 0xfc)
1471   //   printf("FDC ctrl called with %02x\n",data);
14721472}
14731473
14741474READ8_MEMBER(pc9801_state::pc9801rs_2hd_r)
r19234r19235
17431743   else if(offset >= 0x00f00000 && offset <= 0x00f9ffff)               { return pc9821_ext_gvram_r(space,offset-0x00f00000); }
17441744   else if(offset >= 0xfffe0000 && offset <= 0xffffffff)                   { return pc9801rs_ipl_r(space,offset & 0x1ffff);      }
17451745
1746   printf("%08x\n",offset);
1746   //printf("%08x\n",offset);
17471747   return 0x00;
17481748}
17491749
r19234r19235
17701770   else if(offset >= 0x000e8000 && offset <= 0x000fffff)               { /* TODO: shadow ROM */                               }
17711771   else if(offset >= 0x00100000 && offset <= 0x00100000+m_ram_size-1)      { pc9801rs_ex_wram_w(space,offset-0x00100000,data);    }
17721772   else if(offset >= 0x00f00000 && offset <= 0x00f9ffff)               { pc9821_ext_gvram_w(space,offset-0x00f00000,data);    }
1773   else
1774      printf("%08x %08x\n",offset,data);
1773   //else
1774   //   printf("%08x %08x\n",offset,data);
17751775
17761776}
17771777
r19234r19235
26622662{
26632663   /* 0xffaf8 */
26642664
2665   printf("%02x %d\n",m_fdc_ctrl,state);
2665   //cprintf("%02x %d\n",m_fdc_ctrl,state);
26662666
26672667   if(m_fdc_ctrl & 1)
26682668      pic8259_ir3_w(machine().device("pic8259_slave"), state);
r19234r19235
26722672
26732673void pc9801_state::pc9801rs_fdc_drq(bool state)
26742674{
2675   printf("DRQ %d\n",state);
2676
26752677   if(m_fdc_ctrl & 1)
26762678      m_dmac->dreq2_w(state);
26772679   else

Previous 199869 Revisions Next


© 1997-2024 The MAME Team