Previous 199869 Revisions Next

r26661 Thursday 19th December, 2013 at 12:24:39 UTC by Robbbert
(MESS) bbc : added back the cursor

Note: in mode 7 (default), it's the text which is out of position.
[src/mess/video]bbc.c

trunk/src/mess/video/bbc.c
r26660r26661
198198            state->m_trom->tr6_w(1);
199199            state->m_trom->tr6_w(0);
200200
201            int col=state->m_trom->get_rgb();
201            int col=state->m_trom->get_rgb() ^ ((x_pos==cursor_x) ? 7 : 0);
202202
203203            int r = BIT(col, 0) * 0xff;
204204            int g = BIT(col, 1) * 0xff;
r26660r26661
230230
231231            for(int pixelno=0;pixelno<state->m_pixels_per_byte;pixelno++)
232232            {
233               int col=state->m_videoULA_pallet_lookup[state->m_pixel_bits[i]];
233               int col=state->m_videoULA_pallet_lookup[state->m_pixel_bits[i]] ^ ((x_pos==cursor_x) ? 7 : 0);
234234               bitmap.pix32(y, (x_pos*state->m_pixels_per_byte)+pixelno)=palette[col];
235235               i=(i<<1)|1;
236236            }

Previous 199869 Revisions Next


© 1997-2024 The MAME Team