25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: dev_dec5800.c,v 1.16 2005/10/26 14:37:03 debug Exp $ |
* $Id: dev_dec5800.c,v 1.17 2005/11/13 00:14:08 debug Exp $ |
29 |
* |
* |
30 |
* Emulation of devices found in a DECsystem 58x0, where x is the number |
* Emulation of devices found in a DECsystem 58x0, where x is the number |
31 |
* of CPUs in the system. (The CPU board is called KN5800 by Ultrix.) |
* of CPUs in the system. (The CPU board is called KN5800 by Ultrix.) |
171 |
memset(d, 0, sizeof(struct dec5800_data)); |
memset(d, 0, sizeof(struct dec5800_data)); |
172 |
|
|
173 |
memory_device_register(mem, "dec5800", baseaddr, |
memory_device_register(mem, "dec5800", baseaddr, |
174 |
DEV_DEC5800_LENGTH, dev_dec5800_access, d, MEM_DEFAULT, NULL); |
DEV_DEC5800_LENGTH, dev_dec5800_access, d, DM_DEFAULT, NULL); |
175 |
memory_device_register(mem, "dec5800_vectors", |
memory_device_register(mem, "dec5800_vectors", |
176 |
baseaddr + 0x30000000, 0x100, dev_dec5800_vectors_access, |
baseaddr + 0x30000000, 0x100, dev_dec5800_vectors_access, |
177 |
d, MEM_DEFAULT, NULL); |
d, DM_DEFAULT, NULL); |
178 |
machine_add_tickfunction(machine, dev_dec5800_tick, d, 14); |
machine_add_tickfunction(machine, dev_dec5800_tick, d, 14); |
179 |
|
|
180 |
return d; |
return d; |
293 |
memset(d, 0, sizeof(struct decbi_data)); |
memset(d, 0, sizeof(struct decbi_data)); |
294 |
|
|
295 |
memory_device_register(mem, "decbi", baseaddr + 0x2000, |
memory_device_register(mem, "decbi", baseaddr + 0x2000, |
296 |
DEV_DECBI_LENGTH - 0x2000, dev_decbi_access, d, MEM_DEFAULT, NULL); |
DEV_DECBI_LENGTH - 0x2000, dev_decbi_access, d, DM_DEFAULT, NULL); |
297 |
} |
} |
298 |
|
|
299 |
|
|
375 |
memset(d, 0, sizeof(struct deccca_data)); |
memset(d, 0, sizeof(struct deccca_data)); |
376 |
|
|
377 |
memory_device_register(mem, "deccca", baseaddr, DEV_DECCCA_LENGTH, |
memory_device_register(mem, "deccca", baseaddr, DEV_DECCCA_LENGTH, |
378 |
dev_deccca_access, d, MEM_DEFAULT, NULL); |
dev_deccca_access, d, DM_DEFAULT, NULL); |
379 |
} |
} |
380 |
|
|
381 |
|
|
493 |
memset(d, 0, sizeof(struct decxmi_data)); |
memset(d, 0, sizeof(struct decxmi_data)); |
494 |
|
|
495 |
memory_device_register(mem, "decxmi", baseaddr, DEV_DECXMI_LENGTH, |
memory_device_register(mem, "decxmi", baseaddr, DEV_DECXMI_LENGTH, |
496 |
dev_decxmi_access, d, MEM_DEFAULT, NULL); |
dev_decxmi_access, d, DM_DEFAULT, NULL); |
497 |
} |
} |
498 |
|
|