Previous 199869 Revisions Next

r22675 Sunday 5th May, 2013 at 06:33:01 UTC by Robbbert
(MESS) Applix: Fixed display of 640x200 text
[src/mess/drivers]applix.c

trunk/src/mess/drivers/applix.c
r22674r22675
240240
241241   for (x = 0; x < x_count; x++)
242242   {
243      mem = vidbase + ma*4 + x + ra*x_count;
244      chr = state->m_base[mem];
245243
246244      if (BIT(state->m_pa, 3))
247245      // 640 x 200 x 4of16 mode
248246      {
247         mem = vidbase + ma + x + ((y%4)<<12);
248         chr = state->m_base[mem];
249249         for (i = 0; i < 8; i++)
250250         {
251251            *p++ = palette[state->m_palette_latch[chr>>14]];
r22674r22675
255255      else
256256      // 320 x 200 x 16 mode
257257      {
258         mem = vidbase + ma + x + ((y%4)<<12);
259         chr = state->m_expansion[mem];
258260         for (i = 0; i < 4; i++)
259261         {
260262            *p++ = palette[chr>>12];

Previous 199869 Revisions Next


© 1997-2024 The MAME Team