|
Atari coding BBS
PEXEC Mode 3 |
Posted by: Shw
|
Apr,26.2009-19:23
|
Does anyone know why PEXEC mode 3 (Load but do not run)does not work on the Falcon ? It works fine on my MSTE and Steem. Mode 0 (load & execute) works ok on Falcon.
Here's the code :-
MOVEA.L 4(A7),A5
MOVE.L 12(A5),D0
ADD.L 20(A5),D0
ADD.L 28(A5),D0
ADDI.L #$100,D0
MOVE.L D0,-(A7)
MOVE.L A5,-(A7)
MOVE.L #$4A0000,-(A7)
TRAP #1
LEA 12(A7),A7
move.l #environment,-(sp)
move.l #environment,-(sp)
move.l #filename,-(sp)
move.w #3,-(sp) ; Mode 3
move.w #$4b,-(sp)
trap #1
adda.l #$10,sp
move.l d0,basepage
environment dc.l 0
basepage dc.l 0
filename dc.b "blah",0
|
[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.
|