Package builder.resid

Klasse ReSIDBuilder

java.lang.Object
builder.resid.SIDMixer
builder.resid.ReSIDBuilder
Alle implementierten Schnittstellen:
Mixer, SIDBuilder

public class ReSIDBuilder extends SIDMixer implements SIDBuilder
Support of software emulated SIDs.
Autor:
ken
  • Konstruktordetails

  • Methodendetails

    • lock

      public SIDEmu lock(SIDEmu oldSIDEmu, int sidNum, SidTune tune)
      Create a SID chip implementation and configure it, then start mixing.
      Angegeben von:
      lock in Schnittstelle SIDBuilder
      Parameter:
      oldSIDEmu - old SID chip in use
      sidNum - SID chip number
      tune - current tune
      Gibt zurück:
      emulated SID chip
    • unlock

      public void unlock(SIDEmu sid)
      Release a SID chip implementation (stop mixing SID chip).
      Angegeben von:
      unlock in Schnittstelle SIDBuilder
      Parameter:
      sid - SID chip to destroy
    • getOrCreateSID

      private ReSIDBase getOrCreateSID(SIDEmu oldSIDEmu, SidTune tune, int sidNum)
      Create SID emulation of a specific emulation type or re-use already used SID chip, if implementation does not change.
      Note: The reason for re-using SID implementation is to preserve the current SID's internal state, when changing filters or chip model type.
      Parameter:
      oldSIDEmu - currently used SID chip
      tune - current tune
      sidNum - current SID number
      Gibt zurück:
      new or re-used SID emulation of a specific emulation engine
    • getSIDImplClass

      private Class<? extends ReSIDBase> getSIDImplClass(Emulation emulation, boolean fakeStereo)
      Get SID chip implementation class.
      Parameter:
      emulation - wanted emulation type
      fakeStereo - fake-stereo mode (two SIDs at the same address)
      Gibt zurück:
      SID implementation class
    • createSID

      private ReSIDBase createSID(Class<? extends ReSIDBase> sidImplCls, int sidNum)
      Create a new SID chip implementation.
      Parameter:
      sidImplCls - SID implementation class
      sidNum - current SID number
      Gibt zurück:
      new SID chip