Author Topic: DskTest v0.1.47b (release?)  (Read 11695 times)

0 Members and 1 Guest are viewing this topic.

Offline pacomix

  • CPC6128
  • ****
  • Posts: 153
  • Liked: 72
DskTest v0.1.47b (release?)
« on: 20:44, 15 June 13 »
 Hi!
   After having faced for the first time the uPD765a I think I have now a nice little tool for using with your 3" or 3.5" drives.
   The tool lets you turn the motor on and off, seek a specific track, try to find a specific SectorID, calibrate and measure (I think quite reliably) the rotational speed of the motor.
   I didn't know it wasn't so hard programming for the FDC controller. Total time for the tool has been around 8 hours. Almost more time setting up the text in the correct places in the screen and testing than any other thing x'D
 
   Regarding the reliability of the measured RPMs in Winape it always gives me 300 RPMs. I tried with some drives here and it works like a charm. Of course there could be a little deviation but I think this is really useful at least diagnosing non-working drives as it happened to me with the latest two ones I bought. One of them is already repaired. :)
   The final solution I used for measuring the RPMs was to look for an invalid SectorID or a track without address marks. Both performs fine.


   I also want to warns to anybody that would like to use it. If it breaks your drive I am not responsible. So you have been warned. For me it has been really helpful.


   Any suggestion in order improving it would be more than welcome!


Regards!
Paco
 
[EDIT] I forgot to tell that the tool always uses the A: drive but you can load it from the B: drive.
[EDIT#2] I have update the version also in this post and deleted the other one so you can always download the latest version in the first post. :)
[EDIT#3] New version available with support for A & B drives.
« Last Edit: 21:04, 22 June 13 by pacomix »

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 10.103
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1967
Re: DskTest v0.1b
« Reply #1 on: 21:07, 15 June 13 »
So how quick did your drive finally run?
 
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline Devilmarkus

  • Vivid source of indefiniteness
  • 6128 Plus
  • ******
  • Posts: 4.068
  • Country: de
  • WebCPC / JavaCPC developer
    • index.php?action=treasury
    • CPC-Live website
  • Liked: 1005
Re: DskTest v0.1b
« Reply #2 on: 00:21, 16 June 13 »
Nice tool.
Would be interesting to know how much is the average RPM speed for real CPC floppies...?

JavaCPC returns 720RPM :D
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Offline TotO

  • 6128 Plus
  • ******
  • Posts: 2.950
  • Country: fr
    • ?area=showdonations;u=4
    • Cent Pour Cent [dot net]
  • Liked: 2045
Re: DskTest v0.1b
« Reply #3 on: 09:53, 16 June 13 »
Nice work!

Remember that you may damage your real drive if this program goes wrong.
Writing it and putting it as download to everybody on Internet w/o test on some reals CPC is dangerous.

I suggest to websites to wait for a no beta release before adding it as download.
« Last Edit: 18:34, 16 June 13 by TotO »
Unregistered from CPCwiki forum.

Offline breiztiger

  • CPC464
  • **
  • Posts: 13
  • Liked: 22
Re: DskTest v0.1b
« Reply #4 on: 14:21, 16 June 13 »
hi

On my real cpc it test my floppy at 300rpm ...

but i have adjust it at 297 to 303 with samdisk and always 300tr !!!

but like has said toto, another tool is coming and presenting on reset #10 in France  ;D

breiztiger

Offline pacomix

  • CPC6128
  • ****
  • Posts: 153
  • Liked: 72
Re: DskTest v0.1b
« Reply #5 on: 01:15, 17 June 13 »
Hi!


So how quick did your drive finally run?
 

Sorry for the late reply. With the first version it reported me it was running at 348RPM but I was not using floats (hahaha nooooob!) so the rpms were really innacurate (+- 12rpms). I think that was close to 360rpms.
Unfortunately I do not have now connected the drive and is too late. Tomorrow I will connect them again.
 With my current 6128 it is reporting me 302.61 rpms but I do not have the possiblity (right at the moment) to check it against Samdisk. The 3.5" unit reports it is running at 300.77 rpms. So I guess I suppose this time it is quite right. :)
Nice work!

Remember that you may damage your real drive if this program goes wrong.
Writing it and putting it as download to everybody on Internet w/o test on some reals CPC is dangerous.

I suggest to websites to wait for a no beta release before adding it as download.
I do not see anything bad that could happen with the tool and the drives... It is not doing dark fdc's tricks or so. Simply turning the motor on, recalibration, seeking, and... measuring the RPMs! Much less than any other advanced tools do. Like Discology in example... it is really evil that you can force a 80 track copying even using a normal 3" drives...
But I have added now a warning in the program so the people will never forget about it :)


hi

On my real cpc it test my floppy at 300rpm ...

but i have adjust it at 297 to 303 with samdisk and always 300tr !!!

but like has said toto, another tool is coming and presenting on reset #10 in France  ;D

breiztiger

Hi! Thank you very much for taking the time to give it a try. Yep... that is my fault! hahaha I didn't use fixed point arithmetic so I was always rounding too much (+-12 rpms phew!!). Now it should be fixed.
3.5" units are reporting me aroun 300.67, 300.77 rpms and the cpc I have right now connected is reporting 302.61, 302.22, 303.01 depending on the disk I use.
I would love to see the new disk tool when it gets released and see what the really experienced programmers can do. I created this little thingy only 'cos it was useful for my purposes and there was nothing available and I also thought it could be of interest for the community.


[EDIT] Deleted the attachment of the latest version from this post. Now you should go always to the first post in order downloading the latest version. :)
« Last Edit: 22:13, 17 June 13 by pacomix »

Offline mahlemiut

  • CPC6128
  • ****
  • Posts: 223
  • Country: nz
  • Liked: 97
Re: DskTest v0.1b
« Reply #6 on: 01:36, 17 June 13 »
MESS reports 300RPM in both versions.  Guess some part of MESS' new upd765 core is actually accurate.  ;D
- Barry Rodewald
Amstrad CPC, Sharp X68000, Neo Geo Pocket, and Neo Geo AES system leader at HARP
http://www.homeactionreplay.org/

Online Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 14.153
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 2348
Re: DskTest v0.1b
« Reply #7 on: 10:30, 17 June 13 »
So I take it the spec calls for 300rpm?

Offline TotO

  • 6128 Plus
  • ******
  • Posts: 2.950
  • Country: fr
    • ?area=showdonations;u=4
    • Cent Pour Cent [dot net]
  • Liked: 2045
Re: DskTest v0.1b
« Reply #8 on: 10:41, 17 June 13 »
MESS reports 300RPM in both versions.  Guess some part of MESS' new upd765 core is actually accurate.  ;D
Yes, some parts are one the good way!
But, it's not because an emulator return 300RPM that is FDC emulation is accurate.
It may be considered accurate when it will be able to run originals protected CPC floppy disc images.
(like Discology 5.1, hercule II, le nécromancien, basun, ...)

I do not see anything bad that could happen with the tool and the drives [...] But I have added now a warning in the program so the people will never forget about it
Thank you. :)
« Last Edit: 10:52, 17 June 13 by TotO »
Unregistered from CPCwiki forum.

Online Kris

  • 464 Plus
  • *****
  • Posts: 449
  • Country: fr
  • Team Impact
  • Liked: 140
Re: DskTest v0.1.43b (release?)
« Reply #9 on: 22:11, 17 June 13 »
Last version really accurate, great job.
You just need to improve the GUI now ;)