summaryrefslogtreecommitdiffstats
path: root/src/mess/video
diff options
context:
space:
mode:
authorGravatarGravatar Robbbert <robbbert@users.noreply.github.com>2013-12-24 02:56:11 +0000
committerGravatarGravatar Robbbert <robbbert@users.noreply.github.com>2013-12-24 02:56:11 +0000
commit39bf80cf5ca0c9b275708485b99bb0f2f0b28a54 (patch)
tree9219d4d24dc8b7072434dfb53cf7629b3873f7de /src/mess/video
parent54f38079108e329284c1de5e07e395784482e717 (diff)
(MESS) bbc : fixed character position in mode 7
Diffstat (limited to 'src/mess/video')
-rw-r--r--src/mess/video/bbc.c15
1 files changed, 6 insertions, 9 deletions
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<bbc_state>();
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);