|
libElysianVMU 1.6.0
Full-featured, accurate, cross-platform library emulating the Dreamcast's Visual Memory Unit
|
#include <evmu_rom.h>
Data Fields | ||
| union { | ||
| EvmuRomClass * pClass | ||
| EvmuPeripheral base | ||
| }; | ||
Data Fields inherited from EvmuPeripheral | ||
| union { | ||
| EvmuPeripheralClass * pClass | ||
| GblObject base | ||
| }; | ||
| GblFlags | logLevel | |
Related Symbols | |
(Note that these are not member symbols.) | |
BIOS State | |
Methods for querying BIOS configuration and state | |
| GblBool | EvmuRom_biosActive (const EvmuRom *pSelf) |
| EVMU_BIOS_TYPE | EvmuRom_biosType (const EvmuRom *pSelf) |
| EVMU_BIOS_MODE | EvmuRom_biosMode (const EvmuRom *pSelf) |
BIOS Management | |
Methods for loading, unloading, and calling BIOS routines | |
| EVMU_RESULT | EvmuRom_loadBios (EvmuRom *pSelf, const char *pPath) |
| EVMU_RESULT | EvmuRom_unloadBios (EvmuRom *pSelf) |
| EvmuAddress | EvmuRom_callBios (EvmuRom *pSelf, EvmuAddress entry) |
| EVMU_RESULT | EvmuRom_skipBiosSetup (EvmuRom *pSelf, GblBool enableSkip) |
Date/Time Management | |
Methods for querying and setting date/time | |
| GblDateTime * | EvmuRom_dateTime (const EvmuRom *pSelf, GblDateTime *pDateTime) |
| EVMU_RESULT | EvmuRom_setDateTime (EvmuRom *pSelf, const GblDateTime *pDateTime) |
Read/Write Accessors | |
Methods for reading and writing ROM data | |
| EvmuWord | EvmuRom_readByte (const EvmuRom *pSelf, EvmuAddress address) |
| EVMU_RESULT | EvmuRom_readBytes (const EvmuRom *pSelf, EvmuAddress address, void *pData, size_t *pSize) |
| EVMU_RESULT | EvmuRom_writeByte (EvmuRom *pSelf, EvmuAddress address, EvmuWord byte) |
| EVMU_RESULT | EvmuRom_writeBytes (EvmuRom *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) |
Peripheral managing ROM, firmware calls, and BIOS images.
There are no public members.
Definition at line 116 of file evmu_rom.h.
|
Returns GBL_TRUE if the CPU is currently executing code from the BIOS.
|
Returns the mode the BIOS is in (file manager, game, clock, etc)
|
Returns the type of BIOS currently loaded into ROM.
|
Makes a firmware or BIOS subroutine call at the entry point given by entry.
|
Returns the current date and time as seen by the BIOS.
|
Loads a BIOS image from the path given by pPath.
|
Returns the byte value located at the given ROM address.
|
Reads pSize bytes from ROM into pData, starting at address, writing back the number of bytes read.
|
Sets the current date and time as seen by the BIOS to the value given by pDateTime.
|
Enables or disables skipping the BIOS date/time setup based on the value of enableSkip.
|
Unloads any currently-loaded BIOS image, returning to software emulation.
|
Writes the byte value to the ROM address.
|
Writes pSize bytes to ROM from pData, starting at address, writing back the number of bytes written.
| EvmuPeripheral EvmuRom::base |
Inherited base instance structure.
Definition at line 116 of file evmu_rom.h.
| EvmuRomClass* EvmuRom::pClass |
Pointer to class/vtable structure.
Definition at line 116 of file evmu_rom.h.