summaryrefslogtreecommitdiffstats
path: root/private/mvdm/wow16/system/system.inc
blob: b9803624d7bca70340fd9ab8a5749357a8d3743c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
;***************************************************************************
;                                                                          *
;   Copyright (C) 1983,1984 by Microsoft Inc.                              *
;                                                                          *
;***************************************************************************

;***************************************************************************
;                                                                          *
;   Header file for IBM/PC timer device driver.  Contains all machine      *
;   specific constant and data structure definitions.                      *
;                                                                          *
;***************************************************************************

	.xlist
	include cmacros.inc
;	 include windefs.inc
	.list

; picked off romstuff.inc

DSEG equ DATA
doffset EQU <DataOffset>

; Approximate value of timer tic in milliseconds * 1000.

res_low     EQU 54925
res_high    EQU 0

; equates for disk status

REMOVEABLE  equ 2
FIXED       equ 3
REMOTE	    equ 4

; Offset of Single Diskette indicator from beginning of Bios Data Area, 400h

SingleDrive equ 104h

; Timer structure

tiblock     STRUC
tirate      DW  ?       ; -1 means not used, 0 means call as fast as possible
ticount     DW  ?       ; -1 means end of table.
tiproc      DD  ?       ; far proc to call.
tiblock     ENDS