| 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 |
| r2859 | r2860 | |
|---|---|---|
| 46 | 46 | { |
| 47 | 47 | for(x = 0; x < 64; x++ ) |
| 48 | 48 | { |
| 49 | int code = mikro80_cursor_ram[x + y*64]; | |
| 49 | int code = mikro80_cursor_ram[(x+1) + y*64]; | |
| 50 | 50 | if (code == 0x80 ) { |
| 51 | 51 | drawgfx(bitmap, screen->machine->gfx[0], 0xff , 0, 0,0, x*8,y*8, |
| 52 | 52 | NULL, TRANSPARENCY_NONE, 0); |
| r2859 | r2860 | |
|---|---|---|
| 35 | 35 | { |
| 36 | 36 | for(x = 0; x < 64; x++ ) |
| 37 | 37 | { |
| 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, | |
| 40 | 41 | NULL, TRANSPARENCY_NONE, 0); |
| 41 | 42 | } |
| 42 | } | |
| 43 | } | |
| 43 | 44 | return 0; |
| 44 | 45 | } |
| 45 | 46 |
| Previous | 15994 Revisions | Next |