Klasse OceanType1

java.lang.Object
libsidplay.components.cart.Cartridge
libsidplay.components.cart.supported.OceanType1

public class OceanType1 extends Cartridge
     "Ocean Type 1" Cartridge

     - 32KiB, 128KiB, 256KiB or 512KiB sizes (4, 16, 32 or 64 banks of 8KiB)
     - ROM is always mapped in at $8000-$9FFF.

     -   The 32KiB type of cart has 4 banks of 8KiB ($2000), banked in at $8000-$9FFF.
     -   The 128KiB type of cart has 16 banks of 8KiB ($2000), banked in at $8000-$9FFF.
     -   The 256KiB type of cart has 32 banks of 8KiB ($2000), 16 banked in at $8000-$9FFF, and 16 banked in at $A000-$BFFF.
     -   The 512KiB type of cart has 64 banks of 8KiB ($2000), banked in at $8000-$9FFF.
     -   Bank switching is done by writing to $DE00.
     -   The lower six bits give the bank number (ranging from 0-63). Bit 7 in this selection word is always set.
     
     Example dontdisturbme.crt
 
Autor:
Ken Händel
  • Felddetails

    • currentRomBank

      protected int currentRomBank
      Currently active ROM bank.
    • romLBanks

      protected final byte[][] romLBanks
      ROML banks 0..3 (each of size 0x2000).
    • io1Bank

      private final Bank io1Bank
    • romlBank

      private final Bank romlBank
  • Konstruktordetails

  • Methodendetails

    • getRoml

      public Bank getRoml()
      Beschreibung aus Klasse kopiert: Cartridge
      Get currently active ROML bank.
      Setzt außer Kraft:
      getRoml in Klasse Cartridge
      Gibt zurück:
      ROML bank
    • getIO1

      public Bank getIO1()
      Beschreibung aus Klasse kopiert: Cartridge
      Acquire the IO1 bank
      Setzt außer Kraft:
      getIO1 in Klasse Cartridge
      Gibt zurück:
      The bank responding to IO1 line.
    • reset

      public void reset()
      Beschreibung aus Klasse kopiert: Cartridge
      Bring the cart to power-on state. If overridden, remember to call the superclass method.
      Setzt außer Kraft:
      reset in Klasse Cartridge