🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #3221

Re: LoadSeg() problems

#3221
From: Michael Sinz - CATS
Date: Mon, 09 Apr 1990 14:00
31 lines
2343 bytes
In article <15204@phoenix.Princeton.EDU> pfalstad@phoenix.Princeton.EDU (Paul John Falstad) writes:
>In article <15188@phoenix.Princeton.EDU> pfalstad@phoenix.Princeton.EDU (Paul John Falstad) writes:
>>In article <10663@cbmvax.commodore.com> thomas@cbmvax (Linda Thomas) writes:
>>>In article <15113@phoenix.Princeton.EDU> pfalstad@phoenix.Princeton.EDU (Paul John Falstad) writes:
>>>> 
>>>> I'm having trouble with the LoadSeg() function call.  Whenever I call it,
>>I seem to have fixed this problem by putting a WaitBlit() after the
>>LoadSeg().  I know it sounds utterly ridiculous, but it seems to work.
>
>I've somewhat figured it out.  When I run the code with the debugger,
>it doesn't work.  When I run it without the debugger, it works.  >:-(
>The debugger is Manx 5.0a db.

Ahh, you should have said that "db" was running.  The MANX db SetFunction()s
the LoadSeg() call so that it can patch the first instruction of the
newly loaded file in case it needs to stop it right after the LoadSeg()
This is how db catches the next loaded program.

>Just never mind.  If all else fails, I'll write my own version of LoadSeg().
>I had to write my own version of CreateProc() anyway (I'm working on an
>Amiga version of fork() ).
>
>pfalstad@phoenix.princeton.edu

/----------------------------------------------------------------------\
|      /// Michael Sinz -- CATS/Amiga Software Engineer                |
|     ///  PHONE 215-431-9422  UUCP ( uunet | rutgers ) !cbmvax!mks    |
|    ///                                                               |
|\\\///          "I don't think so," said Ren'e Descartes.             |
| \XX/                    Just then, he vanished.                      |
\----------------------------------------------------------------------/
Technical Details
Message-ID: <10711@cbmvax.commodore.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!cbmvax!mks
References: <15113@phoenix.Princeton.EDU> <10663@cbmvax.commodore.com> <15188@phoenix.Princeton.EDU> <15204@phoenix.Princeton.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!cbmvax!mks
From: mks@cbmvax.commodore.com (Michael Sinz - CATS)
Newsgroups: comp.sys.amiga.tech
Subject: Re: LoadSeg() problems
Message-ID: <10711@cbmvax.commodore.com>
Date: 9 Apr 90 14:00:48 GMT
References: <15113@phoenix.Princeton.EDU> <10663@cbmvax.commodore.com> <15188@phoenix.Princeton.EDU> <15204@phoenix.Princeton.EDU>
Reply-To: mks@cbmvax (Michael Sinz - CATS)
Distribution: comp.amiga.tech
Organization: Commodore, West Chester, PA
Lines: 31