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