English Amiga Board


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

 
 
Thread Tools
Old 25 December 2013, 18:30   #1
fuzzylogic
Registered User
 
Join Date: Jan 2010
Location: Germany
Posts: 67
Drive enumeration

What is the most elegant way to determine which Drives are connected to the Amiga? (DF0; DF1) etc..?
fuzzylogic is offline  
Old 25 December 2013, 19:11   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,573
With or without using OS routines?
Toni Wilen is offline  
Old 25 December 2013, 20:10   #3
fuzzylogic
Registered User
 
Join Date: Jan 2010
Location: Germany
Posts: 67
Quote:
Originally Posted by Toni Wilen View Post
With or without using OS routines?
Well, at least it should work with all OS Versions correctly. Then I guess with OS routines ?
fuzzylogic is offline  
Old 25 December 2013, 21:34   #4
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,573
disk.resource/GetUnitID is easiest system friendly method if you don't need to do anything with the drive(s) or you only want to enumerate drives for later use.
Toni Wilen is offline  
Old 26 December 2013, 07:20   #5
fuzzylogic
Registered User
 
Join Date: Jan 2010
Location: Germany
Posts: 67
thanks Toni!
fuzzylogic 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
Can I use external floppy drive as internal drive? Mrs Beanbag support.Hardware 6 12 December 2012 19:15
Noisy floppy drive or drive not reading properly HD disks? Old Fool support.Hardware 4 07 June 2010 15:09
Project: Adding a CF Drive as an Hard Drive to an A500 mfletcher support.Hardware 8 03 July 2008 00:20
Compact flash drive Vs. 2,5" hard disk drive fc.studio support.Hardware 5 16 June 2007 16:40
how do i decompress from one drive and write the file to another drive? sgt_chimp support.Apps 5 15 December 2001 18:42

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 23:19.

Top

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