Re: A83: getkey


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

Re: A83: getkey




On Thu, 19 Aug 1999 22:14:54 -0700, Lynn McCartney wrote:

>In my prog. I have:
>getkey
>
>bcall _GetKey
>
>cp kClear
>
>jp z,insert
>
>cp kRight
>
>jp z,go_right
>
>jp nz,getkey
>
>And go right says:
>
>go_right
>
>ld hl,Spritex
>
>ld a,(hl)
>
>inc a
>
>ld (hl),a
>
>call PutSpriteLoop
>
>the sprite wont go right though, could some one help me with this?  I'm new 
>to z80 asm though.

  You might have to explain a bit more. Is "Spritex" the pointer to the 
sprite you are displaying? Where are you writing the sprite to? Perhaps you 
should show us the "PutSpriteLoop" part to.

James Vernon
jimbob_v@hotmail.com


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com