| Previous | 199869 Revisions | Next |
| r25417 Tuesday 24th September, 2013 at 18:36:38 UTC by Wilbert Pol |
|---|
| m4510.c: Added memory_translate (nw) |
| [src/emu/cpu/m6502] | m4510.c m4510.h |
| r25416 | r25417 | |
|---|---|---|
| 80 | 80 | m65ce02_device::device_reset(); |
| 81 | 81 | } |
| 82 | 82 | |
| 83 | bool m4510_device::memory_translate(address_spacenum spacenum, int intention, offs_t &address) | |
| 84 | { | |
| 85 | if (spacenum == AS_PROGRAM) | |
| 86 | { | |
| 87 | address = map(address); | |
| 88 | } | |
| 89 | ||
| 90 | return true; | |
| 91 | } | |
| 92 | ||
| 83 | 93 | m4510_device::mi_4510_normal::mi_4510_normal(m4510_device *_base) |
| 84 | 94 | { |
| 85 | 95 | base = _base; |
| r25416 | r25417 | |
|---|---|---|
| 81 | 81 | |
| 82 | 82 | virtual void device_start(); |
| 83 | 83 | virtual void device_reset(); |
| 84 | virtual bool memory_translate(address_spacenum spacenum, int intention, offs_t &address); | |
| 84 | 85 | |
| 85 | 86 | inline UINT32 map(UINT16 adr) { |
| 86 | 87 | if(map_enable & (1 << (adr >> 13))) { |
| Previous | 199869 Revisions | Next |