home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
assemblr
/
library
/
lib4a86
/
lib
/
diskll.mab
< prev
next >
Wrap
Text File
|
1992-02-02
|
2KB
|
86 lines
BIOS_PARAMETER_BLOCK STRUC [BX]
BPB_BYTES_PER_SEKTOR DW ?
BPB_SEKTOR_PER_CLUSTER DB ?
BPB_RESERVED_SEKTORS DW ?
BPB_FATS DB ?
BPB_ROOTDIRENTRYS DW ?
BPB_MAXSEKTORS DW ?
BPB_MEDIADESKRIPTOR DB ?
BPB_SEKTORS_PER_FAT DW ?
BPB_SEKTORS_PER_TRACK DW ?
BPB_HEADS DW ?
BPB_FIRSTSECTOROFFS DD ?
BPB_UNKNOWN DB 0BH DUP ?
BPB_MAXSEKTORS1 DD ?
BPB_UNKNOWN1 DB 7 DUP ?
ENDS
DISKBOOTBLOCK3 STRUC [BX]
DISKBOOTBL3_JMP DB 3 DUP ?
DISKBOOTBL3_NAME DB 8 DUP ?
DISKBOOTBL3_BYTES_SECTOR DW ?
DISKBOOTBL3_SECTOR_CLUSTER DB ?
DISKBOOTBL3_RESERVED_SECTORS DW ?
DISKBOOTBL3_FATS DB ?
DISKBOOTBL3_ROOTDIRENTRYS DW ?
DISKBOOTBL3_MAXSEKTORS DW ?
DISKBOOTBL3_MEDIAID DB ?
DISKBOOTBL3_SEKTORS_FAT DW ?
DISKBOOTBL3_SEKTORS_TRACK DW ?
DISKBOOTBL3_HEADS DW ?
DISKBOOTBL3_HIDDENSEKTORS DW ?
ENDS
DISKBOOTBLOCK4 STRUC [BX]
DISKBOOTBL4_JMP DB 3 DUP ?
DISKBOOTBL4_NAME DB 8 DUP ?
DISKBOOTBL4_BYTES_SECTOR DW ?
DISKBOOTBL4_SECTOR_CLUSTER DB ?
DISKBOOTBL4_RESERVED_SECTORS DW ?
DISKBOOTBL4_FATS DB ?
DISKBOOTBL4_ROOTDIRENTRYS DW ?
DISKBOOTBL4_MAXSEKTORS DW ?
DISKBOOTBL4_MEDIAID DB ?
DISKBOOTBL4_SEKTORS_FAT DW ?
DISKBOOTBL4_SEKTORS_TRACK DW ?
DISKBOOTBL4_HEADS DW ?
DISKBOOTBL4_HIDDENSEKTORS DW ?
DISKBOOTBL4_UNKNOWN1 DW ?
DISKBOOTBL4_MAXSEKTORS1 DD ?
DISKBOOTBL4_PHYSICAL_DRIVE DB ?
DISKBOOTBL4_UNKNOWN2 DB ?
DISKBOOTBL4_ID DB ?
DISKBOOTBL4_IDNUMBER DD ?
DISKBOOTBL4_NAME1 DB 0BH DUP ?
DISKBOOTBL4_UNKNOWN3 DB 08H DUP ?
ENDS
GETDISKBOOTBLOCK MACRO
MOV AX,0201H
MOV DH,0
MOV CX,1
INT 13H
#EM
DISKPARTITIONSTABELLE STRUC [BX]
DPT_STATUS DB ?
DPT_FIRST_HEAD DB ?
DPT_FIRST_SEKTOR DW ?
DPT_PARTITIONSTYP DB ?
DPT_LAST_HEAD DB ?
DPT_LAST_SEKTOR DW ?
DPT_FIRSTABSSEK DD ?
DPT_SEKTORCOUNT DD ?
ENDS
MASTERBOOTPROGRAMM EQU 0000H
PARTITION1 EQU 01BEH
PARTITION2 EQU 01CEH
PARTITION3 EQU 01DEH
PARTITION4 EQU 01EEH
DIRENTRY STRUC [BX]
DIRENTRY_NAME DB 8 DUP ?
DIRENTRY_EXT DB 3 DUP ?
DIRENTRY_ATTR DB ?
DIRENTRY_RESERVED DB 0AH DUP ?
DIRENTRY_TIME DW ?
DIRENTRY_DATE DW ?
DIRENTRY_CLUSTER DW ?
DIRENTRY_LENGTH DD ?
ENDS