captain-amygdala / pistorm

68k Hardware Emulator
MIT License
737 stars 103 forks source link

No problem, but a proposal some little improvement. (Regarding the 'shut off' problem) #47

Closed Lalarian closed 2 years ago

Lalarian commented 2 years ago

Hello!

I heard from the project on YouTube, from '10 Minute Amiga Retro Cast'. (https://www.youtube.com/watch?v=u1-QVyw8Tyw)

In the video he said he was in contact with you, and there was an little issue in regards to the RasPi of course not shutting down properly, when the Amiga is reset or shut down. I had the idea it could make for an useful stability improvement, if your instructions included the installation of 'overlayroot', which will effectively make the whole system (with arbitrary exceptions) read-only. It's very easy to setup and would probably avoid potential trouble for most cases, where buffered date would not be written to the storage in time, as the system itself cannot be modified without the user demanding root to be writeable by himself.

paladinprime01 commented 2 years ago

This is a non-issue now. There is a "Shutdown Pi" button in the PiStorm Interaction Tool that allows you to turn off the Pi from Workbench before powering off the computer. No risk of SD card corruption.

Lalarian commented 2 years ago

Thanks for the info!

Roet-Ivar commented 2 years ago

Thanks for the info!

I think this is great idea tbh! Let's say I use Kickstart 1.3 for nostalgia (or in my case the only rom I legally own atm), I guess powering it down from there is safe for the SD card? If not this might be a good idea

captain-amygdala commented 2 years ago

Thanks a lot!

But closing the issue, because

Lalarian commented 2 years ago

Thanks for the info!

I think this is great idea tbh! Let's say I use Kickstart 1.3 for nostalgia (or in my case the only rom I legally own atm), I guess powering it down from there is safe for the SD card? If not this might be a good idea

Yes, the advantage would still be, that you could simply power off the Amiga whenever you want, without the need for shutting down the RasPi first, if your drive is write protected. Only drawback is, that you need to have the hdf files write enabled, for being able to write to the virtual hard drive from the Amiga. Then again, you could workaround that issue, by having your hdf files stored externally, on a share, mabye on the router, and have the RasPi access them by WiFi, though. When I have my PiStorm-Setup running, I'll use it like this, because this configuration keeps the Amiga's ability to simply power off with no care up.

abrugsch commented 2 years ago

@lalarian good luck with that. You are free to try it but while the development of PiStorm is still in a massive state of flux, the benefits of a read/write filesystem far far far outweigh the advantage (singular) and many disadvantages of making it read only. If you want to continue the discussion, it has been discussed at length on the #custom-distros channel on discord

On Thu, 7 Oct 2021, 09:13 Lalarian, @.***> wrote:

Thanks for the info!

I think this is great idea tbh! Let's say I use Kickstart 1.3 for nostalgia (or in my case the only rom I legally own atm), I guess powering it down from there is safe for the SD card? If not this might be a good idea

Yes, the advantage would still be, that you could simply power off the Amiga whenever you want, without the need for shutting down the RasPi first, if your drive is write protected. Only drawback is, that you need to have the hdf files write enabled, for being able to write to the virtual hard drive from the Amiga. Then again, you could workaround that issue, by having your hdf files stored externally, on a share, mabye on the router, and have the RasPi access them by WiFi, though. When I have my PiStorm-Setup running, I'll use it like this, because this configuration keeps the Amiga's ability to simply power off with no care up.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/captain-amygdala/pistorm/issues/47#issuecomment-937559058, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALTCZ6LCCOFHZUEVMAXUETUFVJCVANCNFSM5FKWEY7A .