[A83] Re: Executing programs from and other programs...
[Prev][Next][Index][Thread]
[A83] Re: Executing programs from and other programs...
well... if i do:
ld hl,<<progstart>>
ld de,9D95h
ld bc,<<proglenght>>
ldir
--> how can i find the program's size with codes...?
>An easy way to run another program written for the TI-OS would be like I
>always do, for the sake of brevity....
>
>This technique requires one program to be smaller than the other.
>
>Your initial program should do what it has to do, then when you want to run
>another asm program, find the program in ram using ChkFindSym and copy it
>to
>usermem... careful of the 2 byte header though... then call 9d95h
>(usermem).
>Note that you should keep all your variables at the end of your initial
>program so they don't get overwritten. Also, the code that copies the
>program should be far along enough in your initial program so that it does
>not get overwritten with the copy. When the call usermem returns, find the
>original program and copy that back to usermem (not all of it though.. keep
>your vars in tact).
>
>Hope this helps,
>Tom
>
>-----Original Message-----
>From: assembly-83-bounce@lists.ticalc.org
>[mailto:assembly-83-bounce@lists.ticalc.org]On Behalf Of Henk Poley
>Sent: Saturday, May 25, 2002 7:35 AM
>To: assembly-83@lists.ticalc.org
>Subject: [A83] Re: Executing programs from and other programs...
>
>
>
> > Van: Alexandre Émond <instriker@hotmail.com>
> >
> > Hi,
> > does someone know how to execute an asm program from an other asmprogram
> > on the ti-83+?
>
>Try looking for Venus. This program is for the Ti83- but the main
>program-copy-and-executing routine is quite portable. You only need to
>change the adresses it uses to the start adresses (.org) of the Ti83+.
>
>Sorry, I don't have time to port it myself, plus I don't have a current
>(ehm..) codebase.
>
> Henk Poley <><
>
>
_________________________________________________________________
Rejoignez le plus grand service de messagerie au monde avec MSN Hotmail.
http://www.hotmail.com
Follow-Ups: