Klasse Bank

java.lang.Object
libsidplay.components.pla.Bank
Bekannte direkte Unterklassen:
C64.ZeroRAMBank, ColorRAMBank, DisconnectedBusBank, MOS6526, PLA.IOBank, PLA.SIDBank, SystemRAMBank, VIC

public abstract class Bank extends Object
  • Konstruktordetails

    • Bank

      public Bank()
  • Methodendetails

    • write

      public void write(int address, byte value)
      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.
      Parameter:
      address - address to write to
      value - value to write
    • read

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