|
ebc4d425dc
|
fix NOT logical error
i am extremely dumb and spent an inordinate amount of time debugging
|
2024-01-20 12:56:21 -05:00 |
|
|
129383adba
|
i/o fixes
|
2024-01-19 21:33:05 -05:00 |
|
|
c805154fe6
|
add proper arg parsing
|
2024-01-14 20:57:14 -05:00 |
|
|
35d9a39d80
|
improve debug print
|
2024-01-14 20:50:41 -05:00 |
|
|
d40d078c68
|
trap: IN, PUTSP
|
2024-01-14 20:11:01 -05:00 |
|
|
7953afdd5d
|
trap: OUT
|
2024-01-14 19:58:17 -05:00 |
|
|
666152229a
|
fix KBSR/KBDR mem-map registers
dummy me did not realize the ready bit was bit 15
|
2024-01-14 19:49:25 -05:00 |
|
|
6cda9912f5
|
fix: sign extend imm5
|
2024-01-14 19:16:49 -05:00 |
|
|
aab3742158
|
add debugging print
|
2024-01-07 22:13:14 -05:00 |
|
|
328291ae3e
|
implement mem-map keyboard registers
- also trap: GETC
|
2024-01-07 21:13:03 -05:00 |
|
|
25a77ecfb7
|
(stub) src/vm/terminal_io: make KeyboardIO trait for generic VM I/O
|
2024-01-06 22:25:42 -05:00 |
|
|
04fa5454ef
|
src/vm/terminal_io: setup termios
|
2024-01-06 18:05:35 -05:00 |
|
|
f965108172
|
src/vm/memory.rs: split off memory-related code
|
2024-01-06 17:09:27 -05:00 |
|
|
6a25b79d78
|
mark RTI and RES as unimplemented
|
2024-01-06 16:48:42 -05:00 |
|
|
159ab62ebf
|
opcode: JMP
|
2024-01-06 16:44:19 -05:00 |
|
|
4ee0822e58
|
opcode: BR
|
2024-01-06 16:37:00 -05:00 |
|
|
70603df303
|
opcodes: ADD, AND, NOT
|
2024-01-06 15:22:52 -05:00 |
|
|
f98719879a
|
opcode: ST, STI, STR
- reorganized stuff
- explicit wrap (no overflows)
|
2024-01-06 15:06:00 -05:00 |
|
|
519fe5a536
|
opcode: JSR/JSRR
|
2024-01-06 14:32:07 -05:00 |
|
|
c137839e86
|
implement other load opcodes
|
2024-01-06 14:25:19 -05:00 |
|
|
0597b1d4f8
|
command line argument for program
|
2024-01-06 14:05:41 -05:00 |
|
|
c688bf63ea
|
implement PUTS trap routine
|
2024-01-06 13:58:26 -05:00 |
|
|
928afa6de8
|
implement HALT trap routine
|
2024-01-06 13:50:36 -05:00 |
|
|
6fe7dffb4d
|
add todo! to missing instructions
|
2024-01-06 13:47:40 -05:00 |
|
|
7adac34b3e
|
implement TRAP
trap routines not yet implemented
|
2024-01-06 13:46:11 -05:00 |
|
|
a76d194cc7
|
implement LEA
|
2024-01-06 13:36:09 -05:00 |
|
|
aa413bcaf2
|
chore: format
|
2024-01-05 22:20:30 -05:00 |
|
|
60ad020d14
|
implement fetch-execute loop
|
2024-01-05 22:17:21 -05:00 |
|
|
fb7b17a7fe
|
reorganize files
|
2024-01-05 21:31:16 -05:00 |
|
|
ae788c9d22
|
chore: formatting
|
2024-01-05 17:18:23 -05:00 |
|
|
bf2bd62743
|
add note about endianness
|
2024-01-05 17:14:50 -05:00 |
|
|
f23370ca40
|
implement reading programs to memory
|
2024-01-05 17:01:57 -05:00 |
|
|
b6dfabe09a
|
memory getter/setter
|
2024-01-05 14:24:57 -05:00 |
|
|
c8dfa736fd
|
implement condition register
|
2024-01-05 11:46:24 -05:00 |
|
|
298d6d5c4c
|
implemented register getter/setter
|
2024-01-04 22:29:34 -05:00 |
|