English Amiga Board


Go Back   English Amiga Board > Main > Amiga scene

 
 
Thread Tools
Old 09 July 2024, 00:18   #1
Nightfox
Registered User
 
Nightfox's Avatar
 
Join Date: Apr 2016
Location: Perth, Australia
Posts: 421
The Amiga sounds different

I've noticed the seeking pitch of the floppy drive is higher when my Pistorm32 accelerator is connected in my A1200 vs if disconnected and just using the stock 68020.

How is it that a faster CPU makes the floppy drive header move faster? surely the CPU would instruct the floppy drive to seek as fast as possible to the required location and its speed would be detached from the CPU speed?

I thought it was my imagination at first but I've tried it with different floppy based games and I can hear the pitch of the header movement is of a higher frequency. Maybe half an octave if we are talking in musical terms.

Anyone know what is going on here?
Nightfox is offline  
Old 09 July 2024, 01:18   #2
Daedalus
Registered User
 
Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,393
Floppy drives are a little simpler than that. You can't tell a floppy drive head to "move to track 52" for example - all you can do is "move one track up" or "move one track down". And the CIAs that actually issue the control signals to the drive don't offer anything like that sort of automation either. As a result, the frequency of the steps is a result of the software that controls the drive. It may be timer or interrupt driven, which will regulate the speed somewhat, but if the CPU is too busy, the time between steps in the head movement will be longer and thus the frequency lower. Having lots of CPU speed available with a fast accelerator means the CPU is less likely to be busy enough to delay the steps, resulting in a higher step frequency.

Custom loading routines that disable multitasking also sound different to the OS floppy access routines in part for this reason too.
Daedalus is offline  
Old 09 July 2024, 05:02   #3
Nightfox
Registered User
 
Nightfox's Avatar
 
Join Date: Apr 2016
Location: Perth, Australia
Posts: 421
Ah interesting. Floppy drives are a lot dumber than I thought
Nightfox is offline  
Old 09 July 2024, 12:39   #4
zipper
Registered User
 
Join Date: Mar 2004
Location: finland
Posts: 1,846
I remember it did happen as I got a Supra 28 in to my A500.
zipper is offline  
Old 09 July 2024, 12:43   #5
Galahad/FLT
Going nowhere
 
Galahad/FLT's Avatar
 
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 9,023
Depends entirely on the delay for the stepper motor.
Lots of old custom loaders did a simple dbra loop for the delay, obviously if the cpu is above 68000 then that delay is going to be gotten through much quicker.

If a vertical blank loop is used, there will be again a slight speed difference between PAL and NTSC Amigas.

And also whatever delay is used inbetween steps of the stepper motor, a faster processor is likely going to simply be quicker by enough of a degree that a slight noise difference is detectable.

If you want to showcase extremes, try Fire Force by ICE for a non existent delay, and then try Powermonger with a ridiculously long delay.
Galahad/FLT is offline  
Old 09 July 2024, 12:45   #6
Thomas Richter
Registered User
 
Join Date: Jan 2019
Location: Germany
Posts: 3,355
Psst.... even the trackdisk.device uses a dbra loop for timing of the stepper frequency. Since 3.2 or so at least with an access to the custom chips in the middle to limit the maximum frequency and make it at least somewhat CPU independent.
Thomas Richter is offline  
Old 09 July 2024, 14:10   #7
Nightfox
Registered User
 
Nightfox's Avatar
 
Join Date: Apr 2016
Location: Perth, Australia
Posts: 421
can you get a super fast CPU to make the floppy drive move super fast such that it causes damage or is there a limit to the influx of move commands the floppy drive will accept?
Nightfox is offline  
Old 09 July 2024, 17:48   #8
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,726
Quote:
Originally Posted by Nightfox View Post
can you get a super fast CPU to make the floppy drive move super fast such that it causes damage or is there a limit to the influx of move commands the floppy drive will accept?
For stepping, the step will probably be ignored if the pulse train is of too small width. The drive is saved from damage because any stepping will fall short and just read the wrong track, and any stepping to track 0 will stop on the dedicated signal, instead of stepping and failing forever. Possibly the stepper motor could be worn out if you don't reset or eject the disk when the infinitely failing step loop tries to step dozens or hundreds of times per seconds (should sound like a low or high beeeeeep forever).

This ignoring the signal is individual per floppy make and model, because they may have individual specs.

More importantly, the width will be smaller than the generic safe values in the HRM Appendix. Possibly these are for the floppy model used in the internal drive of the A1000 and the external A1010.

Even for a single Amiga model, there may be more than one make/model for the internal floppy drive. Later Amiga models have different floppy drives, and external drives probably have several.

CPU wait loops can be so fast on fantasy CPUs that the pulses fail on all floppy drives. The same is possibly true for the fastest Motorola CPUs as well, but not to the same extent as something running the same CPU hundreds of times faster.

It's perhaps extra devious when the emulated CPU running hundreds of times faster is a 68000. If the code is written well and adapts its floppy signal timing per CPU, the detection will say 68000 and it will run the code adapted for it. But it will be fooled by the fantasy speed and the timing will be hundreds of times too short.

Last edited by Photon; 09 July 2024 at 17:54.
Photon is offline  
Old 09 July 2024, 19:39   #9
Megalomaniac
Registered User
 
Join Date: Sep 2022
Location: Eastbourne
Posts: 1,126
Possibly dumb question, but was this also a cause of some games with custom loaders not working on A1200s and other accelerated systems?
Megalomaniac is offline  
Old 09 July 2024, 20:26   #10
Galahad/FLT
Going nowhere
 
Galahad/FLT's Avatar
 
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 9,023
Quote:
Originally Posted by Megalomaniac View Post
Possibly dumb question, but was this also a cause of some games with custom loaders not working on A1200s and other accelerated systems?
Yes, in the majority of cases, the cpu timed delay for the stepper motor was why a load of games didn't load on A1200.

Did a lot of AGA fixes back in the day, and this was a common problem on lots of early games.

Once Rob Northens sector leader started getting used by devs then the problem largely went away.
Galahad/FLT is offline  
Old 10 July 2024, 09:45   #11
hooverphonique
ex. demoscener "Bigmama"
 
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,649
I would think that the minimum pulse width produced by the CIA GPIO's is E-clock dependent, and thus it shouldn't be possible to create a pulse so narrow, the drive misses it.
hooverphonique is offline  
Old 11 July 2024, 21:53   #12
pandy71
Registered User
 
Join Date: Jun 2010
Location: PL?
Posts: 2,894
Or perhaps decoding/encoding is faster so steps can be more frequent and for example drive may resonate less (every mechanical circuit has own resonance frequency, less frequent steps may be closer to primary or harmonic related resonance frequencies where faster steps may be less close to this resonance).
At some point stepper motor will start to loose steps if they are too frequent but i doubt if this is case for modern floppy drives - this could be for older designs with large stepper motors and some tricky solutions but modern, small FDD was way faster.
pandy71 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
Looking for Amiga application - Graphic Interface for creating audio/sounds zorblon98 Retrogaming General Discussion 11 15 March 2024 10:38
Spectacular Soft Synths of the Commodore Amiga (Awesome Sounds) Paulee_Alex_Bow Amiga scene 22 26 May 2023 06:53
Sounds configuration Viceroy support.WinUAE 5 29 January 2018 20:12
Sample Sounds with emulated Amiga OS3.9 elowan New to Emulation or Amiga scene 16 12 August 2016 15:22
Drive sounds other than the Amiga 500's? B14ck W01f request.UAE Wishlist 0 13 February 2015 03:17

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 20:38.

Top

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