n loewen
|
4854ce34fa
|
Change name to 'cardiograph' in package.json
|
2023-09-23 20:31:34 -07:00 |
n loewen
|
ae587a0712
|
assembler - Change variables name to 'outputWithAnnotations' to match the change made in the previous commit
|
2023-09-23 20:29:05 -07:00 |
n loewen
|
f802420799
|
Rename 'sourceInfo' variables (etc) to 'sourceAnnotations'
|
2023-09-23 20:23:44 -07:00 |
n loewen
|
3e32cb97e1
|
cardiograph - Change to programmatically infer whether the input includes annotations or not
|
2023-09-23 20:20:42 -07:00 |
n loewen
|
91cba57aa1
|
cardiograph - Change to read command line options using Opter
|
2023-09-23 19:33:58 -07:00 |
n loewen
|
98bfa50269
|
opter - Update
|
2023-09-23 19:16:34 -07:00 |
n loewen
|
9c82265a88
|
assembler - Change to use new Opter interface
|
2023-09-23 19:09:56 -07:00 |
n loewen
|
63eb4a9500
|
opter - Update to latest
|
2023-09-23 19:09:28 -07:00 |
n loewen
|
51c64cc615
|
opter - Update to newest version
|
2023-09-23 18:30:58 -07:00 |
n loewen
|
b0996d30c3
|
opter - Update to latest version
|
2023-09-04 18:04:35 -07:00 |
n loewen
|
77a41d47c3
|
assembler - Change to a tidier approach, made possible by new Opter library
|
2023-09-02 20:55:45 -07:00 |
n loewen
|
101421c4c3
|
dbg - Add 'set level' function
|
2023-09-02 20:36:59 -07:00 |
n loewen
|
d26bf39f05
|
assembler - Fix: move 'main' back to end
|
2023-09-02 20:34:54 -07:00 |
n loewen
|
c8c188e55a
|
assembler - Move 'main' up top
|
2023-09-02 16:45:38 -04:00 |
n loewen
|
e25723fcc9
|
assembler - Change to make use of improvements in Opter
|
2023-09-02 16:42:11 -04:00 |
n loewen
|
9c1cf4abba
|
opter - Rename 'argparser' to 'opter'
|
2023-09-02 15:40:16 -04:00 |
n loewen
|
b3d10a4197
|
assembler - Change to use new argument parsing library
|
2023-09-02 13:40:56 -04:00 |
n loewen
|
f9901d304b
|
?? submodule diff - idk what this is about
|
2023-08-29 22:32:36 -04:00 |
n loewen
|
c84c86c160
|
cpu - Fix overflow flag!
|
2023-08-29 21:28:39 -04:00 |
n loewen
|
866f553346
|
assembler - Add feature: Allow binary numbers with prefix '0b' and hex numbers with prefix '0x'
|
2023-08-29 21:26:36 -04:00 |
n loewen
|
eff9043665
|
cpu - Fix: Include '$' before hex in debug-peeking for indirect ops
|
2023-08-29 21:25:59 -04:00 |
n loewen
|
1fe582663b
|
conversions - Create `conversions.js` and move `hex2num` et al. out of `logging.js`
|
2023-08-29 20:30:53 -04:00 |
n loewen
|
8bb3b9b43f
|
conversions - Create `conversions.js` and move `hex2num` et al. out of `logging.js`
|
2023-08-29 20:30:44 -04:00 |
n loewen
|
e9d721042b
|
cardiograph - Remove old debug logging
|
2023-08-29 20:29:15 -04:00 |
n loewen
|
19784b56b6
|
dbg - Add 'none' debugging level, which turns off all output
|
2023-08-29 19:34:22 -04:00 |
n loewen
|
12d592c262
|
assembler - WIP - Add a 'return on stdout' mode that turns off all debug logging, and prints machine code output to stdout, so that output can be piped directly to the simulator
|
2023-08-29 19:32:43 -04:00 |
n loewen
|
be13802e1e
|
assembler / cardiograph - Add shebangs
|
2023-08-29 13:04:38 -04:00 |
n loewen
|
45c8fe3bd2
|
assembler - Remove dbg log
|
2023-08-29 13:04:26 -04:00 |
n loewen
|
049d9367ac
|
cardiograph - Change to take input from stdin!
|
2023-08-29 12:54:32 -04:00 |
n loewen
|
7faf190fe2
|
assembler / run-assembler - Make assembler get input from stdin! / Remove `run-assembler`
|
2023-08-29 12:54:06 -04:00 |
n loewen
|
41d7b7ba54
|
assembler - Rename 'debugInfo' to 'sourceInfo' and return it second in output - {machinecode, sourceinfo}
|
2023-08-29 12:52:48 -04:00 |
n loewen
|
14a32b9c27
|
dbg - Add feature: allow any number of arguments when logging
|
2023-08-29 12:51:28 -04:00 |
n loewen
|
8a19238612
|
dbg - Change to hardcoded functions instead of factory-generated ones, because VS Code type checking can't cope with the generated ones
|
2023-08-29 12:02:18 -04:00 |
n loewen
|
28b92b4980
|
assembler - Replace debugging with new debugging library
|
2023-08-29 11:51:53 -04:00 |
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
|
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
|
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
|
bf589411e7
|
Add `argparser` as a submodule
|
2023-08-28 09:18:51 -04:00 |
n loewen
|
1c8722c65e
|
Move JavaScript source to new `/src` directory
|
2023-08-28 09:11:20 -04:00 |