Re: A86: Variables...


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

Re: A86: Variables...




I hope this will help:
Using _textshadow would be better.
You can use something like :

score equ _textshadow+ (whatever number you want)
HiScoretemp equ _textshadow+ (another value)
Hiscore:
    .dw (whatever the preset hiscore is)
HiScrname:
    .db "GFX",0
--------------
Jbrett
tbarwick@esn.net
http://ww2.esn.net/~tbarwick
I just added a TI-86 page, Check it out!!!
-----Original Message-----
From: DieKenny97@aol.com <DieKenny97@aol.com>
To: assembly-86@lists.ticalc.org <assembly-86@lists.ticalc.org>
Date: Thursday, August 27, 1998 9:37 PM
Subject: Re: A86: Variables...


>
>In a message dated 98-08-27 21:19:11 EDT, you write:
>
><< In my program, I use this to store initials:
>
> HiInitials:
> .db $47,$46,$58
>
> (Initials: GFX)
>
> Then if you get a hi score, you input your initials with a routine i
wrote,
> and then it stores the new numbers into the  .db   thing.  When you go to
the
> high score thing it loads hl with the first intial, and displays all three
> correctly.  When I quit the program and run it again, the initials are
>changed
> back to GFX...   I know i didn't reset them each time it is run.
>
> Does anyone know why this would happen?
>
> The same thing happens with a high score, it is set, but when the program
is
> closed and opened again, it is set back to zero..
>  >>
>I think it always rests the hi score name because you have the HiNitial
rest
>bak to "GFX" all the time.  Try changing it to this and see if it works.
>
> HiInitials:
> .db $00
>
>I can't garuantee that will work but its worth a shot if you haven't tried
>that already.
>
>~Matt
>