Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!apple!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!mcsun!unido!mpirbn!p554mve From: p554mve@mpirbn.mpifr-bonn.mpg.de (Michael van Elst) Newsgroups: comp.sys.amiga.tech Subject: Re: Lattice C : pragma? Whats all this then? Message-ID: <1397@mpirbn.mpifr-bonn.mpg.de> Date: 27 Nov 90 18:36:55 GMT References: <1990Nov10.001056.9736@canterbury.ac.nz> <63@oregon.oacis.org> <26892.273fe53b@kuhub.cc.ukans.edu> <27079.2750fd01@kuhub.cc.ukans.edu> Reply-To: p554mve@mpirbn.UUCP (Michael van Elst) Organization: Max-Planck-Institut fuer Radioastronomie, Bonn Lines: 17 In article <27079.2750fd01@kuhub.cc.ukans.edu> markv@kuhub.cc.ukans.edu writes: >I don't think so (I'll double check c.a to be sure), but, DOS gives >DOSBase in a register to every process on startup (along with other >things like the command line) and I am pretty sure Lattice/SAS startup >just uses this. Obviously SysBase is fetched from AbsExecBase. Lattice Startup opens the dos.library itself. Regardless wether the current AmigaDOS passes a pointer to the library (it does not) it is not documented. The only thing a program can rely is that the command line is passed via registers a0 and d0. Regards, -- Michael van Elst UUCP: universe!local-cluster!milky-way!sol!earth!uunet!unido!mpirbn!p554mve Internet: p554mve@mpirbn.mpifr-bonn.mpg.de "A potential Snark may lurk in every tree."