Previous 15994 Revisions Next

r15822 Thursday 9th August, 2012 at 08:42:43 UTC by Miodrag Milanović
Rolled back overwritten changes (nw)
[src/emu/machine]mos6529.h
[src/emu/video]saa5050.c

src/emu/video/saa5050.c
r15821r15822
214214
215215   for (sy = 0; sy <= saa5050->y; sy++)
216216   {
217      bool dblhi = false;
218     
217219      /* Set start of line state */
218220      saa5050->flags = 0;
219221      saa5050->prvchr = 32;
r15821r15822
265267               break;
266268            case 0x0d:
267269               saa5050->flags |= SAA5050_DBLHI;
270               dblhi = true;
268271               break;
269272            case 0x18:
270273               saa5050->flags |= SAA5050_CONCEAL;
r15821r15822
319322         {
320323            if (saa5050->flags & SAA5050_DBLHI)
321324            {
322               drawgfxzoom_opaque(bitmap, cliprect, saa5050->screen->machine().gfx[saa5050->gfxnum + 1], code, colour, 0, 0, sx * 12, ssy * 20, 0x20000, 0x20000);
323               drawgfxzoom_opaque(bitmap, cliprect, saa5050->screen->machine().gfx[saa5050->gfxnum + 2], code, colour, 0, 0, sx * 12, (ssy + 1) * 20, 0x20000, 0x20000);
325               drawgfxzoom_opaque(bitmap, cliprect, saa5050->screen->machine().gfx[saa5050->gfxnum + 1], code & 0x7f, colour, 0, 0, sx * 12, ssy * 20, 0x20000, 0x20000);
326               drawgfxzoom_opaque(bitmap, cliprect, saa5050->screen->machine().gfx[saa5050->gfxnum + 2], code & 0x7f, colour, 0, 0, sx * 12, (ssy + 1) * 20, 0x20000, 0x20000);
324327            }
325328            else
326329            {
327               drawgfxzoom_opaque(bitmap, cliprect, saa5050->screen->machine().gfx[saa5050->gfxnum + 0], code, colour, 0, 0, sx * 12, ssy * 20, 0x20000, 0x20000);
330               drawgfxzoom_opaque(bitmap, cliprect, saa5050->screen->machine().gfx[saa5050->gfxnum + 0], code & 0x7f, colour, 0, 0, sx * 12, ssy * 20, 0x20000, 0x20000);
328331            }
329332         }
330333      }
331334
332      if (saa5050->flags & SAA5050_DBLHI)
335      if (dblhi)
333336      {
334337         sy++;
335         saa5050->flags &= ~SAA5050_DBLHI;
336338      }
337339   }
338340}
src/emu/machine/mos6529.h
r15821r15822
3333//  INTERFACE CONFIGURATION MACROS
3434//**************************************************************************
3535
36#define MCFG_MOS6529_ADD(_tag, _clock, _config) \
37   MCFG_DEVICE_ADD(_tag, MOS6529, _clock)   \
36#define MCFG_MOS6529_ADD(_tag, _config) \
37   MCFG_DEVICE_ADD(_tag, MOS6529, 0)   \
3838   MCFG_DEVICE_CONFIG(_config)
3939
4040#define MOS6529_INTERFACE(name) \

Previous 15994 Revisions Next


© 1998-2018 The MESS Team