diff options
author | 2008-05-29 07:18:35 +0000 | |
---|---|---|
committer | 2008-05-29 07:18:35 +0000 | |
commit | eeb821032e7556896ad4c4d26c79bddd9882a022 (patch) | |
tree | 7158cb382e055d636a685b8cbe5b2eb01d718c9e /src/emu/cpu/m6502 | |
parent | 9438e76f1fb759f0b4bbcae22231c3e75296179f (diff) |
Several miscellaneous changes:
1. In the MIPS core:
- renamed struct mips3_config -> mips3_config
- updated all drivers to the new names
- removed MIPS3DRC_STRICT_COP0 flag, which is no longer used
- a few minor cleanups
2. In the CPU interface:
- added new 'intention' parameter to the translate callback to
indicate read/write/fetch access, user/supervisor mode, and
a flag for debugging
- updated all call sites to pass an appropriate value
- updated all CPU cores to the new prototype
3. In the UML:
- added new opcode SETC to set the carry flag from a source bit
- added new opcode BSWAP to swap bytes within a value
- updated C, x86, x64 back-ends to support the new opcodes
- updated disassembler to support the new opcodes
4. In the DRC frontend:
- fixed bug in handling edge case with the PC near the 0 or ~0
Diffstat (limited to 'src/emu/cpu/m6502')
-rw-r--r-- | src/emu/cpu/m6502/m4510.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/cpu/m6502/m4510.c b/src/emu/cpu/m6502/m4510.c index 4986bfcf411..42d77a4f874 100644 --- a/src/emu/cpu/m6502/m4510.c +++ b/src/emu/cpu/m6502/m4510.c @@ -371,11 +371,11 @@ static ADDRESS_MAP_START(m4510_mem, ADDRESS_SPACE_PROGRAM, 8) AM_RANGE(0x0000, 0x0001) AM_READWRITE(m4510_read_0000, m4510_write_0000) ADDRESS_MAP_END -static int m4510_translate(int space, offs_t *addr) +static int m4510_translate(int space, int intention, offs_t *addr) { if (space == ADDRESS_SPACE_PROGRAM) *addr = M4510_MEM(*addr); - return 1; + return TRUE; } /************************************************************************** |