summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video')
-rwxr-xr-x[-rw-r--r--]src/mame/video/pc_t1t.cpp8
-rwxr-xr-x[-rw-r--r--]src/mame/video/pc_t1t.h1
2 files changed, 8 insertions, 1 deletions
diff --git a/src/mame/video/pc_t1t.cpp b/src/mame/video/pc_t1t.cpp
index 28ec71c1fd4..f4785b0ed0b 100644..100755
--- a/src/mame/video/pc_t1t.cpp
+++ b/src/mame/video/pc_t1t.cpp
@@ -149,7 +149,7 @@ void pcvideo_pcjr_device::device_add_mconfig(machine_config &config)
m_mc6845->set_show_border_area(false);
m_mc6845->set_char_width(8);
m_mc6845->set_update_row_callback(FUNC(pcvideo_pcjr_device::crtc_update_row));
- m_mc6845->out_de_callback().set(FUNC(pc_t1t_device::t1000_de_changed));
+ m_mc6845->out_de_callback().set(FUNC(pcvideo_pcjr_device::de_changed));
m_mc6845->out_vsync_callback().set(FUNC(pcvideo_pcjr_device::pcjr_vsync_changed));
ADDRESS_MAP_BANK(config, m_vram).set_map(&pc_t1t_device::vram_map).set_options(ENDIANNESS_LITTLE, 8, 18, 0x4000);
@@ -989,6 +989,12 @@ uint8_t pc_t1t_device::read(offs_t offset)
WRITE_LINE_MEMBER( pc_t1t_device::t1000_de_changed )
{
+ m_display_enable = state ? 0 : 1;
+}
+
+
+WRITE_LINE_MEMBER( pcvideo_pcjr_device::de_changed )
+{
m_display_enable = state ? 1 : 0;
}
diff --git a/src/mame/video/pc_t1t.h b/src/mame/video/pc_t1t.h
index 78b2be4a617..a1484d0d05f 100644..100755
--- a/src/mame/video/pc_t1t.h
+++ b/src/mame/video/pc_t1t.h
@@ -127,6 +127,7 @@ public:
void write(offs_t offset, uint8_t data);
+ DECLARE_WRITE_LINE_MEMBER( de_changed );
MC6845_UPDATE_ROW( pcjx_text_update_row );
MC6845_UPDATE_ROW( pcjr_gfx_2bpp_high_update_row );