Klasse ColorRAMBank

java.lang.Object
libsidplay.components.pla.Bank
libsidplay.components.ram.ColorRAMBank

public final class ColorRAMBank extends Bank
  • Felddetails

    • ram

      private final byte[] ram
  • Konstruktordetails

    • ColorRAMBank

      public ColorRAMBank()
  • Methodendetails

    • reset

      public void reset()
    • 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
    • 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