|
libElysianVMU 1.6.0
Full-featured, accurate, cross-platform library emulating the Dreamcast's Visual Memory Unit
|
#include <evmu_wram.h>
Data Fields | ||
| union { | ||
| EvmuWramClass * pClass | ||
| EvmuPeripheral base | ||
| }; | ||
| GblBool | dataChanged | |
Data Fields inherited from EvmuPeripheral | ||
| union { | ||
| EvmuPeripheralClass * pClass | ||
| GblObject base | ||
| }; | ||
| GblFlags | logLevel | |
Related Symbols | |
(Note that these are not member symbols.) | |
Configuration Methods | |
Methods for querying or updating configuration | |
| EvmuAddress | EvmuWram_accessAddress (const EvmuWram *pSelf) |
| EVMU_RESULT | EvmuWram_setAccessAddress (EvmuWram *pSelf, EvmuAddress addr) |
| GblBool | EvmuWram_mapleTransferring (const EvmuWram *pSelf) |
Read/Write Accessors | |
Methods for reading and writing WRAM data | |
| EvmuWord | EvmuWram_readByte (const EvmuWram *pSelf, EvmuAddress address) |
| EVMU_RESULT | EvmuWram_readBytes (const EvmuWram *pSelf, EvmuAddress address, void *pData, size_t *pSize) |
| EVMU_RESULT | EvmuWram_writeByte (EvmuWram *pSelf, EvmuAddress address, EvmuWord byte) |
| EVMU_RESULT | EvmuWram_writeBytes (EvmuWram *pSelf, EvmuAddress address, const void *pData, size_t *pSize) |
Related Symbols inherited from EvmuPeripheral | |
| EvmuDevice * | EvmuPeripheral_device (const EvmuPeripheral *pSelf) |
Related Symbols inherited from EvmuIMemory | |
| size_t | EvmuIMemory_capacity (const EvmuIMemory *pSelf) |
| EvmuWord | EvmuIMemory_readByte (const EvmuIMemory *pSelf, EvmuAddress address) |
| EVMU_RESULT | EvmuIMemory_readBytes (const EvmuIMemory *pSelf, EvmuAddress base, void *pData, size_t *pBytes) |
| EVMU_RESULT | EvmuIMemory_writeByte (EvmuIMemory *pSelf, EvmuAddress address, EvmuWord value) |
| EVMU_RESULT | EvmuIMemory_writeBytes (EvmuIMemory *pSelf, EvmuAddress base, const void *pData, size_t *pBytes) |
| EVMU_RESULT | EvmuIMemory_fillBytes (EvmuIMemory *pSelf, EvmuAddress base, size_t regionSize, const void *pData, size_t dataBytes) |
GblInstance structure for EvmuWram.
No public members.
Definition at line 62 of file evmu_wram.h.
|
Returns the target address created by using VRMAD1 the low byte, and VRMAD2 as the bank.
|
Returns GBL_TRUE of a Maple transfer from the Dreamcast is in progress, disallowing VMU access.
|
Returns the byte value located at the given WRAM address.
|
Reads pSize bytes from WRAM into pData, starting at address, writing back the number of bytes read.
|
Configures the values of VRMAD1 and VRMAD2 so that they point to the address given by addr.
|
Writes the byte value to the WRAM address.
|
Writes pSize bytes to WRAM from pData, starting at address, writing back the number of bytes written.
| EvmuPeripheral EvmuWram::base |
Inherited base instance structure.
Definition at line 62 of file evmu_wram.h.
| GblBool EvmuWram::dataChanged |
User toggle: will be set after a WRAM value changes, you can reset and poll for changes.
Definition at line 63 of file evmu_wram.h.
| EvmuWramClass* EvmuWram::pClass |
Pointer to class/vtable structure.
Definition at line 62 of file evmu_wram.h.