public class AtomicPower extends Cartridge
Cartridge.CRTType
Modifier and Type | Field and Description |
---|---|
protected int |
currentRomBank
Currently active ROML bank.
|
protected boolean |
exportA000Ram |
protected boolean |
exportRam |
protected boolean |
freezed |
protected Bank |
io1Bank |
protected byte[] |
ram |
protected byte[][] |
romLBanks
ROML banks 0..3 (each of size 0x2000).
|
Constructor and Description |
---|
AtomicPower(DataInputStream dis,
PLA pla) |
Modifier and Type | Method and Description |
---|---|
void |
doFreeze()
Handle pressing of the freeze button.
|
Bank |
getIO1()
Acquire the IO1 bank
|
Bank |
getIO2()
Acquire the IO2 bank.
|
Bank |
getRomh()
Get currently active ROMH bank.
|
Bank |
getRoml()
Get currently active ROML bank.
|
void |
installBankHooks(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.
|
void |
reset()
Bring the cart to power-on state.
|
changedBA, changedIRQ, changedNMI, create, freeze, getUltimaxMemory, nullCartridge, read, readCRT, setIRQ, setNMI, toString
protected boolean exportA000Ram
protected boolean exportRam
protected final byte[] ram
protected boolean freezed
protected int currentRomBank
protected final byte[][] romLBanks
protected final Bank io1Bank
public AtomicPower(DataInputStream dis, PLA pla) throws IOException
IOException
public void installBankHooks(Bank[] cpuReadMap, Bank[] cpuWriteMap)
Cartridge
installBankHooks
in class Cartridge
public Bank getRomh()
Cartridge
public Bank getRoml()
Cartridge
public void reset()
Cartridge
Copyright © 2018 Ken Händel. All rights reserved.