]> wirehaze git hosting - MS-DOS.git/blob - v4.0/src/INC/SYSVAR.INC

wirehaze git hosting

MZ is back!
[MS-DOS.git] / v4.0 / src / INC / SYSVAR.INC
1 ; SCCSID = @(#)sysvar.asm 1.1 85/04/10
2 include version.inc
3
4 SysInitVars STRUC
5 SYSI_DPB DD ? ; DPB chain
6 SYSI_SFT DD ? ; SFT chain
7 SYSI_CLOCK DD ? ; CLOCK device
8 SYSI_CON DD ? ; CON device
9 SYSI_MAXSEC DW ? ; maximum sector size
10 SYSI_BUF DD ? ; points to Hashinitvar
11 SYSI_CDS DD ? ; CDS list
12 SYSI_FCB DD ? ; FCB chain
13 SYSI_Keep DW ? ; keep count
14 SYSI_NUMIO DB ? ; Number of block devices
15 SYSI_NCDS DB ? ; number of CDS's
16 SYSI_DEV DD ? ; device list
17 SYSI_ATTR DW ? ; null device attribute word
18 SYSI_STRAT DW ? ; null device strategy entry point
19 SYSI_INTER DW ? ; null device interrupt entry point
20 SYSI_NAME DB 8 DUP(?) ; null device name
21 SYSI_SPLICE DB 0 ; TRUE -> splicees being done
22 SYSI_IBMDOS_SIZE DW ? ; DOS size in paragraphs
23 SYSI_IFS_DOSCALL@ DD ? ; IFS DOS service rountine entry
24 SYSI_IFS DD ? ; IFS header chain
25 SYSI_BUFFERS DW ?,0 ; BUFFERS= values (m,n)
26 SYSI_BOOT_DRIVE DB ? ; boot drive A=1 B=2,..
27 SYSI_DWMOVE DB 0 ; 1 if 386 machine
28 SYSI_EXT_MEM DW 0 ; Extended memory size in KB.
29 SysInitVars ENDS
30
31 ;This is added for more information exchage between DOS, BIOS.
32 ;DOS will give the pointer to SysInitTable in ES:DI. - J.K. 5/29/86
33 SysInitVars_Ext struc
34 SYSI_InitVars DD 0 ; Points to the above structure.
35 SYSI_Country_Tab DD 0 ; DOS_Country_cdpg_info
36 SysInitVars_Ext ends
37
38 ;The SYSI_BUF of SysInitVars points to the follwong structure
39 EMS_MAP_BUFF_SIZE EQU 12 ; EMS map buffer size
40
41 Buffinfo STRUC
42 Hash_ptr DD ? ; pointer to Hash table
43 Hash_count DW ? ; number of Hash entries
44 Cache_ptr DD ? ; pointer to secondary cache
45 Cache_count DW 0 ; number of secondary cache entries
46
47 IF BUFFERFLAG
48
49 EMS_SAFE_FLAG DB 1
50 EMS_LAST_PAGE DW 0, 0
51 EMS_FIRST_PAGE DW 0, 0
52 EMS_NPA640 DW 0
53
54 ENDIF
55
56 EMS_mode DB -1 ; no EMS = -1
57 EMS_handle DW ? ; EMS handle for buffers
58 EMS_PageFrame_Number DW -1 ; EMS page frame number
59 EMS_Seg_Cnt DW 1 ; EMS segment count
60 EMS_Page_Frame DW -1 ; EMS page frame segment address
61 EMS_reserved DW 0 ; EMS segment count
62
63 IF BUFFERFLAG
64 EMS_Map_Buff DB 0 ; map buffer
65 ELSE
66 EMS_Map_Buff DB 12 dup(0)
67 ENDIF
68
69 Buffinfo ENDS
70
71
72
73
74
75
76
77 \1a