Commit Graph

62 Commits

Author SHA1 Message Date
Nemo 8cabe40643 I can read files in rust 2020-05-30 03:51:13 +05:30
Nemo 09bf3f1e67 [06] Assembler done and tested
Also started a clone assembler in rust
2020-05-30 03:17:31 +05:30
Nemo abbb826dd0 Adds SymbolTable usage 2020-05-30 01:55:43 +05:30
Nemo 8985c2a65a Adds test script 2020-05-30 01:32:31 +05:30
Nemo f15f5e6906 Assemble all test programs 2020-05-30 01:22:22 +05:30
Nemo 0d78eaae73 Finishes assembler without symbols 2020-05-30 01:18:04 +05:30
Nemo 26018e28a1 Initial work on 06 2020-05-29 19:52:50 +05:30
Nemo a95ee0cfce Add link to fix in RAM16K 2020-05-29 02:42:17 +05:30
Nemo cd62be71a3 Better headings for notes 2020-05-29 02:41:25 +05:30
Nemo 651a00fc5c gitattributes 2020-05-29 02:38:11 +05:30
Nemo 42fadfa61d Adds NOTES link to README 2020-05-29 02:00:59 +05:30
Nemo 0a0616a3d5 Adds scaffold for [06] 2020-05-28 21:44:21 +05:30
Nemo fbad268db5 [05/Computer] My computer can run Hack instructions now 2020-05-28 21:28:20 +05:30
Nemo 79aaca88af [05] Ran the CPU-external tests as well 2020-05-28 21:18:36 +05:30
Nemo 317e89ee54 notes for CPU 2020-05-28 21:17:20 +05:30
Nemo 3dbb04035c [05/CPU] CPU is done.
I prefered using Nands here, wherever possible.
2020-05-28 21:13:25 +05:30
Nemo e7d72b1020 [05/CPU] Implements most of the CPU
This includes:

- Handling of data i/o (for A/D/M)
- Handling the ALU properly (all 28 computations)
- Basic incremental PC (i/o)
- PC reset
- read/write to M

What's missing:

- Handling jumps
2020-05-28 19:58:12 +05:30
Nemo 69a32190dc 05/Memory 2020-05-28 18:10:51 +05:30
Nemo 262e336fcd Add empty Project05, and notes on PC 2020-05-28 17:02:13 +05:30
Nemo ae35d75d17 My Keyboard based fill is just +2 of manualfill 2020-05-28 16:48:24 +05:30
Nemo e85ff27425 [04/fill] Done with Automated screen fill
Updated NOTES
2020-05-28 16:45:38 +05:30
Nemo 25e828ec9d Initial work on Fill.asm
Scrapped everything I did yesterday, basing it on scratch
from what I wrote in manual-fill.asm
2020-05-28 15:59:49 +05:30
Nemo 90526cc036 Fixes RAM16K. I was using too many registers and the addressing was
wrong
2020-05-28 15:04:07 +05:30
Nemo 37c0f41a4a [04/mult] Multiply is possible 2020-05-27 19:44:39 +05:30
Nemo 56eb3699a4 Added the sum program from Fig 4.2 2020-05-27 19:43:50 +05:30
Nemo 64c2f79409 Note cost for ALU 2020-05-21 01:59:59 +05:30
Nemo f20e8b082c [03] Program Counter 2020-05-21 01:06:50 +05:30
Nemo cbd6834f07 [03] RAM16K 2020-05-20 19:35:39 +05:30
Nemo e54a23fc3c [03] RAM4K + RAM512 2020-05-20 19:31:35 +05:30
Nemo 09182a661f [03] Adds RAM64 2020-05-20 19:22:54 +05:30
Nemo 93d6273201 [03] RAM8 2020-05-20 19:13:01 +05:30
Nemo 9a28b2f33f [03] Register 2020-05-20 18:59:22 +05:30
Nemo bb7a45e03f [03] Bit 2020-05-20 18:56:05 +05:30
Nemo 5ffe4a05d5 Setup for Project 3 2020-05-20 18:49:00 +05:30
Nemo 37ded23c37 [02] ALU is complete 2020-05-20 17:39:50 +05:30
Nemo 7c2232acf5 ALU-nostat passing 2020-05-20 17:19:04 +05:30
Nemo a4cd0114c3 ✔️ Add16 2020-05-20 16:57:20 +05:30
Nemo a6a26b6026 15 Full Adders + 1 Half Adder = Add16 2020-05-20 16:54:12 +05:30
Nemo 8820f44a98 Add Project 2 to README 2020-05-20 16:48:14 +05:30
Nemo a41583bfc1 Figured it out. Silly mistake in my work 2020-05-20 16:45:34 +05:30
Nemo 953cfb7511 Remove 1 Mux, but this still sucks 2020-05-20 16:41:07 +05:30
Nemo b6ebd26215 Worst FullAdder you've ever seen 2020-05-20 16:38:32 +05:30
Nemo 67e8249e7e [02] HalfAdder done 2020-05-20 15:22:50 +05:30
Nemo de816a702f Add cost to README for Dmux8Way 2020-05-20 14:46:51 +05:30
Nemo f4dcbfd853 Adds Dmux8Way. Not as fun as the last one 2020-05-20 14:46:14 +05:30
Nemo db67c53052 DMux4Way. Slept over it, and got it immediately on first try 2020-05-20 14:37:46 +05:30
Nemo 559499e879 Adds Mux8Way16 2020-05-20 02:02:46 +05:30
Nemo 94ddef522a Adds Mux4Way16 2020-05-20 01:52:28 +05:30
Nemo 515f974aaf Or8Way done 2020-05-19 22:52:09 +05:30
Nemo 8a1072a4a5 Adds Mux16. I think I can improve Mux 2020-05-19 22:26:46 +05:30