Skip to content

ArcadeDan/6502emu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A MOS6502 Emulator written in Rust

mos 6502

Motivations

Hello, I am among a group that really appreciates the mos6502. Super Mario Brothers was the architecture that it was written in. The programming that got us to the moon in 1969 was written on a 6502 architecture. In short, the merits are there. I believe it also to be a simple enough architecture to learn.

REPL Commands

setbyte: destination, source
    example: "setbyte 0000 A9"
	    set memory address at 0x0000 to have a byte 0xA9

getbyte: destination
	example: "getbyte 0000"
		retrieves byte at address
reg:
	example: "reg"
		prints register information
		
status:
	example: "status"
		prints status register information

execute:
	example: "execute"
		executes instruction at programcounter address

References