Dead Hackers Society
Other BBSes »
 
 
Demoscene  Coding  CT60  Buy/sell

Atari coding BBS
 
PEXEC
Posted by: Grazey Dec,02.2005-14:24 

Hi,
I'm having trouble with PEXEC. I'm trying to load then execute a program which uses the command line.

If I double click the TTP then enter a command line it works fine.

But if I try and PEXEC the program and use my own command line it does not pick up the command line.

I use :-

pea env(pc) ; What does this do ?!
pea com(pc)
pea filename(pc)
move.w #0,-(sp) ; Load N Go
move.w #$4b,-(sp) ; Pexec
trap #1
lea 16(sp),sp

env dc.l 0,0
com dc.b "myparameter",0
filename dc.b "myttp.ttp",0

Oh and I mshrink and set the memory up before this.

Grz







[All messages in this thread]    [Start new thread]

Topic Posted by  Date 
PEXEC Grazey Dec,02.2005-14:24
  Re: PEXEC dejam Dec,02.2005-14:55
    Re: PEXEC Grazey Dec,02.2005-16:41
      Re: PEXEC mikro Dec,05.2005-12:27


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

What's the anti-troll code?
That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
© 1994-2024 Dead Hackers Society Contact: Anders Eriksson