IFTEMP00 = 0
IFDEF DEBUG
IFTEMP00 = 1
ENDIF
IFDEF PMDEBUG
IFTEMP00 = 1
ENDIF
IF IFTEMP00
HYBERDEBUG_S	EQU	1                
HYBERDEBUG_R	EQU	1                
else
HYBERDEBUG_S	EQU	0                
HYBERDEBUG_R	EQU	0                
endif

hyberComm_s	STRUC
hc_dlm	DB	?
hc_dll	DB	?
hc_mcr	DB	?
hc_ien	DB	?
hc_lcr	DB	?
pad	DB	?
hyberComm_s	ENDS

hyberComm_t struc
db size hyberComm_s dup(?)
hyberComm_t ends


dlist_s	STRUC
dl_sector	DD	?
dl_count	DD	?
dlist_s	ENDS

dlist_t struc
db size dlist_s dup(?)
dlist_t ends


plist_s	STRUC
pl_frame	DW	?
pl_count	DW	?
plist_s	ENDS

plist_t struc
db size plist_s dup(?)
plist_t ends


hyberInfoHdr_s	STRUC
hih_magicID	DB	12 DUP (?)
ifndef HYBERI13
hih_maxblk	DD	?
hih_SpT	DD	?
hih_SpC	DD	?
hih_avail	DW	?
else  
hih_drive	DB	?
hih_avail	DB	?
endif 
hih_dataloc	DW	?
hih_hldrloc	DW	?
ifdef HYBERI13
hih_iobuf	DW	?
hih_iobuflen	DW	?
endif 
hih_pfcnt	DW	?
hih_dli	DD	?
hih_pli	DD	?
hih_GDTFrame	DW	?
hih_gdt	DW	?
hih_gdt2	DD	?
hih_cs	DW	?
hih_ds	DW	?
hih_ss	DW	?
hih_fs	DW	?
hih_gs	DW	?
hih_idt	DW	?
hih_idt2	DD	?
hih_esp	DD	?
hih_ebp	DD	?
hih_cr0	DD	?
hih_cr2	DD	?
hih_cr3	DD	?
hih_cr4	DD	?
hih_ldt	DW	?
hih_tr	DW	?
hih_flags	DD	?
hih_reentry	DD	?
hih_pt0	DD	?
ifdef HYBERI13
hih_tkssb	DD	?
hih_ptkssb	DD	?
endif 
hih_rtca	DB	?
hih_rtcb	DB	?
hih_tmr0	DB	?
hih_tmr1	DB	?
hih_tmr2	DB	?
hih_pad	DB	?
hih_pic1mask	DB	?
hih_pic2mask	DB	?
hih_com1	DB	SIZE hyberComm_s DUP (?)
hih_com2	DB	SIZE hyberComm_s DUP (?)
hih_com3	DB	SIZE hyberComm_s DUP (?)
hih_com4	DB	SIZE hyberComm_s DUP (?)
ifdef HYBERI13
hih_gdtsave	DB	16 DUP (?)
endif 
hih_debugport	DW	?
hih_hyberflags	DW	?
dlist	DD	?
plist	DD	?
hyberInfoHdr_s	ENDS

hyberInfoHdr_t struc
db size hyberInfoHdr_s dup(?)
hyberInfoHdr_t ends


hyberInfo_s	STRUC
hi_pfnum	DW	?
hi_sfnum	DW	?
hi_chksum	DD	?
hyberInfo_s	ENDS

hyberInfo_t struc
db size hyberInfo_s dup(?)
hyberInfo_t ends

ifdef HYBERI13
TEMPGDT	EQU	60H     
endif 
HYBERPHYSMEM	EQU	0c0000000H 
HYBERFILENAME	EQU	<"\swapper2.dat">
SECTORSIZE	EQU	512 
ifndef PAGESIZE
PAGESIZE	EQU	4096 
endif
VME_supported	EQU	2                
HF_LOADCR4	EQU	0001H 
HF_APM16	EQU	0002H 
HF_APM32	EQU	0004H 
HF_STICKY	EQU	0008H 
HYBR_AGING	EQU	01H 
HYBR_AGERDONE	EQU	10H 
HYBR_OK	EQU	20H 
HYBR_FLUSHBUF2	EQU	30H 
HYBR_INIT	EQU	40H 
HYBR_FLUSHBUF3	EQU	50H 
HYBR_UNDERWAY	EQU	60H 
HYBR_DUMPING	EQU	70H 
HYBR_COMPLETE	EQU	80H 
HYBR_COMINGUP	EQU	90H 
HOP_DLIST	EQU	0                        
HOP_DLIST_CHS	EQU	1                        
HOP_INFOFILE	EQU	2                        
HOP_INFO_CHS	EQU	3                        
HOP_OP	EQU	4                        
HOP_DOSDIR	EQU	5                        
HOP_BIOFILE	EQU	6                        
HOP_BPB	EQU	7                        
HOP_SIZE	EQU	8                        
HOPOP_MASK	EQU	0ffffH 
HOPOP_REBOOT	EQU	0001H 
HOPOP_HYBERNATE	EQU	0                        
HOPOP_TRAPDOOR	EQU	1 
HOPOP_NotUsed	EQU	2                        
HOPOP_STICKY	EQU	3                        

mydata	STRUC
ifndef HYBERI13
maxblk	DD	?
SpT	DD	?
SpC	DD	?
endif 
pdlist	DD	?
pplist	DD	?
dli	DD	?
pli	DD	?
sectorCount	DD	?
ifndef HYBERI13
maxio	DD	?
endif 
scratch1	DW	?
scratch2	DW	?
mydata	ENDS

mydata_t struc
db size mydata dup(?)
mydata_t ends

