Klasse DisconnectedBusBank

java.lang.Object
libsidplay.components.pla.Bank
libsidplay.components.pla.DisconnectedBusBank

public final class DisconnectedBusBank extends Bank
When nobody is supplying real chips for IO1/IO2, the reads read stale bus data from VIC's previous memory interaction.
Autor:
Antti Lankila
  • Felddetails

    • vic

      private final VIC vic
  • Konstruktordetails

    • DisconnectedBusBank

      public DisconnectedBusBank(VIC vic2)
  • Methodendetails

    • read

      public byte read(int address)
      Beschreibung aus Klasse kopiert: Bank
      Bank read. Default throws a RuntimeException, so you probably should override this method, except if the Bank is only used in write context.
      Setzt außer Kraft:
      read in Klasse Bank
      Parameter:
      address - value to read from
      Gibt zurück:
      value at address
    • write

      public void write(int address, byte value)
      Beschreibung aus Klasse kopiert: Bank
      Bank write. Default throws a RuntimException. Override this method if you expect write operations on your bank. Leave unimplemented if it's logically/operationally impossible for writes to ever arrive to bank.
      Setzt außer Kraft:
      write in Klasse Bank
      Parameter:
      address - address to write to
      value - value to write