Commit Graph

17 Commits

Author SHA1 Message Date
zxq5 56d2abe17f - optimised main emulator loop, allowing updates only once every roughly 32,000 instructions.
- optimised memory access patterns, removing unecessary mutability and accesses.
- replaced the standard HashMap with an implementation that uses a faster hashing algorithm.

results:

before:
    - our benchmark program with ~4m instructions would take around for their data to make it to the UI, and a bit over 200ms to actually run

after:
    - our benchmark program with ~4m instructions can run in around 75ms, and the UI receives the update almost instantly.

conclusion:
- emulator performance should be around 2-3x faster than before.
2025-06-28 03:21:46 +01:00
zxq5 4ef8bbdf46 updated dependencies 2025-06-24 18:06:29 +01:00
nullndvoid b97dcd5692 emulator: start supporting Android, this is WIP
Needs storage permissions, probably extra tweaks
2025-06-22 02:13:06 +01:00
nullndvoid 1907bbb200 misc: clippy fixes 2025-06-22 00:30:27 +01:00
zxq5 528ceddade refactor & fixed assembler path handling 2025-06-21 04:05:22 +01:00
zxq5 e281bc2d1d IT WORKS HELL YEAH. 2025-06-18 22:53:01 +01:00
nullndvoid 687dea99ca emulator: get RPC working w/ Cargo features 2025-06-17 23:48:28 +01:00
nullndvoid 0b16246dd2 misc: applied some clippy lints 2025-06-17 19:43:35 +01:00
nullndvoid 868cba376f misc: fix merge conflict 2025-06-17 19:22:01 +01:00
nullndvoid a6be668328 emulator: just saving my changes 2025-06-17 19:19:49 +01:00
zxq5 75246f5e73 editor go brr? 2025-06-16 23:38:36 +01:00
nullndvoid 5ed0f9c1ca misc: formatting and clippy lint fixes 2025-06-16 01:19:57 +01:00
zxq5 2b5ad0885b added assembler skeleton code 2025-06-15 21:53:57 +01:00
zxq5 2b8281157e refactor 2 electric boogaloo 2025-06-15 21:40:43 +01:00
zxq5 277f210b3e editor works 2025-06-15 21:21:02 +01:00
zxq5 4e9cc2849e working emulator UI - just need to implement the instruction set 2025-06-15 00:39:08 +01:00
zxq5 68c8da4271 written up instruction set 2025-06-14 03:09:30 +01:00