src/mess/includes/jtc.h
| r14969 | r14970 | |
| 26 | 26 | m_maincpu(*this, UB8830D_TAG), |
| 27 | 27 | m_cassette(*this, CASSETTE_TAG), |
| 28 | 28 | m_speaker(*this, SPEAKER_TAG), |
| 29 | | m_centronics(*this, CENTRONICS_TAG) |
| 30 | | , |
| 29 | m_centronics(*this, CENTRONICS_TAG), |
| 31 | 30 | m_video_ram(*this, "video_ram"){ } |
| 32 | 31 | |
| 33 | 32 | required_device<cpu_device> m_maincpu; |
| r14969 | r14970 | |
| 44 | 43 | DECLARE_READ8_MEMBER( p3_r ); |
| 45 | 44 | DECLARE_WRITE8_MEMBER( p3_w ); |
| 46 | 45 | |
| 47 | | required_shared_ptr<UINT8> m_video_ram; |
| 46 | optional_shared_ptr<UINT8> m_video_ram; |
| 48 | 47 | }; |
| 49 | 48 | |
| 50 | 49 | class jtces88_state : public jtc_state |
src/mess/drivers/ip22.c
| r14969 | r14970 | |
| 1189 | 1189 | |
| 1190 | 1190 | static ADDRESS_MAP_START( ip225015_map, AS_PROGRAM, 32, ip22_state ) |
| 1191 | 1191 | AM_RANGE( 0x00000000, 0x0007ffff ) AM_RAMBANK( "bank1" ) /* mirror of first 512k of main RAM */ |
| 1192 | | AM_RANGE( 0x08000000, 0x0fffffff ) AM_SHARE("share1") AM_SHARE("mainram") AM_RAM_WRITE(ip22_write_ram) /* 128 MB of main RAM */ |
| 1192 | AM_RANGE( 0x08000000, 0x0fffffff ) AM_SHARE("mainram") AM_RAM_WRITE(ip22_write_ram) /* 128 MB of main RAM */ |
| 1193 | 1193 | AM_RANGE( 0x1f0f0000, 0x1f0f1fff ) AM_READWRITE_LEGACY(newport_rex3_r, newport_rex3_w ) |
| 1194 | 1194 | AM_RANGE( 0x1fa00000, 0x1fa1ffff ) AM_READWRITE_LEGACY(sgi_mc_r, sgi_mc_w ) |
| 1195 | 1195 | AM_RANGE( 0x1fb90000, 0x1fb9ffff ) AM_READWRITE(hpc3_hd_enet_r, hpc3_hd_enet_w ) |
| r14969 | r14970 | |
| 1205 | 1205 | AM_RANGE( 0x1fbdd000, 0x1fbdd3ff ) AM_RAM |
| 1206 | 1206 | AM_RANGE( 0x1fbe0000, 0x1fbe04ff ) AM_READWRITE(rtc_r, rtc_w ) |
| 1207 | 1207 | AM_RANGE( 0x1fc00000, 0x1fc7ffff ) AM_ROM AM_REGION( "user1", 0 ) |
| 1208 | | AM_RANGE( 0x20000000, 0x27ffffff ) AM_SHARE("share1") AM_RAM_WRITE(ip22_write_ram) |
| 1208 | AM_RANGE( 0x20000000, 0x27ffffff ) AM_SHARE("mainram") AM_RAM_WRITE(ip22_write_ram) |
| 1209 | 1209 | ADDRESS_MAP_END |
| 1210 | 1210 | |
| 1211 | 1211 | |
src/mess/drivers/jtc.c
| r14969 | r14970 | |
| 542 | 542 | void jtces40_state::video_start() |
| 543 | 543 | { |
| 544 | 544 | /* allocate memory */ |
| 545 | | //m_video_ram = auto_alloc_array(machine(), UINT8, JTC_ES40_VIDEORAM_SIZE); |
| 545 | m_video_ram.allocate(JTC_ES40_VIDEORAM_SIZE); |
| 546 | 546 | m_color_ram_r = auto_alloc_array(machine(), UINT8, JTC_ES40_VIDEORAM_SIZE); |
| 547 | 547 | m_color_ram_g = auto_alloc_array(machine(), UINT8, JTC_ES40_VIDEORAM_SIZE); |
| 548 | 548 | m_color_ram_b = auto_alloc_array(machine(), UINT8, JTC_ES40_VIDEORAM_SIZE); |