Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 310 Bytes

cart.md

File metadata and controls

13 lines (11 loc) · 310 Bytes

Cart

init(rom)

  • Open the .gb ROM file
  • Populate self with some attributes
    • data - the bytes of the rom
    • ram - writable memory, typically stored to a .sav file
    • name - the title of the rom
    • rom_size - the rom size, in bytes
    • ram_size - the ram size, in bytes