Klasse PLA.IOBank

java.lang.Object
libsidplay.components.pla.Bank
libsidplay.components.pla.PLA.IOBank
Umschließende Klasse:
PLA

public static class PLA.IOBank extends Bank
IO region handler. 4k region, 16 chips, 256b banks.
Autor:
Antti Lankila
  • Felddetails

    • map

      private final Bank[] map
  • Konstruktordetails

    • IOBank

      public IOBank()
  • Methodendetails

    • setBank

      public void setBank(int num, Bank b)
    • 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