Previous 15994 Revisions Next

r14952 Tuesday 17th April, 2012 at 11:34:13 UTC by Robbbert
Fixed various regressions
[src/mess/drivers]gamecom.c
[src/mess/includes]fm7.h hec2hrp.h llc.h mc80.h mpz80.h p2000t.h psion.h special.h spectrum.h trs80.h ut88.h z80ne.h

src/mess/includes/fm7.h
r14951r14952
107107      m_boot_ram(*this, "boot_ram"){ }
108108
109109   required_shared_ptr<UINT8> m_shared_ram;
110   required_shared_ptr<UINT8> m_boot_ram;
110   optional_shared_ptr<UINT8> m_boot_ram;
111111   
112112   UINT8 m_irq_flags;
113113   UINT8 m_irq_mask;
src/mess/includes/z80ne.h
r14951r14952
6868        m_videoram(*this,"videoram") {}
6969
7070   optional_device<mc6847_base_device> m_vdg;
71   required_shared_ptr<UINT8> m_videoram;
71   optional_shared_ptr<UINT8> m_videoram;
7272   UINT8 m_lx383_scan_counter;
7373   UINT8 m_lx383_key[LX383_KEYS];
7474   int m_lx383_downsampler;
src/mess/includes/mc80.h
r14951r14952
3737   DECLARE_READ8_MEMBER(asp_port_b_r);
3838   DECLARE_WRITE8_MEMBER(asp_port_a_w);
3939   DECLARE_WRITE8_MEMBER(asp_port_b_w);
40   required_shared_ptr<UINT8> m_p_videoram;
40   optional_shared_ptr<UINT8> m_p_videoram;
4141};
4242
4343
src/mess/includes/spectrum.h
r14951r14952
8282   int m_frame_number;    /* Used for handling FLASH 1 */
8383   int m_flash_invert;
8484   UINT8 m_retrace_cycles;
85   required_shared_ptr<UINT8> m_video_ram;
85   optional_shared_ptr<UINT8> m_video_ram;
8686   UINT8 *m_screen_location;
8787
8888   int m_ROMSelection;
src/mess/includes/p2000t.h
r14951r14952
1919   p2000t_state(const machine_config &mconfig, device_type type, const char *tag)
2020      : driver_device(mconfig, type, tag),
2121   m_maincpu(*this, "maincpu"),
22   m_speaker(*this, SPEAKER_TAG)
23   ,
24      m_p_videoram(*this, "p_videoram"){ }
22   m_speaker(*this, SPEAKER_TAG),
23   m_p_videoram(*this, "p_videoram"){ }
2524
2625   required_device<cpu_device> m_maincpu;
2726   required_device<device_t> m_speaker;
r14951r14952
3433   DECLARE_WRITE8_MEMBER(p2000t_port_888b_w);
3534   DECLARE_WRITE8_MEMBER(p2000t_port_8c90_w);
3635   DECLARE_WRITE8_MEMBER(p2000t_port_9494_w);
37   required_shared_ptr<UINT8> m_p_videoram;
36   optional_shared_ptr<UINT8> m_p_videoram;
3837   UINT8 m_port_101f;
3938   UINT8 m_port_202f;
4039   UINT8 m_port_303f;
src/mess/includes/hec2hrp.h
r14951r14952
7474        m_videoram(*this,"videoram"),
7575        m_hector_videoram(*this,"hector_videoram") { }
7676
77   required_shared_ptr<UINT8> m_videoram;
78   required_shared_ptr<UINT8> m_hector_videoram;
77   optional_shared_ptr<UINT8> m_videoram;
78   optional_shared_ptr<UINT8> m_hector_videoram;
7979   UINT8 m_hector_flag_hr;
8080   UINT8 m_hector_flag_80c;
8181   UINT8 m_hector_color[4];
src/mess/includes/special.h
r14951r14952
3333   m_fdc(*this, "wd1793"),
3434   m_dac(*this, "dac"),
3535   m_cass(*this, CASSETTE_TAG),
36   m_ram(*this, RAM_TAG)
37   ,
38      m_p_videoram(*this, "p_videoram"){ }
36   m_ram(*this, RAM_TAG),
37   m_p_videoram(*this, "p_videoram")
38   { }
3939
4040   DECLARE_WRITE8_MEMBER(specimx_select_bank);
4141   DECLARE_WRITE8_MEMBER(video_memory_w);
r14951r14952
7777   optional_device<device_t> m_dac;
7878   optional_device<cassette_image_device> m_cass;
7979   optional_device<ram_device> m_ram;
80   required_shared_ptr<UINT8> m_p_videoram;
80   optional_shared_ptr<UINT8> m_p_videoram;
8181};
8282
8383
src/mess/includes/ut88.h
r14951r14952
2222      : driver_device(mconfig, type, tag),
2323   m_cass(*this, CASSETTE_TAG),
2424   m_ppi(*this, "ppi8255"),
25   m_dac(*this, "dac")
26   ,
27      m_p_videoram(*this, "p_videoram"){ }
25   m_dac(*this, "dac"),
26   m_p_videoram(*this, "p_videoram")
27   { }
2828
2929   required_device<cassette_image_device> m_cass;
3030   optional_device<i8255_device> m_ppi;
r14951r14952
3838   DECLARE_READ8_MEMBER(ut88_8255_portb_r);
3939   DECLARE_READ8_MEMBER(ut88_8255_portc_r);
4040   DECLARE_WRITE8_MEMBER(ut88_8255_porta_w);
41   required_shared_ptr<UINT8> m_p_videoram;
41   optional_shared_ptr<UINT8> m_p_videoram;
4242   int m_keyboard_mask;
4343   int m_lcd_digit[6];
4444};
src/mess/includes/llc.h
r14951r14952
1717      : driver_device(mconfig, type, tag) ,
1818      m_video_ram(*this, "video_ram"){ }
1919
20   required_shared_ptr<UINT8> m_video_ram;
20   optional_shared_ptr<UINT8> m_video_ram;
2121   UINT8 m_s_code;
2222   UINT8 m_llc1_key_state;
2323};
src/mess/includes/mpz80.h
r14951r14952
3939        m_trap_halt(1),
4040        m_trap_int(1),
4141        m_trap_stop(1),
42        m_trap_aux(1)
43   ,
42        m_trap_aux(1),
4443      m_map_ram(*this, "map_ram"){ }
4544
4645   required_device<cpu_device> m_maincpu;
src/mess/includes/trs80.h
r14951r14952
3232   m_ay31015(*this, "tr1602"),
3333   m_fdc(*this, "wd179x"),
3434   m_speaker(*this, SPEAKER_TAG),
35   m_cass(*this, CASSETTE_TAG)
36   ,
37      m_p_videoram(*this, "p_videoram"){ }
35   m_cass(*this, CASSETTE_TAG),
36   m_p_videoram(*this, "p_videoram")
37   { }
3838
3939   required_device<cpu_device> m_maincpu;
4040   optional_device<centronics_device> m_printer;
r14951r14952
8181   DECLARE_WRITE8_MEMBER( trs80_gfxram_w );
8282   DECLARE_READ8_MEMBER (trs80_wd179x_r);
8383   const UINT8 *m_p_chargen;
84   required_shared_ptr<UINT8> m_p_videoram;
84   optional_shared_ptr<UINT8> m_p_videoram;
8585   UINT8 *m_p_gfxram;
8686   UINT8 m_model4;
8787   UINT8 m_mode;
src/mess/includes/psion.h
r14951r14952
1818        m_lcdc(*this, "hd44780"),
1919        m_beep(*this, BEEPER_TAG),
2020        m_pack1(*this, "pack1"),
21        m_pack2(*this, "pack2")
22      ,
21        m_pack2(*this, "pack2"),
2322      m_sys_register(*this, "sys_register"),
2423      m_ram(*this, "m_ram"){ }
2524
r14951r14952
3130
3231   UINT16 m_kb_counter;
3332   UINT8 m_enable_nmi;
34   required_shared_ptr<UINT8> m_sys_register;
33   optional_shared_ptr<UINT8> m_sys_register;
3534   UINT8 m_tcsr_value;
3635   UINT8 m_stby_pwr;
3736   UINT8 m_pulse;
r14951r14952
4241   UINT8 m_port6;      // datapack control lines
4342
4443   // RAM/ROM banks
45   required_shared_ptr<UINT8> m_ram;
44   optional_shared_ptr<UINT8> m_ram;
4645   UINT8 *m_paged_ram;
4746   UINT8 m_rom_bank;
4847   UINT8 m_ram_bank;
src/mess/drivers/gamecom.c
r14951r14952
3030   AM_RANGE( 0x6000, 0x7FFF )  AM_ROMBANK("bank3")                                   /* External ROM/Flash. Controlled by MMU3 */
3131   AM_RANGE( 0x8000, 0x9FFF )  AM_ROMBANK("bank4")                                   /* External ROM/Flash. Controlled by MMU4 */
3232   AM_RANGE( 0xA000, 0xDFFF )  AM_RAM AM_SHARE("p_videoram")           /* VRAM */
33   AM_RANGE( 0xE000, 0xFFFF )  AM_RAM AM_SHARE("p_nvram") AM_SHARE("nvram")           /* Extended I/O, Extended RAM */
33   AM_RANGE( 0xE000, 0xFFFF )  AM_RAM AM_SHARE("p_nvram")// AM_SHARE("nvram")           /* Extended I/O, Extended RAM */
3434ADDRESS_MAP_END
3535
3636static const SM8500_CONFIG gamecom_cpu_config = {

Previous 15994 Revisions Next


© 1998-2018 The MESS Team