Re: A83: Re: subprogs
[Prev][Next][Index][Thread]
Re: A83: Re: subprogs
Technically you could have over 27k of variables... you can make the whole
program an array of random numbers, and these numbers which are located
within your program are essentially variables (although they seemingly have
no value without a label)
ie. .db 0,2,5,5,4,6,6,4 ; could go on forever
you could also use the textmem, textshadow, cmdshadow also giving you even
more memory than your free ram.
perhaps this large assortment of variables is for a map, or an array for a
deck of cards (like i used in blackjack)
these types of arrays are easy to track, since they are usually
loaded/retrieved simulataneously using ldir
-Harper Maddox
jerky@ebicom.net
IRC nick: Geori
ICQ: 1214597
-----Original Message-----
From: James Matthews <matthews@tkb.att.ne.jp>
To: assembly-83@lists.ticalc.org <assembly-83@lists.ticalc.org>
Date: Friday, July 24, 1998 7:42 AM
Subject: Re: A83: Re: subprogs
>
>> I severly doubt the fact you can do that, at least if its from another
>> asm program. You can of course load the basic vars via x/y and the ops,
>> but that's it. And yeah, 300 is probably possible.. as a matter of
>> fact, you can fill the textmem, textshadow, cmdshadow with stuff.. so it
>> can be a lot more than that.. asm wise that is...
>> -Ahmed
>>
>
>Ahmed is probably right. But also to keep *track* of 300 variables would
>be a TOUGH job. What do you need it for anyway?
>
>James.
>
Follow-Ups: