Difference between revisions of "Yu-Gi-Oh! Duel Monsters 4: Kaiba Deck:RAM map"

From Data Crystal
Jump to: navigation, search
(On my way to find Debug remnants on this one too)
 
(Attribute → Alignment (DM4 didn't feature any Attributes))
 
(28 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
  {{rammap|game=Yu-Gi-Oh! Duel Monsters 4: Kaiba Deck}}
 
  {{rammap|game=Yu-Gi-Oh! Duel Monsters 4: Kaiba Deck}}
  
 +
==SRAM==
 
  Address Size    Description
 
  Address Size    Description
 
  ------- ----    -----------
 
  ------- ----    -----------
   FFD7    2    Deck Capacity (HRAM)
+
   A4B7    2    Deck Capacity (SRAM) (Copy)
 +
  B1AF    2    Deck Capacity (SRAM)
 +
 
 +
==WRAM==
 +
Address Size    Description
 +
------- ----    -----------
 +
  C428    2    Pointer to the Music data being read
 +
  C42A    1    ROM Bank to the Music data being read
 +
  C42C    2    Music pointer
 +
  C42E    2    Music ROM Bank
 +
  C5A0    2    ? (00'd by function 0:0207)
 +
  C5AE    1    ?
 +
  C5D9    1    [[Yu-Gi-Oh! Duel Monsters 4: Kaiba Deck:Notes#Field IDs|Field ID]]
 +
  C5B8    2    Life Points (Player)
 +
  C5BB    2    Life Points (CPU)
 +
  C5D5    1    # of characters to display
 +
  C5DD    1    ? (set to 0 by [[Yu-Gi-Oh! Duel Monsters 4: Kaiba Deck:ROM map#Card display|Card display]] function)
 +
  C5F8    1    ? (related to deck)
 +
  C5FA    80    Player's deck
 +
  C69E    2    Current card ID displayed
 +
  C6A3    2    Current card ID displayed (copy)
 +
  C6A5    1    Current Column
 +
  C6A6    1    Current Row
 +
  C6A7    2    Current ATK displayed
 +
  C6A9    2    Current DEF displayed
 +
  C6AB    1    Current Type displayed
 +
  C6AC    1    Current Cost displayed
 +
  C6AD    1    Current Level displayed
 +
  C6AE    1    Current Alignment displayed
 +
  C6AF    1    Card Effect IDs (Magic Ritual Trap)
 +
  C6B0    1    Card Effect IDs (Monster)
 +
  C732    1    Character ID
 +
  C733    1    Text ID
 +
  C793    15    CPU's Hand + cards status
 +
  C7BA    15    Player's cards on the Field + card status
 +
  C7C9    3    Player's Trap + card status
 +
  C7CC    15    Player's Hand + cards status
 +
  C7DB    1    Current Column
 +
  C7DC    1    Current Row
 +
  C7DD    15    Current card + card status
 +
  C8B4    1    Menu ID (main menu)
 +
                0x00: Campaign
 +
                0x01: Versus
 +
                0x02: Password
 +
                0x03: Duel Records
 +
                0x04: Trade
 +
                0x05: Sound Test
 +
                0x06: Character Viewer
 +
  C8D7    1    ?
 +
  C8D8    1    ?
 +
  C8D9    1    ?
 +
  C8DA    1    ?
 +
  C8DB    1    ?
 +
  C8DC    1    ?
 +
  C8F6    2    Current card (copy)
 +
  C943    50    Duel Records (battles)
 +
  C975    50    Duel Records (wins)
 +
  CA55    1    Debug Character Viewer - Character ID
 +
  CADD    2    Player's Graveyard
 +
  CADF    2    CPU's Graveyard
 +
2:D000  901    Cards in chest / trunk
 +
 
 +
==HRAM==
 +
Address Size    Description
 +
------- ----    -----------
 +
  FFD7    2    Deck Capacity (HRAM)
 +
  FFDD    1    System running the game
 +
                  0x01 - Game Boy / Super Game Boy 1
 +
                  0x11 - Game Boy Color
 +
  FFDF    1    ?
 +
 
 +
{{Internal Data|game=Yu-Gi-Oh! Duel Monsters 4: Kaiba Deck}}

Latest revision as of 12:03, 15 January 2019

SRAM

Address Size    Description
------- ----    -----------
 A4B7     2     Deck Capacity (SRAM) (Copy)
 B1AF     2     Deck Capacity (SRAM)

WRAM

Address Size    Description
------- ----    -----------
 C428     2     Pointer to the Music data being read
 C42A     1     ROM Bank to the Music data being read
 C42C     2     Music pointer
 C42E     2     Music ROM Bank
 C5A0     2     ? (00'd by function 0:0207)
 C5AE     1     ?
 C5D9     1     Field ID
 C5B8     2     Life Points (Player)
 C5BB     2     Life Points (CPU)
 C5D5     1     # of characters to display
 C5DD     1     ? (set to 0 by Card display function)
 C5F8     1     ? (related to deck)
 C5FA    80     Player's deck
 C69E     2     Current card ID displayed
 C6A3     2     Current card ID displayed (copy)
 C6A5     1     Current Column
 C6A6     1     Current Row
 C6A7     2     Current ATK displayed
 C6A9     2     Current DEF displayed
 C6AB     1     Current Type displayed
 C6AC     1     Current Cost displayed
 C6AD     1     Current Level displayed
 C6AE     1     Current Alignment displayed
 C6AF     1     Card Effect IDs (Magic Ritual Trap)
 C6B0     1     Card Effect IDs (Monster)
 C732     1     Character ID
 C733     1     Text ID
 C793    15     CPU's Hand + cards status
 C7BA    15     Player's cards on the Field + card status
 C7C9     3     Player's Trap + card status
 C7CC    15     Player's Hand + cards status
 C7DB     1     Current Column
 C7DC     1     Current Row
 C7DD    15     Current card + card status
 C8B4     1     Menu ID (main menu)
                0x00: Campaign
                0x01: Versus
                0x02: Password
                0x03: Duel Records
                0x04: Trade
                0x05: Sound Test
                0x06: Character Viewer
 C8D7     1     ?
 C8D8     1     ?
 C8D9     1     ?
 C8DA     1     ?
 C8DB     1     ?
 C8DC     1     ?
 C8F6     2     Current card (copy)
 C943    50     Duel Records (battles)
 C975    50     Duel Records (wins)
 CA55     1     Debug Character Viewer - Character ID
 CADD     2     Player's Graveyard
 CADF     2     CPU's Graveyard
2:D000  901     Cards in chest / trunk

HRAM

Address Size    Description
------- ----    -----------
  FFD7     2     Deck Capacity (HRAM)
  FFDD     1     System running the game
                 0x01 - Game Boy / Super Game Boy 1
                 0x11 - Game Boy Color
  FFDF     1     ?


Internal Data for Yu-Gi-Oh! Duel Monsters 4: Kaiba Deck

ROM MapRAM MapText TableNotesTutorials