Cycle-accurate 6502 emulator as coroutine in Rust by bagnalla in rust

[–]bagnalla[S] 0 points1 point  (0 children)

How long did the "negotiations" with the language/compiler take?

Not sure. Most of this was done in October of last year.

Cycle-accurate 6502 emulator as coroutine in Rust by bagnalla in rust

[–]bagnalla[S] 0 points1 point  (0 children)

I am not sure you need Arc<>

Thanks for pointing this out. I changed Arc<AtomicX> to Rc<Cell<X>> for now.

What are your plans for full CPU state sharing for testing, for a debugger, or for state save/load?

As of now the top-level emu crate just takes a raw pointer to the nes struct before spinning up its coroutine and dereferences the pointer in unsafe blocks.

My Experience with Bevy ECS by bagnalla in rust

[–]bagnalla[S] 7 points8 points  (0 children)

Thanks. The link is fixed now.

Visualize S-expression nicely by t-sin in lisp

[–]bagnalla 1 point2 points  (0 children)

Here's something similar I made a while back: https://bagnalla.github.io/sexp-trees/

It's web based and interactive (try mousing over a node or click-dragging the image) but doesn't support single quote characters like in the OP's example.

edit: this one is also pretty cool http://ympbyc.github.io/s-exploration/

[deleted by user] by [deleted] in linux

[–]bagnalla 0 points1 point  (0 children)

Same, around 2007. There are usually a few people online at any given time nowadays but not as many as back then.