Welcome, Guest. Please login or register.

Author Topic: How to determine 2090 bootdisk?  (Read 1720 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline BrianTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2003
  • Posts: 1604
    • Show only replies by Brian
    • http://www.syntaxsociety.se
How to determine 2090 bootdisk?
« on: October 27, 2013, 12:57:25 PM »
Is there a way to determine with a script and with some degree of surtanty that an inserted floppy is a Commodore 2090 boot disk? I'm thinking search expansion/hddisk.info for "product=514/1", search startup-seq for binddrivers and "assign SYS:" or "assign >NIL: SYS:" and search devs/mountlist for "hddisk.device".

That aught to be enough to determine it or am I missing something?

Offline Matt_H

Re: How to determine 2090 bootdisk?
« Reply #1 on: October 27, 2013, 09:07:50 PM »
Does the 2090 bootdisk have a unique volume name? If so, you could do an If/Warn-type script with that. Or maybe if a file has a particular size?
 

Offline BrianTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2003
  • Posts: 1604
    • Show only replies by Brian
    • http://www.syntaxsociety.se
Re: How to determine 2090 bootdisk?
« Reply #2 on: October 28, 2013, 04:51:50 PM »
Quote from: Matt_H;751265
Does the 2090 bootdisk have a unique volume name? If so, you could do an If/Warn-type script with that. Or maybe if a file has a particular size?


I wish it was as simple as finding a unique lable... as far as I know no unique file or filesize either.

Offline mechy

Re: How to determine 2090 bootdisk?
« Reply #3 on: October 28, 2013, 05:02:51 PM »
Quote from: Brian;751227
Is there a way to determine with a script and with some degree of surtanty that an inserted floppy is a Commodore 2090 boot disk? I'm thinking search expansion/hddisk.info for "product=514/1", search startup-seq for binddrivers and "assign SYS:" or "assign >NIL: SYS:" and search devs/mountlist for "hddisk.device".

That aught to be enough to determine it or am I missing something?


Not sure what you are trying to do,but if you need the real bootdisk for the 2090 i believe this is it:

http://amiga.resource.cx/exp/a2090
 

Offline BrianTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2003
  • Posts: 1604
    • Show only replies by Brian
    • http://www.syntaxsociety.se
Re: How to determine 2090 bootdisk?
« Reply #4 on: October 28, 2013, 08:54:34 PM »
Quote from: mechy;751312
Not sure what you are trying to do,but if you need the real bootdisk for the 2090 i believe this is it:

http://amiga.resource.cx/exp/a2090


I want to make a script that ask for the 2090 bootdisk and then copy files to it, however I don't want to force it to any specific drive and I also want to make sure the disk is actually a 2090 bootdisk before the script continues.

Since the label is not fixed, the hddisk isn't 2090 only and the mountlist isn't unique I need to check several things to get a good guestimate and with the checks I mentioned I think it should work quite well and I can always have the user confirm the "detection". :D

Offline BrianTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2003
  • Posts: 1604
    • Show only replies by Brian
    • http://www.syntaxsociety.se
Re: How to determine 2090 bootdisk?
« Reply #5 on: November 02, 2013, 07:06:29 PM »
Well, the mountlist doesn't seem to be requiered in some circumstances so can't use that... damn.

Offline Matt_H

Re: How to determine 2090 bootdisk?
« Reply #6 on: November 02, 2013, 08:48:05 PM »
It would take longer, but you could have your script ADF the disk and check the CRC of the image...
 

Offline BrianTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2003
  • Posts: 1604
    • Show only replies by Brian
    • http://www.syntaxsociety.se
Re: How to determine 2090 bootdisk?
« Reply #7 on: November 02, 2013, 09:18:26 PM »
Sorry but that wouldn't work since a 2090 bootdisk can and should be edited depending on disks and partitions and what OS you're using it with.

Offline Ezrec

  • Jr. Member
  • **
  • Join Date: Aug 2010
  • Posts: 58
    • Show only replies by Ezrec
    • http://www.evillabs.net
Re: How to determine 2090 bootdisk?
« Reply #8 on: November 03, 2013, 02:18:48 AM »
You could simply pop up a selector if there is more than one disk in DF0:..DF3:, listing the volume names.