diff options
author | Aaron Giles <aaron@aarongiles.com> | 2008-08-26 22:58:45 +0000 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2008-08-26 22:58:45 +0000 |
commit | cd299d9f8e7016e04105cbb5b099eae07236d03c (patch) | |
tree | 29a788c8a3baf04ac81abb4fc6195e0cfcf45ae7 /src/ldplayer | |
parent | 8f409d6809709076263587e69b63c7e8513c22a4 (diff) |
Significant cleanup/rewrite of the MCS-48 CPU core:
* removed redundant and unused definitions from header file
* renamed constants and functions to be MCS48* prefixed
* re-verified all opcode behaviors and timing
* changed illegal opcodes to count 1 cycle to avoid infinite loops
* changed EA behavior so that it is a push from the driver instead of a pull on each opcode fetch
(this may change further in the future).
* reimplemented IRQ generation and timer behavior according to documentation
* updated all drivers accordingly
* fixed several uses of PULSE_LINE, which no longer works
Diffstat (limited to 'src/ldplayer')
-rw-r--r-- | src/ldplayer/ldplayer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ldplayer/ldplayer.c b/src/ldplayer/ldplayer.c index 366b906df2b..fa2131b01f0 100644 --- a/src/ldplayer/ldplayer.c +++ b/src/ldplayer/ldplayer.c @@ -625,9 +625,9 @@ static WRITE8_HANDLER( pr8210_portb_w ) static ADDRESS_MAP_START( pr8210_portmap, ADDRESS_SPACE_IO, 8 ) AM_RANGE(0x00, 0xff) AM_READWRITE(pr8210_pia_r, pr8210_pia_w) - AM_RANGE(I8039_bus, I8039_bus) AM_READ(pr8210_bus_r) - AM_RANGE(I8039_p1, I8039_p1) AM_WRITE(pr8210_porta_w) - AM_RANGE(I8039_p2, I8039_p2) AM_WRITE(pr8210_portb_w) + AM_RANGE(MCS48_PORT_BUS, MCS48_PORT_BUS) AM_READ(pr8210_bus_r) + AM_RANGE(MCS48_PORT_P1, MCS48_PORT_P1) AM_WRITE(pr8210_porta_w) + AM_RANGE(MCS48_PORT_P2, MCS48_PORT_P2) AM_WRITE(pr8210_portb_w) ADDRESS_MAP_END #endif |