src/mess/drivers/mc1000.c
| r5488 | r5489 | |
| 274 | 274 | return data; |
| 275 | 275 | } |
| 276 | 276 | |
| 277 | static UINT8 mc1000_get_char_rom(running_machine *machine, UINT8 ch,int line) |
| 278 | { |
| 279 | return ch; |
| 280 | } |
| 281 | |
| 277 | 282 | static const UINT8 *mc1000_get_video_ram(running_machine *machine, int scanline) |
| 278 | 283 | { |
| 279 | 284 | mc1000_state *state = machine->driver_data; |
| r5488 | r5489 | |
| 310 | 315 | cfg.field_sync_callback = mc1000_vsync; |
| 311 | 316 | cfg.get_attributes = mc1000_get_attributes; |
| 312 | 317 | cfg.get_video_ram = mc1000_get_video_ram; |
| 318 | cfg.get_char_rom = mc1000_get_char_rom; |
| 313 | 319 | |
| 314 | 320 | m6847_init(machine, &cfg); |
| 315 | 321 | } |