Terminal control/Ringing the terminal bell: Difference between revisions
Content added Content deleted
(add emacs lisp) |
(Added XPL0 and X86 Assembly) |
||
Line 222: | Line 222: | ||
# echo "\a" # does not work in some shells |
# echo "\a" # does not work in some shells |
||
tput bel</lang> |
tput bel</lang> |
||
=={{header|X86 Assembly}}== |
|||
<lang X86 Assembly>;Assemble with: tasm; tlink /t |
|||
.model tiny |
|||
.code |
|||
org 100h ;.com files start here |
|||
start: mov ah, 02h ;character output |
|||
mov dl, 07h ;bell code |
|||
int 21h ;call MS-DOS |
|||
ret ;return to MS-DOS |
|||
end start</lang> |
|||
=={{header|XPL0}}== |
|||
<lang XPL0>code ChOut=8; |
|||
ChOut(0,7)</lang> |
|||
{{omit from|ACL2}} |
{{omit from|ACL2}} |