A86: Question About Sprites...


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

A86: Question About Sprites...




I've just started ASM programming and have the basics down....I tried
to use a small 8x8 sprite in one of my programs and instead of
displaying the sprite the program displayed a string of charecters
that the sprites bit sequence stood for....the program is listed
below...what did I miss?

<<START OF FILE>>

#include "ti86asm.inc"

.org _asm_exec_ram

	call _clrLCD
	ld hl , $0000
	ld (_curRow) , hl
	ld hl , Sprite
	call _puts
	call _newline
	ld hl , String
	call _puts
	call _newline
	ret

Sprite:
	.db %11011011
	.db %10011001
	.db %10100101
	.db %10011001
	.db %11000011
	.db %10011001
	.db %10100101
	.db %10111101

String:
	.db "A small sprite..."

.end

<<END OF FILE>>

Thanks in advanced...


_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com


Follow-Ups: