25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: dev_scc.c,v 1.28 2005/10/26 14:37:04 debug Exp $ |
* $Id: dev_scc.c,v 1.29 2005/11/13 00:14:09 debug Exp $ |
29 |
* |
* |
30 |
* Serial controller on some DECsystems and SGI machines. (Z8530 ?) |
* Serial controller on some DECsystems and SGI machines. (Z8530 ?) |
31 |
* Most of the code in here is written for DECsystem emulation, though. |
* Most of the code in here is written for DECsystem emulation, though. |
475 |
d->console_handle, d); |
d->console_handle, d); |
476 |
|
|
477 |
memory_device_register(mem, "scc", baseaddr, DEV_SCC_LENGTH, |
memory_device_register(mem, "scc", baseaddr, DEV_SCC_LENGTH, |
478 |
dev_scc_access, d, MEM_DEFAULT, NULL); |
dev_scc_access, d, DM_DEFAULT, NULL); |
479 |
machine_add_tickfunction(machine, dev_scc_tick, d, SCC_TICK_SHIFT); |
machine_add_tickfunction(machine, dev_scc_tick, d, SCC_TICK_SHIFT); |
480 |
|
|
481 |
return (void *) d; |
return (void *) d; |