home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / amiga / utility / misc / bootflag.lzh / BootFlag22 / s / Startup-Sequence < prev    next >
Text File  |  1992-03-11  |  3KB  |  101 lines

  1. SetPatch >NIL:    ; Patch system functions
  2. BootFlag check %1; Check if the minimum resource startup was requested
  3. If Warn
  4.   Execute sys:s/StartupII
  5.   Skip CloseUp
  6. EndIf
  7. echo "*N*e[33mSupraBoot.  Workbench Release 1.3 version 34.20*e[0m*N"
  8. sys:System/FastMemFirst
  9. SetClock opt Load
  10. BootFlag check %10000 ; see if ZeroVirus should be run upon booting
  11. If Warn
  12.   sys:virus/ZeroVirus -i
  13.   Wait 4
  14. EndIf
  15. AddBuffers df0: 10 ;  Takes up about 5K of memory, but improves floppy speed
  16. BootFlag check %10; Check if AE drive should be mounted
  17. If Warn
  18.   Echo "Mounting AE High Density drive..." ;install AE High Density drive
  19.   DEVS:AETD.Device
  20.   Mount df5: from DEVS:MountList.AE
  21.   DiskChange df1:
  22.   DiskChange df5:
  23.   C:EjectKey
  24.   Echo "AEHD drive engaged, Captain!"
  25.   AddBuffers df1: 10
  26.   AddBuffers df5: 10
  27. EndIf
  28. BootFlag check %100-%10; Check if NoClick should be used
  29. If Warn
  30.   Echo "Stopping drive(s) from clicking..."
  31.   NoClick
  32.   Echo "Done!"
  33. EndIf
  34. BootFlag check %100000; Mount MS-DOS messydos file hadler
  35. If Warn
  36.   BootFlag check %1000000; Determine which unit to mount as a messy device
  37.   If Warn
  38.     Echo "Mounting MessyDOS as dd1:..."
  39.     Mount dd1:
  40.     DiskChange dd1:
  41.   Else
  42.     Echo "Mounting MessyDOS as dd0:..."
  43.     Mount dd0:
  44.     DiskChange dd0:
  45.   EndIf
  46.   Echo "Ami can now read DSDD IBM disks!"
  47. EndIf
  48. sys:c/Assign c: sys:c
  49. resident c:Resident pure
  50. resident c:Assign pure
  51. Assign s: sys:s
  52. Assign l: sys:l
  53. Assign libs: sys:libs
  54. Assign fonts: sys:fonts
  55. Assign devs: sys:devs
  56.  
  57. Assign ST-00: dh1:Applications/Sound
  58. Assign DeluxePaintIII: dh1:Applications/Graphics
  59. Assign Program: dh1:Applications/ProWrite
  60. Assign JRCOMM: dh1:Applications/Comm
  61. Assign EDITOR: sys:c
  62. Assign DS: dh1:class/ds
  63. Assign GFX: dh1:class/gfx
  64. Assign APP: dh1:class/c2
  65.  
  66. sys:Supra/SupraDiskChange
  67. resident CLI L:Shell-Seg SYSTEM pure add     ;  activate Shell
  68. mount newcon:
  69. resident c:Mount pure ;the next 3 are loaded for speed during startup
  70. resident c:Makedir pure  
  71. Copy sys:system/ram.info Ram:Disk.info
  72. FF -0 ;speed up Text
  73. MakeDir ram:t
  74. Assign T: ram:t ;set up T: directory for scripts
  75. makedir ram:env ; set up ENV: directory
  76. assign ENV: ram:env
  77. makedir ram:clipboards ;set up CLIPS: assign
  78. assign CLIPS: ram:clipboards
  79. SetEnv editor "SYS:c/E"
  80. SetEnv sbtimeout "300"
  81. DMouse -A0 -L0/0 -s0 -m15
  82. StarBlanker
  83. mount speak: ;just mounting doesn't take much ram at all
  84. mount aux:
  85. mount pipe:
  86. resident Mount remove
  87. resident Assign remove
  88. resident Makedir remove
  89. c:resident Resident remove
  90. SYS:System/SetMap usa1  ;  Activate the ()/* on keypad of A500/A2000
  91. Path RESET
  92. Path ram: c: sys: sys:virus sys:archivers sys:utilities sys:system sys:tools s: sys:supra add
  93. LoadWB delay  ;wait for inhibit to end before continuing
  94. BootFlag check %1000 ; activate a shell if requested
  95. If Warn
  96.   NewShell Newcon:0/11/640/200/NewShell
  97.   wait 2
  98. EndIf
  99. endcli >NIL:
  100. Lab CloseUp
  101.