branches/alto2/src/mess/includes/alto2.h
| r26034 | r26035 | |
| 17 | 17 | alto2_state(const machine_config &mconfig, device_type type, const char *tag) |
| 18 | 18 | : driver_device(mconfig, type, tag), |
| 19 | 19 | m_maincpu(*this, "maincpu"), |
| 20 | | m_ram(*this, RAM_TAG), |
| 21 | 20 | #if 0 // FIXME: write a harddisk_image_device like device_t for the DIABLO31 |
| 22 | 21 | m_disk0(*this, "disk0"), |
| 23 | 22 | m_disk1(*this, "disk1"), |
| 24 | 23 | #endif |
| 25 | | m_region_maincpu(*this, "maincpu"), |
| 26 | | m_region_gfx1(*this, "gfx1"), |
| 24 | m_region_ucode(*this, "ucode"), |
| 25 | m_region_ram(*this, "io"), |
| 27 | 26 | m_io_row0(*this, "ROW0"), |
| 28 | 27 | m_io_row1(*this, "ROW1"), |
| 29 | 28 | m_io_row2(*this, "ROW2"), |
| r26034 | r26035 | |
| 42 | 41 | DECLARE_WRITE32_MEMBER(alto2_ucode_w); |
| 43 | 42 | DECLARE_READ16_MEMBER(alto2_ram_r); |
| 44 | 43 | DECLARE_WRITE16_MEMBER(alto2_ram_w); |
| 44 | DECLARE_READ16_MEMBER(alto2_mmio_r); |
| 45 | DECLARE_WRITE16_MEMBER(alto2_mmio_w); |
| 45 | 46 | DECLARE_DRIVER_INIT(alto2); |
| 46 | 47 | // virtual void machine_reset(); |
| 47 | 48 | // virtual void video_start(); |
| r26034 | r26035 | |
| 51 | 52 | |
| 52 | 53 | protected: |
| 53 | 54 | required_device<cpu_device> m_maincpu; |
| 54 | | // required_device<ram_device> m_ucode; |
| 55 | | required_device<ram_device> m_ram; |
| 56 | 55 | #if 0 // FIXME: write a harddisk_image_device like device_t for the DIABLO31 |
| 57 | 56 | required_device<diablo_device> m_disk0; |
| 58 | 57 | optional_device<diablo_device> m_disk1; |
| 59 | 58 | #endif |
| 60 | | required_memory_region m_region_maincpu; |
| 61 | | optional_memory_region m_region_gfx1; |
| 59 | required_memory_region m_region_ucode; |
| 60 | required_memory_region m_region_ram; |
| 62 | 61 | required_ioport m_io_row0; |
| 63 | 62 | required_ioport m_io_row1; |
| 64 | 63 | required_ioport m_io_row2; |