Previous 199869 Revisions Next

r32498 Thursday 2nd October, 2014 at 13:52:51 UTC by Dirk Best
Amiga: Add save state support to the Amiga keyboard and some info about
A1000 keyboards.
[src/mess/machine]amigakbd.c

trunk/src/mess/machine/amigakbd.c
r32497r32498
1515         - Add support for more keyboard controllers (pending on them
1616           getting dumped)
1717
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
1826***************************************************************************/
1927
2028#include "amigakbd.h"
r32497r32498
294302
295303void amigakbd_device::device_start()
296304{
305   // resolve callbacks
297306   m_write_kclk.resolve_safe();
298307   m_write_kdat.resolve_safe();
299308   m_write_krst.resolve_safe();
309
310   // allocate timers
300311   m_timer = timer_alloc(0, NULL);
301312   m_watchdog = timer_alloc(1, NULL);
302313   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));
303323}
304324
305325//-------------------------------------------------

Previous 199869 Revisions Next


© 1997-2024 The MAME Team