public class ActionReplay extends Cartridge
Cartridge.CRTType| Modifier and Type | Field and Description |
|---|---|
protected int |
currentRomBank
Currently active ROML bank.
|
protected boolean |
exportRam |
protected Bank |
io1Bank |
protected Bank |
io2Bank |
protected byte[] |
ram |
protected Bank |
romhBank |
protected Bank |
romlBank |
protected byte[][] |
romLBanks
ROML banks 0..3 (each of size 0x2000).
|
| Constructor and Description |
|---|
ActionReplay(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, toStringprotected int currentRomBank
protected final byte[][] romLBanks
protected boolean exportRam
protected final byte[] ram
protected final Bank io1Bank
protected final Bank io2Bank
protected final Bank romlBank
protected final Bank romhBank
public ActionReplay(DataInputStream dis, PLA pla) throws IOException
IOExceptionpublic Bank getRomh()
Cartridgepublic Bank getRoml()
Cartridgepublic void reset()
Cartridgepublic void installBankHooks(Bank[] cpuReadMap, Bank[] cpuWriteMap)
CartridgeinstallBankHooks in class CartridgeCopyright © 2018 Ken Händel. All rights reserved.