Ryex / ic10emu

A Stationeers IC10 code editor and emulator
https://ic10emu.dev/
Apache License 2.0
4 stars 2 forks source link

Vm rebuild #34

Open Ryex opened 2 months ago

Ryex commented 2 months ago

Goal here is to move the VM to using dynamic objects allowing the Game's logic to be modeled much more closely.

Ryex commented 2 months ago

@ComputerDruid @Emilgardis if you want to stay away from this one I won't blame you. lots of macro work in these early stages.

Suffice it to say that I've built a rather nice and clean macro derivable Object interface trait that I'll be using to rework the rest of the VM.

Ie. when I'm done as far as the VM is concerned a circuit housing is nothing more than an Object implementing the CircuitHolder trait and anything with memory is just an object that implements Memory + (MemoryReadable &| MemoryWritable) same with logic and Logicable

github-actions[bot] commented 2 months ago

🚀 Deployed on https://deploy-preview-34--ic10emu.netlify.app

Ryex commented 2 months ago

phew... finally getting close to parity after the rewrite. so much code... once I finish off porting the instructions to traits it will just be a case of

Ryex commented 1 month ago

manic laughing commences @Emilgardis @ComputerDruid It's Done. the Rust rebuild is complete.

I now have to remap the wasm bindings and fix the frontend

Emilgardis commented 1 month ago

😵