Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

52 lines
1.3 KiB

;/************************************************************************
;* *
;* < SYSTEM Application Program > *
;* *
;* *
;* COPYRIGHT (C) NEC CORPORATION 1989 *
;* *
;* NEC CONFIDENTAL AND PROPRIETARY *
;* *
;* All rights reserved by NEC Corporation. *
;* this program must be used solely for *
;* the purpose for which it was furnished *
;* by NEC Corporation. No part of this program *
;* may be reproduced or disclosed to others, *
;* in any from, without the prior written *
;* permission of NEC Corporation. *
;* Use of copyright notice does not evidence *
;* publication of this program. *
;* *
;*************************************************************************/
;------------------------------ Module Header ------------------------------;
; Module Name: Timer interface procedures
;
; Created: 03-08-90 NEC Y.Ueno
INTMASK EQU 2
TIMODESET EQU 77H
TICNTSET EQU 71H
EOI EQU 20H
EOIPORT EQU 0
TIMERMASK EQU 01H
mask macro code
cli ; mask timer int
in al,02h
delay 8259,I-O
or al,code
out 02h,al
jmp $+2
sti
endm
unmask macro code
cli ; mask timer int
in al,02h
delay 8259,I-O
and al,not code
out 02h,al
jmp $+2
sti
endm