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

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

Started to rework include files.

  • Property mode set to 100644
File size: 943 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#define TBUFFER 1 /* non-zero to enable track buffering */
11
12#define NSTREAMS 11 /* maximum number of file streams */
13#define MAXCHAN 11 /* maximum number of I/O channel fd's */
14#define MAXDFILE 8 /* maximum number of open DISK files */
15
16#define BUFSIZL 256 /* buffer length -- longs */
17#define BUFSIZ (sizeof (int32_t) * BUFSIZL)
18 /* buffer length -- chars */
19
20#define BPSEC 512 /* bytes per disk sector */
21#define FILESHFT 9 /* file shift */
22
23#define MAXFAT 7 /* maximum number of fat sectors */
24#define WDPSEC 256 /* words per sector */
25#define MAXDIRNT 224 /* maximum number of directory entries */
26
27typedef void *io_arg; /* must be big enough to contain a pointer */
Note: See TracBrowser for help on using the repository browser.