enum GB::CartridgeType

Defined in:

crab/gb/mbc/enums.cr

Enum Members

ROM = 0
ROM_RAM = 8
ROM_RAM_BATTERY = 9
MBC1 = 1
MBC1_RAM = 2
MBC1_RAM_BATTERY = 3
MBC2 = 5
MBC2_BATTERY = 6
MBC3_TIMER_BATTERY = 15
MBC3_TIMER_RAM_BATTERY = 16
MBC3 = 17
MBC3_RAM = 18
MBC3_RAM_BATTERY = 19
MBC5 = 25
MBC5_RAM = 26
MBC5_RAM_BATTERY = 27
MBC5_RUMBLE = 28
MBC5_RUMBLE_RAM = 29
MBC5_RUMBLE_RAM_BATTERY = 30
MBC6 = 32
MBC7_SENSOR_RUMBLE_RAM_BATTERY = 34
MMM01 = 11
MMM01_RAM = 12
MMM01_RAM_BATTERY = 13
POCKET_CAMERA = 252
BANDAI_TAMA5 = 253
HuC3 = 254
HuC1_RAM_BATTERY = 255

Instance Method Summary

Instance Method Detail

def bandai_tama5? #

[View source]
def has_battery? : Bool #

[View source]
def has_ram? : Bool #

[View source]
def has_rumble? : Bool #

[View source]
def has_timer? : Bool #

[View source]
def hu_c1_ram_battery? #

[View source]
def hu_c3? #

[View source]
def is_mbc1? : Bool #

[View source]
def is_mbc2? : Bool #

[View source]
def is_mbc3? : Bool #

[View source]
def is_mbc5? : Bool #

[View source]
def is_rom? : Bool #

[View source]
def mbc1? #

[View source]
def mbc1_ram? #

[View source]
def mbc1_ram_battery? #

[View source]
def mbc2? #

[View source]
def mbc2_battery? #

[View source]
def mbc3? #

[View source]
def mbc3_ram? #

[View source]
def mbc3_ram_battery? #

[View source]
def mbc3_timer_battery? #

[View source]
def mbc3_timer_ram_battery? #

[View source]
def mbc5? #

[View source]
def mbc5_ram? #

[View source]
def mbc5_ram_battery? #

[View source]
def mbc5_rumble? #

[View source]
def mbc5_rumble_ram? #

[View source]
def mbc5_rumble_ram_battery? #

[View source]
def mbc6? #

[View source]
def mbc7_sensor_rumble_ram_battery? #

[View source]
def mmm01? #

[View source]
def mmm01_ram? #

[View source]
def mmm01_ram_battery? #

[View source]
def pocket_camera? #

[View source]
def rom? #

[View source]
def rom_ram? #

[View source]
def rom_ram_battery? #

[View source]