trunk/src/mess/includes/c64_legacy.h
| r19882 | r19883 | |
| 37 | 37 | legacy_c64_state(const machine_config &mconfig, device_type type, const char *tag) |
| 38 | 38 | : driver_device(mconfig, type, tag), |
| 39 | 39 | m_iec(*this, CBM_IEC_TAG), |
| 40 | m_colorram(*this, "colorram"), |
| 41 | m_basic(*this, "basic"), |
| 42 | m_chargen(*this, "chargen"), |
| 43 | m_kernal(*this, "kernal"), |
| 40 | 44 | m_roml_writable(0) |
| 41 | 45 | { } |
| 42 | 46 | |
| 43 | 47 | optional_device<cbm_iec_device> m_iec; |
| 44 | | |
| 48 | |
| 49 | required_shared_ptr<UINT8> m_colorram; |
| 50 | required_shared_ptr<UINT8> m_basic; |
| 51 | required_shared_ptr<UINT8> m_chargen; |
| 52 | required_shared_ptr<UINT8> m_kernal; |
| 53 | |
| 45 | 54 | DECLARE_READ8_MEMBER( c64_lightpen_x_cb ); |
| 46 | 55 | DECLARE_READ8_MEMBER( c64_lightpen_y_cb ); |
| 47 | 56 | DECLARE_READ8_MEMBER( c64_lightpen_button_cb ); |
| r19882 | r19883 | |
| 58 | 67 | UINT8 m_vicirq; |
| 59 | 68 | emu_timer *m_datasette_timer; |
| 60 | 69 | emu_timer *m_cartridge_timer; |
| 61 | | UINT8 *m_colorram; |
| 62 | | UINT8 *m_basic; |
| 63 | | UINT8 *m_kernal; |
| 64 | | UINT8 *m_chargen; |
| 65 | 70 | UINT8 *m_memory; |
| 66 | 71 | int m_pal; |
| 67 | 72 | int m_tape_on; |
trunk/src/mess/includes/c65.h
| r19882 | r19883 | |
| 41 | 41 | { |
| 42 | 42 | public: |
| 43 | 43 | c65_state(const machine_config &mconfig, device_type type, const char *tag) |
| 44 | | : legacy_c64_state(mconfig, type, tag) { } |
| 44 | : legacy_c64_state(mconfig, type, tag), |
| 45 | m_c65_chargen(*this, "c65_chargen"), |
| 46 | m_interface(*this, "interface") |
| 47 | { } |
| 45 | 48 | |
| 46 | | UINT8 *m_chargen; |
| 47 | | UINT8 *m_interface; |
| 49 | required_shared_ptr<UINT8> m_c65_chargen; |
| 50 | required_shared_ptr<UINT8> m_interface; |
| 48 | 51 | int m_charset_select; |
| 49 | 52 | int m_c64mode; |
| 50 | 53 | UINT8 m_6511_port; |
trunk/src/mess/drivers/c65.c
| r19882 | r19883 | |
| 83 | 83 | |
| 84 | 84 | AM_RANGE(0x20000, 0x23fff) AM_ROM /* &c65_dos, maps to 0x8000 */ |
| 85 | 85 | AM_RANGE(0x24000, 0x28fff) AM_ROM /* reserved */ |
| 86 | | AM_RANGE(0x29000, 0x29fff) AM_ROM AM_SHARE("chargen") |
| 86 | AM_RANGE(0x29000, 0x29fff) AM_ROM AM_SHARE("c65_chargen") |
| 87 | 87 | AM_RANGE(0x2a000, 0x2bfff) AM_ROM AM_SHARE("basic") |
| 88 | 88 | AM_RANGE(0x2c000, 0x2cfff) AM_ROM AM_SHARE("interface") |
| 89 | 89 | AM_RANGE(0x2d000, 0x2dfff) AM_ROM AM_SHARE("chargen") |