From 39bf80cf5ca0c9b275708485b99bb0f2f0b28a54 Mon Sep 17 00:00:00 2001 From: Robbbert Date: Tue, 24 Dec 2013 02:56:11 +0000 Subject: (MESS) bbc : fixed character position in mode 7 --- src/mess/video/bbc.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'src/mess') diff --git a/src/mess/video/bbc.c b/src/mess/video/bbc.c index 7cc7301f24c..4771e3c80d9 100644 --- a/src/mess/video/bbc.c +++ b/src/mess/video/bbc.c @@ -10,8 +10,6 @@ mames built in mc6845, there are a number of features now incorrect or missing in this build: - Cursors are missing. - Mode 7 is shifted to the right by a couple of character. BBC split modes no longer work (Like is used in Elite.) ******************************************************************************/ @@ -169,8 +167,6 @@ static MC6845_UPDATE_ROW( vid_update_row ) bbc_state *state = device->machine().driver_data(); const rgb_t *palette = palette_entry_list_raw(bitmap.palette()); - //logerror("MC6845_UPDATE_ROW: ma=%d, ra=%d, y=%d, x_count=%d\n",ma,ra,y,x_count); - if (state->m_videoULA_teletext_normal_select) { state->m_trom->lose_w(1); @@ -182,17 +178,18 @@ static MC6845_UPDATE_ROW( vid_update_row ) //Teletext Latch bit 6 is only passed onto bits 6 on the Teletext chip if DE is true //Teletext Latch bit 7 goes to LOSE on the Teletext chip - state->m_trom->write((state->m_Teletext_Latch&0x3f)|(state->m_Teletext_Latch&0x40)); - - state->m_trom->f1_w(1); - state->m_trom->f1_w(0); - if (((ma>>13)&1)==0) { state->m_Teletext_Latch=0; } else { state->m_Teletext_Latch=(state->m_BBC_Video_RAM[state->calculate_video_address(ma+x_pos,ra)]); } + + state->m_trom->write((state->m_Teletext_Latch&0x3f)|(state->m_Teletext_Latch&0x40)); + + state->m_trom->f1_w(1); + state->m_trom->f1_w(0); + for(int pixelno=0;pixelno<6;pixelno++) { state->m_trom->tr6_w(1); -- cgit v1.2.3