Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!rphroy!caen!malgudi!sunc!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!midway!mimsy!haven.umd.edu!purdue!news.cs.indiana.edu!spool.mu.edu!mips!swrinde!elroy.jpl.nasa.gov!usc!ucla-cs!rutgers!cbmvax!mks From: mks@cbmvax.commodore.com (Michael Sinz) Newsgroups: comp.sys.amiga.programmer Subject: Re: DOSBase Message-ID: <22423@cbmvax.commodore.com> Date: 13 Jun 91 22:40:49 GMT References: <1991Jun13.072854.12241@disk.uucp> Reply-To: mks@cbmvax.commodore.com (Michael Sinz) Distribution: usa Organization: Commodore, West Chester, PA Lines: 18 In article <1991Jun13.072854.12241@disk.uucp> specter@disk.uucp (Byron Max Guernsey) writes: >Does the dos library always need to be opened? I normally open it, but I noticed >that I forgot one time and it worked fine with the DOS calls. (I think I was >using Delay() ) I guess it is poor practice not to open it, since if all dos >using processes were gone you would be out of luck correct? The reason you may have worked is because you are a C program with standard startup. Most startup code for C (?can I say all?) automatically set up DOSBase for you. (They also set up SysBase...) So in C, you normally would not need to open DOSBase. /----------------------------------------------------------------------\ | /// Michael Sinz - Amiga Software Engineer | | /// Operating System Development Group | | /// BIX: msinz UUNET: rutgers!cbmvax!mks | |\\\/// | | \XX/ "I don't think so" said Ren'e Descartes, then he vanished. | \----------------------------------------------------------------------/