LMMS
Loading...
Searching...
No Matches
Ay_Cpu Class Reference

#include <Ay_Cpu.h>

Inheritance diagram for Ay_Cpu:
Ay_Emu

Classes

struct  regs_t
struct  pairs_t
struct  registers_t
struct  state_t

Public Types

enum  { cpu_padding = 0x100 }

Public Member Functions

void reset (void *mem_64k)
bool run (cpu_time_t end_time)
cpu_time_t time () const
void set_time (cpu_time_t t)
void adjust_time (int delta)
 BOOST_STATIC_ASSERT (sizeof(regs_t)==8)
 Ay_Cpu ()

Public Attributes

registers_t r

Private Member Functions

void set_end_time (cpu_time_t t)

Private Attributes

uint8_t szpc [0x200]
uint8_tmem
cpu_time_t end_time_
state_tstate
state_t state_

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
cpu_padding 

Constructor & Destructor Documentation

◆ Ay_Cpu()

Ay_Cpu::Ay_Cpu ( )

Member Function Documentation

◆ adjust_time()

void Ay_Cpu::adjust_time ( int delta)
inline

◆ BOOST_STATIC_ASSERT()

Ay_Cpu::BOOST_STATIC_ASSERT ( sizeof(regs_t) = =8)

◆ reset()

void Ay_Cpu::reset ( void * mem_64k)

◆ run()

bool Ay_Cpu::run ( cpu_time_t end_time)

◆ set_end_time()

void Ay_Cpu::set_end_time ( cpu_time_t t)
inlineprivate

◆ set_time()

void Ay_Cpu::set_time ( cpu_time_t t)
inline

◆ time()

cpu_time_t Ay_Cpu::time ( ) const
inline

Member Data Documentation

◆ end_time_

cpu_time_t Ay_Cpu::end_time_
private

◆ mem

uint8_t* Ay_Cpu::mem
private

◆ r

registers_t Ay_Cpu::r

◆ state

state_t* Ay_Cpu::state
private

◆ state_

state_t Ay_Cpu::state_
private

◆ szpc

uint8_t Ay_Cpu::szpc[0x200]
private

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