Commit Graph

  • e7677c81e7 allow bytes_required to be specified as a number for cases where it never changes master Preston Skupinski 2013-08-08 23:43:34 -0400
  • 556558133f switch some things over to a switch restructure Preston Skupinski 2013-04-21 01:40:45 -0400
  • f874da1167 Fix some bugs static code analysis caught Preston Skupinski 2012-12-12 23:39:35 -0500
  • bc5c59469f Decided loading binaries from a url was not appropriate for the base emulator, whatever is extending it or using it is responsible for that Preston Skupinski 2012-12-12 22:57:38 -0500
  • ae14e7382a Update the TODO and the copyright email since msu only provides you with access to your @msu.edu email address for two years after graduation Preston Skupinski 2012-12-02 23:18:41 -0500
  • 9c7b6c7e3c make sure a variable is local and doesn't accidentally get introduced to the global scope Preston Skupinski 2012-08-09 23:05:28 -0400
  • 6ac0302401 add a title to the tests page Preston Skupinski 2012-08-09 22:51:20 -0400
  • 6eb02301dc switch tests to use strictEqual rather than equal and perform some cleanup Preston Skupinski 2012-08-09 22:49:47 -0400
  • 43ed2b1bad update the test index.html to reflect the name change Preston Skupinski 2012-08-09 20:59:00 -0400
  • 8b2cef5721 Renaming the core project file and project to a far better name which succinctly expresses what the library deals with Preston Skupinski 2012-08-05 18:05:16 -0400
  • 4c3619abe4 get rid of the example page and the library it used from the repo Preston Skupinski 2012-08-05 17:53:08 -0400
  • fddcbeb865 fix support for requiring the cpu as a node.js module and a problem in the javascript in example page Preston Skupinski 2012-05-31 10:43:02 -0400
  • 23b595ba74 switch global used from "window" to "this" for node.js support Preston Skupinski 2012-05-31 08:46:24 -0400
  • 351218b5b0 update the TODO Preston Skupinski 2012-02-17 16:37:19 -0500
  • 898c16637a use read_word_long to clean up reading where the program counter should point to when there is an interrupt Preston Skupinski 2012-01-05 21:02:57 -0500
  • 12b352cfa5 Cleanup of SEP and REP Preston Skupinski 2012-01-05 19:49:35 -0500
  • 0def76f12a Cleanup of the set and clear p flag instructions Preston Skupinski 2012-01-05 19:29:50 -0500
  • 2d50806882 made the Direct_page_indexed_x template into Direct_page_indexed and have it take the register it operates on Preston Skupinski 2012-01-05 01:02:23 -0500
  • cdf374dcd0 Cleanup of branch instructions Preston Skupinski 2012-01-05 00:50:49 -0500
  • 577b47a497 cleanup of DEC instructions and started writing tests for them Preston Skupinski 2012-01-03 10:15:43 -0500
  • 55f059b09c Cleaned up INC instructions Preston Skupinski 2012-01-02 20:43:48 -0500
  • 2158ce0fb2 wrote a generic template for the increment instructions that work on registers and used it for those instructions Preston Skupinski 2012-01-02 15:16:56 -0500
  • 213398bc35 add some more checking of flags to the increment instruction tests Preston Skupinski 2012-01-02 01:12:38 -0500
  • 76a50808ac added tests for INC just for when working on the accumulator, INX and INY Preston Skupinski 2012-01-02 00:45:23 -0500
  • 0539c5c5ff move zero checking from end of each if block to end of function Preston Skupinski 2012-01-01 23:53:31 -0500
  • e1f827b446 use cpu_lib.addressing.Absolute_indexed_x for LDY_absolute_indexed_x Preston Skupinski 2011-12-31 19:41:24 -0500
  • e6ce09016f move common addressing functionality for direct page indirect long indexed y to cpu_lib and use that as the basis for instructions that utilize that addressing mode Preston Skupinski 2011-12-31 19:26:05 -0500
  • 29a238b5bd move common addressing functionality for direct page indirect indexed y to cpu_lib and use that as the basis for instructions that utilize that addressing mode Preston Skupinski 2011-12-31 19:12:39 -0500
  • 10d0ee341b move common addressing functionality for direct page indirect long to cpu_lib and use that as the basis for instructions that utilize that addressing mode Preston Skupinski 2011-12-31 18:52:52 -0500
  • 664bf85268 move common addressing functionality for direct page indexed x indirect to cpu_lib and use that as the basis for instructions that utilize that addressing mode Preston Skupinski 2011-12-31 18:38:08 -0500
  • 23bedf5ce7 move common addressing functionality for absolute long indexed x to cpu_lib and use that as the basis for instructions that utilize that addressing mode Preston Skupinski 2011-12-31 18:17:19 -0500
  • a29ee2fb7c move common addressing functionality for absolute long to cpu_lib and use that as the basis for instructions that utilize that addressing mode Preston Skupinski 2011-12-31 17:59:26 -0500
  • 9398885bc2 move common addressing functionality for direct page indirect to cpu_lib and use that as the basis for instructions that utilize that addressing mode Preston Skupinski 2011-12-31 17:32:39 -0500
  • 0f73c71a7e move common addressing functionality for stack relative indirect indexed y to cpu_lib and use that as the basis for instructions that utilize that addressing mode Preston Skupinski 2011-12-31 17:21:24 -0500
  • 1fd918801a move common addressing functionality for absolute indexed y to cpu_lib and use that as the basis for instructions that utilize that addressing mode Preston Skupinski 2011-12-31 16:56:57 -0500
  • 19e50d4bf7 move common addressing functionality for absolute indexed x to cpu_lib and use that as the basis for instructions that utilize that addressing mode Preston Skupinski 2011-12-31 16:36:20 -0500
  • 72508335ba move common addressing functionality for stack relative to cpu_lib and use that as the basis for instructions that utilize that addressing mode Preston Skupinski 2011-12-31 15:52:45 -0500
  • 539aaff3ce move common addressing functionality for direct page indexed x to cpu_lib and use that as the basis for instructions that utilize that addressing mode Preston Skupinski 2011-12-31 15:26:41 -0500
  • 65b7448052 move common addressing functionality for direct page and absolute to cpu_lib and use that as the basis for instructions that utilize that addressing mode Preston Skupinski 2011-12-31 14:38:14 -0500
  • 4c5c5dc631 add unit tests for memory mapped io device support Preston Skupinski 2011-12-29 01:37:01 -0500
  • 84472fab78 use read_byte_long rather than directly accessing bytes in the memory array in the tests Preston Skupinski 2011-12-29 00:17:29 -0500
  • 26ea82204f added the ability for the cpu to load in an array of bytes Preston Skupinski 2011-12-27 19:33:14 -0500
  • 64fbd28610 remove trailing whitespace Preston Skupinski 2011-12-27 19:04:10 -0500
  • 225755bfb2 added functions for reading and storing words and then refactored the codebase to use that instead where useful Preston Skupinski 2011-12-27 18:20:41 -0500
  • cd3c112b00 change 'reg' to 'r' in cpu_lib to shorten up calls and have it look more like using the normal cpu object Preston Skupinski 2011-12-27 16:00:54 -0500
  • 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 Preston Skupinski 2011-12-27 01:16:05 -0500
  • 4106d81cdf use charAt for accessing characters in a string for IE compatibility, fixes #1 Preston Skupinski 2011-12-23 18:04:06 -0500
  • 95e5a75e92 move MMU and CPU_65816 to the bottom of the function Preston Skupinski 2011-12-22 00:53:51 -0500
  • 1199bff3e1 further minor style changes Preston Skupinski 2011-12-22 00:10:36 -0500
  • 188fc0e713 numerous style fixes and code cleanup Preston Skupinski 2011-12-21 23:36:00 -0500
  • 6950345d03 use equal rather than equals as equals is deprecated Preston Skupinski 2011-12-16 00:45:03 -0500
  • ad4f9e3c76 use a self executing function to hide as much from global scope as possible Preston Skupinski 2011-12-15 00:00:20 -0500
  • 3bbe3c9999 many numerous minor style fixes Preston Skupinski 2011-11-23 02:05:19 -0500
  • 4e19f48383 move size checking to read_byte and store_byte functions and clean up all calls to those functions that do that checking Preston Skupinski 2011-11-22 13:42:55 -0500
  • 155a153a29 don't use "location" as a name for a variable, general cleanup and added checks where necessary Preston Skupinski 2011-11-22 11:47:36 -0500
  • f7e6cdff02 have load_binary use store_byte_long rather than store_byte Preston Skupinski 2011-11-06 19:34:32 -0500
  • 7b016f1abb updated the TODO Preston Skupinski 2011-11-06 10:15:42 -0500
  • 135be106d9 Added executing only a set number of cycles per second and fixed the problems firefox had with it Preston Skupinski 2011-11-06 00:13:13 -0400
  • a9b70c8ad0 Rework the way the cpu object loads and executes code Preston Skupinski 2011-11-05 21:45:36 -0400
  • 798dd18835 use the correct p status register bit in DEC accumulator Preston Skupinski 2011-10-30 22:12:50 -0400
  • 5f0424fd0b update the TODO now that cycle counting has been added to everything Preston Skupinski 2011-10-30 00:22:44 -0400
  • a1a337f3f6 finish adding cycle counting to the remaining instructions Preston Skupinski 2011-10-30 00:18:36 -0400
  • 06d512a668 added cycle counting to even more instructions Preston Skupinski 2011-10-29 22:30:28 -0400
  • 5a44410146 numerous more instructions now feature cycle counting Preston Skupinski 2011-10-29 20:53:32 -0400
  • fdaf4dd024 added cycle counting to numerous instructions Preston Skupinski 2011-10-28 21:15:55 -0400
  • f98a4770d7 added cycle counting to numerous instructions Preston Skupinski 2011-10-19 17:09:57 -0400
  • 16f32df754 don't remove memory mapped io devices on cpu reset Preston Skupinski 2011-10-12 15:19:55 -0400
  • 10cd88d08e Make sure branching can't cause the program counter to go below zero or above 0xffff Preston Skupinski 2011-10-12 14:38:19 -0400
  • 833048fefa added numerous tests for stz Preston Skupinski 2011-10-02 22:33:54 -0400
  • 03a5217759 make sure lines don't go past column 80 in cpu.js Preston Skupinski 2011-09-15 13:55:13 -0400
  • d902611e9c added decimal mode support for SBC, wrote unit tests to verify that support and updated the TODO Preston Skupinski 2011-09-04 11:34:09 -0400
  • b505f7a50d handle the carry bit properly when in decimal mode for adc Preston Skupinski 2011-09-03 22:07:44 -0400
  • 7cee0a3cd1 added decimal mode support for adc with 16-bit memory/accumulator mode and wrote unit tests to verify it Preston Skupinski 2011-09-03 21:56:39 -0400
  • 8a1f3364ff Merge branch 'master' of github.com:scud43/JavaScript-65816 Preston Skupinski 2011-09-03 21:22:49 -0400
  • 990bbdc06c add decimal mode support for adc in emulation or 8-bit memory/accumulator mode and wrote up unit tests to verify it Preston Skupinski 2011-09-03 21:20:52 -0400
  • b4bda09bf6 added more unit tests for LDA(absolute long, absolute long indexed x) Preston Skupinski 2011-09-02 22:43:47 -0400
  • 3f23b8f7f7 added some more unit tests for LDA(stack relative and absolute indexed y) Preston Skupinski 2011-09-01 16:20:34 -0400
  • c9a559ab6e added more unit tests for LDA and provided all of the dependencies for running the unit tests so no internet connection is required to use that page Preston Skupinski 2011-09-01 14:37:34 -0400
  • fadcea4c5d added more unit tests for LDA and fixed a bug in the implemention of the direct page indirect mode for LDA Preston Skupinski 2011-08-31 15:40:44 -0400
  • a8f5cc4556 added more unit tests for LDA Preston Skupinski 2011-08-31 14:22:35 -0400
  • d2a9f2589c begin work on unit tests for LDA Preston Skupinski 2011-08-30 12:39:43 -0400
  • 3c77ef7dfa update the README Preston Skupinski 2011-08-30 11:08:17 -0400
  • 90cf744589 turn MMU into a function object so multiple cpu objects can be used at once and fixes a long standing bug where various unit tests would randomly fail Preston Skupinski 2011-08-30 10:44:45 -0400
  • 19c9215181 add basic stepping support Preston Skupinski 2011-07-18 20:44:55 -0400
  • aa2d06839e update the TODO Preston Skupinski 2011-07-11 19:17:41 -0400
  • 4a9456f83f added a reset function Preston Skupinski 2011-07-11 19:04:51 -0400
  • 5ada2b1daa added a basic interface for interacting with the emulator Preston Skupinski 2011-07-10 20:43:03 -0400
  • dbe014ada1 added STP Preston Skupinski 2011-06-19 13:13:29 -0400
  • 5813feaa89 added WAI Preston Skupinski 2011-06-12 21:23:02 -0400
  • 8377d8c009 added JSR absolute indexed x indirect Preston Skupinski 2011-06-12 19:37:07 -0400
  • a9e15285cb added JMP absolute indexed x indirect Preston Skupinski 2011-06-12 18:54:16 -0400
  • 26fddd8943 added WDM Preston Skupinski 2011-06-09 20:24:05 -0400
  • eff69c28bc added JMP absolute long and JMP absolute indirect long Preston Skupinski 2011-06-09 20:01:36 -0400
  • fe0117a1e0 the cpu object is now passed as the first argument to memory mapped io device interaction functions Preston Skupinski 2011-06-04 11:36:20 -0400
  • a0b9497eb4 added TXS and TSX Preston Skupinski 2011-06-01 13:17:03 -0400
  • 4f98a754b7 added TRB and both addressing modes for it Preston Skupinski 2011-06-01 13:01:16 -0400
  • 48c6fe5cf9 added TSB and both addressing modes for it Preston Skupinski 2011-05-30 19:55:59 -0400
  • c9d491411b added the rest of the addressing modes for BIT and fixed a bug in a few operations Preston Skupinski 2011-05-30 19:22:19 -0400
  • 71552b5720 added BIT immediate Preston Skupinski 2011-05-30 18:57:20 -0400
  • 150d6e57d2 added basic memory mapped i/o support Preston Skupinski 2011-05-30 17:23:00 -0400