Re: A85: address of variables
[Prev][Next][Index][Thread]
Re: A85: address of variables
The are different kinds of permanent vars, so you would have to know which
kind you are using. For all vars on the calc which have variable length you
have to do something to change the lenght, but what you have to do depends
on the var you want to use. So unless you want to do some complicated stuff,
just use ordinary vars in your asm programs.
Dines
-----Original Message-----
From: Humberto Yeverino <humberto@engr.csufresno.edu>
To: assembly-85@lists.ticalc.org <assembly-85@lists.ticalc.org>
Date: Monday, October 26, 1998 3:55 PM
Subject: Re: A85: address of variables
>
>On Mon, 26 Oct 1998, Mike Bandsmer wrote:
>
>> Use Usgard's VAR_GET function to get the address of a variable.
>>
>> >
>> > How would I go about putting info into a variable in the TI-OS from
>> > an assembly program.
>> > I know I need to know the memory address of the variable I want to
>> > write too. How do I find out what the address of a variable such as
>> > xstat or whatever is?
>>
>You also need to find out how data is stored in that type of variable.
>xStat is a variable length array so I don't know what kind of trouble you
>will run into if you want to make it bigger. But xStat is a permanent VAR
>so maybe it won't be a problem.. If I were you, I'd look into finding ROM
>routines for this (dimL especially)
>
>later,
>
>-Humberto Yeverino Jr.
>
>"I kick ass for the Lord."
>-Dead Alive (1992)
>
>***********************************************************
>Home Page:
> http://www.engr.csufresno.edu/~humberto/Home.html
>
>Ti Page:
> http://www.engr.csufresno.edu/~humberto/tex.html
>
>z80 Source Page:
> http://www.engr.csufresno.edu/~humberto/z80source.html
>
>Official Tyrant Home Page:
> http://www.engr.csufresno.edu/~humberto/tyrant.html
>
>E-mail:
> humberto@engr.csufresno.edu
>***********************************************************
>