home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of A1200
/
World_Of_A1200.iso
/
programs
/
compress
/
diskarchivers
/
dms
/
developers
/
asm
/
dms_structure
< prev
Wrap
Text File
|
1995-02-27
|
2KB
|
126 lines
**************************************************************************
* Included is the structure of the headers for .DMS / .FMS files
*
* this is for those which may want to make their own DMS file validator
* At the moment only ASM sources are included.
**************************************************************************
DMS INFO HEADER STRUCTURE
IDENTIFIER: TEXT;LONGWORD "DMS!"
header: TEXT;LONGWORD
equ "PRO "
equ "FILE"
Infobits LONGWORD
NOZERO or 1
ENCRYPT or 2
APPENDS or 4
BANNER or 8
HIGHDENSITY or 16
PC or 32
DMS_DEVICE_FIX or 64
FILE_ID.DIZ or 256
DATE: LONGWORD
LOWTRACK: WORD
HIGHTRACK: WORD
PACKEDSIZE: LONGWORD
UNPACKEDSIZE: LONGWORD
OS_Version WORD
or $8000 ;AMIGA_AGA_COMPUTER
OS_REVISION WORD
MachineCPU WORD
set 0 ;68000
set 1 ;68010
set 2 ;68020
set 3 ;68030
set 4 ;68040
set 5 ;68060
set 6 ;8086
set 7 ;8088
set 8 ;80188
set 9 ;80186
set 10 ;80286
set 11 ;80386SX
set 12 ;80386
set 13 ;80486
set 14 ;80586
CPUCopro WORD
set 0 ;NONE
set 1 ;68881
set 2 ;68882
set 3 ;8087
set 4 ;80287SX
set 5 ;80387
MachineType WORD
set 0 ;UNKNOWN
set 1 ;AMIGA
set 2 ;PC CLONE
set 3 ;ATARI
set 4 ;MACINTOSH
Ununsed WORD
CPUmhz WORD ;speed of CPU with 2decimals
;ex. cpu speed = 25.00
;then value = 2500
Timecreate LONGWORD
VersionCreator WORD
VersionNeeded WORD
DisketteType WORD
set 0 ;UNKNOWN
set 1 ;AMIGA OS 1.0 OFS
set 2 ;AMIGA OS 1.0 FFS
set 3 ;AMIGA OS 3.0 INTERNATIONAL
set 4 ;AMIGA OS 3.0 FFS/INTERNATIONAL
set 5 ;AMIGA OS 3.0 DIRCACHE
set 6 ;AMIGA OS 3.0 FFS/DIRCACHE
set 7 ;File Masher System
Compressionmode WORD
set 0 ;NOCOMP
set 1 ;SIMPLE
set 2 ;QUICK
set 3 ;MEDIUM
set 4 ;DEEP
set 5 ;HEAVY1
set 6 ;HEAVY2
set 7 ;HEAVY3
set 8 ;HEAVY4
set 9 ;HEAVY5
InfoHeaderCRC WORD
DMS_HEADER_SIZE equ $34
HeaderID1 TEXT;WORD "TR"
Tracknumber WORD
UNUSED WORD
Packlength WORD
UNUSED WORD
Unpacklength WORD
Cflag_ BYTE
CmodeTrk BYTE
set 0 ;NOCOMP
set 1 ;SIMPLE
set 2 ;QUICK
set 3 ;MEDIUM
set 4 ;DEEP
set 5 ;HEAVY1
set 6 ;HEAVY2
set 7 ;HEAVY3
set 8 ;HEAVY4
set 9 ;HEAVY5
Usum_ WORD ;UNPACKED DATA CRC
Dcrc_ WORD ;PACKED DATA CRC
Hcrc_ WORD ;Infoheader CRC
TR_DATA SIZE of length_of packlength
DMS_TRDATA_HEADER_SIZE equ $14