src/mess/video/pc_mda.c
| r2078 | r2079 | |
| 378 | 378 | The divder/pixels per 6845 clock is 9 for text mode and 16 for graphics mode. |
| 379 | 379 | */ |
| 380 | 380 | |
| 381 | | static mc6845_interface mc6845_hercules_intf = { |
| 381 | static const mc6845_interface mc6845_hercules_intf = { |
| 382 | 382 | HERCULES_SCREEN_NAME, /* screen number */ |
| 383 | 383 | MDA_CLOCK/9 /*?*/, /* clock */ |
| 384 | 384 | 9, /* number of pixels per video memory address */ |
| r2078 | r2079 | |
| 502 | 502 | mda.update_row = NULL; |
| 503 | 503 | } |
| 504 | 504 | |
| 505 | | mc6845_hercules_intf.hpixels_per_column = mda.mode_control & 0x02 ? 16 : 9; |
| 506 | 505 | mc6845_set_clock( devconf, mda.mode_control & 0x02 ? MDA_CLOCK / 16 : MDA_CLOCK / 9 ); |
| 506 | mc6845_set_hpixels_per_column( devconf, mda.mode_control & 0x02 ? 16 : 9 ); |
| 507 | 507 | } |
| 508 | 508 | |
| 509 | 509 | |