src/mess/includes/apollo.h
| r14678 | r14679 | |
| 16 | 16 | |
| 17 | 17 | #include "emu.h" |
| 18 | 18 | |
| 19 | #include "cpu/m68000/m68000.h" |
| 20 | #include "machine/terminal.h" |
| 21 | #include "machine/ram.h" |
| 22 | #include "machine/omti8621.h" |
| 23 | #include "machine/sc499.h" |
| 24 | #include "machine/3c505.h" |
| 25 | #include "machine/68681.h" |
| 26 | |
| 19 | 27 | #ifndef VERBOSE |
| 20 | 28 | #define VERBOSE 0 |
| 21 | 29 | #endif |
| r14678 | r14679 | |
| 93 | 101 | // : driver_device(machine, config) { } |
| 94 | 102 | |
| 95 | 103 | apollo_state(const machine_config &mconfig, device_type type, const char *tag) |
| 96 | | : driver_device(mconfig, type, tag) { } |
| 104 | : driver_device(mconfig, type, tag), |
| 105 | m_ctape(*this, APOLLO_CTAPE_TAG) |
| 106 | { } |
| 97 | 107 | |
| 108 | required_device<sc499_device> m_ctape; |
| 109 | |
| 98 | 110 | device_t *dma8237_1; |
| 99 | 111 | device_t *dma8237_2; |
| 100 | 112 | device_t *pic8259_master; |
| 101 | 113 | device_t *pic8259_slave; |
| 114 | |
| 102 | 115 | }; |
| 103 | 116 | |
| 104 | 117 | MACHINE_CONFIG_EXTERN( apollo ); |
src/mess/drivers/apollo.c
| r14678 | r14679 | |
| 29 | 29 | |
| 30 | 30 | #include "includes/apollo.h" |
| 31 | 31 | #include "machine/apollo_kbd.h" |
| 32 | | #include "machine/omti8621.h" |
| 33 | | #include "machine/sc499.h" |
| 34 | | #include "machine/3c505.h" |
| 35 | | #include "machine/68681.h" |
| 36 | 32 | |
| 37 | 33 | #include "debugger.h" |
| 38 | 34 | |
| 39 | | #include "cpu/m68000/m68000.h" |
| 40 | 35 | #include "cpu/m68000/m68kcpu.h" |
| 41 | 36 | |
| 42 | | #include "machine/terminal.h" |
| 43 | | #include "machine/ram.h" |
| 44 | | |
| 45 | 37 | #include "sound/beep.h" |
| 46 | 38 | |
| 47 | 39 | #include "apollo_dsp.lh" |
| r14678 | r14679 | |
| 1050 | 1042 | |
| 1051 | 1043 | static void apollo_reset_instr_callback(device_t *device) |
| 1052 | 1044 | { |
| 1045 | apollo_state *apollo = device->machine().driver_data<apollo_state>(); |
| 1046 | |
| 1053 | 1047 | DLOG1(("apollo_reset_instr_callback")); |
| 1054 | | // FIXME: this will reset the CPU too |
| 1055 | | // device->machine().schedule_soft_reset(); // needs to call reset on the devices other than the CPU |
| 1048 | |
| 1049 | // reset non-CPU devices here |
| 1050 | apollo->m_ctape->device_reset(); |
| 1056 | 1051 | } |
| 1057 | 1052 | |
| 1058 | 1053 | /*************************************************************************** |