public enum ChipModel extends Enum<ChipModel>
Enum Constant and Description |
---|
AUTO
Auto-detect SID model
|
MOS6581
SID chip of the old C64
|
MOS8580
SID chip of the new C64
|
Modifier and Type | Method and Description |
---|---|
static ChipModel |
getChipModel(IEmulationSection emulation,
SidTune tune,
int sidNum)
Detect chip model of specified SID number in the following order:
SID model forced by user configuration
chip model provided by tune information (auto detected) and if
unknown, then
default chip model for the 1st SID and for 2nd or 3rd chip use the
same chip model as for the 1st SID
|
static ChipModel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChipModel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChipModel AUTO
public static final ChipModel MOS6581
public static final ChipModel MOS8580
public static ChipModel[] values()
for (ChipModel c : ChipModel.values()) System.out.println(c);
public static ChipModel valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static ChipModel getChipModel(IEmulationSection emulation, SidTune tune, int sidNum)
Copyright © 2018 Ken Händel. All rights reserved.