Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!AECLCR.BITNET!01659 From: 01659@AECLCR.BITNET (Greg Csullog) Newsgroups: comp.sys.atari.st Subject: AUTO folder Message-ID: <8905231618.AA24695@ucbvax.Berkeley.EDU> Date: 23 May 89 15:44:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 75 Once again, for those who missed earlier postings, STOP using the AUTO folder to load all your boot-time codes in during startup. It makes much more sense to use the batch file processor STARTUP.PRG (see sample listing below) to run codes from any pathway. If you precede a code call with 'ask' you will be issued a prompt to confirm or cancel execution; save yourself a lot of grief with infinite reboots when you put a crappy code in AUTO. Simply put STARTUP.PRG and STARTUP.INF in your AUTO folder. When you want to add more codes, just insert a call to them in STARTUP.INF. Why mess around with the order of files in AUTO? You can get STARTUP.PRG from Accusoft's PD library. ;============== STARTUP.INF for my 1040 ST ============================= display off ; turn echo off output off ; stop all echo to monitor ; clear ; clear the display ; if ($res == high) then ; display a high res DEGAS picture on graphics 0 c:\choose.pi3 ; the screen if using a mono system endif ; (this screen asks if I want my ST to ; be an ST, a PC or a Mac) ; set jumper = $<< ; capture a single character keyboard input ; if ($jumper == e) then ; exit start up routine if letter e is pressed exit endif if ($jumper == m) then ; if m is typed, become a Mac under Spectre echo d:\spectre\1spectre.prg >c:\startgem.inf d:\utility\startgem.prg exit endif if ($jumper == i) then ; if i is typed, become a PC under PC Ditto echo c:\pc_ditto\ibm_pc.prg >c:\startgem.inf ; let's become a slow XT d:\utility\startgem.prg exit endif ; ; run in Atari mode if e, m, or i not selected (also load in NeoDesk) ; clear ; echo c:\neodesk\neomastr.prg >c:\startgem.inf ; ; NO ONE SHOULD USE A HARD DISK WITHOUT NEODESK ; d:\utility\startgem.prg ; res medium ; boot in med res if colour monitor is used ; if ($res == high) then ; display a high res DEGAS picture on graphics 23 c:\startup2.pi3 ; the screen if using a mono system else ; else display a med res DEGAS picture graphics 23 c:\startup2.pi2 ; if booting using a colour system endif ; ;********************************************************************** ;* run boot-time codes from outside of AUTO - simply change order of * ;* lines to change order of execution. NOTE!!!!!, FOLDXXXX.PRG, * ;* AUTODATE.PRG and some other codes MUST be run from AUTO since they * ;* look for themselves in this folder. * ;********************************************************************** ; d:\utility\multivec.prg ; load in the UIS file selector utility d:\utility\uis_ii.prg ; (cannot see using my ST without this!) d:\utility\diskfree.prg ; speed up for DISPLAY INFO on a disk req. d:\utility\g+plus.prg ; use G+PLus instead of GDOS d:\utility\nite.prg ; screen saver d:\utility\pr960.prg ; 960 pixels/line screen dump configuration clear ; accask ; select accessories to load in