trunk/src/mess/machine/amigakbd.c
r32497 | r32498 | |
15 | 15 | - Add support for more keyboard controllers (pending on them |
16 | 16 | getting dumped) |
17 | 17 | |
| 18 | Amiga 1000 keyboard part numbers (manufactured by Mitsumi): |
| 19 | |
| 20 | - 327063-01 R56-2144 English |
| 21 | - 327063-02 British |
| 22 | - 327063-03 R56-2153 German |
| 23 | - 327063-04 R56-2152 French |
| 24 | - 327063-05 R56-2154 Italian |
| 25 | |
18 | 26 | ***************************************************************************/ |
19 | 27 | |
20 | 28 | #include "amigakbd.h" |
r32497 | r32498 | |
294 | 302 | |
295 | 303 | void amigakbd_device::device_start() |
296 | 304 | { |
| 305 | // resolve callbacks |
297 | 306 | m_write_kclk.resolve_safe(); |
298 | 307 | m_write_kdat.resolve_safe(); |
299 | 308 | m_write_krst.resolve_safe(); |
| 309 | |
| 310 | // allocate timers |
300 | 311 | m_timer = timer_alloc(0, NULL); |
301 | 312 | m_watchdog = timer_alloc(1, NULL); |
302 | 313 | m_reset = timer_alloc(2, NULL); |
| 314 | |
| 315 | // register for save states |
| 316 | save_item(NAME(m_kdat)); |
| 317 | save_item(NAME(m_kclk)); |
| 318 | save_item(NAME(m_port_c)); |
| 319 | save_item(NAME(m_port_d)); |
| 320 | save_item(NAME(m_latch)); |
| 321 | save_item(NAME(m_counter)); |
| 322 | save_item(NAME(m_control)); |
303 | 323 | } |
304 | 324 | |
305 | 325 | //------------------------------------------------- |