Guest User

Untitled

a guest
Aug 20th, 2014
289
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.43 KB | None | 0 0
  1. AddBuffers >NIL: DF0: 20  ;add 10KB buffer for a floppy drive, >NIL: is a redirection to null device; it's like '&' at the end of a linux command, it makes it work in background.
  2. FailAt 21 ;set the warning level required to stop the script execution.
  3. MakeDir RAM:T RAM:Clipboards RAM:ENV RAM:ENV/Sys ;make required directories in RamDisk.
  4. Copy >NIL: ENVARC: RAM:ENV ALL NOREQ ;copy sys:prefs/env-archive to RAM.
  5. ;first two assigns begin:
  6. Assign >NIL: T: RAM:T
  7. Assign >NIL: CLIPS: RAM:Clipboards
  8. Mount >NIL: DEVS:DOSDrivers/~(#?.info) ;mount drivers.
  9. ConClip ;clipboard.
  10. Path >NIL: RAM: C: SYS:System S: SYS:Prefs SYS:WBStartup SYS:Tools ;$PATH
  11. Echo "Amiga Release 2.2.2 /38.37.8 by Ola Kaarina Isadora Hughson" ;d'oh!
  12. run >NIL: mount fat0: ;let the system automount 720KB-formatted, 3.5" PC floppies.
  13. run >NIL: mount cf0: ;let the system automount a CompactFlash card. Which is my hard drive, connected via a PCMCIA adapter.
  14. ;Second wave of assigns begin.
  15. assign >NIL: C: CF0:C
  16. assign >NIL: SYS: CF0:
  17. assign >NIL: S: cf0:s
  18. assign >NIL: LIBS: cf0:libs
  19. assign >NIL: DEVS: cf0:devs
  20. assign >NIL: L: cf0:L
  21. assign >NIL: ENV: cf0:prefs/env-archive
  22. assign >NIL: FONTS: cf0:fonts
  23. LoadWB ;it loads the Workbench itself. The desk and so on.
  24. run <>nil: tapete sys:rarih.iff ;sets a wallpaper.
  25. mymenu >nil: ;doesn;t work in a script[wtf], it creates a custom menu based on a configuration file in a certain directory.
  26. EndCLI ;closes the AmigaShell window.
Advertisement
Add Comment
Please, Sign In to add comment