Last change
on this file since b8080f6 was 3ae31e9, checked in by Thomas Lopatic <thomas@…>, 8 years ago |
Imported original source code.
|
-
Property mode
set to
100755
|
File size:
1007 bytes
|
Rev | Line | |
---|
[3ae31e9] | 1 | /*
|
---|
| 2 | =============================================================================
|
---|
| 3 | fspars.h -- File system parameters
|
---|
| 4 | Version 4 -- 1987-12-15 -- D.N. Lynx Crowe
|
---|
| 5 | =============================================================================
|
---|
| 6 | */
|
---|
| 7 |
|
---|
| 8 | #ifndef NSTREAMS /* ony define these 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 (long) * BUFSIZL) /* buffer length -- chars */
|
---|
| 18 |
|
---|
| 19 | #define BPSEC 512 /* bytes per disk sector */
|
---|
| 20 | #define FILESHFT 9 /* file shift */
|
---|
| 21 |
|
---|
| 22 | #define MAXFAT 7 /* maximum number of fat sectors */
|
---|
| 23 | #define WDPSEC 256 /* words per sector */
|
---|
| 24 | #define MAXDIRNT 224 /* maximum number of directory entries */
|
---|
| 25 |
|
---|
| 26 | typedef char *io_arg; /* must be big enough to contain a pointer */
|
---|
| 27 |
|
---|
| 28 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.