public class Comal80 extends Cartridge
Cartridge.CRTType
Modifier and Type | Field and Description |
---|---|
protected int |
currentRomBank
Currently active ROM bank.
|
protected byte[][] |
romHBanks
ROMH banks 0..3 (each of size 0x2000).
|
protected byte[][] |
romLBanks
ROML banks 0..3 (each of size 0x2000).
|
Constructor and Description |
---|
Comal80(DataInputStream dis,
PLA pla)
Load a Comal80 cartridge.
|
Modifier and Type | Method and Description |
---|---|
Bank |
getIO1()
Acquire the IO1 bank
|
Bank |
getRomh()
Get currently active ROMH bank.
|
Bank |
getRoml()
Get currently active ROML bank.
|
void |
reset()
Bring the cart to power-on state.
|
changedBA, changedIRQ, changedNMI, create, doFreeze, freeze, getIO2, getUltimaxMemory, installBankHooks, nullCartridge, read, readCRT, setIRQ, setNMI, toString
protected int currentRomBank
protected final byte[][] romLBanks
protected final byte[][] romHBanks
public Comal80(DataInputStream dis, PLA pla) throws IOException
dis
- stream to load frompla
- IOException
- load errorpublic Bank getRoml()
Cartridge
public Bank getRomh()
Cartridge
Copyright © 2018 Ken Händel. All rights reserved.