SRAMManager Class Reference

#include <SRAMManager.h>

Inheritance diagram for SRAMManager:
Object

# Protected Member Functions

void reset ()
 Reset the manager's state.

# Static Protected Member Functions

static void save (const BYTE *const source, int32 memberOffset, int32 dataSize)
static void read (BYTE *destination, int32 memberOffset, int32 dataSize)

# Protected Attributes

uint16spaceAddress
 SRAM start address.

# Additional Inherited Members

- Private Member Functions inherited from Object
void constructor ()
 Class' constructor.
const void * getVTable ()
bool mutateTo (const void *targetClass)
- Static Private Member Functions inherited from Object
static Object getCast (void *object, ClassPointer targetClassGetClassMethod, ClassPointer baseClassGetClassMethod)
- Private Attributes inherited from Object
void * vTable
 Pointer to the class's virtual table.

# Detailed Description

Class SRAMManager

Inherits from Object

Manages SRAM space since most carts requiere a proxy to address by not having all the pins routed.

Definition at line 36 of file SRAMManager.h.

# Member Function Documentation

# read()

static void SRAMManager::read ( BYTE * destination,
int32 memberOffset,
int32 dataSize )
staticprotected

Retrieve data from SRAM.

Parameters
destinationWRAM address were data will be loaded
memberOffsetWRAM address offset
dataSizeNumber of BYTES to read

Definition at line 53 of file SRAMManager.c.

# reset()

secure void SRAMManager::reset ( )
protected

Reset the manager's state.

Definition at line 73 of file SRAMManager.c.

# save()

static void SRAMManager::save ( const BYTE *const source,
int32 memberOffset,
int32 dataSize )
staticprotected

Save data to SRAM.

Parameters
sourceWRAM address from were data will be copied
memberOffsetWRAM address offset
dataSizeNumber of BYTES to read

Definition at line 38 of file SRAMManager.c.

# Member Data Documentation

# spaceAddress

uint16* SRAMManager::spaceAddress
protected

SRAM start address.

Definition at line 41 of file SRAMManager.h.


The documentation for this class was generated from the following files: