mirror of
https://github.com/holub/mame
synced 2025-10-04 16:34:53 +03:00
- Updated headers following LN's mail on revisions
- renamed table to _5110a to avoid confusion
This commit is contained in:
parent
c9a8e71f68
commit
3228b1b341
@ -160,12 +160,12 @@ void *tms5110_create(int index, int variant)
|
||||
switch (variant)
|
||||
{
|
||||
case TMS5110_IS_5110A:
|
||||
tms->coeff = &tms5110_coeff;
|
||||
tms->coeff = &tms5110a_coeff;
|
||||
break;
|
||||
case TMS5110_IS_5100:
|
||||
tms->coeff = &pat4209836_coeff;
|
||||
break;
|
||||
case TMS5110_IS_M58817:
|
||||
case TMS5110_IS_5110:
|
||||
tms->coeff = &pat4403965_coeff;
|
||||
break;
|
||||
default:
|
||||
|
@ -17,8 +17,13 @@
|
||||
|
||||
#define TMS5110_IS_5110A (1)
|
||||
#define TMS5110_IS_5100 (2)
|
||||
#define TMS5110_IS_M58817 (3)
|
||||
#define TMS5110_IS_5110 (3)
|
||||
|
||||
#define TMS5110_IS_CD2801 TMS5110_IS_5100
|
||||
#define TMS5110_IS_TMC0281 TMS5110_IS_5100
|
||||
|
||||
#define TMS5110_IS_CD2802 TMS5110_IS_5110
|
||||
#define TMS5110_IS_M58817 TMS5110_IS_5110
|
||||
|
||||
void *tms5110_create(int index, int variant);
|
||||
void tms5110_destroy(void *chip);
|
||||
|
@ -170,7 +170,7 @@ static const struct tms5100_coeffs pat4403965_coeff =
|
||||
*/
|
||||
|
||||
|
||||
static const struct tms5100_coeffs tms5110_coeff =
|
||||
static const struct tms5100_coeffs tms5110a_coeff =
|
||||
{
|
||||
/* subtype */
|
||||
SUBTYPE_TMS5110,
|
||||
|
@ -20,10 +20,12 @@ void tms5220_set_read(void *chip, int (*func)(int));
|
||||
void tms5220_set_load_address(void *chip, void (*func)(int));
|
||||
void tms5220_set_read_and_branch(void *chip, void (*func)(void));
|
||||
|
||||
|
||||
|
||||
typedef enum
|
||||
{
|
||||
variant_tms5220,
|
||||
variant_tms0285
|
||||
variant_tms5220, /* TMS5220_IS_TMS5220, TMS5220_IS_TMS5220C, TMS5220_IS_TSP5220C */
|
||||
variant_tms0285 /* TMS5220_IS_TMS5200, TMS5220_IS_CD2501 */
|
||||
} tms5220_variant;
|
||||
|
||||
void tms5220_set_variant(void *chip, tms5220_variant new_variant);
|
||||
|
Loading…
Reference in New Issue
Block a user