Welcome, Guest. Please login or register.

Author Topic: Old school script gurus... where are you??  (Read 1791 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline doctorqTopic starter

  • Hero Member
  • *****
  • Join Date: Aug 2003
  • Posts: 2082
    • Show all replies
Old school script gurus... where are you??
« on: December 26, 2013, 02:48:54 PM »
Hi,

I would finally like to fix a small issue I can't seem to find a solution to myself.

My Amiga 500 has a Kickstart 1.3 chip and a SCSI harddrive connected through a GVP controller. I want to keep the Kickstart 1.3 chip installed, and if needed I can softkick to Kickstart 2.0.

I need a script that on boot can determine if it is Kickstart 1.3 or Kickstart 2.0 that is available, and depending on which Kickstart, it should load the correct OS. How can I determine which Kickstart is in use?

I can do a C:Version, but this just gives some text output. How can I store this info to be able to use it in my startup-sequence? What is the best and most efficient way to do the check? What should I check for? Kickstart version, exec.library version?

I was thinking something like this, to do the loading after determining which Kickstart is in use.

IF EQ Kickstart1.3

ELSE

ENDIF
 

Offline doctorqTopic starter

  • Hero Member
  • *****
  • Join Date: Aug 2003
  • Posts: 2082
    • Show all replies
Re: Old school script gurus... where are you??
« Reply #1 on: December 26, 2013, 08:48:21 PM »
Thanks Thomas, I'll try it out.

A question though, if you can answer it; what does the 36 in the version command do? Why is it there? I assume it is for setting a number to see if the version output is above or below this number?
 

Offline doctorqTopic starter

  • Hero Member
  • *****
  • Join Date: Aug 2003
  • Posts: 2082
    • Show all replies
Re: Old school script gurus... where are you??
« Reply #2 on: December 27, 2013, 04:00:55 PM »
Thanks for the explanation. You say that I have to use the version command from the WB 1.3 disk to get the desired functionality. How do you get the same result with the newer versions of Workbench, with 2.0 for instance?
 

Offline doctorqTopic starter

  • Hero Member
  • *****
  • Join Date: Aug 2003
  • Posts: 2082
    • Show all replies
Re: Old school script gurus... where are you??
« Reply #3 on: December 28, 2013, 06:22:22 AM »
Thanks again for the thorough explanation. I definately learned something new here. Next step is the fun part; trying it out and get it working :)