VOGONS


First post, by rCX

User metadata
Rank Newbie
Rank
Newbie

Sorry if this is in the wrong place. I am developing a game for DOS in ASM (Believe it or not 😎 ) and I noticed that printing the bell character using either...

mov ah,2
mov dl,7 ;ASCII bell Char
int 21h ;Print It!

...or....

mov ah,09h
mov al,7 ;ASCII bell Char
mov bh,0 ;Page 0
mov bl,0 ;Attribute
mov cx,1 ;Do it once
int 10h ;Print it!

...does not generate a beep although all other sounds work. I talked to wjp and after looking at the sources (int10_char.cpp) he found that it had not implemented yet...

switch (chr) {
case 7:
//TODO BEEP
break;

Is there a way to work around this or would I have to rebuild the sources? Could you add this to 0.73?

Thanks to the developers for keeping DOS gaming alive! 😁

Last edited by rCX on 2008-12-26, 16:56. Edited 1 time in total.

Reply 1 of 2, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

My build has it implemented at least in one place. You can download the patch from my homepage (Megabuild 4 -> some patch files -> beep.diff)

1+1=10

Reply 2 of 2, by rCX

User metadata
Rank Newbie
Rank
Newbie

Thanks