A83: Re: Re: movax sprite routine


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

A83: Re: Re: movax sprite routine




Yeah, just to expand on what Dan said...only use B_CALL when you're calling
a ROM Point, or you're calling a routine on a different page in multi-page
apps.

Dan: The underscore had to be added because the B_CALL calls "&_label"...but
if you don't B_CALL it then you don't need the underscore.

HTH,

James.

----- Original Message -----
From: "Dan Englender" <dan@calc.org>
To: <assembly-83@lists.ticalc.org>
Sent: Wednesday, September 13, 2000 10:55 AM
Subject: A83: Re: movax sprite routine


>
> You may have to make some changes to the routine itself (like replacing
the
> 83 address of the graph buffer with the PlotsScreen equate).  Also, you
> should definitly not B_CALL the routine.  B_CALL is a macro, and it only
> used for ROM entry points.  You should just use a regular CALL instead.
> (And you shouldn't have to add an underscore to the beginning of the name,
> even if you are assembling with ZDS)
>
> Hope this helps,
> -Dan Englender
>
> ----- Original Message -----
> From: "Andrew Friedley" <comp_saai@hotmail.com>
> To: <assembly-83@lists.ticalc.org>
> Sent: Tuesday, September 12, 2000 9:13 PM
> Subject: A83: movax sprite routine
>
>
> >
> > I am trying to use movax's XOR sprite routine on the TI-83 Plus.  I
copied
> > the source from the ASMGURU tutorial help file.  I also use ZDS instead
of
> > tasm for my programming.
> >
> > My program compiles okay with the XOR sprite code pasted in.  But, when
I
> > call SPRXOR the screen goes blank and i have to reset my calculator.
Here
> > is the code I am using to draw the sprite:
> >
> > ld a,15
> > ld e,15
> > ld bc,sprship
> > B_CALL SPRXOR
> > B_CALL grbufcpy
> >
> > I had to change the SPRXOR lable to _SPRXOR in order for it to compile
> > properly.  Is there any more special conversion I need to do to get the
> > sprite routine to work?  Or does anyone have a working version of it for
> the
> > 83 Plus?
> >
> > Thanks,
> >
> > Andrew Friedley
> >
_________________________________________________________________________
> > Get Your Private, Free E-mail from MSN Hotmail at
http://www.hotmail.com.
> >
> > Share information about yourself, create your own public profile at
> > http://profiles.msn.com.
> >
> >
>
>
>




References: