Login
Forum Help



Post Your Message
Username: (Login)

Topic:
Message:
 


Previous Messages
Posted By

Boray
on 2005-08-02
11:26:54
 Re: Detect discdrive?

Thanks. I noticed that too...

My program ended up like this:

1 OPEN1,8,15,"UI":FORT=1TO50:NEXT
2 IFINSTR(DS$,"1541")>0THEND=1RINT"1541 DETECTED - USING TURBO"
3 CLOSE1

It worked without the FOR loop too, but I put it in there just to be sure...

/Anders

Posted By

JamesC
on 2005-08-02
08:42:32
 Re: Detect discdrive?

When I posted that message I cut and pasted frmo the Commodore Knowledge Base.

In reality there is a bug in that sample program. You must assign DS$ to another variable before closing the channel. Otherwise you will always get a DS$ of "OK".

Posted By

Boray
on 2005-08-02
06:55:39
 Re: Detect discdrive?

Great, thanks!

/Anders

Posted By

Csabo
on 2005-08-01
12:20:06
 Re: Detect discdrive?

Check this post.

Posted By

Boray
on 2005-08-01
11:59:20
 Detect discdrive?

Hello!

Is there an easy way of detecting if it's a 1541 or a 1551 diskdrive that is connected to the computer? I am making a start menu for a disk, and if it's a 1541, then a disk turbo program should be started...

/Anders


Copyright © Plus/4 World Team, 2001-2024. Support Plus/4 World on Patreon