[Slackers] SetZpTemp

Steve Judd sjudd at ffd2.com
Sat Apr 22 10:06:22 CDT 2006


Hey Jaymz,

It definitely should.  In fact:

:1000             ubyte    screen(25,40)@$0400
:1000
:1000             SetZPTemp $80
:1000 a2 01 bd 26
:1004 10 85 80 bd
:1008 3f 10 85 81
:100c a9 08 a0 01
:1010 91 80       screen(1,1)=8
:1012 60          done
:1013
:1013             sub      test()
:1013 a2 01 bd 26
:1017 10 85 80 bd
:101b 3f 10 85 81
:101f a9 08 a0 01
:1023 91 80                    screen(1,1)=8
:1025 60          endsub

Looks OK to me.  (Uses $80 both times.)  Do you have a code example of
what fails?

(Apologies for any debugging time spent.)

cu,

-S

On Sat, 22 Apr 2006, Jaymz Julian wrote:

> Hrm, if SetZpTemp is declared in the global scope, should it not persist
> for more than a single function?
>
> (heh, i just spent 2 hours debugging this.  yay for irqs!)
>
> 	--jj
>
>
> --
> --
> Jaymz Julian - Coder, Visionary, Fat Ass.
> "Hannibal is a serial killer. He only likes to kill and eat people.
>  Very few people have `I want to be killed and eaten' on their cards,
>  so Hannibal is out of a job." - http://cards.sf.net
> _______________________________________________
> Slackers mailing list
> Slackers at starbase.globalpc.net
> http://starbase.globalpc.net/mailman/listinfo/slackers
>


More information about the Slackers mailing list