Modifier and Type | Field and Description |
---|---|
protected long |
lastTime
Last time chip was accessed.
|
Constructor and Description |
---|
ReSIDBase(EventScheduler context)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
clock() |
protected int |
clocksSinceLastAccess() |
protected abstract SIDChip |
createSID() |
int |
getInputDigiBoost() |
void |
input(int input) |
byte |
read(int addr) |
abstract byte |
readENV(int voiceNum) |
abstract byte |
readOSC(int voiceNum) |
void |
reset(byte volume) |
void |
setChipModel(ChipModel model)
Set the emulated SID model
|
void |
setClockFrequency(double systemClock)
Sets the clock frequency.
|
void |
setVoiceMute(int num,
boolean mute) |
void |
write(int addr,
byte data) |
readInternalRegister, setFilter, setFilterEnable
public ReSIDBase(EventScheduler context)
context
- EventScheduler
context to use.public void setVoiceMute(int num, boolean mute)
setVoiceMute
in class SIDEmu
public void setClockFrequency(double systemClock)
setClockFrequency
in class SIDEmu
systemClock
- System clock to use for the SID.public void setChipModel(ChipModel model)
setChipModel
in class SIDEmu
model
- public int getInputDigiBoost()
getInputDigiBoost
in class SIDEmu
public abstract byte readENV(int voiceNum)
public abstract byte readOSC(int voiceNum)
protected abstract SIDChip createSID()
protected int clocksSinceLastAccess()
Copyright © 2018 Ken Händel. All rights reserved.