thanks. the second one was the one that worked. -miklos >it should work like: > call GET_KEY > cp K_ON ;K_ON = $29 > jr z,somwhere > >Else if that doesn't work, you can check for it by checking the port like >this: > in a,(3) ;get stuff from port 3 > bit 3,a ;check the third bit > jr z,somewhere ;if third bit is cleared, on key is pressed...go >somewhere then