Previous 15994 Revisions Next

r2046 Friday 21st March, 2008 at 21:19:21 UTC by Wilbert Pol
[T1000] Fixed default palette when switching to a 2bpp mode.
[src/mess/video]pc_t1t.c

src/mess/video/pc_t1t.c
r2045r2046
288288      switch( pcjr.bank & 0xc0 ) {
289289      case 0x00:
290290      case 0x40:
291         //logerror("t1t_gfx_2bpp\n");
291         //logerror("t1t_gfx_2bpp - 1\n");
292292         pcjr.update_row = t1000_gfx_2bpp_update_row;
293         if ( pcjr.color_select ) {
294            pcjr.reg.data[0x10] = 0x00;
295            pcjr.reg.data[0x11] = 0x0B;
296            pcjr.reg.data[0x12] = 0x0D;
297            pcjr.reg.data[0x13] = 0x0F;
298         } else {
299            pcjr.reg.data[0x10] = 0x00;
300            pcjr.reg.data[0x11] = 0x0A;
301            pcjr.reg.data[0x12] = 0x0C;
302            pcjr.reg.data[0x13] = 0x0E;
303         }
293304         break;
294305      case 0x80:
295306      case 0xc0:
r2045r2046
308319         break;
309320      case 0x80:
310321      case 0xc0:
311         //logerror("t1t_gfx_2bpp\n");
322         //logerror("t1t_gfx_2bpp - 2\n");
312323         pcjr.update_row = t1000_gfx_2bpp_update_row;
313324         break;
314325      }

Previous 15994 Revisions Next


© 1998-2018 The MESS Team