MSC fixes and small cleanups from Lucho

git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@970 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
Bart Oldeman 2004-05-29 09:51:47 +00:00
parent 41edf4f640
commit 2c8a4b8c34
4 changed files with 8 additions and 8 deletions

View File

@ -296,6 +296,11 @@ struct Gioc_media {
BYTE ioc_fstype[8];
};
struct Access_info {
BYTE AI_spec;
BYTE AI_Flag;
};
/* */
/* Boot Block (Super Block) */
/* */

View File

@ -81,11 +81,6 @@ UWORD LBA_WRITE_VERIFY = 0x4302;
*/
UBYTE DiskTransferBuffer[1 * SEC_SIZE];
struct Access_info {
BYTE AI_spec;
BYTE AI_Flag;
};
struct FS_info {
ULONG serialno;
BYTE volume[11];

View File

@ -271,7 +271,7 @@ extern UWORD DOSFAR LBA_WRITE_VERIFY;
/* floppy parameter table, at 70:xxxx */
extern unsigned char DOSTEXTFAR ASM int1e_table[0xe];
extern char DOSTEXTFAR DiskTransferBuffer[SEC_SIZE]; /* in dsk.c */
extern char DOSFAR DiskTransferBuffer[SEC_SIZE]; /* in dsk.c */
struct RelocationTable {
UBYTE jmpFar;

View File

@ -99,7 +99,7 @@ COUNT DosDevIOctl(lregs * r)
case 0x0c:
case 0x10:
{
unsigned attr, flags;
unsigned flags;
/* Test that the handle is valid and */
/* get the SFT block that contains the SFT */
@ -195,7 +195,7 @@ COUNT DosDevIOctl(lregs * r)
if (r->AL <= 0x03)
r->AX = CharReqHdr.r_count;
else if (r->AL == 0x06 || r->AL == 0x07)
else if (r->AL <= 0x07)
r->AX = CharReqHdr.r_status & S_BUSY ? 0000 : 0x00ff;
else /* 0x0c or 0x10 */
r->AX = CharReqHdr.r_status;