ComSquare::Cartridge::Header Struct Reference

`#include <Cartridge.hpp>`

Collaboration diagram for ComSquare::Cartridge::Header:

## Public Attributes

std::string | gameName
| The name of the game. More...
MappingMode | mappingMode
| The memory mapping of the ROM. More...
uint8_t | romType
| The rom type (special information about the rom, still don't know what). More...
unsigned | romSize
| The size (in bytes) of the ram. More...
unsigned | sramSize
| The size of the SRom inside the cartridge. More...
union {
uint8_t creatorIDs [2]
uint16_t creatorID
}; |
| Creator license ID code. More...
uint8_t | version
| The version of the game. More...
union {
uint8_t checksumComplements [2]
uint16_t checksumComplement
}; |
| Checksum complement. More...
union {
uint8_t checksums [2]
uint16_t checksum
}; |
| Checksum. More...
InterruptVectors | nativeInterrupts
| The interrupt vectors used to halt the CPU in native mode. More...
InterruptVectors | emulationInterrupts
| The interrupt vectors used to halt the CPU in emulation mode. More...

## Member Data Documentation

## @11

union { ... }

Checksum complement.

## @13

union { ... }

Checksum.

## @9

union { ... }

Creator license ID code.

## checksum

uint16_t ComSquare::Cartridge::Header::checksum

## checksumComplement

uint16_t ComSquare::Cartridge::Header::checksumComplement

## checksumComplements

uint8_t ComSquare::Cartridge::Header::checksumComplements[2]

## checksums

uint8_t ComSquare::Cartridge::Header::checksums[2]

## creatorID

uint16_t ComSquare::Cartridge::Header::creatorID

## creatorIDs

uint8_t ComSquare::Cartridge::Header::creatorIDs[2]

## emulationInterrupts

InterruptVectors ComSquare::Cartridge::Header::emulationInterrupts

The interrupt vectors used to halt the CPU in emulation mode.

## gameName

std::string ComSquare::Cartridge::Header::gameName

The name of the game.

## mappingMode

MappingMode ComSquare::Cartridge::Header::mappingMode

The memory mapping of the ROM.

## nativeInterrupts

InterruptVectors ComSquare::Cartridge::Header::nativeInterrupts

The interrupt vectors used to halt the CPU in native mode.

## romSize

unsigned ComSquare::Cartridge::Header::romSize

The size (in bytes) of the ram.

## romType

uint8_t ComSquare::Cartridge::Header::romType

The rom type (special information about the rom, still don't know what).

## sramSize

unsigned ComSquare::Cartridge::Header::sramSize

The size of the SRom inside the cartridge.

## version

uint8_t ComSquare::Cartridge::Header::version

The version of the game.

The documentation for this struct was generated from the following file:

- sources/Cartridge/Cartridge.hpp