| Previous | 199869 Revisions | Next |
| r20060 Friday 4th January, 2013 at 15:19:20 UTC by Curt Coder |
|---|
| (MESS) c64: Cartridge WIP. (nw) |
| [src/mess/machine] | c64_prophet64.c c64_prophet64.h c64_sfx_sound_expander.c c64_sfx_sound_expander.h |
| r20059 | r20060 | |
|---|---|---|
| 1 | 1 | /********************************************************************** |
| 2 | 2 | |
| 3 | P | |
| 3 | PROPHET64 cartridge emulation | |
| 4 | 4 | |
| 5 | 5 | Copyright MESS Team. |
| 6 | 6 | Visit http://mamedev.org for licensing and usage restrictions. |
| r20059 | r20060 | |
| 28 | 28 | //------------------------------------------------- |
| 29 | 29 | |
| 30 | 30 | c64_prophet64_cartridge_device::c64_prophet64_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 31 | device_t(mconfig, C64_PROPHET64, "C64 Prophet-64 cartridge", tag, owner, clock), | |
| 32 | device_c64_expansion_card_interface(mconfig, *this) | |
| 31 | device_t(mconfig, C64_PROPHET64, "PROPHET64", tag, owner, clock), | |
| 32 | device_c64_expansion_card_interface(mconfig, *this), | |
| 33 | m_bank(0) | |
| 33 | 34 | { |
| 34 | 35 | } |
| 35 | 36 | |
| r20059 | r20060 | |
| 51 | 52 | |
| 52 | 53 | void c64_prophet64_cartridge_device::device_reset() |
| 53 | 54 | { |
| 55 | m_bank = 0; | |
| 54 | 56 | m_exrom = 0; |
| 55 | 57 | } |
| 56 | 58 |
| r20059 | r20060 | |
|---|---|---|
| 1 | 1 | /********************************************************************** |
| 2 | 2 | |
| 3 | P | |
| 3 | PROPHET64 cartridge emulation | |
| 4 | 4 | |
| 5 | 5 | Copyright MESS Team. |
| 6 | 6 | Visit http://mamedev.org for licensing and usage restrictions. |
| r20059 | r20060 | |
| 12 | 12 | #ifndef __PROPHET64__ |
| 13 | 13 | #define __PROPHET64__ |
| 14 | 14 | |
| 15 | ||
| 16 | 15 | #include "emu.h" |
| 17 | 16 | #include "machine/c64exp.h" |
| 18 | 17 | |
| r20059 | r20060 | |
| 50 | 49 | extern const device_type C64_PROPHET64; |
| 51 | 50 | |
| 52 | 51 | |
| 52 | ||
| 53 | 53 | #endif |
| r20059 | r20060 | |
|---|---|---|
| 9 | 9 | |
| 10 | 10 | #include "c64_sfx_sound_expander.h" |
| 11 | 11 | |
| 12 | ||
| 13 | ||
| 14 | //************************************************************************** | |
| 15 | // MACROS / CONSTANTS | |
| 16 | //************************************************************************** | |
| 17 | ||
| 12 | 18 | #define YM3526_TAG "ic3" |
| 13 | 19 | |
| 20 | ||
| 21 | ||
| 14 | 22 | //************************************************************************** |
| 15 | 23 | // DEVICE DEFINITIONS |
| 16 | 24 | //************************************************************************** |
| r20059 | r20060 | |
|---|---|---|
| 12 | 12 | #ifndef __SFX_SOUND_EXPANDER__ |
| 13 | 13 | #define __SFX_SOUND_EXPANDER__ |
| 14 | 14 | |
| 15 | ||
| 16 | 15 | #include "emu.h" |
| 17 | 16 | #include "machine/c64exp.h" |
| 18 | 17 | #include "machine/cbmipt.h" |
| r20059 | r20060 | |
| 67 | 66 | extern const device_type C64_SFX_SOUND_EXPANDER; |
| 68 | 67 | |
| 69 | 68 | |
| 69 | ||
| 70 | 70 | #endif |
| Previous | 199869 Revisions | Next |