A JavaScript 65816 Microprocessor Emulator
Go to file
Preston Skupinski 5ca04694de started refactoring the codebase by turning zero checks to either set or clear the p status register z flag into a function in a helper library 2011-12-27 01:16:05 -05:00
lib added a basic interface for interacting with the emulator 2011-07-10 20:43:03 -04:00
test use equal rather than equals as equals is deprecated 2011-12-16 00:45:03 -05:00
.gitignore updated the TODO and added a .gitignore so my vim *swp files don't accidently wind up in here 2011-04-30 22:24:57 -04:00
README Rework the way the cpu object loads and executes code 2011-11-05 21:45:36 -04:00
TODO don't use "location" as a name for a variable, general cleanup and 2011-11-22 11:53:42 -05:00
cpu.js started refactoring the codebase by turning zero checks to either set or clear the p status register z flag into a function in a helper library 2011-12-27 01:16:05 -05:00
index.html Added executing only a set number of cycles per second and fixed the 2011-11-06 00:20:31 -04:00

README

This project's goal is to fully emulate the 65816 microprocessor in JavaScript.

After achieving that goal the next step will be to create a new branch that will focus on emulating the SNES.  Any CPU related improvements that aren't specific to the SNES will be merged back.

Here is a short example of how to use the emulator:

var cpu = new CPU_65816();
cpu.load_binary("18fba9ff", 0x8000); // Load the program at 0x8000 in memory
cpu.execute(0x8000);                 // Execute starting at 0x8000