SRAMManager Class Reference
#include <SRAMManager.h>
Inheritance diagram for SRAMManager:
# 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 | |
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()
|
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
Private Member Functions inherited from