trunk/src/emu/video/pc_vga.c
| r20022 | r20023 | |
| 243 | 243 | // Avoid an infinite loop when displaying. 0 is not possible anyway. |
| 244 | 244 | vga.crtc.maximum_scan_line = 1; |
| 245 | 245 | |
| 246 | | |
| 247 | 246 | // copy over interfaces |
| 248 | 247 | vga.read_dipswitch = read8_delegate(); //read_dipswitch; |
| 249 | 248 | vga.svga_intf.vram_size = 0x200000; |
| r20022 | r20023 | |
| 251 | 250 | vga.svga_intf.crtc_regcount = 0x19; |
| 252 | 251 | |
| 253 | 252 | vga.memory = auto_alloc_array_clear(machine(), UINT8, vga.svga_intf.vram_size); |
| 253 | |
| 254 | m_vblank_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(vga_device::vblank_timer_cb),this)); |
| 254 | 255 | } |
| 255 | 256 | |
| 256 | 257 | void ati_vga_device::device_start() |