Commit Graph

  • 27267e3daa assembler: use smart pointer for modules since sourceinfo gets copy nullndvoid 2025-06-25 17:03:48 +01:00
  • fb84a6d3c3 assembler: clippy lints, better error formatting nullndvoid 2025-06-25 16:50:17 +01:00
  • 1101331f70 fixed a couple of emulator bugs, including fixing shift instructions. finished implementing lib/io/print/print_hex_byte and print_hex_word zxq5 2025-06-25 16:22:32 +01:00
  • 4e5db58a84 assembler: start refactoring/rewriting tokeniser nullndvoid 2025-06-25 14:48:45 +01:00
  • 11a57eab51 assembler: apply clippy lints nullndvoid 2025-06-25 14:33:48 +01:00
  • 20a7d42adb assembler: we failing DSA with this one nullndvoid 2025-06-25 14:31:53 +01:00
  • 9232f2ccab assembler: great leap forwards (more like the Cultural Revolution) nullndvoid 2025-06-25 03:26:50 +01:00
  • ce76820b6d assembler: begin wrangling nullndvoid 2025-06-25 02:25:46 +01:00
  • f72f36cd47 assembler: save currently broken refactors, its simpler to wipe then rebuild the assembler nullndvoid 2025-06-25 02:19:00 +01:00
  • c171b0db89 worked on print.dsa and maths/core.dsa zxq5 2025-06-25 00:40:31 +01:00
  • 82b99c127c finished initial interrupts implementation zxq5 2025-06-25 00:13:55 +01:00
  • 11ba09ab43 assembler: broke everything, currently modularising nullndvoid 2025-06-24 23:19:20 +01:00
  • 65efa8d423 misc: fix some clippy errors nullndvoid 2025-06-24 22:15:51 +01:00
  • ebae99811b misc: get rid of some errors from Cargo lol nullndvoid 2025-06-24 21:55:11 +01:00
  • 77331f65ab idk, i refactored some stuff ig zxq5 2025-06-24 19:34:45 +01:00
  • 6f2bb477ac finished the interpreter zxq5 2025-06-24 19:31:55 +01:00
  • d87bf6bbb0 progress on debugging bf.dsa zxq5 2025-06-24 18:07:33 +01:00
  • 449612ac19 added step(n) feature to emulator, allowing for stepping n instructions at a time zxq5 2025-06-24 18:07:11 +01:00
  • 987c2b4b9a updated dependencies zxq5 2025-06-24 18:06:29 +01:00
  • a55dfe616e finished refactor of emulator - started on loader (needs significant changes before functional in the way that I would like) zxq5 2025-06-23 23:45:47 +01:00
  • 2c44f48232 added error handling to emulator zxq5 2025-06-23 21:28:38 +01:00
  • 92c4660a4d misc: get rid of some errors from Cargo lol nullndvoid 2025-06-24 21:55:11 +01:00
  • 2a6991fe4a idk, i refactored some stuff ig zxq5 2025-06-24 19:34:45 +01:00
  • 0fdd28aad1 finished the interpreter zxq5 2025-06-24 19:31:55 +01:00
  • f639240b6c progress on debugging bf.dsa zxq5 2025-06-24 18:07:33 +01:00
  • d2c1492dca added step(n) feature to emulator, allowing for stepping n instructions at a time zxq5 2025-06-24 18:07:11 +01:00
  • 4ef8bbdf46 updated dependencies zxq5 2025-06-24 18:06:29 +01:00
  • 76197fac8f finished refactor of emulator - started on loader (needs significant changes before functional in the way that I would like) zxq5 2025-06-23 23:45:47 +01:00
  • 00a28e7711 elf: will start using clap to parse assembler arguments for CLI nullndvoid 2025-06-23 21:30:48 +01:00
  • bc5ddef311 added error handling to emulator zxq5 2025-06-23 21:28:38 +01:00
  • ed479ac146 assembler: purge unwrap and use more AssembleErrors nullndvoid 2025-06-23 19:39:49 +01:00
  • f432fe7665 misc: clippy lint fixes nullndvoid 2025-06-23 18:23:01 +01:00
  • 083628ec7e emulator: builds still don't actually work, will look into ELF stuff nullndvoid 2025-06-23 18:13:05 +01:00
  • ddd0c27893 found a cause of a memory bug in emulator - fix is TODO (#6) - continued working on brainf interpreter. we really need better debugging tools tbh. zxq5 2025-06-23 00:31:09 +01:00
  • b8091222a4 working on bf.dsa (brainf##k interpreter) cos fun zxq5 2025-06-22 16:14:51 +01:00
  • 6ea3a76d74 fixed some bugs with file picker & loading different file types - will start working on brainf##k interpreter tomorrow because a compiler isn't enough. zxq5 2025-06-22 05:19:55 +01:00
  • 2b777f55c7 Merge remote-tracking branch 'refs/remotes/origin/main' zxq5 2025-06-22 03:54:44 +01:00
  • 808b51ff5f updated emulator to support importing .dsb binaries zxq5 2025-06-22 03:52:11 +01:00
  • 7892c44d89 updated print with new functions zxq5 2025-06-22 03:51:39 +01:00
  • 9c56258c48 assembler changes & brainf##k compiler lmao zxq5 2025-06-22 03:51:16 +01:00
  • c7322d8171 emulator on android: crashes but APKs are building nullndvoid 2025-06-22 03:46:42 +01:00
  • a878483923 emulator: fix build errors in main.rs nullndvoid 2025-06-22 02:21:08 +01:00
  • b97dcd5692 emulator: start supporting Android, this is WIP nullndvoid 2025-06-22 02:13:06 +01:00
  • 83259b9217 emulator: use egui file pickers rather than native ones nullndvoid 2025-06-22 02:12:26 +01:00
  • bbf893290f misc: more clippy fixes, **switched to stable** nullndvoid 2025-06-22 00:42:44 +01:00
  • 1907bbb200 misc: clippy fixes nullndvoid 2025-06-22 00:30:27 +01:00
  • 22a8785083 emulator: cut down on cfg directives nullndvoid 2025-06-22 00:03:48 +01:00
  • 528ceddade refactor & fixed assembler path handling zxq5 2025-06-21 04:05:22 +01:00
  • 42c26d4184 added a create-project system to assembler, and fixed a couple of parsing bugs zxq5 2025-06-20 03:25:28 +01:00
  • f791b05292 idk what changes i made zxq5 2025-06-19 23:30:32 +01:00
  • 52e2306fca refactoring assembler zxq5 2025-06-19 23:28:53 +01:00
  • 5c83b49328 fixed some clippy warns zxq5 2025-06-19 18:50:57 +01:00
  • a48dfee777 misc: revert "purged .unwrap()" nullndvoid 2025-06-19 17:01:04 +01:00
  • d4e538a2b3 purged .unwrap() zxq5 2025-06-19 16:57:43 +01:00
  • 78512d95e9 tests: update to reflect new argument ordering nullndvoid 2025-06-19 16:46:07 +01:00
  • 6f834025ed emulator: imports work relatively to file being assembled (set cwd) nullndvoid 2025-06-19 16:35:00 +01:00
  • b5ce5e0011 emulator: run by default and auto add the config feature nullndvoid 2025-06-19 16:16:13 +01:00
  • 7bdeab58a1 merge zxq5 changes with mine lol nullndvoid 2025-06-19 15:53:55 +01:00
  • 81433dcbcd misc: apply clippy lints nullndvoid 2025-06-19 15:51:23 +01:00
  • d5a690563b fixed some clippy errors zxq5 2025-06-19 15:44:42 +01:00
  • c1d72e8d4c Merge remote-tracking branch 'refs/remotes/origin/main' zxq5 2025-06-19 15:21:07 +01:00
  • e308362533 idk zxq5 2025-06-19 15:18:48 +01:00
  • 5784beafbc An idiot admires complexity, a genius admires simplicity, a physicist tries to make it simple, for an idiot anything the more complicated it is the more he will admire it, if you make something so clusterfucked he can't understand it he's gonna think you're a god cause you made it so complicated nobody can understand it. That's how they write journals in Academics, they try to make it so complicated people think you're a genius zxq5 2025-06-19 02:58:30 +01:00
  • ccc4421bb1 I should go to sleep frfr. zxq5 2025-06-19 02:56:15 +01:00
  • 11a107e56d wrote print.dsa zxq5 2025-06-19 01:57:47 +01:00
  • 6b58a17f03 fixed a lot of bugs with the emulator, instruction set and assembler zxq5 2025-06-19 01:57:36 +01:00
  • e281bc2d1d IT WORKS HELL YEAH. zxq5 2025-06-18 22:53:01 +01:00
  • 1210b19333 asm done with parsing and linking. codegen all that's left zxq5 2025-06-18 03:54:39 +01:00
  • 6a0b5c617a Merge remote-tracking branch 'refs/remotes/origin/main' zxq5 2025-06-17 23:50:52 +01:00
  • 42847f7bfb merge commit zxq5 2025-06-17 23:50:16 +01:00
  • 687dea99ca emulator: get RPC working w/ Cargo features nullndvoid 2025-06-17 23:48:28 +01:00
  • b0670d1e6c assembler updates zxq5 2025-06-17 23:48:06 +01:00
  • 3a40719e54 misc: back to little endian because I am evil nullndvoid 2025-06-17 19:51:16 +01:00
  • 0b16246dd2 misc: applied some clippy lints nullndvoid 2025-06-17 19:43:35 +01:00
  • 868cba376f misc: fix merge conflict nullndvoid 2025-06-17 19:22:01 +01:00
  • a6be668328 emulator: just saving my changes nullndvoid 2025-06-17 19:19:49 +01:00
  • 87fbd6c362 assembler still very broken, dependency resolution works, now working on expanding pseudoinstructions zxq5 2025-06-17 03:11:22 +01:00
  • 88a1c9f245 Merge remote-tracking branch 'refs/remotes/origin/main' zxq5 2025-06-16 23:40:29 +01:00
  • 9e0d014e99 removed some useless code zxq5 2025-06-16 23:39:05 +01:00
  • 75246f5e73 editor go brr? zxq5 2025-06-16 23:38:36 +01:00
  • ae10249616 misc: fixed some shit thanks to Clippy, have fun with the merge conflicts lmao nullndvoid 2025-06-16 23:21:35 +01:00
  • 7d17107a8c Merge remote-tracking branch 'refs/remotes/origin/main' zxq5 2025-06-16 03:50:25 +01:00
  • e9eca34d48 editor changes zxq5 2025-06-16 03:49:08 +01:00
  • 7f834adbce assembler shenanigans. shiny ahh code. zxq5 2025-06-16 03:48:31 +01:00
  • 5ed0f9c1ca misc: formatting and clippy lint fixes nullndvoid 2025-06-16 01:19:57 +01:00
  • 2b5ad0885b added assembler skeleton code zxq5 2025-06-15 21:53:57 +01:00
  • 2b8281157e refactor 2 electric boogaloo zxq5 2025-06-15 21:40:43 +01:00
  • 277f210b3e editor works zxq5 2025-06-15 21:21:02 +01:00
  • 5d1ea86cdd fixed a deadlock zxq5 2025-06-15 16:51:20 +01:00
  • aca73589de misc: IO is probably ok written in caps nullndvoid 2025-06-15 16:26:02 +01:00
  • dc196cf2d8 common: add decoding tests, 52/52 passing :) nullndvoid 2025-06-15 16:22:43 +01:00
  • bffdf8c7bc common: use prelude in all files nullndvoid 2025-06-15 16:02:46 +01:00
  • 423d768e40 emulator: fix errors calling new fallible Instruction::decode nullndvoid 2025-06-15 15:53:58 +01:00
  • ecf443e59e common: add instruction encoding tests, currently passing nullndvoid 2025-06-15 14:16:45 +01:00
  • 977a621d5f common: instruction encoding via macro and trait ugly hack works nullndvoid 2025-06-15 13:56:45 +01:00
  • 4e1d4d784f processor: module and test in same folder nullndvoid 2025-06-15 13:01:31 +01:00
  • 3aa5d33f68 processor: fix Flags to be bit flags and add test module nullndvoid 2025-06-15 12:58:08 +01:00
  • 300c455efd common: fix clippy errors and test arguments nullndvoid 2025-06-15 12:28:13 +01:00
  • c837876960 common: update processor code to use new arg structs nullndvoid 2025-06-15 12:21:35 +01:00
  • e52093f9cd common: update Instruction tuples to hold common structs nullndvoid 2025-06-15 11:58:03 +01:00