src/mess/machine/mac.c
| r13587 | r13588 | |
| 77 | 77 | |
| 78 | 78 | Caboose version spotting: |
| 79 | 79 | 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 | |
| 81 | 89 | ****************************************************************************/ |
| 82 | 90 | |
| 83 | 91 | #define ADDRESS_MAP_MODERN |
| r13587 | r13588 | |
| 1586 | 1594 | int i, j, keybuf, report, codes[2], result; |
| 1587 | 1595 | static const char *const keynames[] = { "KEY0", "KEY1", "KEY2", "KEY3", "KEY4", "KEY5" }; |
| 1588 | 1596 | |
| 1589 | | codes[0] = codes[1] = 0x80; // key up |
| 1597 | codes[0] = codes[1] = 0xff; // key up |
| 1590 | 1598 | report = result = 0; |
| 1591 | 1599 | |
| 1592 | 1600 | for (i = 0; i < 6; i++) |
| r13587 | r13588 | |
| 2567 | 2575 | // keyboard |
| 2568 | 2576 | m_adb_keybaddr = 2; |
| 2569 | 2577 | m_adb_keybinitialized = 0; |
| 2570 | | m_adb_currentkeys[0] = m_adb_currentkeys[1] = 0x80; |
| 2578 | m_adb_currentkeys[0] = m_adb_currentkeys[1] = 0xff; |
| 2571 | 2579 | m_adb_modifiers = 0; |
| 2572 | 2580 | for (i=0; i<7; i++) |
| 2573 | 2581 | { |
| r13587 | r13588 | |
| 3413 | 3421 | MAC_DRIVER_INIT(macpb160, MODEL_MAC_PB160) |
| 3414 | 3422 | MAC_DRIVER_INIT(maciivx, MODEL_MAC_IIVX) |
| 3415 | 3423 | MAC_DRIVER_INIT(maciifx, MODEL_MAC_IIFX) |
| 3416 | | MAC_DRIVER_INIT(macpbduo210, MODEL_MAC_PBDUO_210) |
| 3424 | MAC_DRIVER_INIT(macpd210, MODEL_MAC_PBDUO_210) |
| 3417 | 3425 | MAC_DRIVER_INIT(macquadra700, MODEL_MAC_QUADRA_700) |
| 3418 | 3426 | MAC_DRIVER_INIT(maciicx, MODEL_MAC_IICX) |
| 3419 | 3427 | MAC_DRIVER_INIT(maciifdhd, MODEL_MAC_II_FDHD) |