Previous 15994 Revisions Next

r3603 Wednesday 26th November, 2008 at 21:04:06 UTC by Curt Coder
[Z80DMA] Oops, this is the correct revision before timer changes in MAME.
[src/emu/machine]z80dma.c

src/emu/machine/z80dma.c
r3602r3603
411411
412412   param = (data ? 1 : 0);
413413   LOG(("RDY: %d Active High: %d\n", data, READY_ACTIVE_HIGH(z80dma)));
414   timer_call_after_resynch(device->machine, (void *) device, param, z80dma_rdy_write_callback);
414   timer_call_after_resynch((void *) device, param, z80dma_rdy_write_callback);
415415}
416416
417417
r3602r3603
449449
450450   z80dma->intf = device->static_config;
451451
452   z80dma->timer = timer_alloc(device->machine, z80dma_timerproc, (void *) device);
452   z80dma->timer = timer_alloc(z80dma_timerproc, (void *) device);
453453
454454   state_save_register_item_array("z80dma", device->tag, 0, z80dma->regs);
455455   state_save_register_item_array("z80dma", device->tag, 0, z80dma->regs_follow);

Previous 15994 Revisions Next


© 1998-2018 The MESS Team