Path: chuka.playstation.co.uk!news From: "Matt Verran" Newsgroups: scee.yaroze.freetalk.english Subject: Re: loading an exe and using Exec() Date: Mon, 16 Apr 2001 13:48:30 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 28 Message-ID: <9bepko$30s4@www.netyaroze-europe.com> References: <9bbp7u$t451@www.netyaroze-europe.com> <9bep1d$30s3@www.netyaroze-europe.com> NNTP-Posting-Host: host213-122-0-98.btinternet.com X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 > I would have said CdReadExec overwriting data is the problem. The yaroze > boot exe loads in at 80090000, as long as your own program is located higher > in memory it won't cause any problems. Most commercial game exe's load in > below 80090000, over yaroze system data, and may well be overwriting data > and functions still associated with your program. For example CdReadExec > could load an exe over the position of CdReadSync, and as this is the next > call in your program it would fail. You say you're getting timeouts rather > than lock-ups though, which is what I've been getting, so perhaps there's > another reason. Yeah, you seem to be having the same problems I am, do you get the following error from CdReadSync: CD_sync:(CdlSync) Sync=NoIntr, Ready=DataReady > You may be able to get some exe's to run, as long as they don't overwrite > anything vital. You could try using the Load() function instead of > CdReadExec, if you can get it to work, I've had nothing but lock-ups with it > and LoadTest(). I originally tried Load() but couldn't get it to work at all.