src/mess/video/pc_mda.c
| r2184 | r2185 | |
| 135 | 135 | UINT16 chr_base = ( ra & 0x08 ) ? 0x800 | ( ra & 0x07 ) : ra; |
| 136 | 136 | int i; |
| 137 | 137 | |
| 138 | | if ( y == 0 ) logerror("mda_text_inten_update_row\n"); |
| 138 | if ( y == 0 ) MDA_LOG(1,"mda_text_inten_update_row",("\n")); |
| 139 | 139 | for ( i = 0; i < x_count; i++ ) { |
| 140 | 140 | UINT16 offset = ( ( ma + i ) << 1 ) & 0x0FFF; |
| 141 | 141 | UINT8 chr = videoram[ offset ]; |
| r2184 | r2185 | |
| 199 | 199 | UINT16 chr_base = ( ra & 0x08 ) ? 0x800 | ( ra & 0x07 ) : ra; |
| 200 | 200 | int i; |
| 201 | 201 | |
| 202 | | if ( y == 0 ) logerror("mda_text_blink_update_row\n"); |
| 202 | if ( y == 0 ) MDA_LOG(1,"mda_text_blink_update_row",("\n")); |
| 203 | 203 | for ( i = 0; i < x_count; i++ ) { |
| 204 | 204 | UINT16 offset = ( ( ma + i ) << 1 ) & 0x0FFF; |
| 205 | 205 | UINT8 chr = videoram[ offset ]; |
| r2184 | r2185 | |
| 445 | 445 | UINT16 gfx_base = ( ( mda.mode_control & 0x80 ) ? 0x8000 : 0x0000 ) | ( ( ra & 0x03 ) << 13 ); |
| 446 | 446 | int i; |
| 447 | 447 | |
| 448 | | if ( y == 0 ) logerror("hercules_gfx_update_row\n"); |
| 448 | if ( y == 0 ) MDA_LOG(1,"hercules_gfx_update_row",("\n")); |
| 449 | 449 | for ( i = 0; i < x_count; i++ ) { |
| 450 | 450 | UINT8 data = videoram[ gfx_base + ( ( ma + i ) << 1 ) ]; |
| 451 | 451 | |