Commit Graph

26 Commits

Author SHA1 Message Date
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