Terminal control/Ringing the terminal bell: Difference between revisions
Terminal control/Ringing the terminal bell (view source)
Revision as of 18:25, 18 November 2012
, 11 years agoAdded XPL0 and X86 Assembly
(add emacs lisp) |
(Added XPL0 and X86 Assembly) |
||
Line 222:
# echo "\a" # does not work in some shells
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}}
|