n loewen
|
a2a79cea46
|
dbg - Create debugging library
|
2023-08-29 11:51:17 -04:00 |
n loewen
|
b776951e81
|
logging - Fix bad alignment on rows with just one entry
|
2023-08-29 11:51:00 -04:00 |
n loewen
|
d9212ab620
|
cardiograph - Move display-drawing so that it nests nicely inside a console.group()
|
2023-08-29 10:44:06 -04:00 |
n loewen
|
37bb92f296
|
cpu - Change to throw errors, instead of logging with console.error()
|
2023-08-29 10:42:36 -04:00 |
n loewen
|
b08d9854c4
|
Update TODO/FIXME comments for increased clarity and accuracy
|
2023-08-29 10:04:18 -04:00 |
n loewen
|
74c6f83fcc
|
machine config - Change CFG variable names to lowercase; Change to always access them as 'CFG.property'
|
2023-08-29 09:56:21 -04:00 |
n loewen
|
ccc032b379
|
Move display functions to `io.js`, and re-implement keypad in `io.js`
|
2023-08-29 09:49:21 -04:00 |
n loewen
|
efe20eabdf
|
cpu - Rename back to 'cpu.js'
|
2023-08-29 09:30:33 -04:00 |
n loewen
|
144ae8de6c
|
(docs) readme - Add intro + re-arrange, to clarify relationship between Cardiograph and its constituent parts
|
2023-08-29 09:26:09 -04:00 |
n loewen
|
dee5b4afd4
|
Remove 'issues' dir - it lives in the 'issues' branch now
|
2023-08-29 09:15:21 -04:00 |
n loewen
|
e6883fbc65
|
(notes) Remove all notes - they live in the 'notes' branch now
|
2023-08-29 08:46:09 -04:00 |
n loewen
|
072d2ccdb5
|
(notes) 2023-08-20 - Create note with list of short-term goals
|
2023-08-29 08:26:17 -04:00 |
n loewen
|
9f4a67770f
|
(notes) - 2023-08-28 - Update todos
|
2023-08-29 08:25:56 -04:00 |
n loewen
|
5b52143ad0
|
Remove `run-cpu.js` (it is superseded by `cardiograph`)
|
2023-08-28 23:11:15 -04:00 |
n loewen
|
fbda5ce927
|
cardiograph - WIP - Create minimal version of `cardiograph` file to act as CLI entrypoint to simulator
|
2023-08-28 23:09:51 -04:00 |
n loewen
|
18d77086df
|
cpu - WIP - Finish refactoring into a library
|
2023-08-28 23:09:12 -04:00 |
n loewen
|
81617dfe42
|
Merge commit '49cb3171da959490277a8ea5b8b7a70ee8bf1783' into Re-architect
|
2023-08-28 23:06:31 -04:00 |
n loewen
|
49cb3171da
|
Add gitignore
|
2023-08-28 23:05:39 -04:00 |
n loewen
|
03715a6a8e
|
cpu - Rename to cpu.lib.js
|
2023-08-28 16:56:13 -04:00 |
n loewen
|
b7d13087e6
|
cpu - WIP - Continue removing material that has to move elsewhere so that this can be treated as a library
|
2023-08-28 16:55:24 -04:00 |
n loewen
|
b173d46cb6
|
cpu - Change structure of CPU object to group State and Debug info
|
2023-08-28 16:25:43 -04:00 |
n loewen
|
ccebc6ec3d
|
(notes) 2023-08-28 - Create note outlining plans to re-architect the simulator
|
2023-08-28 15:56:28 -04:00 |
n loewen
|
2d210303e6
|
(tests) WIP - Create a rough, partial sketch for an implementation of Conway's Game of Life
|
2023-08-28 15:31:57 -04:00 |
n loewen
|
bf589411e7
|
Add `argparser` as a submodule
|
2023-08-28 09:18:51 -04:00 |
n loewen
|
e09bd9a66f
|
Remove old sketches
|
2023-08-28 09:12:26 -04:00 |
n loewen
|
1c8722c65e
|
Move JavaScript source to new `/src` directory
|
2023-08-28 09:11:20 -04:00 |
n loewen
|
6545df9cfd
|
cpu - WIP - Start re-configuring CLI interface, in order to allow passing clock speed as a CLI argument (while also keeping a defualt value in machine.config.js)
|
2023-08-28 09:10:21 -04:00 |
n loewen
|
f335aba94d
|
(issues) todos - Add "fix overflow flag" entry
|
2023-08-28 09:09:10 -04:00 |
n loewen
|
97e54d01cb
|
(tests) move-pixel-with-keypad - Change keys to match new mapping / WASD
|
2023-08-26 16:45:14 -04:00 |
n loewen
|
29f25bda7a
|
config / cpu - Add feature: Map the arrow keys to hex keypad, in addition to the larger Qwerty set
|
2023-08-26 16:44:30 -04:00 |
n loewen
|
872489c18d
|
tests - Remove commented-out line
|
2023-08-26 14:58:29 +01:00 |
n loewen
|
ac0fccf2e9
|
tests - finish WIP - Make a 'move a pixel with the keypad' program
|
2023-08-26 14:56:01 +01:00 |
n loewen
|
86d0b57c7a
|
cpu - Fix: Make sure that the 'reached cycle limit' message displays in all output modes
|
2023-08-26 14:48:37 +01:00 |
n loewen
|
9f68bd3027
|
tests - WIP - Create 'move pixel with keypad' program
|
2023-08-26 14:35:49 +01:00 |
n loewen
|
b290eb1568
|
cpu - Refactor CPU flags -- stop using a bitmask to make them easier to handle
|
2023-08-26 14:34:02 +01:00 |
n loewen
|
ddab8f42c4
|
cpu / display - Fix/Refactor: Fix CPU status display so that it doesn't crash when JMPing to an address that isn't in the assembly source. Refactor CPU status display to streamline.
|
2023-08-26 14:29:43 +01:00 |
n loewen
|
edad9ecbb8
|
cpu - Fix: Quit the process when the CPU halts
|
2023-08-26 13:26:26 +01:00 |
n loewen
|
41632b0a0f
|
cpu - Change debug printout formatting
|
2023-08-26 13:25:09 +01:00 |
n loewen
|
d0b620f1ad
|
cpu - Fix incorrect flag numbering
|
2023-08-26 13:24:49 +01:00 |
n loewen
|
7cfad439f8
|
run-cpu / cpu - Change command-line interface to use more standard flags (--debug --step --pretty)
|
2023-08-26 12:57:27 +01:00 |
n loewen
|
4bb394f039
|
assembler - Fix: Count lines with only whitespace as blank
|
2023-08-26 11:35:12 +01:00 |
n loewen
|
1ce6757838
|
run-assembler - Remove unused import
|
2023-08-26 11:09:55 +01:00 |
n loewen
|
dea1a445f6
|
logging - Fix memory printing function so that it works for arrays that start or end on odd address numbers
|
2023-08-26 11:07:38 +01:00 |
n loewen
|
902b218547
|
(tests) - draw-xy - Change selected pixel to (3, 3)
|
2023-08-25 11:06:34 +01:00 |
n loewen
|
0a3d474c43
|
issues - Move 'issues' directory out of 'notes' directory
|
2023-08-24 20:57:36 +01:00 |
n loewen
|
98c17cf925
|
display - Fix: Pretty display was displaying the wrong pixels
|
2023-08-24 17:06:09 +01:00 |
n loewen
|
f612e7582a
|
tests - Create routine for plotting a pixel at an (x, y) coordinate
|
2023-08-24 17:03:51 +01:00 |
n loewen
|
897749b108
|
cpu - Add feature: Quit after cycle limit reached
|
2023-08-24 16:35:21 +01:00 |
n loewen
|
2802623c4c
|
assembler - Change error handling: Just quit, don't throw a JS error
|
2023-08-24 16:33:33 +01:00 |
n loewen
|
1bf2144a67
|
assembler - Fix 'Too many arguments' error so that it works for normal lines as well as lines with `*` (which might include an optional 2nd arg)
|
2023-08-24 16:32:29 +01:00 |