Previous 15994 Revisions Next

r6879 Sunday 3rd January, 2010 at 00:57:13 UTC by Robbbert
[KAYPRO] Kaypro10 - fixed cursor
[src/mess/video]kaypro.c

src/mess/video/kaypro.c
r6878r6879
195195      if ((ra == 15) && (attr & 8))   /* underline */
196196         gfx = 0xff;
197197      else
198         gfx = FNT[(chr<<4) | ra ];
198         gfx = FNT[(chr<<4) | ra ] ^ inv;
199199
200200      /* Display a scanline of a character (8 pixels) */
201201      *p = ( gfx & 0x80 ) ? fg : bg; p++;
r6878r6879
262262   visarea.max_x = width-1;
263263   visarea.min_y = 0;
264264   visarea.max_y = height-1;
265   if ((width < 800) && (height < 400) && (bytes < 0x800))   /* bounds checking to prevent an assert or violation */
265   if ((width < 640) && (height < 400) && (bytes < 0x800))   /* bounds checking to prevent an assert or violation */
266266      video_screen_set_visarea(machine->primary_screen, 0, width, 0, height);
267267}
268268

Previous 15994 Revisions Next


© 1998-2018 The MESS Team