2007-04-11 18:00:32 +02:00
|
|
|
|
struc diskbuffer
|
2019-07-05 19:44:28 +02:00
|
|
|
|
{
|
|
|
|
|
.size dw 12
|
|
|
|
|
.current dw 0FFFFh
|
|
|
|
|
.chain dw 128 dup (0FFFFh)
|
2019-07-09 10:33:10 +02:00
|
|
|
|
.sizeof = $ - .size
|
2019-07-05 19:44:28 +02:00
|
|
|
|
}
|
2007-04-11 18:00:32 +02:00
|
|
|
|
|
2007-03-13 21:56:55 +01:00
|
|
|
|
struc dpt
|
2019-07-05 19:44:28 +02:00
|
|
|
|
{
|
|
|
|
|
.steprateheadunload db 0DFh ;Vitesse de progression & montee de la tete
|
|
|
|
|
.dmaflagheadload db 002h ;Etat Dma et temps de descente de la tete
|
|
|
|
|
.delaymotoroff db 025h ;Temps avant extinction moteur
|
|
|
|
|
.bytepersector db 002h ;Taille des secteurs
|
|
|
|
|
.sectorpertracks db 000h ;Nombre de secteur par piste
|
|
|
|
|
.intersectgaplength db 01Bh ;Taille du GAP3 en lecture/<EFBFBD>criture
|
|
|
|
|
.datalength db 0FFh ;Longueur du transfert de donn<EFBFBD>es
|
|
|
|
|
.intersectgaplengthf db 054h ;Taille du GAP3 en formatage
|
|
|
|
|
.formatbyte db 0F6h ;Octet de formatage
|
|
|
|
|
.headsettlingtime db 000h ;Temps de repos des t<EFBFBD>tes
|
|
|
|
|
.delaymotornormspeed db 008h ;Temps de mont<EFBFBD>e en vitesse du moteur
|
2019-07-09 10:33:10 +02:00
|
|
|
|
.sizeof = $ - .steprateheadunload
|
2019-07-05 19:44:28 +02:00
|
|
|
|
}
|
2004-06-12 23:34:04 +02:00
|
|
|
|
|
2007-03-13 21:56:55 +01:00
|
|
|
|
struc entries
|
2019-07-05 19:44:28 +02:00
|
|
|
|
{
|
|
|
|
|
.filename db 8 dup (0)
|
|
|
|
|
.filext db 3 dup (0)
|
|
|
|
|
.fileattr db 0
|
|
|
|
|
.filereserved db 0
|
|
|
|
|
.filetimecreams db 0 ;(*10 ms)
|
|
|
|
|
.filetimecrea dw 0
|
|
|
|
|
.filedatecrea dw 0
|
|
|
|
|
.filedateacc dw 0
|
|
|
|
|
.filenotused dw 0
|
|
|
|
|
.filetime dw 0
|
|
|
|
|
.filedate dw 0
|
|
|
|
|
.filegroup dw 0
|
|
|
|
|
.filesize dd 0
|
2019-07-09 10:33:10 +02:00
|
|
|
|
.sizeof = $ - .filename
|
2019-07-05 19:44:28 +02:00
|
|
|
|
}
|
2019-07-14 12:47:14 +02:00
|
|
|
|
virtual at 0
|
|
|
|
|
entries entries
|
|
|
|
|
end virtual
|
2004-06-12 23:34:04 +02:00
|
|
|
|
|
2007-03-14 11:03:11 +01:00
|
|
|
|
;Pour recherches
|
2019-07-06 10:52:53 +02:00
|
|
|
|
struc find files
|
2019-07-05 19:44:28 +02:00
|
|
|
|
{
|
|
|
|
|
.files db 13 dup (0) ;le fichier
|
|
|
|
|
.entryplace dw 0 ;En octet
|
|
|
|
|
.adressdirectory dw 0 ;En cluster
|
|
|
|
|
.firstsearch db 1 ;Premiere requete ?
|
2019-07-06 10:52:53 +02:00
|
|
|
|
.result entries
|
2019-07-09 10:33:10 +02:00
|
|
|
|
.sizeof = $ - .files
|
2019-07-05 19:44:28 +02:00
|
|
|
|
}
|
2007-03-14 11:03:11 +01:00
|
|
|
|
|
2019-07-05 19:44:28 +02:00
|
|
|
|
struc bootinfo vendor,drivename,serialnumber
|
|
|
|
|
{
|
|
|
|
|
.vendor db 'COS2000A' ;Fabricant + n<EFBFBD>s<EFBFBD>rie Formatage
|
|
|
|
|
.sectorsize dw 512 ;octet/secteur
|
|
|
|
|
.sectorspercluster db 1 ;secteur/cluster
|
|
|
|
|
.reservedsectors dw 1 ;secteur reserv<EFBFBD>
|
|
|
|
|
.fatsperdrive db 2 ;nb de copie de la FAT
|
|
|
|
|
.directorysize dw 224 ;taille rep racine
|
|
|
|
|
.sectorsperdrive dw 2880 ;nb secteur du volume si < 32 m<EFBFBD>g
|
|
|
|
|
.mediadescriptor db 0F0h ;Descripteur de m<EFBFBD>dia
|
|
|
|
|
.sectorsperfat dw 9 ;secteur/FAT
|
|
|
|
|
.sectorspertrack dw 18 ;secteur/piste
|
|
|
|
|
.headsperdrive dw 2 ;nb de t<EFBFBD>teb de lecture/<EFBFBD>criture
|
|
|
|
|
.hiddensectorsh dw 0 ;nombre de secteur cach<EFBFBD>s
|
|
|
|
|
.hiddensectorsl dw 0 ;
|
|
|
|
|
.sectorperdisk2 dd 0 ;Nombre secteur du volume si > 32 Mo+20h ; the number of sectors
|
|
|
|
|
.bootdrive db 0 ;Lecteur de d<EFBFBD>marrage
|
|
|
|
|
.reservedfornt db 0 ;NA
|
|
|
|
|
.bootsign db 29h ;boot signature 29h
|
|
|
|
|
.serialnumber dd 01020304h ;no de serie
|
|
|
|
|
.drivename db 'COS2000 ' ;nom de volume
|
|
|
|
|
.typeoffat db 'FAT12 ' ;FAT
|
2019-07-09 10:33:10 +02:00
|
|
|
|
.sizeof = $ - .vendor
|
2019-07-05 19:44:28 +02:00
|
|
|
|
}
|