Category : C++ Source Code
Archive   : VCCRT2.ZIP
Filename : DISABLE.ASM
Output of file : DISABLE.ASM contained in archive : VCCRT2.ZIP
title disable
;***
;disable.asm - contains the _disable() function
;
; Copyright (c) 1987-1992, Microsoft Corporation. All rights reserved.
;
;Purpose:
; This module contains the _disable() function.
;
;*******************************************************************************
include version.inc
.xlist
include cmacros.inc
.list
sBegin code
assumes cs,code
page
;***
;void _disable() - disable processor interrupts
;
;Purpose:
; The function "_disable" disables interrupt processing.
;
; This function should be used with caution!
;
;Entry:
; None.
;
;Exit:
; Interrupts will be disabled
;
;Uses:
;
;Exceptions:
;
;*******************************************************************************
cProc _disable,
cBegin
cli ; disable interrupts
ret
cEnd
sEnd
end
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/