News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Newbie can't make the computer go 'Beep!'

Started by Nicole74, May 31, 2015, 12:44:24 AM

Previous topic - Next topic

rrr314159

well, that's actually what I suspected when good old reliable "Invoke Beep" didn't work ...

U know, Timur the Lame (Tamerlane) famous general of 1300 AD habitually left towns unconquered in the rear of his armies. He'd besiege them, keep an eye on them, and move on. Sooner or later they'd give up and he'd make a big pile of their heads to give other enemies something to think about. Anyway, that's often a good strategy, especially with stupid simple problems that for some unknown reason aren't working out. Don't beat your head against it, just move along, do the next thing - print "hello world", or attack the next country, depending what you're trying to accomplish - but keep your eye on the problem you're putting aside. Often it will go ahead and "solve itself": the town will starve and surrender, or you'll notice a youtube video isn't making any sound, and unmute it.

You can get a lot of useful assembler coding tips from history!
I am NaN ;)

herge

Hello:

At a Dos Prompt. i e Control G

C:\masm32\bin>^G
'' is not recognized as an internal or external command,
operable program or batch file.

C:\masm32\bin>


If your Keyboard has a speaker it should beep.
print "Beep",7
Should Also work, make sure you include

INCLUDE \masm32\include\masm32rt.inc


Regards herge
Regards herge
Read "Slow Death by Rubber Duck"
for chemical Laughs.

Nicole74

Quote from: herge on July 25, 2015, 11:57:46 PM
Hello:

At a Dos Prompt. i e Control G

C:\masm32\bin>^G
'' is not recognized as an internal or external command,
operable program or batch file.

C:\masm32\bin>


If your Keyboard has a speaker it should beep.
print "Beep",7
Should Also work, make sure you include

INCLUDE \masm32\include\masm32rt.inc


Regards herge

I officially haven't given up yet, I've just postponed it.  Inconvenient events are going on in my life - I have to move to another apartment - so I'm postponing fun and wonderful things, like learning how to program a computer, until my worries are settled down.  I swear if I ever make the computer go beep, I will be sure to inform everyone.  I know it sounds strange but I'm so frazzled right now I can't even focus a drop of mental energy on the simplest of computer programs.  Hmm, which smiley face looks like me right now?   :icon_eek:

dedndave

if none of that works, you may have a hardware issue
let us know when you come back to working on it
we can devise a list of things to check

rrr314159

Quote from: dedndaveyou may have a hardware issue

Quote from: nicole74, a while agookay...it beeped. ... I had the system sounds muted out even though the speaker was on for everything else.

- There's some confusion here, she did get the bleeping thing beeping a while ago. As I understand it, a voice clued her in

Quote from: nicole74...fun and wonderful things, like learning how to program a computer,...

- that line deserves to be quoted!
I am NaN ;)

Nicole74

That's weird, I actually forgot that I successfully got it to beep.  :icon_redface: I was like, "oh no, I have to do this all over again."  Yes, that's right, I didn't have the sound volume on for system sounds, which was a separate setting from the main volume control, and the sudden insight was from a voice (similar to people getting an idea from a dream).

rrr314159

That's weird, I actually forgot that I successfully got it to beep.

- That sort of thing happens when one gets frazzled. Look on the bright side you get to feel good about it twice!

... a voice (similar to people getting an idea from a dream).

- Might be worthwhile to mention, many famous, smart people heard a "voice": Socrates, Joseph Smith, various authors. But in the old days it was called a "daemon", "angel", "muse" or similar classical reference
I am NaN ;)