src/mess/video/gb.c
| r4056 | r4057 | |
| 209 | 209 | number of sprites selected. |
| 210 | 210 | */ |
| 211 | 211 | static void gb_select_sprites( void ) { |
| 212 | | int i, yindex, line, height; |
| 212 | int i, /*yindex,*/ line, height; |
| 213 | 213 | UINT8 *oam = gb_oam + 39 * 4; |
| 214 | 214 | |
| 215 | 215 | gb_lcd.sprCount = 0; |
| r4056 | r4057 | |
| 223 | 223 | height = 8; |
| 224 | 224 | } |
| 225 | 225 | |
| 226 | | yindex = gb_lcd.current_line; |
| 226 | //yindex = gb_lcd.current_line; |
| 227 | 227 | line = gb_lcd.current_line + 16; |
| 228 | 228 | |
| 229 | 229 | for( i = 39; i >= 0; i-- ) { |
src/mess/video/cgenie.c
| r4056 | r4057 | |
| 69 | 69 | ***************************************************************************/ |
| 70 | 70 | WRITE8_HANDLER ( cgenie_register_w ) |
| 71 | 71 | { |
| 72 | | int addr; |
| 72 | //int addr; |
| 73 | 73 | |
| 74 | 74 | switch (crt.idx) |
| 75 | 75 | { |
| r4056 | r4057 | |
| 130 | 130 | if( crt.cursor_top == data ) |
| 131 | 131 | break; |
| 132 | 132 | crt.cursor_top = data; |
| 133 | | addr = 256 * crt.cursor_address_hi + crt.cursor_address_lo; |
| 133 | //addr = 256 * crt.cursor_address_hi + crt.cursor_address_lo; |
| 134 | 134 | break; |
| 135 | 135 | case 11: |
| 136 | 136 | if( crt.cursor_bottom == data ) |
| 137 | 137 | break; |
| 138 | 138 | crt.cursor_bottom = data; |
| 139 | | addr = 256 * crt.cursor_address_hi + crt.cursor_address_lo; |
| 139 | //addr = 256 * crt.cursor_address_hi + crt.cursor_address_lo; |
| 140 | 140 | break; |
| 141 | 141 | case 12: |
| 142 | 142 | data &= 63; |
| r4056 | r4057 | |
| 154 | 154 | if( crt.cursor_address_hi == data ) |
| 155 | 155 | break; |
| 156 | 156 | crt.cursor_address_hi = data; |
| 157 | | addr = 256 * crt.cursor_address_hi + crt.cursor_address_lo; |
| 157 | //addr = 256 * crt.cursor_address_hi + crt.cursor_address_lo; |
| 158 | 158 | break; |
| 159 | 159 | case 15: |
| 160 | 160 | if( crt.cursor_address_lo == data ) |
| 161 | 161 | break; |
| 162 | 162 | crt.cursor_address_lo = data; |
| 163 | | addr = 256 * crt.cursor_address_hi + crt.cursor_address_lo; |
| 163 | //addr = 256 * crt.cursor_address_hi + crt.cursor_address_lo; |
| 164 | 164 | break; |
| 165 | 165 | } |
| 166 | 166 | } |
src/mess/video/kaypro.c
| r4056 | r4057 | |
| 462 | 462 | { 0x020, 0x010}, |
| 463 | 463 | {AT_REVERSE, 0x040} |
| 464 | 464 | }; |
| 465 | | int cx, cy, offs, bits; |
| 465 | int cx, cy, /*offs,*/ bits; |
| 466 | 466 | short attr; |
| 467 | 467 | |
| 468 | 468 | /* The Kaypro 2x font has a 2x4 pattern block graphics */ |
| 469 | 469 | cx = x / 2; |
| 470 | 470 | cy = y / 4; |
| 471 | | offs = cy * KAYPRO_SCREEN_W + cx; |
| 471 | //offs = cy * KAYPRO_SCREEN_W + cx; |
| 472 | 472 | attr = terminal_getchar(kaypro_terminal, cx, cy); |
| 473 | 473 | |
| 474 | 474 | /* if it is a space, we change it to a graphic space */ |