RE: A83: On button Interupt


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

RE: A83: On button Interupt




I'm a newbie too, but I believe this will work.
While running 'on' will be disabled, but as soon
the program exits (ret), you'll get ERR:BREAK.

I don't know how to fix this, though.
Let me know if you can find out.


waitforkey:
	call _getkey		;wait for keypress
	cp 00				;on key pressed?
	jp z,waitforkey		;if so, wait for key again
	ret




References: