public class GeoRAM extends Cartridge
Cartridge.CRTType
Modifier and Type | Field and Description |
---|---|
protected byte |
dffe
GEORAM register selects a page within a 16KB bank.
|
protected byte |
dfff
GEORAM register selects a 16KB bank.
|
protected Bank |
io1Bank |
protected Bank |
io2Bank |
protected byte[] |
ram
GEORAM memory.
|
Constructor and Description |
---|
GeoRAM(DataInputStream dis,
PLA pla,
int sizeKB) |
Modifier and Type | Method and Description |
---|---|
Bank |
getIO1()
Acquire the IO1 bank
|
Bank |
getIO2()
Acquire the IO2 bank.
|
void |
reset()
Bring the cart to power-on state.
|
String |
toString() |
changedBA, changedIRQ, changedNMI, create, doFreeze, freeze, getRomh, getRoml, getUltimaxMemory, installBankHooks, nullCartridge, read, readCRT, setIRQ, setNMI
protected byte dffe
Register | bits ------------------- $dffe | xx543210 x = unused, not connected.
protected byte dfff
RAM size | $dfff ------------------ 64k | $00-$03 128k | $00-$07 256k | $00-$0f 512k | $00-$1f 1024k | $00-$3f 2048k | $00-$7f 2048k | $00-$ff
protected byte[] ram
protected final Bank io1Bank
protected final Bank io2Bank
public GeoRAM(DataInputStream dis, PLA pla, int sizeKB) throws IOException
IOException
public void reset()
Cartridge
Copyright © 2018 Ken Händel. All rights reserved.