home *** CD-ROM | disk | FTP | other *** search
-
- StatusReg% = INP( &H61 ) 'read value in port 61H
- StatusReg% = StatusReg% AND &H00FC
- 'mask value read in and make audible tone
- FOR J = 1 TO 1000
- StatusReg% = StatusReg% XOR 2 'toggle speaker
- OUT &H61,StatusReg% 'output new status
- DELAY .001
- NEXT J
- END