mirror of
https://github.com/FDOS/kernel.git
synced 2025-07-28 08:14:07 +02:00
only 512 bytes supported for now
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1704 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
parent
e459a08d4e
commit
3646728b53
@ -3,10 +3,8 @@
|
|||||||
/* dsk.h */
|
/* dsk.h */
|
||||||
/* Disk access Header File */
|
/* Disk access Header File */
|
||||||
/* */
|
/* */
|
||||||
/* November 20, 1991 */
|
/* Copyright (c) 2012 */
|
||||||
/* */
|
/* FreeDOS */
|
||||||
/* Copyright (c) 1995 */
|
|
||||||
/* Pasquale J. Villani */
|
|
||||||
/* All Rights Reserved */
|
/* All Rights Reserved */
|
||||||
/* */
|
/* */
|
||||||
/* This file is part of DOS-C. */
|
/* This file is part of DOS-C. */
|
||||||
@ -29,5 +27,5 @@
|
|||||||
|
|
||||||
|
|
||||||
#ifndef MAX_SEC_SIZE
|
#ifndef MAX_SEC_SIZE
|
||||||
#define MAX_SEC_SIZE (4*512) /* max supported size of sector in bytes */
|
#define MAX_SEC_SIZE (1*512) /* max supported size of sector in bytes */
|
||||||
#endif
|
#endif
|
||||||
|
@ -302,7 +302,7 @@ _clock dd 0 ; 0008 CLOCK$ device
|
|||||||
global _syscon
|
global _syscon
|
||||||
_syscon dw _con_dev,seg _con_dev ; 000c console device
|
_syscon dw _con_dev,seg _con_dev ; 000c console device
|
||||||
global _maxsecsize
|
global _maxsecsize
|
||||||
_maxsecsize dw 4096 ; 0010 maximum bytes/sector of any block device
|
_maxsecsize dw 512 ; 0010 maximum bytes/sector of any block device
|
||||||
dd 0 ; 0012 pointer to buffers info structure
|
dd 0 ; 0012 pointer to buffers info structure
|
||||||
global _CDSp
|
global _CDSp
|
||||||
_CDSp dd 0 ; 0016 Current Directory Structure
|
_CDSp dd 0 ; 0016 Current Directory Structure
|
||||||
|
Loading…
x
Reference in New Issue
Block a user