The time and date fields use the following "packed" storage format:
Packed Time:
15:11 - > Hour
10:5 - > Minute
4:0 - > Second / 2
Packed Date:
Type: Posts; User: neversell
The time and date fields use the following "packed" storage format:
Packed Time:
15:11 - > Hour
10:5 - > Minute
4:0 - > Second / 2
Packed Date:
here is the structures for date, time and attribute
suppose that there are the date( 2 bytes ), time( 2 bytes ) and attribute( 1 byte ) stored somewhere inside array of buffer.
here is the...
the data in "disk.img" is written, as a structure identical to "Disk".
this file is made from the floopy disk.
floppy disks have a logical sector size of 512 bytes.
that is why 512 is there....
here is the code:
/* ===== SharedDisk.h ===== */
#ifndef __SHAREDISK__
#define __SHAREDISK__
typedef struct
thx man
that is helped a lot.
typedef struct
{
char Jump[ 3 ];
char Manufacturer[ 8 ];
char BytesPerSector[ 2 ];
} Disk;
in a funtion, there is this
Disk *theDisk
thx for the help
that helps me a lot
here is my code:
/* ===== SharedDisk.h ===== */
#ifndef __SHAREDISK__
#define __SHAREDISK__
typedef struct
{
thx for the help
:)