Re: A85: putting pixels


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

Re: A85: putting pixels




> 	ld	bc,$1010
>  	call	putpixel	; b = x coordinate, c = y coordinate
>  
>  	ld	bc,$2020
>  	call	putpixel
>  
>  	ld	bc,$0101
>  	call	putpixel

Since yopu are using Usgard you have to add & to all your calls. You don't
have to for calls in the ROM, or Usgard internal calls. Change that code to
this:

ld bc,$1010
call &putpixel
ld bc,$2020
call &putpixel
ld bc,$0101
call &putpixel

-------
NAME : Mikel Blanchard, of Macross Software
WEB   : http://members.xoom.com/CashOnly/Macross.html
EMAIL : cashonly@aol.com
ICQ     : 3033904 (CashOnly)