Previous 15994 Revisions Next

r14936 Sunday 15th April, 2012 at 16:28:23 UTC by Curt Coder
Cleanup. (nw)
[src/mess/machine]c64_dqbb.c c64_easyflash.c c64_easyflash.h c64_epyx_fast_load.h c64_exos.h c64_final.h c64_final3.h c64_fun_play.h c64_geocable.h c64_georam.h c64_ieee488.h c64_kingsoft.h c64_mach5.h c64_magic_desk.h c64_magic_formel.h c64_mikro_assembler.h c64_multiscreen.h c64_neoram.h c64_ocean.h c64_pagefox.h c64_prophet64.h c64_rex.h c64_ross.h c64_sfx_sound_expander.h c64_silverrock.h c64_simons_basic.h c64_stardos.h c64_std.h c64_structured_basic.h c64_super_explode.h c64_super_games.h c64_system3.h c64_vw64.c c64_vw64.h c64_warp_speed.h c64_westermann.h c64_xl80.c c64_xl80.h c64_zaxxon.h cbmipt.c

src/mess/machine/c64_super_explode.h
r14935r14936
3333 
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "c64_super_explode"; }
3637   virtual void device_start();
3738   virtual void device_reset();
3839   virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr);
39   virtual void device_config_complete() { m_shortname = "c64_super_explode"; }
4040 
4141   // device_c64_expansion_card_interface overrides
4242   virtual UINT8 c64_cd_r(address_space &space, offs_t offset, int roml, int romh, int io1, int io2);
src/mess/machine/c64_silverrock.h
r14935r14936
3333 
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "c64_silverrock"; }
3637   virtual void device_start();
3738   virtual void device_reset();
38   virtual void device_config_complete() { m_shortname = "c64_silverrock"; }
3939 
4040   // device_c64_expansion_card_interface overrides
4141   virtual UINT8 c64_cd_r(address_space &space, offs_t offset, int roml, int romh, int io1, int io2);
src/mess/machine/c64_kingsoft.h
r14935r14936
2525// ======================> c64_kingsoft_cartridge_device
2626 
2727class c64_kingsoft_cartridge_device : public device_t,
28                            public device_c64_expansion_card_interface
28                            public device_c64_expansion_card_interface
2929{
3030public:
3131   // construction/destruction
r14935r14936
3333 
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "c64_kingsoft"; }
3637   virtual void device_start();
3738   virtual void device_reset();
38   virtual void device_config_complete() { m_shortname = "c64_kingsoft"; }
3939 
4040   // device_c64_expansion_card_interface overrides
4141   virtual UINT8 c64_cd_r(address_space &space, offs_t offset, int roml, int romh, int io1, int io2);
src/mess/machine/cbmipt.c
r14935r14936
11531153   SLOT_INTERFACE("georam", C64_GEORAM)
11541154   SLOT_INTERFACE("neoram", C64_NEORAM)
11551155   SLOT_INTERFACE("sfxse", C64_SFX_SOUND_EXPANDER)
1156   SLOT_INTERFACE("xl80", C64_XL80)
11571156
11581157   // the following need ROMs from the software list
11591158   SLOT_INTERFACE("ieee488", C64_IEEE488)
r14935r14936
11931192   SLOT_INTERFACE("warp_speed", C64_WARP_SPEED)
11941193   SLOT_INTERFACE("westermann", C64_WESTERMANN)
11951194   SLOT_INTERFACE("zaxxon", C64_ZAXXON)
1195   SLOT_INTERFACE("xl80", C64_XL80)
11961196SLOT_INTERFACE_END
11971197
11981198SLOT_INTERFACE_START( c64_user_port_cards )
src/mess/machine/c64_sfx_sound_expander.h
r14935r14936
4747 
4848protected:
4949   // device-level overrides
50   virtual void device_config_complete() { m_shortname = "c64_sfx_sound_expander"; }
5051   virtual void device_start();
5152   virtual void device_reset();
52   virtual void device_config_complete() { m_shortname = "c64_sfx_sound_expander"; }
5353 
5454   // device_c64_expansion_card_interface overrides
5555   virtual UINT8 c64_cd_r(address_space &space, offs_t offset, int roml, int romh, int io1, int io2);
src/mess/machine/c64_ocean.h
r14935r14936
3333 
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "c64_ocean"; }
3637   virtual void device_start();
3738   virtual void device_reset();
38   virtual void device_config_complete() { m_shortname = "c64_ocean"; }
3939 
4040   // device_c64_expansion_card_interface overrides
4141   virtual UINT8 c64_cd_r(address_space &space, offs_t offset, int roml, int romh, int io1, int io2);
src/mess/machine/c64_warp_speed.h
r14935r14936
3838 
3939protected:
4040   // device-level overrides
41   virtual void device_config_complete() { m_shortname = "c64_warp_speed"; }
4142   virtual void device_start();
4243   virtual void device_reset();
43   virtual void device_config_complete() { m_shortname = "c64_warp_speed"; }
4444 
4545   // device_c64_expansion_card_interface overrides
4646   virtual UINT8 c64_cd_r(address_space &space, offs_t offset, int roml, int romh, int io1, int io2);
src/mess/machine/c64_system3.h
r14935r14936
3333 
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "c64_system3"; }
3637   virtual void device_start();
3738   virtual void device_reset();
38   virtual void device_config_complete() { m_shortname = "c64_system3"; }
3939 
4040   // device_c64_expansion_card_interface overrides
4141   virtual UINT8 c64_cd_r(address_space &space, offs_t offset, int roml, int romh, int io1, int io2);
src/mess/machine/c64_fun_play.h
r14935r14936
3333 
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "c64_fun_play"; }
3637   virtual void device_start();
3738   virtual void device_reset();
38   virtual void device_config_complete() { m_shortname = "c64_fun_play"; }
3939 
4040   // device_c64_expansion_card_interface overrides
4141   virtual UINT8 c64_cd_r(address_space &space, offs_t offset, int roml, int romh, int io1, int io2);
src/mess/machine/c64_exos.h
r14935r14936
3333 
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "c64_exos"; }
3637   virtual void device_start();
37   virtual void device_config_complete() { m_shortname = "c64_exos"; }
3838 
3939   // device_c64_expansion_card_interface overrides
4040   virtual UINT8 c64_cd_r(address_space &space, offs_t offset, int roml, int romh, int io1, int io2);
src/mess/machine/c64_xl80.c
r14935r14936
6161//-------------------------------------------------
6262
6363ROM_START( c64_xl80 )
64   ROM_REGION( 0x1000, "roml", 0 )
65   ROM_LOAD( "9433cs-0090.u3",   0x0000, 0x1000, CRC(aec58630) SHA1(49fb99afcb419413be4b82babf022793362dd15b) )
66
6764   ROM_REGION( 0x800, HD46505SP_TAG, 0 )
6865   ROM_LOAD( "dtc.u14", 0x000, 0x800, CRC(9edf5e58) SHA1(4b244e6d94a7653a2e52c351589f0b469119fb04) )
6966ROM_END
r14935r14936
191188void c64_xl80_device::device_start()
192189{
193190   // find memory regions
194   m_rom = subregion("roml")->base();
195191   m_char_rom = subregion(HD46505SP_TAG)->base();
196   m_ram = auto_alloc_array(machine(), UINT8, RAM_SIZE);
192   c64_ram_pointer(machine(), RAM_SIZE);
197193
198194   // state saving
199195   save_pointer(NAME(m_ram), RAM_SIZE);
r14935r14936
226222   }
227223   else if (offset >= 0x8000 && offset < 0x9000)
228224   {
229      data = m_rom[offset & 0xfff];
225      data = m_roml[offset & 0xfff];
230226   }
231227   else if (offset >= 0x9800 && offset < 0xa000)
232228   {
src/mess/machine/c64_pagefox.h
r14935r14936
3333 
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "c64_pagefox"; }
3637   virtual void device_start();
3738   virtual void device_reset();
38   virtual void device_config_complete() { m_shortname = "c64_pagefox"; }
3939 
4040   // device_c64_expansion_card_interface overrides
4141   virtual UINT8 c64_cd_r(address_space &space, offs_t offset, int roml, int romh, int io1, int io2);
src/mess/machine/c64_xl80.h
r14935r14936
5454private:
5555   required_device<h46505_device> m_crtc;
5656
57   UINT8 *m_rom;
5857   UINT8 *m_char_rom;
5958};
6059
src/mess/machine/c64_mach5.h
r14935r14936
2525// ======================> c64_mach5_cartridge_device
2626 
2727class c64_mach5_cartridge_device : public device_t,
28                              public device_c64_expansion_card_interface
28                           public device_c64_expansion_card_interface
2929{
3030public:
3131   // construction/destruction
r14935r14936
3333 
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "c64_mach5"; }
3637   virtual void device_start();
3738   virtual void device_reset();
38   virtual void device_config_complete() { m_shortname = "c64_mach5"; }
3939 
4040   // device_c64_expansion_card_interface overrides
4141   virtual UINT8 c64_cd_r(address_space &space, offs_t offset, int roml, int romh, int io1, int io2);
src/mess/machine/c64_neoram.h
r14935r14936
3434 
3535protected:
3636   // device-level overrides
37   virtual void device_config_complete() { m_shortname = "c64_neoram"; }
3738   virtual void device_start();
3839   virtual void device_reset();
39   virtual void device_config_complete() { m_shortname = "c64_neoram"; }
4040 
4141   // device_nvram_interface overrides
4242   virtual void nvram_default() { }
src/mess/machine/c64_simons_basic.h
r14935r14936
3333 
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "c64_simons_basic"; }
3637   virtual void device_start();
3738   virtual void device_reset();
38   virtual void device_config_complete() { m_shortname = "c64_simons_basic"; }
3939 
4040   // device_c64_expansion_card_interface overrides
4141   virtual UINT8 c64_cd_r(address_space &space, offs_t offset, int roml, int romh, int io1, int io2);
src/mess/machine/c64_final3.h
r14935r14936
3939 
4040protected:
4141   // device-level overrides
42   virtual void device_config_complete() { m_shortname = "c64_final3"; }
4243   virtual void device_start();
4344   virtual void device_reset();
44   virtual void device_config_complete() { m_shortname = "c64_final3"; }
4545 
4646   // device_c64_expansion_card_interface overrides
4747   virtual UINT8 c64_cd_r(address_space &space, offs_t offset, int roml, int romh, int io1, int io2);
src/mess/machine/c64_westermann.h
r14935r14936
3333 
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "c64_westermann"; }
3637   virtual void device_start();
3738   virtual void device_reset();
38   virtual void device_config_complete() { m_shortname = "c64_westermann"; }
3939 
4040   // device_c64_expansion_card_interface overrides
4141   virtual UINT8 c64_cd_r(address_space &space, offs_t offset, int roml, int romh, int io1, int io2);
src/mess/machine/c64_vw64.c
r14935r14936
9393{
9494   m_game = 0;
9595 
96 
9796   m_game_timer->adjust(attotime::from_msec(TIMER_PERIOD), 0);
9897}
9998 
src/mess/machine/c64_vw64.h
r14935r14936
3333 
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "c64_vizawrite"; }
3637   virtual void device_start();
3738   virtual void device_reset();
3839   virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr);
39   virtual void device_config_complete() { m_shortname = "c64_vizawrite"; }
4040 
4141   // device_c64_expansion_card_interface overrides
4242   virtual UINT8 c64_cd_r(address_space &space, offs_t offset, int roml, int romh, int io1, int io2);
src/mess/machine/c64_ieee488.h
r14935r14936
5252 
5353protected:
5454   // device-level overrides
55   virtual void device_config_complete() { m_shortname = "c64_ieee488"; }
5556   virtual void device_start();
5657   virtual void device_reset();
57   virtual void device_config_complete() { m_shortname = "c64_ieee488"; }
5858 
5959   // device_c64_expansion_card_interface overrides
6060   virtual UINT8 c64_cd_r(address_space &space, offs_t offset, int roml, int romh, int io1, int io2);
src/mess/machine/c64_final.h
r14935r14936
3939 
4040protected:
4141   // device-level overrides
42   virtual void device_config_complete() { m_shortname = "c64_final"; }
4243   virtual void device_start();
4344   virtual void device_reset();
44   virtual void device_config_complete() { m_shortname = "c64_final"; }
4545 
4646   // device_c64_expansion_card_interface overrides
4747   virtual UINT8 c64_cd_r(address_space &space, offs_t offset, int roml, int romh, int io1, int io2);
src/mess/machine/c64_multiscreen.h
r14935r14936
3333 
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "c64_multiscreen"; }
3637   virtual void device_start();
3738   virtual void device_reset();
38   virtual void device_config_complete() { m_shortname = "c64_multiscreen"; }
3939 
4040   // device_c64_expansion_card_interface overrides
4141   virtual UINT8 c64_cd_r(address_space &space, offs_t offset, int roml, int romh, int io1, int io2);
src/mess/machine/c64_stardos.h
r14935r14936
3939 
4040protected:
4141   // device-level overrides
42   virtual void device_config_complete() { m_shortname = "c64_stardos"; }
4243   virtual void device_start();
43   virtual void device_config_complete() { m_shortname = "c64_stardos"; }
4444 
4545   // device_c64_expansion_card_interface overrides
4646   virtual UINT8 c64_cd_r(address_space &space, offs_t offset, int roml, int romh, int io1, int io2);
src/mess/machine/c64_ross.h
r14935r14936
3434 
3535protected:
3636   // device-level overrides
37   virtual void device_config_complete() { m_shortname = "c64_ross"; }
3738   virtual void device_start();
3839   virtual void device_reset();
39   virtual void device_config_complete() { m_shortname = "c64_ross"; }
4040 
4141   // device_c64_expansion_card_interface overrides
4242   virtual UINT8 c64_cd_r(address_space &space, offs_t offset, int roml, int romh, int io1, int io2);
src/mess/machine/c64_prophet64.h
r14935r14936
3333 
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "c64_prophet64"; }
3637   virtual void device_start();
3738   virtual void device_reset();
38   virtual void device_config_complete() { m_shortname = "c64_prophet64"; }
3939 
4040   // device_c64_expansion_card_interface overrides
4141   virtual UINT8 c64_cd_r(address_space &space, offs_t offset, int roml, int romh, int io1, int io2);
src/mess/machine/c64_mikro_assembler.h
r14935r14936
3333 
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "c64_mikro_assembler"; }
3637   virtual void device_start();
37   virtual void device_config_complete() { m_shortname = "c64_mikro_assembler"; }
3838 
3939   // device_c64_expansion_card_interface overrides
4040   virtual UINT8 c64_cd_r(address_space &space, offs_t offset, int roml, int romh, int io1, int io2);
src/mess/machine/c64_rex.h
r14935r14936
3333 
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "c64_rex"; }
3637   virtual void device_start();
3738   virtual void device_reset();
38   virtual void device_config_complete() { m_shortname = "c64_rex"; }
3939 
4040   // device_c64_expansion_card_interface overrides
4141   virtual UINT8 c64_cd_r(address_space &space, offs_t offset, int roml, int romh, int io1, int io2);
src/mess/machine/c64_geocable.h
r14935r14936
4040 
4141protected:
4242   // device-level overrides
43   virtual void device_config_complete() { m_shortname = "c64_geocable"; }
4344   virtual void device_start();
44   virtual void device_config_complete() { m_shortname = "c64_geocable"; }
4545 
4646   // device_c64_user_port_interface overrides
4747   virtual void c64_pb_w(address_space &space, offs_t offset, UINT8 data);
src/mess/machine/c64_easyflash.c
r14935r14936
108108 
109109void c64_easyflash_cartridge_device::device_start()
110110{
111   m_ram = auto_alloc_array(machine(), UINT8, 0x100);
111   // allocate memory
112   c64_ram_pointer(machine(), 0x100);
112113 
113114   // state saving
114115   save_item(NAME(m_bank));
src/mess/machine/c64_easyflash.h
r14935r14936
4040 
4141protected:
4242   // device-level overrides
43   virtual void device_config_complete() { m_shortname = "c64_easyflash"; }
4344   virtual void device_start();
4445   virtual void device_reset();
45   virtual void device_config_complete() { m_shortname = "c64_easyflash"; }
4646 
4747   // device_c64_expansion_card_interface overrides
4848   virtual UINT8 c64_cd_r(address_space &space, offs_t offset, int roml, int romh, int io1, int io2);
src/mess/machine/c64_zaxxon.h
r14935r14936
3333 
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "c64_zaxxon"; }
3637   virtual void device_start();
37   virtual void device_config_complete() { m_shortname = "c64_zaxxon"; }
3838 
3939   // device_c64_expansion_card_interface overrides
4040   virtual UINT8 c64_cd_r(address_space &space, offs_t offset, int roml, int romh, int io1, int io2);
src/mess/machine/c64_georam.h
r14935r14936
3333 
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "c64_georam"; }
3637   virtual void device_start();
3738   virtual void device_reset();
38   virtual void device_config_complete() { m_shortname = "c64_georam"; }
3939 
4040   // device_c64_expansion_card_interface overrides
4141   virtual UINT8 c64_cd_r(address_space &space, offs_t offset, int roml, int romh, int io1, int io2);
src/mess/machine/c64_magic_desk.h
r14935r14936
3333 
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "c64_magic_desk"; }
3637   virtual void device_start();
3738   virtual void device_reset();
38   virtual void device_config_complete() { m_shortname = "c64_magic_desk"; }
3939 
4040   // device_c64_expansion_card_interface overrides
4141   virtual UINT8 c64_cd_r(address_space &space, offs_t offset, int roml, int romh, int io1, int io2);
src/mess/machine/c64_std.h
r14935r14936
3434
3535protected:
3636   // device-level overrides
37   virtual void device_config_complete() { m_shortname = "c64_standard"; }
3738   virtual void device_start();
38   virtual void device_config_complete() { m_shortname = "c64_standard"; }
3939
4040   // device_c64_expansion_card_interface overrides
4141   virtual UINT8 c64_cd_r(address_space &space, offs_t offset, int roml, int romh, int io1, int io2);
src/mess/machine/c64_dqbb.c
r14935r14936
1111 
1212    TODO:
1313 
14    - NVRAM
1514    - 64/128 mode switch
1615    - dump of the initial NVRAM contents
1716 
src/mess/machine/c64_magic_formel.h
r14935r14936
4545 
4646protected:
4747   // device-level overrides
48   virtual void device_config_complete() { m_shortname = "c64_magic_formel"; }
4849   virtual void device_start();
4950   virtual void device_reset();
50   virtual void device_config_complete() { m_shortname = "c64_magic_formel"; }
5151 
5252   // device_c64_expansion_card_interface overrides
5353   virtual UINT8 c64_cd_r(address_space &space, offs_t offset, int roml, int romh, int io1, int io2);
src/mess/machine/c64_epyx_fast_load.h
r14935r14936
3333 
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "c64_epyx_fast_load"; }
3637   virtual void device_start();
3738   virtual void device_reset();
3839   virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr);
39   virtual void device_config_complete() { m_shortname = "c64_epyx_fast_load"; }
4040 
4141   // device_c64_expansion_card_interface overrides
4242   virtual UINT8 c64_cd_r(address_space &space, offs_t offset, int roml, int romh, int io1, int io2);
src/mess/machine/c64_super_games.h
r14935r14936
3333 
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "c64_super_games"; }
3637   virtual void device_start();
3738   virtual void device_reset();
38   virtual void device_config_complete() { m_shortname = "c64_super_games"; }
3939 
4040   // device_c64_expansion_card_interface overrides
4141   virtual UINT8 c64_cd_r(address_space &space, offs_t offset, int roml, int romh, int io1, int io2);
src/mess/machine/c64_structured_basic.h
r14935r14936
3434 
3535protected:
3636   // device-level overrides
37   virtual void device_config_complete() { m_shortname = "c64_structured_basic"; }
3738   virtual void device_start();
3839   virtual void device_reset();
39   virtual void device_config_complete() { m_shortname = "c64_structured_basic"; }
4040 
4141   // device_c64_expansion_card_interface overrides
4242   virtual UINT8 c64_cd_r(address_space &space, offs_t offset, int roml, int romh, int io1, int io2);

Previous 15994 Revisions Next


© 1998-2018 The MESS Team