If you do know MC asm and have some kind of debugger (Debuffer is really the 
best) you may have a look at HackMeChallenge  available at 
http://klyatskin.da.ru
It's rather small but you can trace it to see how a7 register can be 
changed. No problems met in POSE.
I do write some code in stack, change stack on a fly, and make some jumps to 
stack. Maybe it would be of interest for you.

Regards,
Constantine klyatskin
http://klyatskin.da.ru
------------------------------------------
Date: 26 Jul 1999 17:30:56 -0700
From: [EMAIL PROTECTED]
Subject: Re: Stacks on the fly

[EMAIL PROTECTED] wrote:

>I think you're on the right track.  But some of the details may be wrong.
The
>Palm OS System source archive contains a function called 
>PrvCallWithNewStack
>that's used when invoking applications with new stacks.  You might want to
check
>it out.

I guess the Prv means private! I don't have the PalmOS source code (I won't
bother
explaining why). So if there is anyone out there that could look at
PrvCallWithNewStack for me and explain what I'm doing wrong then I'd really
appreciate it.

Thanks Keith for your response.

>Note that these comments in no way should be construed as endorsing stack
>pointer switching.  I have no idea what Palm's official position is on 
>that.

They don't appear to like it! Unfortunately its a fact of life that one has 
to
manage the stack. I can list a number of situations where you simply do not
have a
choice but to use a new stack.

Regards,
- --
Christopher Hunt
Class Action Pty. Ltd.
----------------------------------------------------


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

Reply via email to