Klasse GMod2
"GMod2" Cartridge (GMod2)- this cart comes in 7 sizes, 8Kb, 16Kb, 32Kb, 64Kb, 128Kb, 256Kb, and 512Kb. - ROM is always mapped in at $8000-$9FFF.
XXX EEPROM functionality currently untested
There is one register mapped to $DE00. The register is always active, and there is no way to disable it. bit r/w Flash ROM EEPROM Expansion Port 7 rw 1=write enable (write) Data output (read) - 6 w - Chip select (1=selected) EXROM (0=active) 5 w Bank Selection Bit#5 Clock - 4 w Bank Selection Bit#4 Data input - 3 w Bank Selection Bit#3 - - 2 w Bank Selection Bit#2 - - 1 w Bank Selection Bit#1 - - 0 w Bank Selection Bit#0 - -
bit7 bit6 mode 0 0 regular 8K Game mode, ROM readable at $8000 0 1 EEPROM selected, Flash inactive. EEPROM can be used via bits 4/5/7 1 0 illegal, do not use 1 1 Flash ROM writing enabled
- Autor:
- Ken Händel
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen libsidplay.components.cart.Cartridge
Cartridge.CRTType -
Feldübersicht
Felder -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Von Klasse geerbte Methoden libsidplay.components.cart.Cartridge
changedBA, changedIRQ, changedNMI, clock, create, doFreeze, freeze, getIO2, getUltimaxMemory, installBankHooks, nullCartridge, read, readCRT, setIRQ, setNMI, toString
-
Felddetails
-
currentRomBank
protected int currentRomBankCurrently active flash ROM bank. -
romlBanks
protected final byte[][] romlBanks512KiB flash ROM - ROML banks 0..6 (each of sizes 0x2000). -
m93c86
2kB EEPROM -
eeprom_cs
private int eeprom_cs -
eeprom_data
private int eeprom_data -
eeprom_clock
private int eeprom_clock -
io1Bank
-
romlBank
-
romhBank
-
-
Konstruktordetails
-
GMod2
- Löst aus:
IOException
-
-
Methodendetails
-
getRoml
Beschreibung aus Klasse kopiert:CartridgeGet currently active ROML bank. -
getRomh
Beschreibung aus Klasse kopiert:CartridgeGet currently active ROMH bank. -
getIO1
Beschreibung aus Klasse kopiert:CartridgeAcquire the IO1 bank -
reset
public void reset()Beschreibung aus Klasse kopiert:CartridgeBring the cart to power-on state. If overridden, remember to call the superclass method.
-