A85: Re: Hey! Another dumb question from yours TRULY! :-D


[Prev][Next][Index][Thread]

A85: Re: Hey! Another dumb question from yours TRULY! :-D




To answer your question (because no one else has), .db is like any other
memory position.  The difference, of course, is that it is predefined.
However, like all memory, it can be overwritten.  That's how games like
SimCity (and even the teacher key function in ZTetris) work.

Perhaps, if you'd like to define something that is changed during the game,
but that you want constant, just do a 'ldir' to text_mem and use that data?
Then there's no worry about it being accidently changed because you are only
accessing the copy in text_mem.

Nathan
-----
Stuntman (Nathan Haines) - ICQ UIN#: 2157863
http://www.cyberverse.com/~stuntman/nathan.html
QuickBASIC/Visual BASIC/TI-BASIC programmer (just your basic programmer)
President of Stuntworks - http://stuntworks.home.ml.org/

-----Original Message-----
From: DorkReMi <DorkReMi@aol.com>
To: Assembly-85@lists.ticalc.org <Assembly-85@lists.ticalc.org>
Date: Thursday, April 23, 1998 4:59 PM
Subject: A85: Hey! Another dumb question from yours TRULY! :-D


>The reason I'm asking this is b/c:
>In my mind predefining memory in .db statements prevents all of the
>possibility of overwriting the statements, because it's already STATED.
But
>when I thought of this in ACTUALITY all that a .db statement is in a string
is
>a string of sequenced data, so theoretically it SHOULD be able to be
>overwritten.  Am I schizophrenic?  Do I need help?  Somebody