libElysianVMU 1.6.0
Full-featured, accurate, cross-platform library emulating the Dreamcast's Visual Memory Unit
Loading...
Searching...
No Matches
EvmuCpuClass Struct Reference

#include <evmu_cpu.h>

Inheritance diagram for EvmuCpuClass:
EvmuPeripheralClass EvmuIBehaviorClass

Data Fields

EvmuPeripheralClass base
 
EVMU_RESULT(* pFnFetch )(EvmuCpu *pSelf, EvmuPc pc, EvmuInstruction *pEncoded)
 
EVMU_RESULT(* pFnDecode )(EvmuCpu *pSelf, const EvmuInstruction *pEncoded, EvmuDecodedInstruction *pDecoded)
 
EVMU_RESULT(* pFnExecute )(EvmuCpu *pSelf, const EvmuDecodedInstruction *pInstr)
 
EVMU_RESULT(* pFnRunNext )(EvmuCpu *pSelf)
 
- Data Fields inherited from EvmuPeripheralClass
GblObjectClass base
 
EvmuIBehaviorClass EvmuIBehaviorImpl
 
EVMU_RESULT(* pFnMemoryEvent )(EvmuPeripheral *pSelf, EvmuMemoryEvent *pEvent)
 
EVMU_RESULT(* pFnClockEvent )(EvmuPeripheral *pSelf, EvmuClockEvent *pEvent)
 
- Data Fields inherited from EvmuIBehaviorClass
GblInterface base
 
EVMU_RESULT(* pFnReset )(EvmuIBehavior *pSelf)
 
EVMU_RESULT(* pFnUpdate )(EvmuIBehavior *pSelf, EvmuTicks ticks)
 
EVMU_RESULT(* pFnSaveState )(const EvmuIBehavior *pSelf, FILE *pFile)
 
EVMU_RESULT(* pFnLoadState )(EvmuIBehavior *pSelf, FILE *pFile)
 

Detailed Description

Class for Sanyo LC86k CPU core.

This structure is responsible for providing the actual implementation of the LC86k back-end logic. It can be overridden within a subclass to customize.

See also
EvmuCpu

Definition at line 59 of file evmu_cpu.h.

Field Documentation

◆ base

EvmuPeripheralClass EvmuCpuClass::base

Inherited base class structure.

Definition at line 59 of file evmu_cpu.h.

◆ pFnDecode

EVMU_RESULT(* EvmuCpuClass::pFnDecode) (EvmuCpu *pSelf, const EvmuInstruction *pEncoded, EvmuDecodedInstruction *pDecoded)

Virtual method for decoding instructions.

Definition at line 65 of file evmu_cpu.h.

◆ pFnExecute

EVMU_RESULT(* EvmuCpuClass::pFnExecute) (EvmuCpu *pSelf, const EvmuDecodedInstruction *pInstr)

Virtual method for executing instructions.

Definition at line 69 of file evmu_cpu.h.

◆ pFnFetch

EVMU_RESULT(* EvmuCpuClass::pFnFetch) (EvmuCpu *pSelf, EvmuPc pc, EvmuInstruction *pEncoded)

Virtual method for fetching instructions.

Definition at line 61 of file evmu_cpu.h.

◆ pFnRunNext

EVMU_RESULT(* EvmuCpuClass::pFnRunNext) (EvmuCpu *pSelf)

Virtual method for top-level logic behind running a single instruction.

Definition at line 72 of file evmu_cpu.h.


The documentation for this struct was generated from the following file: