Previous 15994 Revisions Next

r13588 Friday 16th December, 2011 at 04:39:12 UTC by R. Belmont
mac: add some new documentation, fix "no keypress" code for ADB systems (nw)
[src/mess/machine]mac.c

src/mess/machine/mac.c
r13587r13588
7777
7878     Caboose version spotting:
7979     341S0853 - 0x0100 (1.00) - Quadra 950
80
80 
81     PG&E (68HC05 PMU) version spotting:
82     (find the text "BORG" in the system ROM, the next 32768 bytes are the PG&E image.
83      offset +4 in the image is the version byte).
84     01 - PowerBook Duo 210/230/250
85     02 - PowerBook 540c, PBDuo 270C, PBDuo 280/280C
86     03 - PowerBook 150
87     08 - PB190cs, PowerBook 540c PPC update, all PowerPC PowerBooks through WallStreet G3s
88 
8189****************************************************************************/
8290
8391#define ADDRESS_MAP_MODERN
r13587r13588
15861594   int i, j, keybuf, report, codes[2], result;
15871595   static const char *const keynames[] = { "KEY0", "KEY1", "KEY2", "KEY3", "KEY4", "KEY5" };
15881596
1589   codes[0] = codes[1] = 0x80;   // key up
1597   codes[0] = codes[1] = 0xff;   // key up
15901598   report = result = 0;
15911599
15921600   for (i = 0; i < 6; i++)
r13587r13588
25672575   // keyboard
25682576   m_adb_keybaddr = 2;
25692577   m_adb_keybinitialized = 0;
2570   m_adb_currentkeys[0] = m_adb_currentkeys[1] = 0x80;
2578   m_adb_currentkeys[0] = m_adb_currentkeys[1] = 0xff;
25712579   m_adb_modifiers = 0;
25722580   for (i=0; i<7; i++)
25732581   {
r13587r13588
34133421MAC_DRIVER_INIT(macpb160, MODEL_MAC_PB160)
34143422MAC_DRIVER_INIT(maciivx, MODEL_MAC_IIVX)
34153423MAC_DRIVER_INIT(maciifx, MODEL_MAC_IIFX)
3416MAC_DRIVER_INIT(macpbduo210, MODEL_MAC_PBDUO_210)
3424MAC_DRIVER_INIT(macpd210, MODEL_MAC_PBDUO_210)
34173425MAC_DRIVER_INIT(macquadra700, MODEL_MAC_QUADRA_700)
34183426MAC_DRIVER_INIT(maciicx, MODEL_MAC_IICX)
34193427MAC_DRIVER_INIT(maciifdhd, MODEL_MAC_II_FDHD)

Previous 15994 Revisions Next


© 1998-2018 The MESS Team