Skip to content

Commit 2dc6458

Browse files
committed
attache: small RTC and documentation update. (no whatsnew)
1 parent bfcf260 commit 2dc6458

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

src/mess/drivers/attache.c

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@
4444
*
4545
* TODO:
4646
* - Keyboard repeat
47-
* - Get FDC/DMA transfers working
4847
* - Get at least some of the system tests to pass
49-
* - Add graphics support
5048
* - and probably lots more I've forgotten, too.
5149
*
5250
*/
@@ -64,7 +62,6 @@
6462
#include "video/tms9927.h"
6563
#include "machine/ram.h"
6664
#include "machine/nvram.h"
67-
#include "debugger.h"
6865

6966
class attache_state : public driver_device
7067
{
@@ -435,7 +432,7 @@ void attache_state::keyboard_clock_w(bool state)
435432
m_kb_clock = state;
436433
}
437434

438-
// TODO: Figure out exactly how the HLD, RD, WR and CS lines are hooked up
435+
// TODO: Figure out exactly how the HLD, RD, WR and CS lines on the RTC are hooked up
439436
READ8_MEMBER(attache_state::pio_portA_r)
440437
{
441438
UINT8 ret = 0xff;
@@ -505,16 +502,16 @@ void attache_state::operation_strobe(address_space& space, UINT8 data)
505502
break;
506503
case PIO_SEL_5832_WRITE:
507504
m_rtc->cs_w(1);
508-
m_rtc->write_w(0);
509-
m_rtc->read_w(1);
505+
m_rtc->write_w(1);
506+
m_rtc->read_w(0);
510507
m_rtc->address_w((data & 0xf0) >> 4);
511508
m_rtc->data_w(space,0,data & 0x0f);
512509
logerror("RTC: write %01x to %01x\n",data & 0x0f,(data & 0xf0) >> 4);
513510
break;
514511
case PIO_SEL_5832_READ:
515512
m_rtc->cs_w(1);
516-
m_rtc->write_w(0);
517-
m_rtc->read_w(1);
513+
m_rtc->write_w(1);
514+
m_rtc->read_w(0);
518515
m_rtc->address_w((data & 0xf0) >> 4);
519516
logerror("RTC: write %01x to %01x (read)\n",data & 0x0f,(data & 0xf0) >> 4);
520517
break;

0 commit comments

Comments
 (0)