示例#1
0
 /**
  * Set SID emulation.
  *
  * @param s the emulation
  * @param address the address where to put the chip
  */
 public void addSID(c64sid s, int address)
 {
     sids.Add(s);
     mapper[mapperIndex(address)] = s;
 }
示例#2
0
 /**
  * Set SID emulation.
  *
  * @param s the emulation, nullptr to remove current sid
  */
 public void setSID(c64sid s)
 {
     sid = (s != null) ? s : NullSid.getInstance();
 }
示例#3
0
 private static void resetSID(c64sid e)
 {
     e.reset(0xf);
 }
示例#4
0
 public SidBank()
 {
     sid = NullSid.getInstance();
 }