YXL5@psuvm.psu.edu (07/05/90)
I am in the process of trying to recode a small subroutine currently written un der basica 3.0 into assembly language. I am having a great deal of difficulty with the wait statements. The manual says that for a wait statement wait port,n the computer will make a loop which gets input from the port "port" ; ands that with the integer "n" ; u ntil the result is non zero. However, in an attempt to find out what is wrong with my subroutine I have written a program that only primes timer; sets timer; beeps; starts timer; waits ; then beeps. When I write the wait statement as "wait &h719,&h20" the program runs great. When I write the wait statement as three statements, get input from the port and that input with &h20 jump back to in statement if result is non zero the program never gets out of the loop. In fact the timer appears to never cha nge its signal. I have a manual for the timer, which is the one contained with Labmaster. I am trying to decode the manual now. However, if anyone knows if basica does anyt hing different than the above when wait is called, I would really appreciate a note. Thank you very much in advance. Please send messages to me at YXL5 @ PSUVM. This is a group account for my lab group so if you put cindy in the subject fie ld I will be most likely to receive it. Thanks, Cindy Berman