Previous 15994 Revisions Next

r14970 Thursday 19th April, 2012 at 21:13:49 UTC by Sandro Ronco
More regressions fixes. (nw)
[src/mess/drivers]ip22.c jtc.c
[src/mess/includes]jtc.h

src/mess/includes/jtc.h
r14969r14970
2626        m_maincpu(*this, UB8830D_TAG),
2727        m_cassette(*this, CASSETTE_TAG),
2828        m_speaker(*this, SPEAKER_TAG),
29        m_centronics(*this, CENTRONICS_TAG)
30   ,
29        m_centronics(*this, CENTRONICS_TAG),
3130      m_video_ram(*this, "video_ram"){ }
3231
3332   required_device<cpu_device> m_maincpu;
r14969r14970
4443   DECLARE_READ8_MEMBER( p3_r );
4544   DECLARE_WRITE8_MEMBER( p3_w );
4645
47   required_shared_ptr<UINT8> m_video_ram;
46   optional_shared_ptr<UINT8> m_video_ram;
4847};
4948
5049class jtces88_state : public jtc_state
src/mess/drivers/ip22.c
r14969r14970
11891189
11901190static ADDRESS_MAP_START( ip225015_map, AS_PROGRAM, 32, ip22_state )
11911191   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 */
11931193   AM_RANGE( 0x1f0f0000, 0x1f0f1fff ) AM_READWRITE_LEGACY(newport_rex3_r, newport_rex3_w )
11941194   AM_RANGE( 0x1fa00000, 0x1fa1ffff ) AM_READWRITE_LEGACY(sgi_mc_r, sgi_mc_w )
11951195   AM_RANGE( 0x1fb90000, 0x1fb9ffff ) AM_READWRITE(hpc3_hd_enet_r, hpc3_hd_enet_w )
r14969r14970
12051205   AM_RANGE( 0x1fbdd000, 0x1fbdd3ff ) AM_RAM
12061206   AM_RANGE( 0x1fbe0000, 0x1fbe04ff ) AM_READWRITE(rtc_r, rtc_w )
12071207   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)
12091209ADDRESS_MAP_END
12101210
12111211
src/mess/drivers/jtc.c
r14969r14970
542542void jtces40_state::video_start()
543543{
544544   /* allocate memory */
545   //m_video_ram = auto_alloc_array(machine(), UINT8, JTC_ES40_VIDEORAM_SIZE);
545   m_video_ram.allocate(JTC_ES40_VIDEORAM_SIZE);
546546   m_color_ram_r = auto_alloc_array(machine(), UINT8, JTC_ES40_VIDEORAM_SIZE);
547547   m_color_ram_g = auto_alloc_array(machine(), UINT8, JTC_ES40_VIDEORAM_SIZE);
548548   m_color_ram_b = auto_alloc_array(machine(), UINT8, JTC_ES40_VIDEORAM_SIZE);

Previous 15994 Revisions Next


© 1998-2018 The MESS Team