| Previous | 15994 Revisions | Next |
| r2842 Thursday 12th June, 2008 at 07:05:00 UTC by Miodrag Milanović |
|---|
| [I8275] Some small fixes |
| [src/mess/video] | apogee.c i8275.c mikrosha.c radio86.c |
| r2841 | r2842 | |
|---|---|---|
| 331 | 331 | UINT8 vsp = 0; |
| 332 | 332 | UINT8 lten = 0; |
| 333 | 333 | UINT8 fifo_read = 0; |
| 334 | UINT8 curcol = (i8275->field_attribute_mode==0) ? i8275->cursor_col : i8275->cursor_col-1; | |
| 334 | 335 | for(line=0;line<=i8275->lines_per_row;line++) { |
| 335 | 336 | // If line counter is 1 then select right values |
| 336 | 337 | lc = (i8275->line_counter_mode==1) ? (line - 1) % i8275->lines_per_row : line; |
| r2841 | r2842 | |
| 362 | 363 | } |
| 363 | 364 | } |
| 364 | 365 | |
| 365 | if ((i8275->current_row == i8275->cursor_row) && (xpos == | |
| 366 | if ((i8275->current_row == i8275->cursor_row) && (xpos == | |
| 366 | 367 | int vis = 1; |
| 367 | 368 | if ((i8275->cursor_format & 2)==0) { |
| 368 | 369 | vis = (i8275->cursor_blink_cnt<16) ? 1 : 0; |
| r2841 | r2842 | |
|---|---|---|
| 26 | 26 | pixels ^= 0xff; |
| 27 | 27 | } |
| 28 | 28 | for(i=0;i<6;i++) { |
| 29 | *BITMAP_ADDR16(bitmap, y, x + i) = (pixels >> (5-i)) & 1; | |
| 29 | *BITMAP_ADDR16(bitmap, y, x + i) = (pixels >> (5-i)) & 1 ? (hlgt ? 2 : 1) : 0; | |
| 30 | 30 | } |
| 31 | 31 | } |
| 32 | 32 |
| r2841 | r2842 | |
|---|---|---|
| 28 | 28 | pixels ^= 0xff; |
| 29 | 29 | } |
| 30 | 30 | for(i=0;i<6;i++) { |
| 31 | *BITMAP_ADDR16(bitmap, y, x + i) = (pixels >> (5-i)) & 1; | |
| 31 | *BITMAP_ADDR16(bitmap, y, x + i) = (pixels >> (5-i)) & 1 ? (hlgt ? 2 : 1) : 0; | |
| 32 | 32 | } |
| 33 | 33 | } |
| 34 | 34 |
| r2841 | r2842 | |
|---|---|---|
| 26 | 26 | pixels ^= 0xff; |
| 27 | 27 | } |
| 28 | 28 | for(i=0;i<6;i++) { |
| 29 | *BITMAP_ADDR16(bitmap, y, x + i) = (pixels >> (5-i)) & 1; | |
| 29 | *BITMAP_ADDR16(bitmap, y, x + i) = (pixels >> (5-i)) & 1 ? (hlgt ? 2 : 1) : 0; | |
| 30 | 30 | } |
| 31 | 31 | } |
| 32 | 32 |
| Previous | 15994 Revisions | Next |