A86: Re:


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

A86: Re:




It looks good except you just have a key loop! You need to store the number of
times that the key is pressed.

( Try This )

Start:
	xor a

KeyLoop:
Whatever.......
......
......
 cp	k_F1		;Compare to F1
 jp	z,keypress		;If pressed jump to label
........
.......
Keypress:
	add a,1			;A+1->A
	cp 2			;Two times
	jr	z,exit
	jp	nz,keyloop

exit....................
................

-Ryan
http://fly.to/86
	
 


Follow-Ups: