English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 13 March 2024, 09:40   #1
Michael Doma
Registered User
 
Join Date: Jan 2024
Location: Austria
Posts: 69
Post "Delete save image" for ADF?, ++

Dear Toni,

due to a Disksalv operation, I've noticed that when inserting an adf file, the "delete save image" button appears when there is a save image of an ipf file that has the same name as the inserted adf, existing in the WinUAE folder (e.g. "test.ipf" + "test_save.adf" with a "test.adf" inserted).
This button should be ipf/dms-only, right?


Another problem:
The reason I had to use Disksalv was a hard error on an ipf save image after shutting down the host by pressing the power button. This shouldn't happen because it is a graceful shutdown that lets applications finish their work - but not so WinUAE. This is what I did:

1. Save a Phantasie III game (while in a town) and wait until disk activity finishes
2. Wait another 2 seconds
3. Press power button on host while emulation is active

Although the shutdown took 30 seconds (because of background services that were waited for), after the next boot of the image it showed an error on block 885 when loading the main executable. Interestingly, the "savegame.dat" and everything else was ok! You can find the involved images below. I have to add that my WinUAE and all the other files are put on an usb flash drive (if that makes any difference).


Best wishes,

Michael
Attached Files
File Type: zip ipf+_save.adf.zip (676.3 KB, 21 views)
Michael Doma is offline  
Old 13 March 2024, 11:37   #2
Snoopy1234
Registered User
 
Snoopy1234's Avatar
 
Join Date: Apr 2022
Location: Australia
Age: 52
Posts: 843
Just piping in... In Amiga Forever which uses WinUAE as the emulator, a save image of ANY disk image - adf, ipf etc is created if "Enable Undo" is selected in the Media tab.

Amiga Forever also asks to "Save Changes to Disk Image" on quitting. Ensuring correct write.
A copy protected IPF may not save properly as a save file in WinUAE because the save image is standard coding.

Tony will know more of course.
Snoopy1234 is offline  
Old 13 March 2024, 14:35   #3
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
Quote:
Originally Posted by Michael Doma View Post
This shouldn't happen because it is a graceful shutdown that lets applications finish their work
WinUAE (or any other emulator) can't know if there are pending writes in emulated OS side.
Toni Wilen is offline  
Old 13 March 2024, 18:18   #4
Michael Doma
Registered User
 
Join Date: Jan 2024
Location: Austria
Posts: 69
Quote:
Originally Posted by Toni Wilen View Post
WinUAE (or any other emulator) can't know if there are pending writes in emulated OS side.
Saves in PhantasieIII were always written as one single continuous batch (unlike disk operations in Workbench...), so I would rule out a pending write. I was thinking about some buffering on the emu/host side - maybe you can check for that as soon as you get a chance some time? Flushing everything before app exit...

Regards,

Michael
Michael Doma is offline  
Old 13 March 2024, 18:40   #5
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
No, there is nothing to check. Dozens of users would have already complained if that is happening. Unless you used some weird config.

You need to duplicate it first. With less complex steps. Just use ALT-F4 or enter GUI and press Quit. Test with different delays.

But did you really wait long enough because floppy disk writes almost always need few seconds before last flush is done. (disk led on, saving data to disk, led off, 2-3 second delay, led on for about 1 second)

ADF is updated immediately.
Toni Wilen is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
drawers on WB I can't open or delete "ADH3:NDOS" lost_lemming support.Apps 2 02 September 2019 09:11
Nuxelia (playable-demo) (AGA)[unreleased] - "HD install" --> "ADF" DamienD request.Old Rare Games 9 21 March 2017 06:52
A New Adventure: FaYoh 2 - "HD install" --> "ADF" DamienD request.Old Rare Games 7 09 June 2016 20:23
FaYoh - "HD install" --> "ADF" DamienD request.Old Rare Games 3 09 June 2016 20:21
CD32 Image-Name-Bug: "...(bla)[!].zip" -> "...(bla)[" / "...[test].zip" -> "...[tes" cfTrio support.WinUAE 8 18 December 2012 16:31

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 02:36.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.07189 seconds with 16 queries