Klasse AtomicPower
java.lang.Object
libsidplay.components.cart.Cartridge
libsidplay.components.cart.supported.AtomicPower
This cartridge has a special A000 RAM mode, enabled by setting the Action
Replay control byte to 0x22 (ignoring the bank select lines).
I believe this is implemented using a bus snooping technique where the cart
takes note of R/W and address signals and in that mode updates the RAM
whenever a write to 0xa000-0xbfff occurs.
It is unknown if the data also goes to the system RAM, or whether the cart
enables Ultimax mode to avoid touching the system RAM data. The current
implementation updates both the cart RAM and the system RAM.
- Autor:
- Antti Lankila
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen libsidplay.components.cart.Cartridge
Cartridge.CRTType -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected intCurrently active ROML bank.protected booleanprotected booleanprotected booleanprotected final Bankprivate final Eventprotected final byte[]private final Bankprivate final Bankprotected final byte[][]ROML banks 0..3 (each of size 0x2000). -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoiddoFreeze()Handle pressing of the freeze button.getIO1()Acquire the IO1 bankgetIO2()Acquire the IO2 bank.getRomh()Get currently active ROMH bank.getRoml()Get currently active ROML bank.voidinstallBankHooks(Bank[] cpuReadMap, Bank[] cpuWriteMap) If the cartridge needs to listen to write activity on specific banks, it can install the requisite hooks into the bank here.voidreset()Bring the cart to power-on state.Von Klasse geerbte Methoden libsidplay.components.cart.Cartridge
changedBA, changedIRQ, changedNMI, clock, create, freeze, getSampler, getUltimaxMemory, isCreatingSamples, mixerStart, nullCartridge, read, readCRT, setIRQ, setNMI, setSampler, toString
-
Felddetails
-
exportA000Ram
protected boolean exportA000Ram -
exportRam
protected boolean exportRam -
ram
protected final byte[] ram -
freezed
protected boolean freezed -
currentRomBank
protected int currentRomBankCurrently active ROML bank. -
romLBanks
protected final byte[][] romLBanksROML banks 0..3 (each of size 0x2000). -
io1Bank
-
romlBank
-
romhBank
-
newCartRomConfig
-
-
Konstruktordetails
-
AtomicPower
- Löst aus:
IOException
-
-
Methodendetails
-
installBankHooks
Beschreibung aus Klasse kopiert:CartridgeIf the cartridge needs to listen to write activity on specific banks, it can install the requisite hooks into the bank here.- Setzt außer Kraft:
installBankHooksin KlasseCartridge- Parameter:
cpuReadMap-cpuWriteMap-
-
getRomh
Beschreibung aus Klasse kopiert:CartridgeGet currently active ROMH bank. -
getRoml
Beschreibung aus Klasse kopiert:CartridgeGet currently active ROML bank. -
getIO1
Beschreibung aus Klasse kopiert:CartridgeAcquire the IO1 bank -
getIO2
Beschreibung aus Klasse kopiert:CartridgeAcquire the IO2 bank. -
reset
public void reset()Beschreibung aus Klasse kopiert:CartridgeBring the cart to power-on state. If overridden, remember to call the superclass method. -
doFreeze
public void doFreeze()Beschreibung aus Klasse kopiert:CartridgeHandle pressing of the freeze button.
-