English Amiga Board


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

 
 
Thread Tools
Old 30 November 2017, 08:59   #1
pants
Registered User

 
Join Date: Feb 2017
Location: fastmem
Posts: 47
dskside & dskdirec

HRM states DSKSIDE must be stable for 100 microseconds before writing, and that after writing we should wait 1.3 milliseconds before switching side again. All good, but is there an accurate reference for DSKSIDE and other actions?

For example, is there a specific delay/settle time required between any of
  • DSKSIDE write -> DISKSIDE write?
  • DSKSIDE write -> DSKDIREC write?
  • DSKSIDE write -> DSKSTEP write/pulse?
  • DSKSIDE write -> Read DMA start?
  • Read DMA end -> DSKSIDE write?
similarly,
  • DSKDIREC write -> DSKDIREC write?
  • DSKDIREC write -> DISKSIDE write?
  • DSKDIREC write -> DSKSTEP write/pulse?
  • DSKDIREC write -> Read DMA start?
  • Read DMA end -> DSKDIREC write?
I'm revisiting my old loader and it seems to have correct checks/timings etc for other disk actions (motor/rdy/step-samedir/step-changedir etc), but no *explicit* timing for DSKSIDE and DSKDIREC - and that just doesn't feel correct. And I'd like to be correct :)
pants is offline  
Old 30 November 2017, 12:11   #2
ross
Omnia fert aetas

ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 48
Posts: 1,063
I have always taken into consideration using the values provided for "reading" case, of course excluded those you mentioned for "writing".
ross is offline  
Old 30 November 2017, 17:29   #3
phx
Natteravn

phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 1,165
Do not overcomplicate things. In my trackloader I have only two delays:
1. STEPDELAY 4ms (minimum 3ms), after each step
2. SETTLEDELAY 25ms (minimum 18ms), before I read/write a track.
phx is offline  
Old 30 November 2017, 18:10   #4
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 43
Posts: 21,769
All required information is in floppy timing diagrams in HRM. (Which says "Chinon timing diagram" so other types of drives can have different, probably also better timing).
Toni Wilen is online now  
Old 01 December 2017, 05:55   #5
pants
Registered User

 
Join Date: Feb 2017
Location: fastmem
Posts: 47
Thanks all. I ended up reworking that whole section and in doing so eliminated all the cases (but one) that I was curious about. Saved about 12 bytes in the process, which was a welcome bonus.
pants 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
6x ETHERNET CARDS - NETGEAR & 3COM & MRi & US Robotics Sir_Lucas MarketPlace 91 18 September 2018 00:46
LUCAS & FRANCES Boards, PAL Code & PCB Masks Kai Hardware mods 173 29 October 2017 18:35
Found some old sourcecode (Defjam & CCS + Megaforce & World of Wonders?) LOGIK123 Amiga scene 7 24 February 2013 20:55
aminet & amiga Plus cds - floppy & cd software/games - hardware & magazines for SALE! bastibs MarketPlace 1 07 May 2008 11:33

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 14:44.


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