trunk/src/mess/machine/dgnalpha.c
| r17857 | r17858 | |
| 68 | 68 | #include "sound/ay8910.h" |
| 69 | 69 | #include "imagedev/flopdrv.h" |
| 70 | 70 | |
| 71 | | |
| 72 | 71 | //------------------------------------------------- |
| 73 | | // ctor |
| 74 | | //------------------------------------------------- |
| 75 | | |
| 76 | | dragon_alpha_state::dragon_alpha_state(const machine_config &mconfig, device_type type, const char *tag) |
| 77 | | : dragon64_state(mconfig, type, tag), |
| 78 | | m_pia_2(*this, PIA2_TAG), |
| 79 | | m_ay8912(*this, AY8912_TAG), |
| 80 | | m_fdc(*this, WD2797_TAG) |
| 81 | | { |
| 82 | | } |
| 83 | | |
| 84 | | |
| 85 | | //------------------------------------------------- |
| 86 | 72 | // device_start |
| 87 | 73 | //------------------------------------------------- |
| 88 | 74 | |
trunk/src/mess/machine/coco.c
| r17857 | r17858 | |
| 75 | 75 | //************************************************************************** |
| 76 | 76 | |
| 77 | 77 | //------------------------------------------------- |
| 78 | | // ctor |
| 79 | | //------------------------------------------------- |
| 80 | | |
| 81 | | coco_state::coco_state(const machine_config &mconfig, device_type type, const char *tag) |
| 82 | | : driver_device(mconfig, type, tag), |
| 83 | | m_maincpu(*this, MAINCPU_TAG), |
| 84 | | m_pia_0(*this, PIA0_TAG), |
| 85 | | m_pia_1(*this, PIA1_TAG), |
| 86 | | m_dac(*this, DAC_TAG), |
| 87 | | m_wave(*this, WAVE_TAG), |
| 88 | | m_cococart(*this, CARTRIDGE_TAG), |
| 89 | | m_ram(*this, RAM_TAG), |
| 90 | | m_cassette(*this, CASSETTE_TAG), |
| 91 | | m_bitbanger(*this, BITBANGER_TAG), |
| 92 | | m_vhd_0(*this, VHD0_TAG), |
| 93 | | m_vhd_1(*this, VHD1_TAG) |
| 94 | | { |
| 95 | | } |
| 96 | | |
| 97 | | |
| 98 | | |
| 99 | | //------------------------------------------------- |
| 100 | 78 | // analog_port_start |
| 101 | 79 | //------------------------------------------------- |
| 102 | 80 | |
trunk/src/mess/machine/coco12.c
| r17857 | r17858 | |
| 9 | 9 | #include "includes/coco12.h" |
| 10 | 10 | |
| 11 | 11 | //------------------------------------------------- |
| 12 | | // ctor |
| 13 | | //------------------------------------------------- |
| 14 | | |
| 15 | | coco12_state::coco12_state(const machine_config &mconfig, device_type type, const char *tag) |
| 16 | | : coco_state(mconfig, type, tag), |
| 17 | | m_sam(*this, SAM_TAG), |
| 18 | | m_vdg(*this, VDG_TAG) |
| 19 | | { |
| 20 | | } |
| 21 | | |
| 22 | | |
| 23 | | |
| 24 | | //------------------------------------------------- |
| 25 | 12 | // device_start |
| 26 | 13 | //------------------------------------------------- |
| 27 | 14 | |
trunk/src/mess/machine/dragon.c
| r17857 | r17858 | |
| 43 | 43 | ***************************************************************************/ |
| 44 | 44 | |
| 45 | 45 | //------------------------------------------------- |
| 46 | | // ctor |
| 47 | | //------------------------------------------------- |
| 48 | | |
| 49 | | dragon_state::dragon_state(const machine_config &mconfig, device_type type, const char *tag) |
| 50 | | : coco12_state(mconfig, type, tag), |
| 51 | | m_printer(*this, PRINTER_TAG) |
| 52 | | { |
| 53 | | } |
| 54 | | |
| 55 | | |
| 56 | | |
| 57 | | //------------------------------------------------- |
| 58 | 46 | // pia1_pa_changed - called when PIA1 PA changes |
| 59 | 47 | //------------------------------------------------- |
| 60 | 48 | |
| r17857 | r17858 | |
| 77 | 65 | ***************************************************************************/ |
| 78 | 66 | |
| 79 | 67 | //------------------------------------------------- |
| 80 | | // ctor |
| 81 | | //------------------------------------------------- |
| 82 | | |
| 83 | | dragon64_state::dragon64_state(const machine_config &mconfig, device_type type, const char *tag) |
| 84 | | : dragon_state(mconfig, type, tag), |
| 85 | | m_acia(*this, ACIA_TAG) |
| 86 | | { |
| 87 | | } |
| 88 | | |
| 89 | | |
| 90 | | |
| 91 | | //------------------------------------------------- |
| 92 | 68 | // ff00_read |
| 93 | 69 | //------------------------------------------------- |
| 94 | 70 | |
trunk/src/mess/machine/coco3.c
| r17857 | r17858 | |
| 43 | 43 | |
| 44 | 44 | #include "includes/coco3.h" |
| 45 | 45 | |
| 46 | | |
| 47 | | |
| 48 | 46 | //------------------------------------------------- |
| 49 | | // ctor |
| 50 | | //------------------------------------------------- |
| 51 | | |
| 52 | | coco3_state::coco3_state(const machine_config &mconfig, device_type type, const char *tag) |
| 53 | | : coco_state(mconfig, type, tag), |
| 54 | | m_gime(*this, GIME_TAG) |
| 55 | | { |
| 56 | | } |
| 57 | | |
| 58 | | |
| 59 | | |
| 60 | | //------------------------------------------------- |
| 61 | 47 | // ff20_write |
| 62 | 48 | //------------------------------------------------- |
| 63 | 49 | |
trunk/src/mess/includes/dragon.h
| r17857 | r17858 | |
| 34 | 34 | class dragon_state : public coco12_state |
| 35 | 35 | { |
| 36 | 36 | public: |
| 37 | | dragon_state(const machine_config &mconfig, device_type type, const char *tag); |
| 37 | dragon_state(const machine_config &mconfig, device_type type, const char *tag) |
| 38 | : coco12_state(mconfig, type, tag), |
| 39 | m_printer(*this, PRINTER_TAG) |
| 40 | { |
| 41 | } |
| 38 | 42 | |
| 39 | 43 | required_device<printer_image_device> m_printer; |
| 40 | 44 | |
| r17857 | r17858 | |
| 47 | 51 | class dragon64_state : public dragon_state |
| 48 | 52 | { |
| 49 | 53 | public: |
| 50 | | dragon64_state(const machine_config &mconfig, device_type type, const char *tag); |
| 54 | dragon64_state(const machine_config &mconfig, device_type type, const char *tag) |
| 55 | : dragon_state(mconfig, type, tag), |
| 56 | m_acia(*this, ACIA_TAG) |
| 57 | { |
| 58 | } |
| 51 | 59 | |
| 52 | 60 | required_device<acia6551_device> m_acia; |
| 53 | 61 | |
trunk/src/mess/includes/rm380z.h
| r17857 | r17858 | |
| 89 | 89 | required_device<ram_device> m_messram; |
| 90 | 90 | optional_device<device_t> m_fdc; |
| 91 | 91 | |
| 92 | | rm380z_state(const machine_config &mconfig, device_type type, const char *tag): driver_device(mconfig, type, tag), |
| 92 | rm380z_state(const machine_config &mconfig, device_type type, const char *tag) |
| 93 | : driver_device(mconfig, type, tag), |
| 93 | 94 | m_maincpu(*this, RM380Z_MAINCPU_TAG), |
| 94 | 95 | m_messram(*this, RAM_TAG), |
| 95 | 96 | m_fdc(*this, "wd1771") |
trunk/src/mess/includes/coco.h
| r17857 | r17858 | |
| 81 | 81 | class coco_state : public driver_device |
| 82 | 82 | { |
| 83 | 83 | public: |
| 84 | | coco_state(const machine_config &mconfig, device_type type, const char *tag); |
| 84 | coco_state(const machine_config &mconfig, device_type type, const char *tag) |
| 85 | : driver_device(mconfig, type, tag), |
| 86 | m_maincpu(*this, MAINCPU_TAG), |
| 87 | m_pia_0(*this, PIA0_TAG), |
| 88 | m_pia_1(*this, PIA1_TAG), |
| 89 | m_dac(*this, DAC_TAG), |
| 90 | m_wave(*this, WAVE_TAG), |
| 91 | m_cococart(*this, CARTRIDGE_TAG), |
| 92 | m_ram(*this, RAM_TAG), |
| 93 | m_cassette(*this, CASSETTE_TAG), |
| 94 | m_bitbanger(*this, BITBANGER_TAG), |
| 95 | m_vhd_0(*this, VHD0_TAG), |
| 96 | m_vhd_1(*this, VHD1_TAG) |
| 97 | { |
| 98 | } |
| 85 | 99 | |
| 86 | 100 | required_device<cpu_device> m_maincpu; |
| 87 | 101 | required_device<pia6821_device> m_pia_0; |
trunk/src/mess/includes/coco12.h
| r17857 | r17858 | |
| 34 | 34 | class coco12_state : public coco_state |
| 35 | 35 | { |
| 36 | 36 | public: |
| 37 | | coco12_state(const machine_config &mconfig, device_type type, const char *tag); |
| 37 | coco12_state(const machine_config &mconfig, device_type type, const char *tag) |
| 38 | : coco_state(mconfig, type, tag), |
| 39 | m_sam(*this, SAM_TAG), |
| 40 | m_vdg(*this, VDG_TAG) |
| 41 | { |
| 42 | } |
| 38 | 43 | |
| 44 | |
| 39 | 45 | required_device<sam6883_device> m_sam; |
| 40 | 46 | required_device<mc6847_base_device> m_vdg; |
| 41 | 47 | |
trunk/src/mess/includes/coco3.h
| r17857 | r17858 | |
| 35 | 35 | class coco3_state : public coco_state |
| 36 | 36 | { |
| 37 | 37 | public: |
| 38 | | coco3_state(const machine_config &mconfig, device_type type, const char *tag); |
| 38 | coco3_state(const machine_config &mconfig, device_type type, const char *tag) |
| 39 | : coco_state(mconfig, type, tag), |
| 40 | m_gime(*this, GIME_TAG) { } |
| 39 | 41 | |
| 40 | 42 | required_device<gime_base_device> m_gime; |
| 41 | 43 | |
trunk/src/mess/includes/dgnalpha.h
| r17857 | r17858 | |
| 36 | 36 | class dragon_alpha_state : public dragon64_state |
| 37 | 37 | { |
| 38 | 38 | public: |
| 39 | | dragon_alpha_state(const machine_config &mconfig, device_type type, const char *tag); |
| 39 | dragon_alpha_state(const machine_config &mconfig, device_type type, const char *tag) |
| 40 | : dragon64_state(mconfig, type, tag), |
| 41 | m_pia_2(*this, PIA2_TAG), |
| 42 | m_ay8912(*this, AY8912_TAG), |
| 43 | m_fdc(*this, WD2797_TAG) |
| 44 | { |
| 45 | } |
| 40 | 46 | |
| 41 | 47 | required_device<pia6821_device> m_pia_2; |
| 42 | 48 | required_device<device_t> m_ay8912; |