Commit Graph

16 Commits

Author SHA1 Message Date
n loewen 01be57f772 Pretty-print display when not in debug mode 2023-08-03 08:33:51 +01:00
n loewen cec80d7054 Enforce greater separation between core logic functions and display output 2023-08-03 08:10:23 +01:00
n loewen 935b452e11 Fix up a line to do a better job of handling debug output 2023-08-02 15:32:33 +01:00
n loewen 8b4a670b29 Implement carry flag for SUB, fix bug in ADD 2023-08-02 15:09:24 +01:00
n loewen 4183b7c38e Improve simulator debugging output + refactor debugging code 2023-08-02 15:08:33 +01:00
n loewen 9f04c4d314 Throw an error if given a program that's too long 2023-08-02 15:06:36 +01:00
n loewen f4791d1862 Log CPU state in hex 2023-08-02 14:07:30 +01:00
n loewen f05a85cd0d Move pretty-printed "Running at..." header to logging.js + re-arrange logging.js exports 2023-08-02 14:05:59 +01:00
n loewen aa08e50eda Remove unused comments, table-printing function 2023-08-02 13:15:38 +01:00
n loewen 996d628406 Move note on instruction length to readme, from simulator.js 2023-08-02 11:26:10 +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 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 a46641e172 Move files out of 'sketch' directory 2023-08-01 15:46:09 +01:00