Previous 15994 Revisions Next

r2860 Tuesday 17th June, 2008 at 10:38:55 UTC by Miodrag Milanović
[MIKRO80][UT88] Fix for display attributes
[src/mess/video]mikro80.c ut88.c

src/mess/video/mikro80.c
r2859r2860
4646   {
4747      for(x = 0; x < 64; x++ )
4848      {
49         int code = mikro80_cursor_ram[x + y*64];     
49         int code = mikro80_cursor_ram[(x+1) + y*64];     
5050         if (code == 0x80 ) {
5151            drawgfx(bitmap, screen->machine->gfx[0],  0xff , 0, 0,0, x*8,y*8,
5252               NULL, TRANSPARENCY_NONE, 0);
src/mess/video/ut88.c
r2859r2860
3535   {
3636      for(x = 0; x < 64; x++ )
3737      {
38         int code = ut88_video_ram[ x + y*64 ];     
39         drawgfx(bitmap, screen->machine->gfx[0],  code , 0, 0,0, x*8,y*8,
38         int code = ut88_video_ram[ x + y*64 ] & 0x7f;     
39         int attr = ut88_video_ram[ x+1 + y*64 ] & 0x80;
40         drawgfx(bitmap, screen->machine->gfx[0],  code | attr, 0, 0,0, x*8,y*8,
4041            NULL, TRANSPARENCY_NONE, 0);
4142      }
42   }
43   }   
4344   return 0;
4445}
4546

Previous 15994 Revisions Next


© 1998-2018 The MESS Team