#include <cpu.h>
Public Types | |
enum class | AccessType { Control , Data } |
Public Member Functions | |
Cpu (memory::Memory &mem, Clock &vclock, memory::CpuCallbacks &callbacks) | |
void | Reset (bool hard=false) |
void | RunOpcode () |
void | ExecuteInstruction (uint8_t opcode) |
void | LogInstructions (uint16_t PC, uint8_t opcode, uint16_t operand, bool immediate, bool accumulator_mode) |
void | UpdatePC (uint8_t instruction_length) |
void | UpdateClock (int delta_time) |
void | SetIrq (bool state) |
void | Nmi () |
uint8_t | GetInstructionLength (uint8_t opcode) |
void | DoInterrupt () |
void | SetFlags (uint8_t val) |
void | SetZN (uint16_t value, bool byte) |
bool | m () |
bool | xf () |
int | GetAccumulatorSize () const |
int | GetIndexSize () const |
void | SetAccumulatorSize (bool set) |
void | SetIndexSize (bool set) |
void | SetNegativeFlag (bool set) |
void | SetOverflowFlag (bool set) |
void | SetBreakFlag (bool set) |
void | SetDecimalFlag (bool set) |
void | SetInterruptFlag (bool set) |
void | SetZeroFlag (bool set) |
void | SetCarryFlag (bool set) |
bool | GetNegativeFlag () const |
bool | GetOverflowFlag () const |
bool | GetBreakFlag () const |
bool | GetDecimalFlag () const |
bool | GetInterruptFlag () const |
bool | GetZeroFlag () const |
bool | GetCarryFlag () const |
uint8_t | ReadOpcode () |
uint16_t | ReadOpcodeWord (bool int_check=false) |
uint8_t | ReadByte (uint32_t address) |
uint16_t | ReadWord (uint32_t address, uint32_t address_high, bool int_check=false) |
uint32_t | ReadWordLong (uint32_t address) |
void | WriteByte (uint32_t address, uint8_t value) |
void | WriteWord (uint32_t address, uint32_t address_high, uint16_t value, bool reversed=false, bool int_check=false) |
void | WriteLong (uint32_t address, uint32_t value) |
void | PushByte (uint8_t value) |
void | PushWord (uint16_t value, bool int_check=false) |
void | PushLong (uint32_t value) |
uint8_t | PopByte () |
uint16_t | PopWord (bool int_check=false) |
uint32_t | PopLong () |
void | DoBranch (bool check) |
void | set_int_delay (bool delay) |
uint32_t | Absolute (uint32_t *low) |
uint32_t | AbsoluteIndexedX () |
uint32_t | AdrAbx (uint32_t *low, bool write) |
uint32_t | AbsoluteIndexedY () |
uint32_t | AdrAby (uint32_t *low, bool write) |
void | AdrImp () |
uint32_t | AdrIdx (uint32_t *low) |
uint32_t | AdrIdp (uint32_t *low) |
uint32_t | AdrIdy (uint32_t *low, bool write) |
uint32_t | AdrIdl (uint32_t *low) |
uint32_t | AdrIly (uint32_t *low) |
uint32_t | AdrIsy (uint32_t *low) |
uint32_t | Immediate (uint32_t *low, bool xFlag) |
uint16_t | AbsoluteIndexedIndirect () |
uint16_t | AbsoluteIndirect () |
uint32_t | AbsoluteIndirectLong () |
uint32_t | AbsoluteLong () |
uint32_t | AdrAbl (uint32_t *low) |
uint32_t | AbsoluteLongIndexedX () |
uint32_t | AdrAlx (uint32_t *low) |
void | BlockMove (uint16_t source, uint16_t dest, uint16_t length) |
uint16_t | DirectPage () |
uint32_t | AdrDp (uint32_t *low) |
uint16_t | DirectPageIndexedX () |
uint32_t | AdrDpx (uint32_t *low) |
uint16_t | DirectPageIndexedY () |
uint32_t | AdrDpy (uint32_t *low) |
uint16_t | DirectPageIndexedIndirectX () |
uint16_t | DirectPageIndirect () |
uint32_t | DirectPageIndirectLong () |
uint16_t | DirectPageIndirectIndexedY () |
uint32_t | DirectPageIndirectLongIndexedY () |
uint16_t | Immediate (bool index_size=false) |
uint16_t | StackRelative () |
uint32_t | AdrSr (uint32_t *low) |
uint32_t | StackRelativeIndirectIndexedY () |
void | ADC (uint16_t operand) |
void | AND (uint32_t address, bool immediate=false) |
void | ANDAbsoluteLong (uint32_t address) |
void | ASL (uint16_t address) |
void | BCC (int8_t offset) |
void | BCS (int8_t offset) |
void | BEQ (int8_t offset) |
void | BIT (uint16_t address) |
void | BMI (int8_t offset) |
void | BNE (int8_t offset) |
void | BPL (int8_t offset) |
void | BRA (int8_t offset) |
void | BRK () |
void | BRL (int16_t offset) |
void | BVC (int8_t offset) |
void | BVS (int8_t offset) |
void | CLC () |
void | CLD () |
void | CLI () |
void | CLV () |
void | CMP (uint32_t address, bool immediate=false) |
void | COP () |
void | CPX (uint32_t address, bool immediate=false) |
void | CPY (uint32_t address, bool immediate=false) |
void | DEC (uint32_t address, bool accumulator=false) |
void | DEX () |
void | DEY () |
void | EOR (uint32_t address, bool immediate=false) |
void | INC (uint32_t address, bool accumulator=false) |
void | INX () |
void | INY () |
void | JMP (uint16_t address) |
void | JML (uint16_t address) |
void | JSR (uint16_t address) |
void | JSL (uint16_t address) |
void | LDA (uint16_t address, bool immediate=false, bool direct_page=false, bool data_bank=false) |
void | LDX (uint16_t address, bool immediate=false) |
void | LDY (uint16_t address, bool immediate=false) |
void | LSR (uint16_t address, bool accumulator=false) |
void | MVN () |
void | MVP () |
void | NOP () |
void | ORA (uint32_t low, uint32_t high) |
void | PEA () |
void | PEI () |
void | PER () |
void | PHA () |
void | PHB () |
void | PHD () |
void | PHK () |
void | PHP () |
void | PHX () |
void | PHY () |
void | PLA () |
void | PLB () |
void | PLD () |
void | PLP () |
void | PLX () |
void | PLY () |
void | REP () |
void | ROL (uint32_t address, bool accumulator=false) |
void | ROR (uint32_t address, bool accumulator=false) |
void | RTI () |
void | RTL () |
void | RTS () |
void | SBC (uint32_t operand, bool immediate=false) |
void | SEC () |
void | SED () |
void | SEI () |
void | SEP () |
void | STA (uint32_t address) |
void | STP () |
void | STX (uint16_t address) |
void | STY (uint16_t address) |
void | STZ (uint16_t address) |
void | TAX () |
void | TAY () |
void | TCD () |
void | TCS () |
void | TDC () |
void | TRB (uint16_t address) |
void | TSB (uint16_t address) |
void | TSC () |
void | TSX () |
void | TXA () |
void | TXS () |
void | TXY () |
void | TYA () |
void | TYX () |
void | WAI () |
void | WDM () |
void | XBA () |
void | XCE () |
void | And (uint32_t low, uint32_t high) |
void | Eor (uint32_t low, uint32_t high) |
void | Adc (uint32_t low, uint32_t high) |
void | Sbc (uint32_t low, uint32_t high) |
void | Cmp (uint32_t low, uint32_t high) |
void | Cpx (uint32_t low, uint32_t high) |
void | Cpy (uint32_t low, uint32_t high) |
void | Bit (uint32_t low, uint32_t high) |
void | Lda (uint32_t low, uint32_t high) |
void | Ldx (uint32_t low, uint32_t high) |
void | Ldy (uint32_t low, uint32_t high) |
void | Sta (uint32_t low, uint32_t high) |
void | Stx (uint32_t low, uint32_t high) |
void | Sty (uint32_t low, uint32_t high) |
void | Stz (uint32_t low, uint32_t high) |
void | Ror (uint32_t low, uint32_t high) |
void | Rol (uint32_t low, uint32_t high) |
void | Lsr (uint32_t low, uint32_t high) |
void | Asl (uint32_t low, uint32_t high) |
void | Inc (uint32_t low, uint32_t high) |
void | Dec (uint32_t low, uint32_t high) |
void | Tsb (uint32_t low, uint32_t high) |
void | Trb (uint32_t low, uint32_t high) |
uint16_t | SP () const |
void | SetSP (uint16_t value) |
bool | IsBreakpoint (uint32_t address) |
void | SetBreakpoint (uint32_t address) |
void | ClearBreakpoint (uint32_t address) |
void | ClearBreakpoints () |
auto | GetBreakpoints () |
void | CheckInt () |
auto | mutable_log_instructions () -> bool * |
Public Member Functions inherited from yaze::app::core::ExperimentFlags | |
ExperimentFlags ()=default | |
virtual | ~ExperimentFlags ()=default |
auto | flags () const |
Flags * | mutable_flags () |
std::string | Serialize () const |
Public Attributes | |
std::vector< uint32_t > | breakpoints_ |
std::vector< InstructionEntry > | instruction_log_ |
uint16_t | A = 0 |
uint16_t | X = 0 |
uint16_t | Y = 0 |
uint16_t | D = 0 |
uint8_t | DB = 0 |
uint8_t | PB = 0 |
uint16_t | PC = 0 |
uint8_t | E = 1 |
uint8_t | status = 0b00110000 |
Private Member Functions | |
void | compare (uint16_t register_value, uint16_t memory_value) |
void | SetFlag (uint8_t mask, bool set) |
bool | GetFlag (uint8_t mask) const |
Private Attributes | |
bool | log_instructions_ = false |
bool | waiting_ = false |
bool | stopped_ = false |
bool | irq_wanted_ = false |
bool | nmi_wanted_ = false |
bool | reset_wanted_ = false |
bool | int_wanted_ = false |
bool | int_delay_ = false |
memory::CpuCallbacks | callbacks_ |
memory::Memory & | memory |
Clock & | clock |
Additional Inherited Members | |
Protected Member Functions inherited from yaze::app::emu::Loggable | |
virtual | ~Loggable ()=default |
virtual void | LogMessage (const std::string &message) |
Protected Attributes inherited from yaze::app::emu::Loggable | |
Logger & | logger_ = Logger::GetInstance() |
|
strong |
|
inlineexplicit |
void yaze::app::emu::Cpu::Reset | ( | bool | hard = false | ) |
Definition at line 15 of file cpu.cc.
References A, D, DB, E, int_delay_, int_wanted_, irq_wanted_, nmi_wanted_, PB, PC, reset_wanted_, status, stopped_, waiting_, X, and Y.
Referenced by yaze::app::emu::SNES::Reset().
void yaze::app::emu::Cpu::RunOpcode | ( | ) |
Definition at line 37 of file cpu.cc.
References callbacks_, CheckInt(), DoInterrupt(), E, ExecuteInstruction(), yaze::app::emu::memory::CpuCallbacks::idle, int_wanted_, irq_wanted_, nmi_wanted_, PB, PC, ReadByte(), ReadOpcode(), ReadWord(), reset_wanted_, SetDecimalFlag(), SetFlags(), SetInterruptFlag(), SetSP(), SP(), status, stopped_, and waiting_.
Referenced by yaze::app::emu::SNES::RunFrame().
void yaze::app::emu::Cpu::ExecuteInstruction | ( | uint8_t | opcode | ) |
Definition at line 104 of file cpu.cc.
References A, Absolute(), Adc(), AdrAbl(), AdrAbx(), AdrAby(), AdrAlx(), AdrDp(), AdrDpx(), AdrDpy(), AdrIdl(), AdrIdp(), AdrIdx(), AdrIdy(), AdrIly(), AdrImp(), AdrIsy(), AdrSr(), And(), Asl(), Bit(), callbacks_, CheckInt(), Cmp(), Cpx(), Cpy(), D, DB, Dec(), DoBranch(), E, Eor(), GetAccumulatorSize(), GetCarryFlag(), GetIndexSize(), GetNegativeFlag(), GetOverflowFlag(), GetZeroFlag(), yaze::app::emu::memory::CpuCallbacks::idle, Immediate(), Inc(), Lda(), Ldx(), Ldy(), log_instructions_, LogInstructions(), Lsr(), ORA(), PB, PC, PopByte(), PopWord(), PushByte(), PushWord(), ReadByte(), ReadOpcode(), ReadOpcodeWord(), ReadWord(), Rol(), Ror(), Sbc(), SetCarryFlag(), SetDecimalFlag(), SetFlags(), SetInterruptFlag(), SetOverflowFlag(), SetSP(), SetZeroFlag(), SetZN(), SP(), Sta(), status, stopped_, Stx(), Sty(), Stz(), Trb(), Tsb(), waiting_, WriteByte(), X, and Y.
Referenced by yaze::app::zelda3::dungeon::DungeonObjectRenderer::RenderObject(), and RunOpcode().
void yaze::app::emu::Cpu::LogInstructions | ( | uint16_t | PC, |
uint8_t | opcode, | ||
uint16_t | operand, | ||
bool | immediate, | ||
bool | accumulator_mode ) |
Definition at line 1805 of file cpu.cc.
References A, D, DB, yaze::app::core::ExperimentFlags::flags(), instruction_log_, opcode_to_mnemonic, PB, PC, SP(), status, X, and Y.
Referenced by ExecuteInstruction().
|
inline |
|
inline |
Definition at line 53 of file cpu.h.
References clock, and yaze::app::emu::Clock::UpdateClock().
|
inline |
Definition at line 55 of file cpu.h.
References irq_wanted_.
Referenced by yaze::app::emu::SNES::ReadReg(), yaze::app::emu::SNES::RunCycle(), and yaze::app::emu::SNES::WriteReg().
|
inline |
Definition at line 56 of file cpu.h.
References nmi_wanted_.
Referenced by yaze::app::emu::SNES::RunCycle(), and yaze::app::emu::SNES::WriteReg().
uint8_t yaze::app::emu::Cpu::GetInstructionLength | ( | uint8_t | opcode | ) |
void yaze::app::emu::Cpu::DoInterrupt | ( | ) |
Definition at line 87 of file cpu.cc.
References callbacks_, yaze::app::emu::memory::CpuCallbacks::idle, int_wanted_, nmi_wanted_, PB, PC, PushByte(), PushWord(), ReadWord(), SetDecimalFlag(), SetInterruptFlag(), and status.
Referenced by RunOpcode().
|
inline |
Definition at line 100 of file cpu.h.
References E, GetIndexSize(), SetAccumulatorSize(), SetIndexSize(), SetSP(), SP(), status, X, and Y.
Referenced by ExecuteInstruction(), and RunOpcode().
|
inline |
|
inline |
Definition at line 124 of file cpu.h.
References GetAccumulatorSize().
|
inline |
Definition at line 125 of file cpu.h.
References GetIndexSize().
|
inline |
|
inline |
|
inline |
Definition at line 128 of file cpu.h.
References SetFlag().
Referenced by yaze::app::zelda3::dungeon::DungeonObjectRenderer::ConfigureObject(), and SetFlags().
|
inline |
Definition at line 129 of file cpu.h.
References SetFlag().
Referenced by yaze::app::zelda3::dungeon::DungeonObjectRenderer::ConfigureObject(), and SetFlags().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 135 of file cpu.h.
References SetFlag().
Referenced by DoInterrupt(), ExecuteInstruction(), and RunOpcode().
|
inline |
Definition at line 136 of file cpu.h.
References SetFlag().
Referenced by DoInterrupt(), ExecuteInstruction(), and RunOpcode().
|
inline |
|
inline |
|
inline |
Definition at line 141 of file cpu.h.
References GetFlag().
Referenced by ExecuteInstruction().
|
inline |
Definition at line 142 of file cpu.h.
References GetFlag().
Referenced by ExecuteInstruction().
|
inline |
|
inline |
|
inline |
Definition at line 145 of file cpu.h.
References GetFlag().
Referenced by CheckInt().
|
inline |
Definition at line 146 of file cpu.h.
References GetFlag().
Referenced by ExecuteInstruction().
|
inline |
|
inline |
Definition at line 151 of file cpu.h.
References PB, PC, and ReadByte().
Referenced by AdrAbl(), AdrAlx(), AdrDp(), AdrDpx(), AdrDpy(), AdrIdl(), AdrIdp(), AdrIdx(), AdrIdy(), AdrIly(), AdrIsy(), AdrSr(), DirectPage(), DirectPageIndexedX(), DirectPageIndexedY(), DirectPageIndirectLong(), DirectPageIndirectLongIndexedY(), DoBranch(), ExecuteInstruction(), ReadOpcodeWord(), RunOpcode(), and StackRelative().
|
inline |
Definition at line 153 of file cpu.h.
References CheckInt(), and ReadOpcode().
Referenced by Absolute(), AdrAbl(), AdrAbx(), AdrAby(), AdrAlx(), and ExecuteInstruction().
|
inline |
Definition at line 160 of file cpu.h.
References callbacks_, and yaze::app::emu::memory::CpuCallbacks::read_byte.
Referenced by Adc(), AdrIdl(), AdrIly(), AdrImp(), And(), Asl(), Bit(), Cmp(), Cpx(), Cpy(), Dec(), Eor(), ExecuteInstruction(), Inc(), Lda(), Ldx(), Ldy(), Lsr(), ORA(), PopByte(), ReadOpcode(), ReadWord(), ReadWordLong(), yaze::app::zelda3::dungeon::DungeonObjectRenderer::RenderObject(), Rol(), Ror(), RunOpcode(), Sbc(), Trb(), and Tsb().
|
inline |
Definition at line 161 of file cpu.h.
References CheckInt(), and ReadByte().
Referenced by Adc(), AdrIdl(), AdrIdp(), AdrIdx(), AdrIdy(), AdrIly(), AdrIsy(), And(), Asl(), Bit(), Cmp(), Cpx(), Cpy(), Dec(), DoInterrupt(), Eor(), ExecuteInstruction(), Inc(), Lda(), Ldx(), Ldy(), Lsr(), ORA(), Rol(), Ror(), RunOpcode(), Sbc(), Trb(), and Tsb().
|
inline |
Definition at line 168 of file cpu.h.
References ReadByte().
Referenced by DirectPageIndirectLong(), and DirectPageIndirectLongIndexedY().
|
inline |
|
inline |
|
inline |
Definition at line 191 of file cpu.h.
References callbacks_, and yaze::app::emu::memory::CpuCallbacks::write_byte.
Referenced by yaze::app::zelda3::dungeon::DungeonObjectRenderer::ConfigureObject().
|
inline |
Definition at line 197 of file cpu.h.
References callbacks_, E, SetSP(), SP(), and yaze::app::emu::memory::CpuCallbacks::write_byte.
Referenced by DoInterrupt(), ExecuteInstruction(), PushLong(), and PushWord().
|
inline |
Definition at line 202 of file cpu.h.
References CheckInt(), and PushByte().
Referenced by DoInterrupt(), ExecuteInstruction(), and PushLong().
|
inline |
Definition at line 207 of file cpu.h.
References PushByte(), and PushWord().
Referenced by yaze::app::zelda3::dungeon::DungeonObjectRenderer::RenderObject().
|
inline |
Definition at line 212 of file cpu.h.
References E, ReadByte(), SetSP(), and SP().
Referenced by ExecuteInstruction(), PopLong(), and PopWord().
|
inline |
Definition at line 217 of file cpu.h.
References CheckInt(), and PopByte().
Referenced by ExecuteInstruction(), and PopLong().
|
inline |
|
inline |
Definition at line 228 of file cpu.h.
References callbacks_, CheckInt(), yaze::app::emu::memory::CpuCallbacks::idle, PC, and ReadOpcode().
Referenced by ExecuteInstruction().
|
inline |
Definition at line 238 of file cpu.h.
References int_delay_.
Referenced by yaze::app::emu::SNES::CpuIdle(), yaze::app::emu::SNES::CpuRead(), yaze::app::emu::SNES::CpuWrite(), and yaze::app::emu::SNES::WriteReg().
uint32_t yaze::app::emu::Cpu::Absolute | ( | uint32_t * | low | ) |
Definition at line 98 of file addressing.cc.
References DB, and ReadOpcodeWord().
Referenced by ExecuteInstruction().
uint32_t yaze::app::emu::Cpu::AbsoluteIndexedX | ( | ) |
uint32_t yaze::app::emu::Cpu::AdrAbx | ( | uint32_t * | low, |
bool | write ) |
Definition at line 104 of file addressing.cc.
References callbacks_, DB, GetIndexSize(), yaze::app::emu::memory::CpuCallbacks::idle, ReadOpcodeWord(), and X.
Referenced by ExecuteInstruction().
uint32_t yaze::app::emu::Cpu::AbsoluteIndexedY | ( | ) |
uint32_t yaze::app::emu::Cpu::AdrAby | ( | uint32_t * | low, |
bool | write ) |
Definition at line 113 of file addressing.cc.
References callbacks_, DB, GetIndexSize(), yaze::app::emu::memory::CpuCallbacks::idle, ReadOpcodeWord(), and Y.
Referenced by ExecuteInstruction().
void yaze::app::emu::Cpu::AdrImp | ( | ) |
Definition at line 7 of file addressing.cc.
References callbacks_, CheckInt(), yaze::app::emu::memory::CpuCallbacks::idle, int_wanted_, PB, PC, and ReadByte().
Referenced by ExecuteInstruction().
uint32_t yaze::app::emu::Cpu::AdrIdx | ( | uint32_t * | low | ) |
Definition at line 159 of file addressing.cc.
References callbacks_, D, DB, yaze::app::emu::memory::CpuCallbacks::idle, ReadOpcode(), ReadWord(), and X.
Referenced by ExecuteInstruction().
uint32_t yaze::app::emu::Cpu::AdrIdp | ( | uint32_t * | low | ) |
Definition at line 45 of file addressing.cc.
References callbacks_, D, DB, yaze::app::emu::memory::CpuCallbacks::idle, ReadOpcode(), and ReadWord().
Referenced by ExecuteInstruction().
uint32_t yaze::app::emu::Cpu::AdrIdy | ( | uint32_t * | low, |
bool | write ) |
Definition at line 53 of file addressing.cc.
References callbacks_, D, DB, GetIndexSize(), yaze::app::emu::memory::CpuCallbacks::idle, ReadOpcode(), ReadWord(), and Y.
Referenced by ExecuteInstruction().
uint32_t yaze::app::emu::Cpu::AdrIdl | ( | uint32_t * | low | ) |
Definition at line 64 of file addressing.cc.
References callbacks_, D, yaze::app::emu::memory::CpuCallbacks::idle, ReadByte(), ReadOpcode(), and ReadWord().
Referenced by ExecuteInstruction().
uint32_t yaze::app::emu::Cpu::AdrIly | ( | uint32_t * | low | ) |
Definition at line 73 of file addressing.cc.
References callbacks_, D, yaze::app::emu::memory::CpuCallbacks::idle, ReadByte(), ReadOpcode(), ReadWord(), and Y.
Referenced by ExecuteInstruction().
uint32_t yaze::app::emu::Cpu::AdrIsy | ( | uint32_t * | low | ) |
Definition at line 89 of file addressing.cc.
References callbacks_, DB, yaze::app::emu::memory::CpuCallbacks::idle, ReadOpcode(), ReadWord(), SP(), and Y.
Referenced by ExecuteInstruction().
uint32_t yaze::app::emu::Cpu::Immediate | ( | uint32_t * | low, |
bool | xFlag ) |
Definition at line 19 of file addressing.cc.
References GetAccumulatorSize(), GetIndexSize(), PB, and PC.
Referenced by ExecuteInstruction().
uint16_t yaze::app::emu::Cpu::AbsoluteIndexedIndirect | ( | ) |
uint16_t yaze::app::emu::Cpu::AbsoluteIndirect | ( | ) |
uint32_t yaze::app::emu::Cpu::AbsoluteIndirectLong | ( | ) |
uint32_t yaze::app::emu::Cpu::AbsoluteLong | ( | ) |
uint32_t yaze::app::emu::Cpu::AdrAbl | ( | uint32_t * | low | ) |
Definition at line 122 of file addressing.cc.
References ReadOpcode(), and ReadOpcodeWord().
Referenced by ExecuteInstruction().
uint32_t yaze::app::emu::Cpu::AbsoluteLongIndexedX | ( | ) |
uint32_t yaze::app::emu::Cpu::AdrAlx | ( | uint32_t * | low | ) |
Definition at line 129 of file addressing.cc.
References ReadOpcode(), ReadOpcodeWord(), and X.
Referenced by ExecuteInstruction().
void yaze::app::emu::Cpu::BlockMove | ( | uint16_t | source, |
uint16_t | dest, | ||
uint16_t | length ) |
uint16_t yaze::app::emu::Cpu::DirectPage | ( | ) |
Definition at line 143 of file addressing.cc.
References D, and ReadOpcode().
uint32_t yaze::app::emu::Cpu::AdrDp | ( | uint32_t * | low | ) |
Definition at line 136 of file addressing.cc.
References callbacks_, D, yaze::app::emu::memory::CpuCallbacks::idle, and ReadOpcode().
Referenced by ExecuteInstruction().
uint16_t yaze::app::emu::Cpu::DirectPageIndexedX | ( | ) |
Definition at line 148 of file addressing.cc.
References D, GetAccumulatorSize(), ReadOpcode(), and X.
uint32_t yaze::app::emu::Cpu::AdrDpx | ( | uint32_t * | low | ) |
Definition at line 29 of file addressing.cc.
References callbacks_, D, yaze::app::emu::memory::CpuCallbacks::idle, ReadOpcode(), and X.
Referenced by ExecuteInstruction().
uint16_t yaze::app::emu::Cpu::DirectPageIndexedY | ( | ) |
Definition at line 154 of file addressing.cc.
References ReadOpcode(), and Y.
uint32_t yaze::app::emu::Cpu::AdrDpy | ( | uint32_t * | low | ) |
Definition at line 37 of file addressing.cc.
References callbacks_, D, yaze::app::emu::memory::CpuCallbacks::idle, ReadOpcode(), and Y.
Referenced by ExecuteInstruction().
uint16_t yaze::app::emu::Cpu::DirectPageIndexedIndirectX | ( | ) |
uint16_t yaze::app::emu::Cpu::DirectPageIndirect | ( | ) |
uint32_t yaze::app::emu::Cpu::DirectPageIndirectLong | ( | ) |
Definition at line 168 of file addressing.cc.
References D, ReadOpcode(), and ReadWordLong().
uint16_t yaze::app::emu::Cpu::DirectPageIndirectIndexedY | ( | ) |
uint32_t yaze::app::emu::Cpu::DirectPageIndirectLongIndexedY | ( | ) |
Definition at line 174 of file addressing.cc.
References D, GetAccumulatorSize(), ReadOpcode(), ReadWordLong(), and Y.
uint16_t yaze::app::emu::Cpu::Immediate | ( | bool | index_size = false | ) |
uint16_t yaze::app::emu::Cpu::StackRelative | ( | ) |
Definition at line 182 of file addressing.cc.
References ReadOpcode(), and SP().
uint32_t yaze::app::emu::Cpu::AdrSr | ( | uint32_t * | low | ) |
Definition at line 82 of file addressing.cc.
References callbacks_, yaze::app::emu::memory::CpuCallbacks::idle, ReadOpcode(), and SP().
Referenced by ExecuteInstruction().
uint32_t yaze::app::emu::Cpu::StackRelativeIndirectIndexedY | ( | ) |
void yaze::app::emu::Cpu::ADC | ( | uint16_t | operand | ) |
void yaze::app::emu::Cpu::AND | ( | uint32_t | address, |
bool | immediate = false ) |
void yaze::app::emu::Cpu::ANDAbsoluteLong | ( | uint32_t | address | ) |
void yaze::app::emu::Cpu::ASL | ( | uint16_t | address | ) |
void yaze::app::emu::Cpu::BCC | ( | int8_t | offset | ) |
void yaze::app::emu::Cpu::BCS | ( | int8_t | offset | ) |
void yaze::app::emu::Cpu::BEQ | ( | int8_t | offset | ) |
void yaze::app::emu::Cpu::BIT | ( | uint16_t | address | ) |
void yaze::app::emu::Cpu::BMI | ( | int8_t | offset | ) |
void yaze::app::emu::Cpu::BNE | ( | int8_t | offset | ) |
void yaze::app::emu::Cpu::BPL | ( | int8_t | offset | ) |
void yaze::app::emu::Cpu::BRA | ( | int8_t | offset | ) |
void yaze::app::emu::Cpu::BRK | ( | ) |
void yaze::app::emu::Cpu::BRL | ( | int16_t | offset | ) |
void yaze::app::emu::Cpu::BVC | ( | int8_t | offset | ) |
void yaze::app::emu::Cpu::BVS | ( | int8_t | offset | ) |
void yaze::app::emu::Cpu::CLC | ( | ) |
void yaze::app::emu::Cpu::CLD | ( | ) |
void yaze::app::emu::Cpu::CLI | ( | ) |
void yaze::app::emu::Cpu::CLV | ( | ) |
void yaze::app::emu::Cpu::CMP | ( | uint32_t | address, |
bool | immediate = false ) |
void yaze::app::emu::Cpu::COP | ( | ) |
void yaze::app::emu::Cpu::CPX | ( | uint32_t | address, |
bool | immediate = false ) |
void yaze::app::emu::Cpu::CPY | ( | uint32_t | address, |
bool | immediate = false ) |
void yaze::app::emu::Cpu::DEC | ( | uint32_t | address, |
bool | accumulator = false ) |
void yaze::app::emu::Cpu::DEX | ( | ) |
void yaze::app::emu::Cpu::DEY | ( | ) |
void yaze::app::emu::Cpu::EOR | ( | uint32_t | address, |
bool | immediate = false ) |
void yaze::app::emu::Cpu::INC | ( | uint32_t | address, |
bool | accumulator = false ) |
void yaze::app::emu::Cpu::INX | ( | ) |
void yaze::app::emu::Cpu::INY | ( | ) |
void yaze::app::emu::Cpu::JMP | ( | uint16_t | address | ) |
void yaze::app::emu::Cpu::JML | ( | uint16_t | address | ) |
void yaze::app::emu::Cpu::JSR | ( | uint16_t | address | ) |
void yaze::app::emu::Cpu::JSL | ( | uint16_t | address | ) |
void yaze::app::emu::Cpu::LDA | ( | uint16_t | address, |
bool | immediate = false, | ||
bool | direct_page = false, | ||
bool | data_bank = false ) |
void yaze::app::emu::Cpu::LDX | ( | uint16_t | address, |
bool | immediate = false ) |
void yaze::app::emu::Cpu::LDY | ( | uint16_t | address, |
bool | immediate = false ) |
void yaze::app::emu::Cpu::LSR | ( | uint16_t | address, |
bool | accumulator = false ) |
void yaze::app::emu::Cpu::MVN | ( | ) |
void yaze::app::emu::Cpu::MVP | ( | ) |
void yaze::app::emu::Cpu::NOP | ( | ) |
void yaze::app::emu::Cpu::ORA | ( | uint32_t | low, |
uint32_t | high ) |
Definition at line 385 of file instructions.cc.
References A, CheckInt(), GetAccumulatorSize(), ReadByte(), ReadWord(), SetNegativeFlag(), and SetZeroFlag().
Referenced by ExecuteInstruction().
void yaze::app::emu::Cpu::PEA | ( | ) |
void yaze::app::emu::Cpu::PEI | ( | ) |
void yaze::app::emu::Cpu::PER | ( | ) |
void yaze::app::emu::Cpu::PHA | ( | ) |
void yaze::app::emu::Cpu::PHB | ( | ) |
void yaze::app::emu::Cpu::PHD | ( | ) |
void yaze::app::emu::Cpu::PHK | ( | ) |
void yaze::app::emu::Cpu::PHP | ( | ) |
void yaze::app::emu::Cpu::PHX | ( | ) |
void yaze::app::emu::Cpu::PHY | ( | ) |
void yaze::app::emu::Cpu::PLA | ( | ) |
void yaze::app::emu::Cpu::PLB | ( | ) |
void yaze::app::emu::Cpu::PLD | ( | ) |
void yaze::app::emu::Cpu::PLP | ( | ) |
void yaze::app::emu::Cpu::PLX | ( | ) |
void yaze::app::emu::Cpu::PLY | ( | ) |
void yaze::app::emu::Cpu::REP | ( | ) |
void yaze::app::emu::Cpu::ROL | ( | uint32_t | address, |
bool | accumulator = false ) |
void yaze::app::emu::Cpu::ROR | ( | uint32_t | address, |
bool | accumulator = false ) |
void yaze::app::emu::Cpu::RTI | ( | ) |
void yaze::app::emu::Cpu::RTL | ( | ) |
void yaze::app::emu::Cpu::RTS | ( | ) |
void yaze::app::emu::Cpu::SBC | ( | uint32_t | operand, |
bool | immediate = false ) |
void yaze::app::emu::Cpu::SEC | ( | ) |
void yaze::app::emu::Cpu::SED | ( | ) |
void yaze::app::emu::Cpu::SEI | ( | ) |
void yaze::app::emu::Cpu::SEP | ( | ) |
void yaze::app::emu::Cpu::STA | ( | uint32_t | address | ) |
void yaze::app::emu::Cpu::STP | ( | ) |
void yaze::app::emu::Cpu::STX | ( | uint16_t | address | ) |
void yaze::app::emu::Cpu::STY | ( | uint16_t | address | ) |
void yaze::app::emu::Cpu::STZ | ( | uint16_t | address | ) |
void yaze::app::emu::Cpu::TAX | ( | ) |
void yaze::app::emu::Cpu::TAY | ( | ) |
void yaze::app::emu::Cpu::TCD | ( | ) |
void yaze::app::emu::Cpu::TCS | ( | ) |
void yaze::app::emu::Cpu::TDC | ( | ) |
void yaze::app::emu::Cpu::TRB | ( | uint16_t | address | ) |
void yaze::app::emu::Cpu::TSB | ( | uint16_t | address | ) |
void yaze::app::emu::Cpu::TSC | ( | ) |
void yaze::app::emu::Cpu::TSX | ( | ) |
void yaze::app::emu::Cpu::TXA | ( | ) |
void yaze::app::emu::Cpu::TXS | ( | ) |
void yaze::app::emu::Cpu::TXY | ( | ) |
void yaze::app::emu::Cpu::TYA | ( | ) |
void yaze::app::emu::Cpu::TYX | ( | ) |
void yaze::app::emu::Cpu::WAI | ( | ) |
void yaze::app::emu::Cpu::WDM | ( | ) |
void yaze::app::emu::Cpu::XBA | ( | ) |
void yaze::app::emu::Cpu::XCE | ( | ) |
void yaze::app::emu::Cpu::And | ( | uint32_t | low, |
uint32_t | high ) |
65816 Instruction Set
Definition at line 15 of file instructions.cc.
References A, CheckInt(), GetAccumulatorSize(), ReadByte(), ReadWord(), and SetZN().
Referenced by ExecuteInstruction().
void yaze::app::emu::Cpu::Eor | ( | uint32_t | low, |
uint32_t | high ) |
Definition at line 27 of file instructions.cc.
References A, CheckInt(), GetAccumulatorSize(), ReadByte(), ReadWord(), and SetZN().
Referenced by ExecuteInstruction().
void yaze::app::emu::Cpu::Adc | ( | uint32_t | low, |
uint32_t | high ) |
Definition at line 39 of file instructions.cc.
References A, CheckInt(), GetAccumulatorSize(), GetCarryFlag(), GetDecimalFlag(), ReadByte(), ReadWord(), SetCarryFlag(), SetOverflowFlag(), and SetZN().
Referenced by ExecuteInstruction().
void yaze::app::emu::Cpu::Sbc | ( | uint32_t | low, |
uint32_t | high ) |
Definition at line 79 of file instructions.cc.
References A, CheckInt(), GetAccumulatorSize(), GetCarryFlag(), GetDecimalFlag(), ReadByte(), ReadWord(), SetCarryFlag(), SetOverflowFlag(), and SetZN().
Referenced by ExecuteInstruction().
void yaze::app::emu::Cpu::Cmp | ( | uint32_t | low, |
uint32_t | high ) |
Definition at line 123 of file instructions.cc.
References A, CheckInt(), GetAccumulatorSize(), ReadByte(), ReadWord(), SetCarryFlag(), and SetZN().
Referenced by ExecuteInstruction().
void yaze::app::emu::Cpu::Cpx | ( | uint32_t | low, |
uint32_t | high ) |
Definition at line 138 of file instructions.cc.
References CheckInt(), GetIndexSize(), ReadByte(), ReadWord(), SetCarryFlag(), SetZN(), and X.
Referenced by ExecuteInstruction().
void yaze::app::emu::Cpu::Cpy | ( | uint32_t | low, |
uint32_t | high ) |
Definition at line 153 of file instructions.cc.
References CheckInt(), GetIndexSize(), ReadByte(), ReadWord(), SetCarryFlag(), SetZN(), and Y.
Referenced by ExecuteInstruction().
void yaze::app::emu::Cpu::Bit | ( | uint32_t | low, |
uint32_t | high ) |
Definition at line 168 of file instructions.cc.
References A, CheckInt(), GetAccumulatorSize(), ReadByte(), ReadWord(), SetNegativeFlag(), SetOverflowFlag(), and SetZeroFlag().
Referenced by ExecuteInstruction().
void yaze::app::emu::Cpu::Lda | ( | uint32_t | low, |
uint32_t | high ) |
Definition at line 185 of file instructions.cc.
References A, CheckInt(), GetAccumulatorSize(), ReadByte(), ReadWord(), and SetZN().
Referenced by ExecuteInstruction().
void yaze::app::emu::Cpu::Ldx | ( | uint32_t | low, |
uint32_t | high ) |
Definition at line 195 of file instructions.cc.
References CheckInt(), GetIndexSize(), ReadByte(), ReadWord(), SetZN(), and X.
Referenced by ExecuteInstruction().
void yaze::app::emu::Cpu::Ldy | ( | uint32_t | low, |
uint32_t | high ) |
Definition at line 205 of file instructions.cc.
References CheckInt(), GetIndexSize(), ReadByte(), ReadWord(), SetZN(), and Y.
Referenced by ExecuteInstruction().
void yaze::app::emu::Cpu::Sta | ( | uint32_t | low, |
uint32_t | high ) |
Definition at line 215 of file instructions.cc.
References A, CheckInt(), GetAccumulatorSize(), WriteByte(), and WriteWord().
Referenced by ExecuteInstruction().
void yaze::app::emu::Cpu::Stx | ( | uint32_t | low, |
uint32_t | high ) |
Definition at line 224 of file instructions.cc.
References CheckInt(), GetIndexSize(), WriteByte(), WriteWord(), and X.
Referenced by ExecuteInstruction().
void yaze::app::emu::Cpu::Sty | ( | uint32_t | low, |
uint32_t | high ) |
Definition at line 233 of file instructions.cc.
References CheckInt(), GetIndexSize(), WriteByte(), WriteWord(), and Y.
Referenced by ExecuteInstruction().
void yaze::app::emu::Cpu::Stz | ( | uint32_t | low, |
uint32_t | high ) |
Definition at line 242 of file instructions.cc.
References CheckInt(), GetAccumulatorSize(), WriteByte(), and WriteWord().
Referenced by ExecuteInstruction().
void yaze::app::emu::Cpu::Ror | ( | uint32_t | low, |
uint32_t | high ) |
Definition at line 251 of file instructions.cc.
References callbacks_, CheckInt(), GetAccumulatorSize(), GetCarryFlag(), yaze::app::emu::memory::CpuCallbacks::idle, ReadByte(), ReadWord(), SetCarryFlag(), SetZN(), WriteByte(), and WriteWord().
Referenced by ExecuteInstruction().
void yaze::app::emu::Cpu::Rol | ( | uint32_t | low, |
uint32_t | high ) |
Definition at line 272 of file instructions.cc.
References callbacks_, CheckInt(), GetAccumulatorSize(), GetCarryFlag(), yaze::app::emu::memory::CpuCallbacks::idle, ReadByte(), ReadWord(), SetCarryFlag(), SetZN(), WriteByte(), and WriteWord().
Referenced by ExecuteInstruction().
void yaze::app::emu::Cpu::Lsr | ( | uint32_t | low, |
uint32_t | high ) |
Definition at line 289 of file instructions.cc.
References callbacks_, CheckInt(), GetAccumulatorSize(), yaze::app::emu::memory::CpuCallbacks::idle, ReadByte(), ReadWord(), SetCarryFlag(), SetZN(), WriteByte(), and WriteWord().
Referenced by ExecuteInstruction().
void yaze::app::emu::Cpu::Asl | ( | uint32_t | low, |
uint32_t | high ) |
Definition at line 308 of file instructions.cc.
References callbacks_, CheckInt(), GetAccumulatorSize(), yaze::app::emu::memory::CpuCallbacks::idle, ReadByte(), ReadWord(), SetCarryFlag(), SetZN(), WriteByte(), and WriteWord().
Referenced by ExecuteInstruction().
void yaze::app::emu::Cpu::Inc | ( | uint32_t | low, |
uint32_t | high ) |
Definition at line 325 of file instructions.cc.
References callbacks_, CheckInt(), GetAccumulatorSize(), yaze::app::emu::memory::CpuCallbacks::idle, ReadByte(), ReadWord(), SetZN(), WriteByte(), and WriteWord().
Referenced by ExecuteInstruction().
void yaze::app::emu::Cpu::Dec | ( | uint32_t | low, |
uint32_t | high ) |
Definition at line 340 of file instructions.cc.
References callbacks_, CheckInt(), GetAccumulatorSize(), yaze::app::emu::memory::CpuCallbacks::idle, ReadByte(), ReadWord(), SetZN(), WriteByte(), and WriteWord().
Referenced by ExecuteInstruction().
void yaze::app::emu::Cpu::Tsb | ( | uint32_t | low, |
uint32_t | high ) |
Definition at line 355 of file instructions.cc.
References A, callbacks_, CheckInt(), GetAccumulatorSize(), yaze::app::emu::memory::CpuCallbacks::idle, ReadByte(), ReadWord(), SetZeroFlag(), WriteByte(), and WriteWord().
Referenced by ExecuteInstruction().
void yaze::app::emu::Cpu::Trb | ( | uint32_t | low, |
uint32_t | high ) |
Definition at line 370 of file instructions.cc.
References A, callbacks_, CheckInt(), GetAccumulatorSize(), yaze::app::emu::memory::CpuCallbacks::idle, ReadByte(), ReadWord(), SetZeroFlag(), WriteByte(), and WriteWord().
Referenced by ExecuteInstruction().
|
inline |
Definition at line 731 of file cpu.h.
References memory, and yaze::app::emu::memory::Memory::SP().
Referenced by AdrIsy(), AdrSr(), ExecuteInstruction(), LogInstructions(), PopByte(), PushByte(), RunOpcode(), SetFlags(), and StackRelative().
|
inline |
Definition at line 732 of file cpu.h.
References memory, and yaze::app::emu::memory::Memory::SetSP().
Referenced by ExecuteInstruction(), PopByte(), PushByte(), RunOpcode(), and SetFlags().
|
inline |
Definition at line 734 of file cpu.h.
References breakpoints_.
|
inline |
Definition at line 738 of file cpu.h.
References breakpoints_.
|
inline |
Definition at line 739 of file cpu.h.
References breakpoints_.
|
inline |
Definition at line 744 of file cpu.h.
References breakpoints_.
|
inline |
Definition at line 748 of file cpu.h.
References breakpoints_.
|
inline |
Definition at line 750 of file cpu.h.
References GetInterruptFlag(), int_delay_, int_wanted_, irq_wanted_, and nmi_wanted_.
Referenced by Adc(), AdrImp(), And(), Asl(), Bit(), Cmp(), Cpx(), Cpy(), Dec(), DoBranch(), Eor(), ExecuteInstruction(), Inc(), Lda(), Ldx(), Ldy(), Lsr(), ORA(), PopWord(), PushWord(), ReadOpcodeWord(), ReadWord(), Rol(), Ror(), RunOpcode(), Sbc(), Sta(), Stx(), Sty(), Stz(), Trb(), Tsb(), and WriteWord().
|
inline |
Definition at line 756 of file cpu.h.
References log_instructions_.
|
inlineprivate |
Definition at line 759 of file cpu.h.
References GetIndexSize(), SetCarryFlag(), SetNegativeFlag(), and SetZeroFlag().
|
inlineprivate |
Definition at line 776 of file cpu.h.
References status.
Referenced by SetAccumulatorSize(), SetBreakFlag(), SetCarryFlag(), SetDecimalFlag(), SetIndexSize(), SetInterruptFlag(), SetNegativeFlag(), SetOverflowFlag(), and SetZeroFlag().
|
inlineprivate |
Definition at line 784 of file cpu.h.
References status.
Referenced by GetBreakFlag(), GetCarryFlag(), GetDecimalFlag(), GetInterruptFlag(), GetNegativeFlag(), GetOverflowFlag(), and GetZeroFlag().
std::vector<uint32_t> yaze::app::emu::Cpu::breakpoints_ |
Definition at line 60 of file cpu.h.
Referenced by ClearBreakpoint(), ClearBreakpoints(), GetBreakpoints(), IsBreakpoint(), and SetBreakpoint().
std::vector<InstructionEntry> yaze::app::emu::Cpu::instruction_log_ |
Definition at line 61 of file cpu.h.
Referenced by LogInstructions().
uint16_t yaze::app::emu::Cpu::A = 0 |
uint16_t yaze::app::emu::Cpu::X = 0 |
Definition at line 79 of file cpu.h.
Referenced by AdrAbx(), AdrAlx(), AdrDpx(), AdrIdx(), yaze::app::zelda3::dungeon::DungeonObjectRenderer::ConfigureObject(), Cpx(), DirectPageIndexedX(), ExecuteInstruction(), Ldx(), LogInstructions(), Reset(), SetFlags(), and Stx().
uint16_t yaze::app::emu::Cpu::Y = 0 |
Definition at line 80 of file cpu.h.
Referenced by AdrAby(), AdrDpy(), AdrIdy(), AdrIly(), AdrIsy(), Cpy(), DirectPageIndexedY(), DirectPageIndirectLongIndexedY(), ExecuteInstruction(), Ldy(), LogInstructions(), Reset(), SetFlags(), and Sty().
uint16_t yaze::app::emu::Cpu::D = 0 |
Definition at line 81 of file cpu.h.
Referenced by AdrDp(), AdrDpx(), AdrDpy(), AdrIdl(), AdrIdp(), AdrIdx(), AdrIdy(), AdrIly(), DirectPage(), DirectPageIndexedX(), DirectPageIndirectLong(), DirectPageIndirectLongIndexedY(), ExecuteInstruction(), LogInstructions(), and Reset().
uint8_t yaze::app::emu::Cpu::DB = 0 |
Definition at line 82 of file cpu.h.
Referenced by Absolute(), AdrAbx(), AdrAby(), AdrIdp(), AdrIdx(), AdrIdy(), AdrIsy(), yaze::app::zelda3::dungeon::DungeonObjectRenderer::ConfigureObject(), ExecuteInstruction(), LogInstructions(), and Reset().
uint8_t yaze::app::emu::Cpu::PB = 0 |
Definition at line 83 of file cpu.h.
Referenced by AdrImp(), DoInterrupt(), ExecuteInstruction(), Immediate(), LogInstructions(), ReadOpcode(), yaze::app::zelda3::dungeon::DungeonObjectRenderer::RenderObject(), Reset(), and RunOpcode().
uint16_t yaze::app::emu::Cpu::PC = 0 |
Definition at line 84 of file cpu.h.
Referenced by AdrImp(), DoBranch(), DoInterrupt(), ExecuteInstruction(), Immediate(), LogInstructions(), ReadOpcode(), yaze::app::zelda3::dungeon::DungeonObjectRenderer::RenderObject(), Reset(), RunOpcode(), and UpdatePC().
uint8_t yaze::app::emu::Cpu::E = 1 |
Definition at line 85 of file cpu.h.
Referenced by ExecuteInstruction(), PopByte(), PushByte(), Reset(), RunOpcode(), and SetFlags().
uint8_t yaze::app::emu::Cpu::status = 0b00110000 |
Definition at line 86 of file cpu.h.
Referenced by DoInterrupt(), ExecuteInstruction(), GetAccumulatorSize(), GetFlag(), GetIndexSize(), LogInstructions(), Reset(), RunOpcode(), SetFlag(), and SetFlags().
|
private |
Definition at line 786 of file cpu.h.
Referenced by ExecuteInstruction(), and mutable_log_instructions().
|
private |
Definition at line 788 of file cpu.h.
Referenced by ExecuteInstruction(), Reset(), and RunOpcode().
|
private |
Definition at line 789 of file cpu.h.
Referenced by ExecuteInstruction(), Reset(), and RunOpcode().
|
private |
Definition at line 791 of file cpu.h.
Referenced by CheckInt(), Reset(), RunOpcode(), and SetIrq().
|
private |
Definition at line 792 of file cpu.h.
Referenced by CheckInt(), DoInterrupt(), Nmi(), Reset(), and RunOpcode().
|
private |
Definition at line 793 of file cpu.h.
Referenced by Reset(), and RunOpcode().
|
private |
Definition at line 794 of file cpu.h.
Referenced by AdrImp(), CheckInt(), DoInterrupt(), Reset(), and RunOpcode().
|
private |
Definition at line 795 of file cpu.h.
Referenced by CheckInt(), Reset(), and set_int_delay().
|
private |
Definition at line 797 of file cpu.h.
Referenced by AdrAbx(), AdrAby(), AdrDp(), AdrDpx(), AdrDpy(), AdrIdl(), AdrIdp(), AdrIdx(), AdrIdy(), AdrIly(), AdrImp(), AdrIsy(), AdrSr(), Asl(), Dec(), DoBranch(), DoInterrupt(), ExecuteInstruction(), Inc(), Lsr(), PushByte(), ReadByte(), Rol(), Ror(), RunOpcode(), Trb(), Tsb(), WriteByte(), WriteLong(), and WriteWord().
|
private |
|
private |
Definition at line 799 of file cpu.h.
Referenced by UpdateClock().