[A83] Re: Sprites in 83+ ASM


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

[A83] Re: Sprites in 83+ ASM




If all you want to do is display a sprite and you are programing for mirage
or ion try this (This is the mirage version)

	ld ix,Sprite
	ld b,8      	;The size of the sprite
	ld a,5		;x cord
	ld l,5		;y cord
	call isprite	;ion sprite routine
	call ifastcopy	;Copies to graph screen
	bcall(getkey)	;Waits for a key press (Not needed, this is just to pause the
program and admire your sprite
	ret			;I wounder

Sprite:
	.db %11111111
	.db %11111111
	.db %11111111
	.db %11111111
	.db %11111111
	.db %11111111
	.db %11111111
	.db %11111111





References: