Hola chic@s! (habrá chicas realmente?)
Bueno .. que estoy con mis lios de MSXDOS y resulta que he visto por ahí un par de definiciones de los FCB (File Control Block) y la pregunta es .. cual es el correcto?
Aquí os los pongo:
// SEGUN LA ASSEMBLY y también del manual de MSXDOS
typedef struct
{
unsigned char drive;
char name[8];
char ext[3];
unsigned char extent1
unsigned int attrib;
unsigned char extent2;
unsigned char recordCount;
unsigned long fileSize;
unsigned long volID;
unsigned char internal[8];
unsigned char currentRecord;
unsigned long randomRecord;
} FCB;
// SEGUN MSX-TECH
typedef struct
{
unsigned char drive;
unsigned char name[8];
unsigned char ext[3];
unsigned char currentBlock;
unsigned int recordSize;
unsigned long fileSize;
unsigned int date;
unsigned int time;
unsigned char deviceID;
unsigned char dirLoc;
unsigned int topCluster;
unsigned int lastCluster;
unsigned int relLoc;
unsigned char curRecExt;
unsigned long rndRecord;
} FCB;
Saludos y gracias!