source: buchla-68k/include/fspars.h@ 4b63bf3

Last change on this file since 4b63bf3 was 8973acd, checked in by Thomas Lopatic <thomas@…>, 7 years ago

No more warnings in libcio.

  • Property mode set to 100644
File size: 921 bytes
RevLine 
[f40a309]1/*
2 =============================================================================
3 fspars.h -- File system parameters
4 Version 4 -- 1987-12-15 -- D.N. Lynx Crowe
5 =============================================================================
6*/
7
[f7428b1]8#pragma once
[f40a309]9
[5fa506d]10#include "stdint.h"
11
[f40a309]12#define TBUFFER 1 /* non-zero to enable track buffering */
13
14#define NSTREAMS 11 /* maximum number of file streams */
15#define MAXCHAN 11 /* maximum number of I/O channel fd's */
16#define MAXDFILE 8 /* maximum number of open DISK files */
17
[f7428b1]18#define BUFSIZL 256 /* buffer length -- longs */
19#define BUFSIZ (sizeof (int32_t) * BUFSIZL)
20 /* buffer length -- chars */
[f40a309]21
22#define BPSEC 512 /* bytes per disk sector */
23#define FILESHFT 9 /* file shift */
24
25#define MAXFAT 7 /* maximum number of fat sectors */
26#define MAXDIRNT 224 /* maximum number of directory entries */
27
[f7428b1]28typedef void *io_arg; /* must be big enough to contain a pointer */
Note: See TracBrowser for help on using the repository browser.