diff options
Diffstat (limited to 'src/devices/bus/ti99/peb/evpc.cpp')
| -rw-r--r-- | src/devices/bus/ti99/peb/evpc.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/devices/bus/ti99/peb/evpc.cpp b/src/devices/bus/ti99/peb/evpc.cpp index 7bb16f32647..4db8abf047d 100644 --- a/src/devices/bus/ti99/peb/evpc.cpp +++ b/src/devices/bus/ti99/peb/evpc.cpp @@ -50,6 +50,7 @@ #define VERBOSE ( LOG_GENERAL | LOG_WARN ) #include "logmacro.h" +#define EVPC_SCREEN_TAG "screen" DEFINE_DEVICE_TYPE_NS(TI99_EVPC, bus::ti99::peb, snug_enhanced_video_device, "ti99_evpc", "SNUG Enhanced Video Processor Card") @@ -57,6 +58,7 @@ namespace bus { namespace ti99 { namespace peb { #define NOVRAM_SIZE 256 #define EVPC_CRU_BASE 0x1400 +#define SOUNDCHIP_TAG "soundchip" snug_enhanced_video_device::snug_enhanced_video_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock): device_t(mconfig, TI99_EVPC, tag, owner, clock), @@ -72,8 +74,8 @@ snug_enhanced_video_device::snug_enhanced_video_device(const machine_config &mco m_intlevel(0), m_dsrrom(nullptr), m_novram(nullptr), - m_video(*this, TI_VDP_TAG), - m_sound(*this, TI_SOUNDCHIP_TAG), + m_video(*this, TIGEN_V9938_TAG), + m_sound(*this, SOUNDCHIP_TAG), m_colorbus(*this, COLORBUS_TAG), m_console_conn(*this, ":" TI99_EVPC_CONN_TAG) { @@ -496,8 +498,8 @@ void snug_enhanced_video_device::device_add_mconfig(machine_config& config) V9938(config, m_video, XTAL(21'477'272)); // typical 9938 clock, not verified m_video->int_cb().set(FUNC(snug_enhanced_video_device::video_interrupt_in)); - m_video->set_screen(TI_SCREEN_TAG); - screen_device& screen(SCREEN(config, TI_SCREEN_TAG, SCREEN_TYPE_RASTER)); + m_video->set_screen(EVPC_SCREEN_TAG); + screen_device& screen(SCREEN(config, EVPC_SCREEN_TAG, SCREEN_TYPE_RASTER)); screen.set_raw(XTAL(21'477'272), v99x8_device::HTOTAL, 0, @@ -505,11 +507,11 @@ void snug_enhanced_video_device::device_add_mconfig(machine_config& config) v99x8_device::VTOTAL_NTSC * 2, v99x8_device::VERTICAL_ADJUST * 2, v99x8_device::VVISIBLE_NTSC * 2 - 1 - v99x8_device::VERTICAL_ADJUST * 2); - screen.set_screen_update(TI_VDP_TAG, FUNC(v99x8_device::screen_update)); + screen.set_screen_update(TIGEN_V9938_TAG, FUNC(v99x8_device::screen_update)); // Sound hardware SPEAKER(config, "sound_out").front_center(); - sn94624_device& soundgen(SN94624(config, TI_SOUNDCHIP_TAG, 3579545/8)); + sn94624_device& soundgen(SN94624(config, SOUNDCHIP_TAG, 3579545/8)); soundgen.ready_cb().set(FUNC(snug_enhanced_video_device::ready_line)); soundgen.add_route(ALL_OUTPUTS, "sound_out", 0.75); |
