Path: utzoo!attcan!uunet!wuarchive!zaphod.mps.ohio-state.edu!swrinde!ucsd!mvb.saic.com!ncr-sd!ncrlnk!ncr-mpd!kentd From: kentd@FtCollins.NCR.com (Kent.Dalton) Newsgroups: comp.sys.atari.st.tech Subject: Re: More on Laser 2.1 vs MiNT Message-ID: Date: 15 Oct 90 12:59:19 GMT References: Sender: uucp@ncr-mpd.FtCollins Reply-To: Kent.Dalton@FtCollins.NCR.com Distribution: comp.sys.atari.st.tech Organization: NCR Microelectronics, Ft. Collins, CO Lines: 29 In-reply-to: kentd@FtCollins.NCR.com's message of 12 Oct 90 09:18:25 GMT Well, I figured out exactly what's happening to cause the Laser C init code to hang up MiNT. The Laser C startup module is set up to start both desk accessories as well as normal applications. The way it determines which type of program it is, is by looking at it's parent's basepage address (offset 36(decimal) into it's own)... If it's zero it starts itself up as an accessory and if it's non-zero it starts as a "normal" program. When MiNT launches a program this location is zero and the startup code, convinced that it's a desk accessory, hangs the system. I hacked up a prg only version of the startup code and my Laser programs now work with MiNT. The obvious long-term solution is to have MiNT put it's own basepage address in that location when it launches a program (or at least something that's nonzero). That way MiNT'll be more compatible with the programs out there that can function as both regular programs and desk accessories. Hopefully, this change can be incorporated in the next "official" release of MiNT. -- /**************************************************************************/ /* Kent Dalton * EMail: Kent.Dalton@FtCollins.NCR.COM */ /* NCR Microelectronics * CIS: 72320,3306 */ /* Fort Collins, Colorado * "This mind intentionally left blank" */ /* (303)223-5100 X-319 * All standard disclaimers apply */ /**************************************************************************/