Previous 15994 Revisions Next

r9185 Sunday 19th September, 2010 at 09:37:18 UTC by Curt Coder
[ABC77] Cleanup.
[src/mess/machine]abc77.c

src/mess/machine/abc77.c
r9184r9185
403403   abc77_t *abc77 = (abc77_t *)downcast<legacy_device_base *>(device)->token();
404404   const abc77_interface *intf = get_interface(device);
405405
406   astring tempstring;
407
408406   /* resolve callbacks */
409407   devcb_resolve_write_line(&abc77->out_txd_func, &intf->out_txd_func, device);
410408   devcb_resolve_write_line(&abc77->out_clock_func, &intf->out_clock_func, device);
411409   devcb_resolve_write_line(&abc77->out_keydown_func, &intf->out_keydown_func, device);
412410
413411   /* find our CPU */
414   astring_printf(&tempstring, "%s:%s", device->tag(), I8035_TAG);
415   abc77->cpu = device->machine->device(astring_c(&tempstring));
412   abc77->cpu = device->subdevice(I8035_TAG);
416413
417414   /* allocate reset timer */
418415   abc77->reset_timer = timer_alloc(device->machine, reset_tick, (FPTR *) device);

Previous 15994 Revisions Next


© 1998-2018 The MESS Team