A83: SOS's largeSprite function in ZGFXL and Memory checking


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

A83: SOS's largeSprite function in ZGFXL and Memory checking




Yes, yet another question from me.  largeSprite is giving me trouble, I was
wondering if I could have some help on the matter.  let's say I wanted to
write an 8x8 sprite to the screen..  Well, we all know that I SHOULD use
Zlib's sprite routine, but let's pretend that I don't know that.  now, this
code SHOULD work, no?


;blah blah, usual crap, plus SOS header

Start:
	ld ix,sprite			;load sprite into ix
	ld b,8
	ld c,2
	ld a,50
	ld l,50
	call vector0
	call _grbufcpy_v
	ret

libs:
	.db "ZGFXL",0,0,0,lib1,vec0
	.db $FF

desc:
	.db "Crap Sprite Prog",0


.end
;end of program


I can't figure out why that won't work.... ALSO

about memchk, when I call this routine, it returns the amount of free mem to
hl.  How do I print the contents of HL in variable width (small) font?
Thanks!

Seth.