Re: LZ: General Programming questions


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

Re: LZ: General Programming questions



Frank wrote:
> 
> I have a few general questions of what commands do
> 
> 1) What does K_UP and K_DOWN do?
K_UP and K_DOWn are just macros that have the keycode for up and down in
them


> 
> 2) What is the z and nz used as exactly (i know it conditional)
z and nz are used to see if the condition equals 0 or if it doesn't for
example:
	ld a, 3
	cp 3
	jr z, nextfunc
would compare a with 3 and if it is 3 it will jump to nextfunc whereas
	ld a, 2
	cp 3
	jr nz, nextfunc
will do the same thing but will jump to nextfunc if a does not equal 3




> 
> 3) can someone make or send me the code of a program that just has a ball
> bouncing in a frame! thanx !
just look at ticalc.org they have a lot of source code there.


PCoMP
Visit Maximus Productions home page at: http://www.ntsource.com/~pcomp


References: