SillyOldDuffer | 27/12/2022 10:15:00 |
10668 forum posts 2415 photos | Posted by Gerard O'Toole on 27/12/2022 09:24:36:
If you go to the Command prompt and hold down the CTRL key and they type G ( ^G should be displayed) then hit the enter key. Yoy should hear a beep if the internal speaker is working Good idea. The same thing in BASIC is: PRINT(CHR$(7)) Explanation: ctrl-g and CHR$(7) are both ways of sending the ASCII Bell character 7 to the terminal. There's a reasonable chance the terminal will ring the bell by beeping. But only if the terminal supports it in the right way. For instance, on my linux computer the terminal honours ctrl-g with the sound-card, not a beeper fitted to the motherboard. Without taking the machine apart I don't know if my motherboard has a sounder fitted. If present and correct it's never used. Well worth a try: if it works PRINT(CHR$(7)) solves Greensand's problem. Dave |
Please login to post a reply.
Want the latest issue of Model Engineer or Model Engineers' Workshop? Use our magazine locator links to find your nearest stockist!
Sign up to our newsletter and get a free digital issue.
You can unsubscribe at anytime. View our privacy policy at www.mortons.co.uk/privacy
You can contact us by phone, mail or email about the magazines including becoming a contributor, submitting reader's letters or making queries about articles. You can also get in touch about this website, advertising or other general issues.
Click THIS LINK for full contact details.
For subscription issues please see THIS LINK.