Expand description
Behavioral emulator of MOS 6502
Structs§
- Mos6502
- Behavioral MOS 6502 emulator
- Register
File - MOS 6502 register file
Enums§
- Address
Mode - Insn
- Instruction representation. Nor particulary space-efficient (perhaps makes the code slower, too?), yet readable.
- Memory
Error - Memory errors
- Register
- Register
- RunError
- Run error
- RunExit
- Run normal exit
- Stack
Wraparound - Stack wraparound policy
- Status
- SR Flags (bit 7 to bit 0)
Constants§
- IRQ_
BRK_ VECTOR - When an interrupt is signaled (hardware or the software via BRK), the low and the high 8 bits of the program counter are loaded from a word at this address.
- MAX_
MEMORY_ SIZE - No more than 64 KiB of memory is supported
- NMI_
VECTOR - When an non-maskable interrupt is signaled, the low and the high 8 bits of the program counter from a word at this address.
- RESET_
VECTOR - When a reset is requested, the low and the high 8 bits of the program counter are loaded from a word at this address.
- STACK_
BOTTOM - Bottom of the stack
Traits§
- Memory
- A 16-bit addressable, 8-bit cell memory