English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 07 December 2017, 21:46   #1
Zilog
Registered User

 
Join Date: May 2014
Location: Italy
Posts: 198
[Feature Request] Delay HDD seekTime

Hi Tony,
i think that i just ask this problem, but now i suggest a simple solution.
Do you think that it possible add delay time for operation read and write to hdd for emulation seek time of rpm hdd (no sdd).

Simple Code for example:

delay=0;
if (delay=25) than
write();
delay=0;
else
delay=delay+1;

Nothing of perfectly exact ,but only for have a effect of rpm hdd.
I know there are a cache but if use old rpm hdd or sdd in the itself Pc, Winaue go different.

Thanks a lot.
Zilog is offline  
Old 08 December 2017, 21:54   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 43
Posts: 21,727
It is not possible to match some IDE or SCSI drives, it would be always very very approximate. (IDE or SCSI drives don't have user visible geometry, reported geometry is virtual and also number of sectors/track change depending on rw head position)

It would be possible with MFM drives but that would be even more useless

So instead of trying to model access time, something very simple like two parameters: first is number of blocks that are located in same "virtual" cylinder, if old block/value != new block/value -> add delay (second parameter)

But HD controller emulation isn't designed for delays, any easily added delay would slow down whole emulator.. (just like your example )
Toni Wilen is online now  
Old 08 December 2017, 22:07   #3
Galahad/FLT
Going nowhere

Galahad/FLT's Avatar
 
Join Date: Oct 2001
Location: United Kingdom
Age: 45
Posts: 6,975
I wrote a util for Earok that loaded through CLI, put in a delay for loading of files from CD which helped fix some titles for CD32.

Might that be useful?
Galahad/FLT is offline  
Old 09 December 2017, 01:42   #4
Zilog
Registered User

 
Join Date: May 2014
Location: Italy
Posts: 198
Quote:
Originally Posted by Toni Wilen View Post
It is not possible to match some IDE or
.......

But HD controller emulation isn't designed for delays, any easily added delay would slow down whole emulator.. (just like your example )
i' thinked this problem, with my sample i don't block the emualtor with delay, i jump a cycle of write or read for determinate time; with delay the emulator wait, with my sample jump read or write....it isn't different?
Zilog 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
Feature request TenLeftFingers support.FS-UAE 12 08 April 2014 20:41
Feature request Galahad/FLT support.WinUAE 5 12 February 2013 19:38
feature request Mad-Matt support.WinUAE 4 25 January 2007 09:22
Feature Request Npl request.UAE Wishlist 5 02 August 2004 21:43
Feature request Fackamato support.WinUAE 48 26 February 2004 17:23

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 11:27.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.05934 seconds with 12 queries