agg23 / openfpga-SNES

SNES for the Analogue Pocket
GNU General Public License v3.0
382 stars 15 forks source link

Sleep/Savestates/Memories support? #59

Closed zkat closed 1 year ago

zkat commented 1 year ago

When I try to do sleep mode on my Analogue Pocket, it says it's not supported by this cartridge, and offers to power off instead. Is it possible to add support for sleep?

agg23 commented 1 year ago

Sleep requires save states, which won't be coming to the SNES core. The only third party core currently available with save states is my NES core.

zkat commented 1 year ago

Thanks for the response! I was wondering whether this was a save state thing. I've linked this issue (see above) in upstream in hopes that it'll get resolved someday. :)

DunhamGitHub commented 1 year ago

For me, save states / sleep mode is essential for SNES. Which is why my analogue pocket is collecting dust...

Hoping it will happen due to competition in the market (I see it on the horizon)

ToniWonKanobi commented 1 year ago

Just wondering why save states won't be coming to this SNES core? Is that the owner doesn't care, or that it's incredibly difficult (more difficult than NES)?

agg23 commented 1 year ago

Unlike software emulators, hardware emulators (what we're running on FPGAs) have a significantly higher complexity and must keep track of much more information. Consequently, retroactively adding save states to a core that was not planned around it is a very difficult task (and it's still not easy if you have planned for it).

The person most knowledgeable about the core, srg320_, has previously stated that he has no interest in adding save states. Unless someone very skilled and dedicated decides to do it, it isn't going to happen. It's honestly probably more likely that someone else starts a SNES core from scratch with the idea of including save states.

ToniWonKanobi commented 1 year ago

Unlike software emulators, hardware emulators (what we're running on FPGAs) have a significantly higher complexity and must keep track of much more information. Consequently, retroactively adding save states to a core that was not planned around it is a very difficult task (and it's still not easy if you have planned for it).

The person most knowledgeable about the core, srg320_, has previously stated that he has no interest in adding save states. Unless someone very skilled and dedicated decides to do it, it isn't going to happen. It's honestly probably more likely that someone else starts a SNES core from scratch with the idea of including save states.

Thanks for the quick reply. I hear what you're saying, but why does the NES core have save states then?

agg23 commented 1 year ago

Someone (RobertPeip, and a few people helping him, I think) was dedicated enough to add them. Other than mappers (of which only some are supported for save states), the NES is significantly less complicated than SNES, and the hardware is more understood by more people.

ToniWonKanobi commented 1 year ago

Fair enough. Really appreciate your responses. Hopefully, my questions didn't come off as frustration pointed in your direction. Thanks, and have a good day sir!