A83: Re: IPoint routines


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

A83: Re: IPoint routines




Sure.

ROM CALL REFERENCE

_ipoint (4AE8h):  Plots point on screen.

Input.
B, C are the x-y coordinates in pixels.
D is set either to 0 – light, 1 – dark, 2 – reverse, 3 – test pixel, 4 – copy from display buffer.

Output.
If D=3, Z is outputted as either 0 or 1 depending on whether the pixel is set or not.

so in code:
	ld	b,10
	ld	c,10
	ld	d,3
	call  _ipoint
	jr	z,off
	jr	on

HTH,

James.


God I love quoting my tutorials :)


Follow-Ups: