SRAMManager Class Reference
#include <SRAMManager.h>
Inheritance diagram for SRAMManager:
![](../class_s_r_a_m_manager.png)
# 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 | |
uint16 * | spaceAddress |
SRAM start address. |
# Additional Inherited Members | |
![]() | |
void | constructor () |
Class' constructor. | |
const void * | getVTable () |
bool | mutateTo (const void *targetClass) |
![]() | |
static Object | getCast (void *object, ClassPointer targetClassGetClassMethod, ClassPointer baseClassGetClassMethod) |
![]() | |
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()
|
staticprotected |
Retrieve data from SRAM.
- Parameters
-
destination WRAM address were data will be loaded memberOffset WRAM address offset dataSize Number of BYTES to read
Definition at line 53 of file SRAMManager.c.
# reset()
|
protected |
Reset the manager's state.
Definition at line 73 of file SRAMManager.c.
# save()
|
staticprotected |
Save data to SRAM.
- Parameters
-
source WRAM address from were data will be copied memberOffset WRAM address offset dataSize Number of BYTES to read
Definition at line 38 of file SRAMManager.c.
# Member Data Documentation
# spaceAddress
|
protected |
SRAM start address.
Definition at line 41 of file SRAMManager.h.
The documentation for this class was generated from the following files:
- VUEngine-Core/source/Hardware/SRAMManager.h
- VUEngine-Core/source/Hardware/SRAMManager.c