![]() |
|
|||||||
| Register | >> Amiga FAQ/Wiki << | Rules & Help | Members List / Moderators List | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Registered User
Join Date: Apr 2002
Location: Germany
Age: 32
Posts: 541
|
Savestate also for Harddisks
I thought I read about this some time ago, but I couldn't find anything about it. However is it possible to make hd's also work with savestates ?
But I'm sure that there's a reason why Tony didn't add this until now, am I right ? |
|
|
|
|
|
#2 |
|
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 38
Posts: 11,936
|
I can't find it either..
It can never work properly. OS and applications can easily get confused and worst case is data loss if any program writes to HD between saving and restoring state files. For example: State file saved, you continue playing the game/using text editor/etc, it decides to do autosave (or maybe update highscores or just write something to HD), load state file, AmigaOS or game's internal state is now incorrect (there is already autosave saved on HD but AmigaOS/game thinks the file is not there) -> program writes to disk again -> possible data loss or crashes etc.. IMHO best option is to implement WHDLoad specific statefiles (with possible help from emulation side), only safe and compatible way to do it. (but it won't be trivial either) |
|
|
|
|
|
#3 |
|
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 3,898
|
Couldn't you calculate a CRC sum of the HDF and if the CRC does not match on load, tell the user that the HDF has been changed and ask him if he wants to continue anyway with the risk of data loss ?
Also, doesn't the same problem apply to ADFs, too ? Or do you store the entire ADF in the state file ? |
|
|
|
|
|
#4 |
|
Lesser Talent
Join Date: Jan 2003
Location: UK
Age: 31
Posts: 7,888
|
Maybe the possibity of read-only hdfs?
__________________
I'm totally gratified that people find Interceptor worthy of being downloaded and played after so many years especially in light of its rather rudimentary visual content by standards constantly increasing over time. |
|
|
|
|
|
#5 | |
|
Wurk???
|
Quote:
|
|
|
|
|
|
|
#6 | ||
|
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 38
Posts: 11,936
|
Quote:
I won't implement features that can cause easy HD data loss. Directory harddrive support is less dangerous (only currently open files can be lost or system can "only" crash) but it won't be too realiable either.. Quote:
|
||
|
|
|
|
|
#7 | ||
|
Duck hunter
Join Date: Jan 2005
Location: Huntin' Ducks!
Age: 40
Posts: 1,786
|
Quote:
Quote:
![]() |
||
|
|
|
|
|
#8 |
|
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 38
Posts: 11,936
|
Cabinet discussion moved to http://eab.abime.net/showthread.php?t=25801
|
|
|
|
|
|
#9 |
|
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 38
Posts: 11,936
|
I have quite crazy idea... implement trackdisk.device patch that allows use of really big adfs. (=regular partition hardfiles)
Statefile problem fixed ![]() |
|
|
|
|
|
#10 |
|
Wurk???
|
that's a great idea!
but wouldn't be the read/access/write time longer than to hdfs? |
|
|
|
|
|
#11 |
|
Duck hunter
Join Date: Jan 2005
Location: Huntin' Ducks!
Age: 40
Posts: 1,786
|
We talking about one huge adf per game?
Will that work with amiga disk formats? (some games don't like even turbo read mode) |
|
|
|
|
|
#12 | |
|
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 3,898
|
Quote:
The HDF is always usuable. The Amiga is designed to be switched off at any point, so disk buffers cannot be an issue. Of cource, saving the state in the middle of a write operation is dangerous as is switching power off in the middle of an operation. But if the HDF is not touched between save and load of the state, there is no problem. |
|
|
|
|
|
|
#13 | ||||
|
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 38
Posts: 11,936
|
Quote:
Quote:
Quote:
Quote:
|
||||
|
|
|
|
|
#14 |
|
Duck hunter
Join Date: Jan 2005
Location: Huntin' Ducks!
Age: 40
Posts: 1,786
|
So this means that we will be able to add HDF file into flopy drive, start emulator and play the game. We don't need then internal save option of WHDLoad (drive can be read only).
Now, can you make dynamic HDF that will grow as more files we place into them or at least some HDZ - compressed HDF? See, it takes a small initiative for us to come up with some crazy ideas. ![]() |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Savestate file size | JayParker | support.WinUAE | 2 | 22 March 2006 17:59 |
| prefered savestate format selection... | Joe Maroni | request.UAE Wishlist | 0 | 01 August 2005 22:08 |
| A1200 PCMCIA cd-rom controller to use with harddisks? | Jerry | support.Hardware | 1 | 04 June 2005 19:38 |
| WIll Harddisks work with Kickstart 37.299 ? | Dr.Doom | support.Hardware | 8 | 30 November 2002 20:39 |