Previous 199869 Revisions Next

r26734 Tuesday 24th December, 2013 at 02:56:11 UTC by Robbbert
(MESS) bbc : fixed character position in mode 7
[src/mess/video]bbc.c

trunk/src/mess/video/bbc.c
r26733r26734
1010    mames built in mc6845, there are a number of features now incorrect
1111    or missing in this build:
1212
13    Cursors are missing.
14    Mode 7 is shifted to the right by a couple of character.
1513    BBC split modes no longer work (Like is used in Elite.)
1614
1715******************************************************************************/
r26733r26734
169167   bbc_state *state = device->machine().driver_data<bbc_state>();
170168   const rgb_t *palette = palette_entry_list_raw(bitmap.palette());
171169
172   //logerror("MC6845_UPDATE_ROW: ma=%d, ra=%d, y=%d, x_count=%d\n",ma,ra,y,x_count);
173
174170   if (state->m_videoULA_teletext_normal_select)
175171   {
176172      state->m_trom->lose_w(1);
r26733r26734
182178         //Teletext Latch bit 6 is only passed onto bits 6 on the Teletext chip if DE is true
183179         //Teletext Latch bit 7 goes to LOSE on the Teletext chip
184180
185         state->m_trom->write((state->m_Teletext_Latch&0x3f)|(state->m_Teletext_Latch&0x40));
186
187         state->m_trom->f1_w(1);
188         state->m_trom->f1_w(0);
189
190181         if (((ma>>13)&1)==0)
191182         {
192183            state->m_Teletext_Latch=0;
193184         } else {
194185            state->m_Teletext_Latch=(state->m_BBC_Video_RAM[state->calculate_video_address(ma+x_pos,ra)]);
195186         }
187
188         state->m_trom->write((state->m_Teletext_Latch&0x3f)|(state->m_Teletext_Latch&0x40));
189
190         state->m_trom->f1_w(1);
191         state->m_trom->f1_w(0);
192
196193         for(int pixelno=0;pixelno<6;pixelno++)
197194         {
198195            state->m_trom->tr6_w(1);

Previous 199869 Revisions Next


© 1997-2024 The MAME Team