home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / amiga / misc / 17015 < prev    next >
Encoding:
Text File  |  1992-11-17  |  2.8 KB  |  116 lines

  1. Newsgroups: comp.sys.amiga.misc
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!spool.mu.edu!umn.edu!lenti.med.umn.edu!tim
  3. From: tim@lenti.med.umn.edu (Tim Leonard)
  4. Subject: Changing 2.0 Startup.seq for 1.3 roms
  5. Message-ID: <1992Nov17.182947.15862@news2.cis.umn.edu>
  6. Sender: news@news2.cis.umn.edu (Usenet News Administration)
  7. Nntp-Posting-Host: lenti.med.umn.edu
  8. Organization: University of Minnesota
  9. Date: Tue, 17 Nov 1992 18:29:47 GMT
  10. Lines: 104
  11.  
  12. I am trying to set up a detection routine for my startup 2.0
  13. sequence to recognize that my 1.3 rom is turned on and switch
  14. to the directory that contains my 1.3 startup files, c:, libs:,
  15. etc.  I saw a reply to someone's similar request and I include it here:
  16. ********
  17. Version
  18. wb1.3:c/If not fail
  19.  (......normal 2.0 startup-sequence)
  20.  Endcli >NIL;
  21. endif
  22.  wb1.3:c/cd wb1.3:
  23.  wb1.3:c/Assign c: wb1.3:c
  24.  (Make all necessary assigns to s: devs: l: libs:, etc...)
  25.  Execute s:startup-sequence ; (1.3 startup)
  26.  EndCLI
  27. *******
  28.  
  29.  
  30. I am uncertain just how to actually type in these lines to my 
  31. 2.0 startup-sequence.hd, which I include below.
  32.  
  33. *******
  34. c:setpatch >NIL:
  35. c:version >NIL:
  36. addbuffers >NIL: df0: 15
  37. Failat 21
  38.  
  39. resident >NIL: c:List pure add
  40. resident >NIL: c:Copy pure add
  41. resident >NIL: c:Assign pure add
  42. resident >NIL: c:Execute pure add
  43.  
  44. makedir ram:T ram:Clipboards ram:env ram:env/sys
  45. copy >NIL: ENVARC: ram:env all quiet noreq
  46.  
  47. assign ENV: ram:env
  48. assign T: ram:t ;set up T: directory for scripts
  49. assign CLIPS: ram:clipboards
  50. assign REXX: s:
  51.  
  52. if exists sys:Monitors
  53.     join >NIL: sys:monitors/~(#?.info) as t:mon-start
  54.     execute t:mon-start
  55.     delete >NIL: t:mon-start
  56. endif
  57.  
  58. BindDrivers
  59.  
  60. setenv Workbench $Workbench
  61. setenv Kickstart $Kickstart
  62.  
  63. IPrefs
  64. ;
  65. echo "Amiga Release 2.  Kickstart $Kickstart, Workbench $Workbench"
  66.  
  67. conclip
  68.  
  69. mount speak:
  70. mount aux:
  71. mount pipe:
  72.  
  73. path ram: c: sys:utilities sys:rexxc sys:system s: sys:prefs sys:wbstartup add
  74. if exists sys:tools
  75.     path sys:tools add
  76.     if exists sys:tools/commodities
  77.         path sys:tools/commodities add
  78.     endif
  79. endif
  80.  
  81. ; If this is the initial boot (i.e. keyboard env variable is not set)
  82. ; then execute PickMap which will query for a keymap and set the
  83. ; keyboard env variable.
  84. ; if keyboard env variable is set, set the keymap
  85. if ${sys/keyboard} NOT EQ "*${sys/keyboard}"
  86.     setmap ${sys/keyboard}
  87. else
  88.     PickMap.hd sys:
  89. endif
  90.  
  91. if exists s:user-startup
  92.     execute s:user-startup
  93. endif
  94.  
  95. rexxmast >NIL:
  96.  
  97. LoadWB
  98.  
  99. endcli >NIL:
  100. ****************end of startup.hd************
  101.  
  102. As a novice at changing startup sequences, I am nervous about where to
  103. type the, above listed, changes.
  104.  
  105. I created a directory on my hard drive (DH0:) called "wb1.3",
  106. in which I have put most all of the contents of a 1.3 workbench
  107. disk.
  108.  
  109. Would someone mind emailing me as to where these changes actually fit
  110. into my startup sequence.
  111.  
  112. Thanks a lot,
  113.  
  114. Tim Leonard tim@lenti.med.umn.edu
  115.