Re: A82: Re: Blockbuster v4.0


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

Re: A82: Re: Blockbuster v4.0




On the subject of optimization...

Why not simplify the draw title pic routine?

DrawTitlePic:
	ld hl,GRAPH_MEM
	ld (hl),0
	ld de,GRAPH_MEM+1
	ld bc,767
	ldir
	ld hl,Titlepic	  ;big "Blockbuster" picture
	ld de,GRAPH_MEM
	ld bc,192
	ldir
	ROM_CALL(DISP_GRAPH)

  It's 22 bytes smaller than your old way (writing to the display port 
directly). You may not need to clear the graph buf, which would be 14 bytes 
lower still.
   Sam

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