Commit graph

25 commits

Author SHA1 Message Date
6ce3366009
Clean up the usage of registers[rd] 2024-12-14 23:24:36 +00:00
351a895d69
Add support for printf, UART, and iron out a few bugs 2024-12-14 22:56:28 +00:00
9707f1a7bf
Implement reporting current file path to GDB 2024-12-10 17:49:19 +00:00
0c8d1bf257
Implement loading of ELF files 2024-12-10 17:32:33 +00:00
184c379e96
Implement breakpoints 2024-12-09 21:21:47 +00:00
d0ff238cb0
Implement gdb single-stepping 2024-12-09 20:17:21 +00:00
0175ef0c80
Implement reading memory and registers with the debugger 2024-12-09 01:26:28 +00:00
c7ff2c784c
Initialize debugger with the VM instance 2024-12-09 00:49:57 +00:00
79177d17e5
Add clangd and clang-format configs 2024-12-09 00:48:40 +00:00
fd67be0d89
Move registers and pc counter to the VM class 2024-12-09 00:44:53 +00:00
78a2a460e8
Make VM memory a vector 2024-12-09 00:29:19 +00:00
4cf11ae1e4
Keep symbols in the example app to allow debugging with gdb 2024-12-08 23:41:29 +00:00
fa1a497f1f
Remove unneeded debug prints 2024-12-08 23:35:32 +00:00
963e001946
Add a trivial gdb stub, runnable but not yet fully working 2024-12-08 23:32:45 +00:00
71bbc1e65d
Make an example program a bit more interesting 2024-12-07 20:02:32 +00:00
23cf02cc38
Add instructions for installing Nix 2024-12-07 01:21:26 +00:00
90a8c9c378
Make the C-compiled program actually work 2024-12-07 01:19:22 +00:00
797a308764
Add a simple boot section 2024-12-06 23:50:21 +00:00
234221cbff
Add readme file and make the example compile 2024-12-06 23:11:24 +00:00
c9fc4a420c
Add an example program in C 2024-12-06 22:40:52 +00:00
b8fb51f5e6
All opcodes except the syscalls 2024-12-06 21:58:16 +00:00
2e47ad73ae
Implement branches 2024-12-06 21:39:01 +00:00
c65c14bfdf
Implement basic opcodes (not yet all of them) 2024-12-06 21:27:44 +00:00
434fbe4778
Add source files and cmakelist 2024-12-06 19:48:38 +00:00
e0e31ec7ca
Initial commit 2024-12-06 19:44:09 +00:00