Rizin
unix-like reverse engineering framework and cli tools
gb.h File Reference
#include <rz_types.h>

Go to the source code of this file.

Classes

struct  gb_user_t
 

Typedefs

typedef struct gb_user_t GBUser
 

Enumerations

enum  {
  MBC_ROM = 0 , MBC1 , MBC1_RAM , MBC1_RAM_BAT ,
  MBC2 = 0x5 , MBC2_BAT , MBC_ROM_RAM = 0x8 , MBC_ROM_RAM_BAT ,
  MBC_MMM = 0x0b , MBC_MMM_RAM , MBC_MMM_RAM_BAT , MBC3_BAT_TIM = 0x0f ,
  MBC3_RAM_BAT_TIM , MBC3 , MBC3_RAM , MBC3_RAM_BAT ,
  MBC4 = 0x15 , MBC4_RAM , MBC4_RAM_BAT , MBC5 = 0x19 ,
  MBC5_RAM , MBC5_RAM_BAT , MBC5_RUM , MBC5_RAM_RUM ,
  MBC5_RAM_BAT_RUM , CAM = 0xfc , TAMA5 , HUC3 ,
  HUC1_RAM_BAT
}
 
enum  {
  NOBANK = 0 , BANK4 , BANK8 , BANK16 ,
  BANK32 , BANK64 , BANK128 , BANK256 ,
  BANK72 = 0x52 , BANK80 , BANK96
}
 
enum  { NORAM = 0 , RAM2K , RAM8K , RAM32K }
 

Typedef Documentation

◆ GBUser

typedef struct gb_user_t GBUser

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
MBC_ROM 
MBC1 
MBC1_RAM 
MBC1_RAM_BAT 
MBC2 
MBC2_BAT 
MBC_ROM_RAM 
MBC_ROM_RAM_BAT 
MBC_MMM 
MBC_MMM_RAM 
MBC_MMM_RAM_BAT 
MBC3_BAT_TIM 
MBC3_RAM_BAT_TIM 
MBC3 
MBC3_RAM 
MBC3_RAM_BAT 
MBC4 
MBC4_RAM 
MBC4_RAM_BAT 
MBC5 
MBC5_RAM 
MBC5_RAM_BAT 
MBC5_RUM 
MBC5_RAM_RUM 
MBC5_RAM_BAT_RUM 
CAM 
TAMA5 
HUC3 
HUC1_RAM_BAT 

Definition at line 17 of file gb.h.

17  {
18  MBC_ROM = 0,
19  MBC1,
20  MBC1_RAM,
22  MBC2 = 0x5,
23  MBC2_BAT,
24  MBC_ROM_RAM = 0x8,
26  MBC_MMM = 0x0b,
29  MBC3_BAT_TIM = 0x0f,
31  MBC3,
32  MBC3_RAM,
34  MBC4 = 0x15,
35  MBC4_RAM,
37  MBC5 = 0x19,
38  MBC5_RAM,
40  MBC5_RUM,
43  CAM = 0xfc,
44  TAMA5,
45  HUC3,
47 };
@ MBC1_RAM_BAT
Definition: gb.h:21
@ MBC5_RAM_RUM
Definition: gb.h:41
@ MBC5_RAM_BAT_RUM
Definition: gb.h:42
@ MBC5
Definition: gb.h:37
@ MBC3_RAM_BAT_TIM
Definition: gb.h:30
@ MBC_ROM_RAM
Definition: gb.h:24
@ MBC3_BAT_TIM
Definition: gb.h:29
@ MBC5_RUM
Definition: gb.h:40
@ MBC1
Definition: gb.h:19
@ MBC3_RAM
Definition: gb.h:32
@ CAM
Definition: gb.h:43
@ MBC3_RAM_BAT
Definition: gb.h:33
@ MBC1_RAM
Definition: gb.h:20
@ MBC4
Definition: gb.h:34
@ HUC1_RAM_BAT
Definition: gb.h:46
@ MBC5_RAM_BAT
Definition: gb.h:39
@ MBC_MMM_RAM_BAT
Definition: gb.h:28
@ MBC_MMM
Definition: gb.h:26
@ MBC_MMM_RAM
Definition: gb.h:27
@ HUC3
Definition: gb.h:45
@ TAMA5
Definition: gb.h:44
@ MBC2_BAT
Definition: gb.h:23
@ MBC_ROM
Definition: gb.h:18
@ MBC4_RAM
Definition: gb.h:35
@ MBC4_RAM_BAT
Definition: gb.h:36
@ MBC3
Definition: gb.h:31
@ MBC_ROM_RAM_BAT
Definition: gb.h:25
@ MBC5_RAM
Definition: gb.h:38
@ MBC2
Definition: gb.h:22

◆ anonymous enum

anonymous enum
Enumerator
NOBANK 
BANK4 
BANK8 
BANK16 
BANK32 
BANK64 
BANK128 
BANK256 
BANK72 
BANK80 
BANK96 

Definition at line 49 of file gb.h.

49  {
50  NOBANK = 0,
51  BANK4,
52  BANK8,
53  BANK16,
54  BANK32,
55  BANK64,
56  BANK128,
57  BANK256,
58  BANK72 = 0x52,
59  BANK80,
60  BANK96
61 };
@ BANK32
Definition: gb.h:54
@ BANK128
Definition: gb.h:56
@ BANK8
Definition: gb.h:52
@ BANK96
Definition: gb.h:60
@ BANK256
Definition: gb.h:57
@ BANK4
Definition: gb.h:51
@ BANK16
Definition: gb.h:53
@ NOBANK
Definition: gb.h:50
@ BANK72
Definition: gb.h:58
@ BANK80
Definition: gb.h:59
@ BANK64
Definition: gb.h:55

◆ anonymous enum

anonymous enum
Enumerator
NORAM 
RAM2K 
RAM8K 
RAM32K 

Definition at line 63 of file gb.h.

63  {
64  NORAM = 0,
65  RAM2K,
66  RAM8K,
67  RAM32K
68 };
@ RAM8K
Definition: gb.h:66
@ NORAM
Definition: gb.h:64
@ RAM2K
Definition: gb.h:65
@ RAM32K
Definition: gb.h:67