Klasse OceanType1
java.lang.Object
libsidplay.components.cart.Cartridge
libsidplay.components.cart.supported.OceanType1
"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
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen libsidplay.components.cart.Cartridge
Cartridge.CRTType -
Feldübersicht
Felder -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Von Klasse geerbte Methoden libsidplay.components.cart.Cartridge
changedBA, changedIRQ, changedNMI, clock, create, doFreeze, freeze, getIO2, getRomh, getSampler, getUltimaxMemory, installBankHooks, isCreatingSamples, mixerStart, nullCartridge, read, readCRT, setIRQ, setNMI, setSampler, toString
-
Felddetails
-
currentRomBank
protected int currentRomBankCurrently active ROM bank. -
romLBanks
protected final byte[][] romLBanksROML banks 0..3 (each of size 0x2000). -
io1Bank
-
romlBank
-
-
Konstruktordetails
-
OceanType1
- Löst aus:
IOException
-
-
Methodendetails
-
getRoml
Beschreibung aus Klasse kopiert:CartridgeGet currently active ROML bank. -
getIO1
Beschreibung aus Klasse kopiert:CartridgeAcquire the IO1 bank -
reset
public void reset()Beschreibung aus Klasse kopiert:CartridgeBring the cart to power-on state. If overridden, remember to call the superclass method.
-