| Previous | 199869 Revisions | Next |
| r19926 Saturday 29th December, 2012 at 17:33:13 UTC by Andrew Gardner |
|---|
| Didn't like those #defines in the headers. (nw) |
| [src/emu/sound] | gaelco.h segapcm.c segapcm.h |
| r19925 | r19926 | |
|---|---|---|
| 3 | 3 | #ifndef __GALELCO_H__ |
| 4 | 4 | #define __GALELCO_H__ |
| 5 | 5 | |
| 6 | #define GAELCO_NUM_CHANNELS 0x07 | |
| 7 | #define VOLUME_LEVELS 0x10 | |
| 6 | const int GAELCO_NUM_CHANNELS = 0x07; | |
| 7 | const int VOLUME_LEVELS = 0x10; | |
| 8 | 8 | |
| 9 | 9 | |
| 10 | 10 | //************************************************************************** |
| r19925 | r19926 | |
|---|---|---|
| 5 | 5 | #include "emu.h" |
| 6 | 6 | #include "segapcm.h" |
| 7 | 7 | |
| 8 | #define BANK_256 (11) | |
| 9 | #define BANK_512 (12) | |
| 10 | #define BANK_12M (13) | |
| 11 | #define BANK_MASK7 (0x70<<16) | |
| 12 | #define BANK_MASKF (0xf0<<16) | |
| 13 | #define BANK_MASKF8 (0xf8<<16) | |
| 8 | 14 | |
| 15 | ||
| 9 | 16 | // device type definition |
| 10 | 17 | const device_type SEGAPCM = &device_creator<segapcm_device>; |
| 11 | 18 |
| r19925 | r19926 | |
|---|---|---|
| 7 | 7 | #ifndef __SEGAPCM_H__ |
| 8 | 8 | #define __SEGAPCM_H__ |
| 9 | 9 | |
| 10 | #define BANK_256 (11) | |
| 11 | #define BANK_512 (12) | |
| 12 | #define BANK_12M (13) | |
| 13 | #define BANK_MASK7 (0x70<<16) | |
| 14 | #define BANK_MASKF (0xf0<<16) | |
| 15 | #define BANK_MASKF8 (0xf8<<16) | |
| 16 | 10 | |
| 17 | ||
| 18 | 11 | //************************************************************************** |
| 19 | 12 | // INTERFACE CONFIGURATION MACROS |
| 20 | 13 | //************************************************************************** |
| Previous | 199869 Revisions | Next |