MOS Technology 6502 8-bit microprocessor core to be uses as a go module.
All opcodes and memory modes implemented and tested in Klaus Dormann test suite.
Currently project using this core:
https://github.com/cassianoperin/6502_console
https://github.com/cassianoperin/Atari2600
- Klaus Dormann 6502 Functional test suite
- 56 Instructions (opcodes)
- 13 Memory Addressing Modes
- One 8-bit accumulator register (A)
- Two 8-bit index registers (X and Y)
- Seven 1-bit processor status flag bits (P)
- Opcode cycles counter
- Address BUS
- Data BUS
- IRQs
- NMIs
import CPU_6502 "github.com/cassianoperin/6502_GO_Core"
CPU_6502.Initialize()
CPU_6502.InitializeTimers()
CPU_6502.ReadROM(<filename string>)
CPU_6502.Reset()
CPU_6502.CPU_Interpreter()
https://web.archive.org/web/20150217073759/http://homepage.ntlworld.com/cyborgsystems
http://datasheets.chipdb.org/Synertek/6502.pdf
http://www.obelisk.me.uk/6502/architecture.html
http://www.weihenstephan.org/~michaste/pagetable/6502/6502.jpg
https://www.bbc.co.uk/bitesize/guides/zr8kt39/revision/4
https://www.masswerk.at/6502/6502_instruction_set.html
http://www.obelisk.me.uk/6502/reference.html
https://slark.me/c64-downloads/6502-addressing-modes.pdf
http://www.obelisk.me.uk/6502/addressing.html
http://www.emulator101.com/6502-addressing-modes.html
https://wiki.nesdev.com/w/index.php/Stack
http://www.cs.jhu.edu/~phi/csf/slides/lecture-6502-interrupt.pdf