From 935d3093f4b8fa4a3f2fd5e766e15c93114bc1b3 Mon Sep 17 00:00:00 2001 From: Preston Skupinski Date: Sat, 30 Apr 2011 21:59:08 -0400 Subject: [PATCH] added a README --- README | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 README diff --git a/README b/README new file mode 100644 index 0000000..fcd7d3e --- /dev/null +++ b/README @@ -0,0 +1,15 @@ +This project's goal is to fully emulate the 65816 microprocessor in JavaScript. It would be awesome if at some point it could emulate an entire system such as the SNES, but that is something to consider later on. + +At the moment many memory loading and storing operations are working, but there are still 200+ operations to go. + +You call the execute function of the cpu object with a raw hex string representing the program you wish to emulate and it will execute those instructions as close to the 65816 as possible. + +Short examples to try out: + +18fba9ff0185ff64ffa5ff + +cpu.r.a should be 0 after executing this. + +18fba9ff01a0010099fea5ff + +cpu.r.a should be 511 after executing this.