|
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]
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.
|