Re: A86: disp sprite


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

Re: A86: disp sprite






>From: BlAsTo1414@aol.com
>Date: Sat, 12 Sep 1998 20:29:28 EDT
>To: assembly-86@lists.ticalc.org
>Subject: Re: A86: disp sprite
>Reply-To: assembly-86@lists.ticalc.org
>
>
>that doesn't answer my question.
>
>How do you display a sprite?
>I tried the following code but it displayed 'garbage' at the top of my 
screen:
>
>#include "ti86asm.inc"
>
>.org _asm_exec_ram
>
>	call _clrLCD
>	ld hl, $0000
>	ld (_curRow),hl
>	ld hl, Sprite
>	call _puts
>	call _newline
>	ret
>
>Sprite:
>	.db %00111100
>	.db %01000010
>	.db %10000001
>	.db %10100101
>	.db %10000001
>	.db %10111101
>	.db %01000010
>	.db %00111100
>
>
>.end
>
>
>what am I doing wrong?
>
>BlAsTo1414
>

OK in that you are trying to display your sprite as text.  You have to 
use a sprite routine (like PutSprite, or FastSprite).

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