English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Asm / Hardware

 
 
Thread Tools
Old 05 October 2017, 12:57   #1
phx
Natteravn

phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 1,019
Trackloader without working /RDY pin

IIRC, the last generation of Amiga Technology A1200 got floppy disk drives without a working /RDY signal? Now I'm trying to make my trackloader compatible with those.

Currently I'm using the /RDY signal in these situations:
1. After turning on the motor, /RDY becoming low shows me that it reached nominal speed.
2. Before setting ADKCON, DSKSYN and DSKLEN to start the DMA transfer, I check /RDY to make sure the drive is ready.
3. At the beginning I'm reading the drive's serial ID code via /RDY to determine which drives and what kind of drives are connected.

For 1. the solution is simple: I will use a timeout of 500ms. When /RDY still didn't become low I will just assume the motor is running at nominal speed and continue.

I'm not sure anymore why I need to check /RDY at 2. Before starting a DMA transfer I usually step the head or change the side, which is followed by a settle-delay of 25ms anyway. Maybe I can remove that?

For the last case (3.) I have no real solution. I guess that a non-working /RDY will always stay high, so I will probably read a $ffff ID, which correctly identifies a 3.5" DD drive. This may also be the reason that trackdisk.device still works with these drives.
phx is offline  
AdSense AdSense  
Old 05 October 2017, 13:47   #2
ross
Omnia fert aetas

ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 47
Posts: 551
Hi phx, from my loader:
1) no check of /RDY at all (500ms delay), various check after DMA started (DSKSYN bit, timing, ...)
2) settle time respected after delay (18ms)
3) i don't care about ID check.. but is this significative? isn't the floppy hole that make difference?

Last edited by ross; 14 November 2017 at 23:45.
ross is offline  
Old 05 October 2017, 14:03   #3
StingRay
move.l #$c0ff33,throat

StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 5,588
For 1 I'm also using a 500 ms delay, if the RDY signal is not received during that time I'm trying to read a track which will fail if drive is not ready. This solution works fine for me.

For 2 I also don't see why you need to check the RDY signal again.

For 3 maybe using trackdisk.device (during boot) could help with drive ID's?

Last edited by StingRay; 05 October 2017 at 14:53. Reason: typo
StingRay is offline  
Old 05 October 2017, 16:52   #4
hooverphonique
ex. demoscener "Bigmama"
 
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 710
The drive ID's are available at boot time from trackdisk.device.. I attached some code (which is a bit shady, but should get you in the right direction) to this post a while back.
hooverphonique is offline  
Old 05 October 2017, 17:39   #5
phx
Natteravn

phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 1,019
That's all I need to know. Thanks to all!
phx is offline  
AdSense AdSense  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Normal 34-pin floppy drive on external 26-pin roctec SilverZguru Hardware mods 33 05 November 2016 23:26
Wonderful world trackloader demo dottyflowers request.Demos 1 23 May 2016 01:41
15-pin female plug (PC joystick) to 9-pin female plug (Amiga joystick port) eva support.Hardware 7 21 April 2016 21:03
23-pin to 9-pin video cable pinout MagerValp support.Hardware 9 22 August 2008 16:00
VGA Adapter 23 pin -> 15 pin High Density @UAE support.Hardware 11 16 October 2006 14:32

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 04:50.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Page generated in 0.13091 seconds with 14 queries