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:
Kenneth J Davis 2012-02-06 21:40:53 +00:00
parent e459a08d4e
commit 3646728b53
2 changed files with 4 additions and 6 deletions

View File

@ -3,10 +3,8 @@
/* dsk.h */
/* Disk access Header File */
/* */
/* November 20, 1991 */
/* */
/* Copyright (c) 1995 */
/* Pasquale J. Villani */
/* Copyright (c) 2012 */
/* FreeDOS */
/* All Rights Reserved */
/* */
/* This file is part of DOS-C. */
@ -29,5 +27,5 @@
#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

View File

@ -302,7 +302,7 @@ _clock dd 0 ; 0008 CLOCK$ device
global _syscon
_syscon dw _con_dev,seg _con_dev ; 000c console device
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
global _CDSp
_CDSp dd 0 ; 0016 Current Directory Structure