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

Last change on this file since 0170798 was 5fa506d, checked in by Thomas Lopatic <thomas@…>, 7 years ago

Include file cleanup.

  • Property mode set to 100644
File size: 964 bytes
Line 
1/*
2 =============================================================================
3 fspars.h -- File system parameters
4 Version 4 -- 1987-12-15 -- D.N. Lynx Crowe
5 =============================================================================
6*/
7
8#pragma once
9
10#include "stdint.h"
11
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
18#define BUFSIZL 256 /* buffer length -- longs */
19#define BUFSIZ (sizeof (int32_t) * BUFSIZL)
20 /* buffer length -- chars */
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 WDPSEC 256 /* words per sector */
27#define MAXDIRNT 224 /* maximum number of directory entries */
28
29typedef void *io_arg; /* must be big enough to contain a pointer */
Note: See TracBrowser for help on using the repository browser.