yaze 0.2.0
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::app::emu::memory::Memory Class Referenceabstract

Memory interface. More...

#include <memory.h>

Inheritance diagram for yaze::app::emu::memory::Memory:

Public Member Functions

virtual ~Memory ()=default
 
virtual uint8_t ReadByte (uint32_t address) const =0
 
virtual uint16_t ReadWord (uint32_t address) const =0
 
virtual uint32_t ReadWordLong (uint32_t address) const =0
 
virtual std::vector< uint8_t > ReadByteVector (uint32_t address, uint16_t length) const =0
 
virtual void WriteByte (uint32_t address, uint8_t value)=0
 
virtual void WriteWord (uint32_t address, uint16_t value)=0
 
virtual void WriteLong (uint32_t address, uint32_t value)=0
 
virtual void PushByte (uint8_t value)=0
 
virtual uint8_t PopByte ()=0
 
virtual void PushWord (uint16_t value)=0
 
virtual uint16_t PopWord ()=0
 
virtual void PushLong (uint32_t value)=0
 
virtual uint32_t PopLong ()=0
 
virtual uint16_t SP () const =0
 
virtual void SetSP (uint16_t value)=0
 
virtual void ClearMemory ()=0
 
virtual uint8_t operator[] (int i) const =0
 
virtual uint8_t at (int i) const =0
 
virtual uint8_t open_bus () const =0
 
virtual void set_open_bus (uint8_t value)=0
 
virtual bool hdma_init_requested () const =0
 
virtual bool hdma_run_requested () const =0
 
virtual void init_hdma_request ()=0
 
virtual void run_hdma_request ()=0
 
virtual void set_hdma_run_requested (bool value)=0
 
virtual void set_hdma_init_requested (bool value)=0
 
virtual void set_pal_timing (bool value)=0
 
virtual void set_h_pos (uint16_t value)=0
 
virtual void set_v_pos (uint16_t value)=0
 
virtual auto h_pos () const -> uint16_t=0
 
virtual auto v_pos () const -> uint16_t=0
 
virtual auto pal_timing () const -> bool=0
 

Detailed Description

Memory interface.

Definition at line 48 of file memory.h.

Constructor & Destructor Documentation

◆ ~Memory()

virtual yaze::app::emu::memory::Memory::~Memory ( )
virtualdefault

Member Function Documentation

◆ ReadByte()

virtual uint8_t yaze::app::emu::memory::Memory::ReadByte ( uint32_t address) const
pure virtual

◆ ReadWord()

virtual uint16_t yaze::app::emu::memory::Memory::ReadWord ( uint32_t address) const
pure virtual

◆ ReadWordLong()

virtual uint32_t yaze::app::emu::memory::Memory::ReadWordLong ( uint32_t address) const
pure virtual

◆ ReadByteVector()

virtual std::vector< uint8_t > yaze::app::emu::memory::Memory::ReadByteVector ( uint32_t address,
uint16_t length ) const
pure virtual

◆ WriteByte()

virtual void yaze::app::emu::memory::Memory::WriteByte ( uint32_t address,
uint8_t value )
pure virtual

◆ WriteWord()

virtual void yaze::app::emu::memory::Memory::WriteWord ( uint32_t address,
uint16_t value )
pure virtual

◆ WriteLong()

virtual void yaze::app::emu::memory::Memory::WriteLong ( uint32_t address,
uint32_t value )
pure virtual

◆ PushByte()

virtual void yaze::app::emu::memory::Memory::PushByte ( uint8_t value)
pure virtual

◆ PopByte()

virtual uint8_t yaze::app::emu::memory::Memory::PopByte ( )
pure virtual

◆ PushWord()

virtual void yaze::app::emu::memory::Memory::PushWord ( uint16_t value)
pure virtual

◆ PopWord()

virtual uint16_t yaze::app::emu::memory::Memory::PopWord ( )
pure virtual

◆ PushLong()

virtual void yaze::app::emu::memory::Memory::PushLong ( uint32_t value)
pure virtual

◆ PopLong()

virtual uint32_t yaze::app::emu::memory::Memory::PopLong ( )
pure virtual

◆ SP()

virtual uint16_t yaze::app::emu::memory::Memory::SP ( ) const
pure virtual

◆ SetSP()

virtual void yaze::app::emu::memory::Memory::SetSP ( uint16_t value)
pure virtual

◆ ClearMemory()

virtual void yaze::app::emu::memory::Memory::ClearMemory ( )
pure virtual

◆ operator[]()

virtual uint8_t yaze::app::emu::memory::Memory::operator[] ( int i) const
pure virtual

◆ at()

virtual uint8_t yaze::app::emu::memory::Memory::at ( int i) const
pure virtual

◆ open_bus()

virtual uint8_t yaze::app::emu::memory::Memory::open_bus ( ) const
pure virtual

◆ set_open_bus()

virtual void yaze::app::emu::memory::Memory::set_open_bus ( uint8_t value)
pure virtual

◆ hdma_init_requested()

virtual bool yaze::app::emu::memory::Memory::hdma_init_requested ( ) const
pure virtual

◆ hdma_run_requested()

virtual bool yaze::app::emu::memory::Memory::hdma_run_requested ( ) const
pure virtual

◆ init_hdma_request()

virtual void yaze::app::emu::memory::Memory::init_hdma_request ( )
pure virtual

◆ run_hdma_request()

virtual void yaze::app::emu::memory::Memory::run_hdma_request ( )
pure virtual

◆ set_hdma_run_requested()

virtual void yaze::app::emu::memory::Memory::set_hdma_run_requested ( bool value)
pure virtual

◆ set_hdma_init_requested()

virtual void yaze::app::emu::memory::Memory::set_hdma_init_requested ( bool value)
pure virtual

◆ set_pal_timing()

virtual void yaze::app::emu::memory::Memory::set_pal_timing ( bool value)
pure virtual

◆ set_h_pos()

virtual void yaze::app::emu::memory::Memory::set_h_pos ( uint16_t value)
pure virtual

◆ set_v_pos()

virtual void yaze::app::emu::memory::Memory::set_v_pos ( uint16_t value)
pure virtual

◆ h_pos()

virtual auto yaze::app::emu::memory::Memory::h_pos ( ) const -> uint16_t
pure virtual

◆ v_pos()

virtual auto yaze::app::emu::memory::Memory::v_pos ( ) const -> uint16_t
pure virtual

◆ pal_timing()

virtual auto yaze::app::emu::memory::Memory::pal_timing ( ) const -> bool
pure virtual

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