Commit Graph

274 Commits

Author SHA1 Message Date
n loewen 996d628406 Move note on instruction length to readme, from simulator.js 2023-08-02 11:26:10 +01:00
n loewen 7b4d6f2ec0 Update + comment CYCLE_LIMIT 2023-08-02 11:22:57 +01:00
n loewen 77f4c93d1f Display IP first, in debug logs 2023-08-02 11:22:40 +01:00
n loewen 5fecefdc91 Tidy up and de-duplicate setup for switching between running for debug output vs. display output 2023-08-02 11:21:14 +01:00
n loewen daf3793f90 Allow an infinite CYCLE_LIMIT 2023-08-02 11:03:24 +01:00
n loewen 0d050aa968 Create config file 2023-08-02 10:52:59 +01:00
n loewen b81b6c8f5a Move config constants to a config file 2023-08-02 10:52:47 +01:00
n loewen 91ff26fdea Move display memory and add a pointer to display memory 2023-08-02 10:38:58 +01:00
n loewen c732f4408f Remove syntax reference - it's in the readme now 2023-08-02 10:27:06 +01:00
n loewen 342b1b07d4 Add some new TODOs 2023-08-02 10:22:42 +01:00
n loewen eebec540bd Tidy up memory map 2023-08-02 10:19:57 +01:00
n loewen 71a7444162 Condense "registers and flags" into one section 2023-08-02 10:19:17 +01:00
n loewen 086e5d630e Add assembly language reference 2023-08-02 10:17:58 +01:00
n loewen 75f8bdd118 Update TODO list 2023-08-02 10:10:14 +01:00
n loewen 29b6097585 Track tests 2023-08-01 15:51:59 +01:00
n loewen c06b59d057 Stop tracking old copies of package*.json that I missed when moving things... ugh 2023-08-01 15:48:48 +01:00
n loewen 1bdda3c04a Remove unused dependency 2023-08-01 15:48:07 +01:00
n loewen b1ad0bd6e3 Start tracking package*.json 2023-08-01 15:47:37 +01:00
n loewen a46641e172 Move files out of 'sketch' directory 2023-08-01 15:46:09 +01:00
n loewen cbe0c3b12b Rename sketch 1 2023-08-01 15:42:14 +01:00
n loewen a770ac3a60 Rename 'simulator-sketch-v3' to 'simulator' 2023-08-01 15:41:57 +01:00
n loewen 4b4715c6f3 Remove temporary debugging prints 2023-08-01 15:39:40 +01:00
n loewen 7fc228c705 Create a memory-mapped-display-visualizer 2023-08-01 15:38:49 +01:00
n loewen dab111b6ad Rename `byteCursor` to `IP` + update debugging setup 2023-08-01 15:38:31 +01:00
n loewen f7c2203450 Create a memory-mapped-display visualizer that is separate from the CPU debugging printout 2023-08-01 15:36:05 +01:00
n loewen 3748e7af24 Include display in debugging printout (missed a line in the last commit) 2023-08-01 15:34:44 +01:00
n loewen f42a81c9b2 Include display in debugging printout 2023-08-01 15:34:00 +01:00
n loewen d74b6594be Make debugging less verbose 2023-08-01 15:33:18 +01:00
n loewen 24767d1899 Increase cycle limit 2023-08-01 15:31:52 +01:00
n loewen 5f79c981b2 Correct off-by-one error in memory map 2023-08-01 15:30:57 +01:00
n loewen 55d4885889 Pretty print machine code table 2023-08-01 13:31:35 +01:00
n loewen 7813aaf56c Change debug level for memory-before-labelling table 2023-08-01 13:31:13 +01:00
n loewen da0ababc59 Initialize instruction pointer based on a constant, to move it after screen memory 2023-08-01 13:30:48 +01:00
n loewen 36e013b866 Combine Memory-Map and Peripherals sections 2023-08-01 13:05:51 +01:00
n loewen e75049551f Print memory tables in hex 2023-08-01 12:57:30 +01:00
n loewen fa3ade15dd Remove blank line 2023-08-01 12:56:44 +01:00
n loewen 0834516c6b Tidy up debugging / print statements 2023-08-01 12:56:31 +01:00
n loewen b16f6927ee Fix bug where referencing a label re-sets the pointer to the label address 2023-08-01 12:02:27 +01:00
n loewen 34e86cd4f8 Move cycle limit to a constant 2023-08-01 12:01:50 +01:00
n loewen d0a6ca886b Pretty-print "Running at ..." header 2023-08-01 12:00:20 +01:00
n loewen a41a1671fc Update TODO list 2023-08-01 11:40:46 +01:00
n loewen 321d8d1264 Create utility script for pretty-printing memory 2023-08-01 11:39:10 +01:00
n loewen 36df142538 Create script for running assembler on its own 2023-08-01 11:38:45 +01:00
n loewen 828a9f5909 Add @label handling to assembler 2023-08-01 11:38:24 +01:00
n loewen afecab8ce3 Allow for blank lines and comment-only lines in assembly code 2023-07-31 15:21:01 +01:00
n loewen b90300a257 Add assemble-and-run script 2023-07-31 14:46:25 +01:00
n loewen 3dc521714f Update file names 2023-07-31 14:41:23 +01:00
n loewen 7bb802b18c Update todo list 2023-07-26 15:06:59 +01:00
n loewen c7cfd13931 Update todo list 2023-07-26 15:06:49 +01:00
n loewen 5717b93eda Create entry point for assembling and then running assembly code from a text file 2023-07-26 15:06:11 +01:00