source:
trunk/src/libwrap/_DosBeep.asm
| Last change on this file was 10220, checked in by , 22 years ago | |
|---|---|
| File size: 370 bytes | |
| Rev | Line | |
|---|---|---|
| [10220] | 1 | .386p |
| 2 | CODE32 SEGMENT DWORD PUBLIC USE32 'CODE' | |
| 3 | ||
| 4 | EXTRN DosBeep:PROC | |
| 5 | PUBLIC _DosBeep | |
| 6 | _DosBeep PROC NEAR | |
| 7 | push fs | |
| 8 | mov eax, 0150bh | |
| 9 | mov fs, eax | |
| 10 | push dword ptr [esp+12] | |
| 11 | push dword ptr [esp+12] | |
| 12 | call DosBeep | |
| 13 | add esp, 8 | |
| 14 | pop fs | |
| 15 | ret | |
| 16 | _DosBeep ENDP | |
| 17 | ||
| 18 | CODE32 ENDS | |
| 19 | ||
| 20 | END |
Note:
See TracBrowser
for help on using the repository browser.
