English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 30 July 2008, 15:57   #21
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 44
Posts: 22,943
Write routine is stupid, very stupid.

It waits for index sync. Starts write DMA. Waits for next index sync and immediately kills the DMA..

EDIT:

This has nothing to do with needing more space than standard floppy can hold. Game only needs about 11968 bytes per track but the way of killing the DMA is causing some error somewhere. This really seems to be emulation bug.

Last edited by Toni Wilen; 30 July 2008 at 16:09.
Toni Wilen is online now  
Old 30 July 2008, 16:07   #22
dlfrsilver
CaptainM68K-SPS France
dlfrsilver's Avatar
 
Join Date: Dec 2004
Location: Melun nearby Paris/France
Age: 42
Posts: 8,092
Send a message via MSN to dlfrsilver
Ok, but what is the track length defined in the routine ?
How much does it try to write ?
dlfrsilver is offline  
Old 30 July 2008, 16:16   #23
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 44
Posts: 22,943
Fixed. It was really simple and stupid bug but no other save routine ever did it this way..

Nothing was written to adf if write DMA was aborted before it ended
Toni Wilen is online now  
Old 30 July 2008, 16:27   #24
dlfrsilver
CaptainM68K-SPS France
dlfrsilver's Avatar
 
Join Date: Dec 2004
Location: Melun nearby Paris/France
Age: 42
Posts: 8,092
Send a message via MSN to dlfrsilver
then how i have been able to create correctly the save disk then ?

I should have been blocked like the guy no ?
dlfrsilver is offline  
Old 30 July 2008, 16:30   #25
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 44
Posts: 22,943
Quote:
Originally Posted by dlfrsilver View Post
then how i have been able to create correctly the save disk then ?

I should have been blocked like the guy no ?
Because your overly long track allowed DMA to finish before next indexsync..
Toni Wilen is online now  
Old 30 July 2008, 16:38   #26
dlfrsilver
CaptainM68K-SPS France
dlfrsilver's Avatar
 
Join Date: Dec 2004
Location: Melun nearby Paris/France
Age: 42
Posts: 8,092
Send a message via MSN to dlfrsilver
Ok thank you for your reply. However i will test with my cadaver v0.01 version on my real amiga
dlfrsilver is offline  
Old 30 July 2008, 16:43   #27
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 44
Posts: 22,943
It will work. Problem has nothing to do with write length.
Toni Wilen is online now  
Old 30 July 2008, 17:04   #28
Interceptor
Registered User
Interceptor's Avatar
 
Join Date: May 2002
Location: Essex, UK
Posts: 409
thanks for sorting that out
Interceptor is offline  
Old 30 July 2008, 17:33   #29
dlfrsilver
CaptainM68K-SPS France
dlfrsilver's Avatar
 
Join Date: Dec 2004
Location: Melun nearby Paris/France
Age: 42
Posts: 8,092
Send a message via MSN to dlfrsilver
yes one more problem solved !
dlfrsilver is offline  
Old 30 July 2008, 17:36   #30
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 44
Posts: 22,943
At least SSP cracked version uses same save format. I'd have expected save problem reports years ago..
Toni Wilen is online now  
Old 30 July 2008, 18:48   #31
dlfrsilver
CaptainM68K-SPS France
dlfrsilver's Avatar
 
Join Date: Dec 2004
Location: Melun nearby Paris/France
Age: 42
Posts: 8,092
Send a message via MSN to dlfrsilver
well i never heard about people having problems back in the day......
No one has posted here since that guy from Interceptor, and it's not even on
a real amiga but on emulator :| ?
dlfrsilver is offline  
Old 30 July 2008, 18:55   #32
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 44
Posts: 22,943
Ok, it seems there is still some confusion about this problem.

It is simple and stupid emulator bug: disk write DMA abort -> NOTHING is written to adf file. (data is totally lost) and this game aborts the DMA when enough data has been already written. (which is weird way to do but it does work)

It has NOTHING TO DO with disk rotation rate.
Toni Wilen is online now  
Old 30 July 2008, 19:22   #33
dlfrsilver
CaptainM68K-SPS France
dlfrsilver's Avatar
 
Join Date: Dec 2004
Location: Melun nearby Paris/France
Age: 42
Posts: 8,092
Send a message via MSN to dlfrsilver
thanks for this explanation !
dlfrsilver is offline  
Old 24 May 2019, 10:47   #34
zeGouky
Registered User
 
Join Date: Oct 2005
Location: Edinburgh
Age: 39
Posts: 84
Hello,

sorry to revive this thread but it seems that the saving problem under winuae is still there and i was wondering if any one managed to get it working? I've dumped my own original disk and when i try to save Winuae says

---------------------------
WinUAE message
---------------------------
The software uses a non-standard floppy disk format. You may need to use a custom floppy disk image file instead of a standard one. This message will not appear again.
---------------------------
OK
---------------------------

So i've tried with a custom disk and while the message doesn't appear the save is corrupted when i try to load it.

The "fun" thing is that saving is also not working under fpga recreation (mister/fpgaarcade) so I was wondering if the problem could be related.

Any help would be great.

Thanks!
zeGouky is offline  
Old 24 May 2019, 10:57   #35
DamienD
Global Moderator

DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 42
Posts: 14,561
I just tested here and had the same issue.

...probably easier to use "Save States" for now
DamienD is offline  
Old 24 May 2019, 11:02   #36
zeGouky
Registered User
 
Join Date: Oct 2005
Location: Edinburgh
Age: 39
Posts: 84
Sure but since Toni mention that he found a bug on the DMA abort , was it supposed to fix the issue on Cadaver? (and dfrsilver was able to get the save working with a custom disk)

Also if the bug is shared with fpga recreation that make it quite interesting
zeGouky is offline  
Old 24 May 2019, 12:45   #37
Mclane
Old fart!

Mclane's Avatar
 
Join Date: Apr 2002
Location: Northolt, West London
Age: 58
Posts: 607
Its probably an accidental regression...There's quite a lot of code to organise
Mclane is online now  
Old 24 May 2019, 18:20   #38
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 44
Posts: 22,943
It is writing related, this time writing is not stopped at index for some reason. (When did it stop working?)

This game saves quite strangely, first it waits for index, starts writing, stops writing at next index. If writing is not stopped, it overwrites part of previously written data. (Instead of doing it sanely..)
Toni Wilen is online now  
Old 24 May 2019, 20:05   #39
Zarnal
Registered User

 
Join Date: Feb 2018
Location: France
Posts: 42
Hello,

It's very curious.

If you use a blank extended adf HD in a DD 880k floppy, savegames works.

Why ? I don't understand.
Zarnal is offline  
Old 24 May 2019, 20:12   #40
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 44
Posts: 22,943
Track has more space (2x more) = partial overwrite (due to track "wrap around") won't happen. (Due to historic reasons HD in DD drive works that way, it can't happen in real world)
Toni Wilen is online now  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Save disk question diablothe2nd support.FS-UAE 7 10 April 2013 11:10
Save disk Eng_RS support.Games 0 04 April 2008 17:15
Cadaver and save, help! Aery support.Games 7 14 March 2007 16:42
Trained save game or kick-butt RPG party save disk for Pool of Raidiance 7-Zark-7 request.Old Rare Games 1 16 June 2003 01:51
save disk on winuae corchians support.WinUAE 0 10 March 2003 00:43

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 17:15.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Page generated in 0.11868 seconds with 13 queries