[-] van2z@lemmy.world 16 points 7 months ago

I love that you took time to draw a blueprint. And of course, had to index it from 0.

[-] van2z@lemmy.world 3 points 8 months ago

You are right. I fixed it just now. That is an annoying "feature" of lemmy...

10
submitted 8 months ago* (last edited 8 months ago) by van2z@lemmy.world to c/rust@programming.dev

Please let me know if this is possible...

I would like to be able to have a coroutine / generator yield to resume with a value.

This is a simplified version of what I am looking for:

https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=8be2f397f600236b66970fce5c0ecab6

In this example, yield would end up requesting from the parent, that it wants to read the next byte, and the parent would resume the coroutine with the next byte. (In this case, it's hardcoded to 54, but it can be any value.)

Yet it seems like Rust doesn't have the ability to resume a yield with a value.

Is there any way I can get this to work?

13
submitted 8 months ago by van2z@lemmy.world to c/technology@lemmy.world
8
submitted 9 months ago by van2z@lemmy.world to c/emulation@lemmy.ml

Hey everyone,

I love building emulators, especially of older systems. The Fairchild Channel F was the first console to include a removable ROM. The function of reading from memory was handled by the PSU (Program Storage Unit) rather than the CPU, which made it unique among chipsets.

My emulator runs entirely online. No downloading required. It should work on all modern browsers, both on desktop and mobile. On desktop you can use the numpad keyboard, and mouse. Note that only the right joystick works. Not the left.

My emulator does not contain ROMs in it, but it will open any ROM you pass in as a link. Below is a demonstration of all of the videocarts:

[-] van2z@lemmy.world 3 points 1 year ago

Your dog looked like it had two teeth tearing into your flesh with blood. Had to zoom in to see it was a tongue.

[-] van2z@lemmy.world 1 points 1 year ago

Need to buy that extended warranty...

3

van2z

joined 1 year ago