|
libElysianVMU 1.6.0
Full-featured, accurate, cross-platform library emulating the Dreamcast's Visual Memory Unit
|
#include <evmu_flash.h>
Data Fields | ||
| union { | ||
| EvmuFlashClass * 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.) | |
Read Methods | |
Methods for reading or fetching state data | |
| EVMU_FLASH_PROGRAM_STATE | EvmuFlash_programState (const EvmuFlash *pSelf) |
| size_t | EvmuFlash_programBytes (const EvmuFlash *pSelf) |
| EvmuAddress | EvmuFlash_targetAddress (const EvmuFlash *pSelf) |
| GblBool | EvmuFlash_unlocked (const EvmuFlash *pSelf) |
Memory Operations | |
Methods for read/write operations on flash memory | |
| EvmuWord | EvmuFlash_readByte (const EvmuFlash *pSelf, EvmuAddress address) |
| EVMU_RESULT | EvmuFlash_readBytes (const EvmuFlash *pSelf, EvmuAddress base, void *pData, size_t *pBytes) |
| EVMU_RESULT | EvmuFlash_writeByte (EvmuFlash *pSelf, EvmuAddress address, EvmuWord value) |
| EVMU_RESULT | EvmuFlash_writeBytes (EvmuFlash *pSelf, EvmuAddress base, const void *pData, size_t *pBytes) |
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) |
EvmuFlash offers the lowest, hardware-level access to the VMU's flash storage.
Unless you know what you're doing, it's advised to work with a higher level API.
Definition at line 110 of file evmu_flash.h.
|
Returns the number of bytes remaining that can be written before reprogramming.
|
Returns the current state of the flash programming sequence for unlocking writes.
|
Reads a value from flash at the given address and returns its value.
|
Reads the given number of bytes from flash into the buffer, returning the number successfully read.
|
Returns the current target address of the next LDF or STF flash instruction.
|
Returns whether or not flash is currently unlocked for writing.
|
Writes a value to flash at the given address (bypassing unlock sequence)
|
Writes the given buffer to flash, returning nubmer of bytes written (bypassing unlock sequence)
| EvmuPeripheral EvmuFlash::base |
Inherited base instance structure.
Definition at line 110 of file evmu_flash.h.
| GblBool EvmuFlash::dataChanged |
User toggle: will be set after a flash value changes, you can reset and poll for changes.
Definition at line 112 of file evmu_flash.h.
| EvmuFlashClass* EvmuFlash::pClass |
Pointer to class/vtable structure.
Definition at line 110 of file evmu_flash.h.