A82: image size and location


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

A82: image size and location



When you want to display a TitlePic most programmers usually do this:

ld hl,title
ld de,$88B8
ld bc,132   ;size of pic?
ldir
ROM_CALL(DISP_GRPH)

title:
	.db 0,0,3,112,55,15,0,192
	.db 0,0,240,56,7,7,7,191
	.db 0,0,206,61,7,7,3,3,220  ;just an example 

So here is my questions:
#1 How do you know where it will be displayed?
#2 How do you calculate the size in the ld bc,??? command?
#3 How can you make titlepics?

~Ilya


Follow-Ups: References: