Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/troykomodo/6502
I was bored lol
https://github.com/troykomodo/6502
6502 asm assembly golang
Last synced: 2 days ago
JSON representation
I was bored lol
- Host: GitHub
- URL: https://github.com/troykomodo/6502
- Owner: TroyKomodo
- Created: 2022-09-18T17:34:47.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-09-18T17:35:27.000Z (over 2 years ago)
- Last Synced: 2025-01-05T12:08:39.731Z (5 days ago)
- Topics: 6502, asm, assembly, golang
- Language: Go
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 6502 Golang Emulator
This is a emulator for the 6502 microprossor
I built it because I didnt have a 6502 on hand and I wanted to play around with one.Its not perfect, there are some features/opeations I got wrong, however in the test programs I created the 6502 emulator runs fine.
I watched a lot of [Ben Eater's](https://www.youtube.com/c/BenEater) videos which inspired me to build an emulator to play around with it.
StdIn is at READ on memory address `$6000`
StdErr is at WRITE on memory address `$6000`
Currently the clock is disabled (pulsing infinitely fast) but you can test it on what ever clock cycle you want and or make it so stdin causes a pulse, just modify the top level code in main.go
You can compile the assembly code using
Have fun :)