[526a993] | 1 | /*
|
---|
| 2 | =============================================================================
|
---|
| 3 | fsinit.c -- external declarations
|
---|
| 4 | =============================================================================
|
---|
| 5 | */
|
---|
| 6 |
|
---|
[6262b5c] | 7 | #pragma once
|
---|
| 8 |
|
---|
| 9 | #include "biosdefs.h"
|
---|
[6aa430b] | 10 | #include "fspars.h"
|
---|
[6262b5c] | 11 | #include "io.h"
|
---|
| 12 | #include "stdint.h"
|
---|
[6aa430b] | 13 | #include "stdio.h"
|
---|
[6262b5c] | 14 |
|
---|
| 15 | /*
|
---|
| 16 | =============================================================================
|
---|
[526a993] | 17 | external variables
|
---|
[6262b5c] | 18 | =============================================================================
|
---|
| 19 | */
|
---|
| 20 |
|
---|
[2340de6] | 21 | extern FILE Cbuffs[NSTREAMS];
|
---|
| 22 | extern int32_t Stdbuf[MAXDFILE][BUFSIZL];
|
---|
[8973acd] | 23 | extern int32_t *Stdbufs;
|
---|
[2340de6] | 24 | extern int8_t Wrkbuf[BPSEC];
|
---|
[6262b5c] | 25 | extern int16_t _b_sect;
|
---|
| 26 | extern int16_t _b_side;
|
---|
| 27 | extern int16_t _b_tbuf[9][256];
|
---|
| 28 | extern int16_t _b_trak;
|
---|
| 29 | extern int16_t _b_tsec;
|
---|
[2340de6] | 30 | extern struct fcb _fcbtab[MAXDFILE];
|
---|
| 31 | extern struct channel chantab[MAXCHAN];
|
---|
[6262b5c] | 32 |
|
---|
| 33 | /*
|
---|
| 34 | =============================================================================
|
---|
[526a993] | 35 | external functions
|
---|
[6262b5c] | 36 | =============================================================================
|
---|
| 37 | */
|
---|
| 38 |
|
---|
[8973acd] | 39 | extern void InitCH(struct channel *cp, int16_t rdi, int16_t wri, int16_t ioi, int16_t ski, chclo cfp, io_arg charg);
|
---|
[6262b5c] | 40 | extern void InitFS(void);
|
---|
[8973acd] | 41 | extern void Init_CB(FILE *fp, uint8_t flags, int16_t unit, int32_t *bufad, int16_t bufsize);
|
---|
[6262b5c] | 42 | extern int16_t _badfd(void);
|
---|
| 43 | extern int16_t _noper(void);
|
---|
[4a17aeb] | 44 |
|
---|
| 45 | extern int16_t _badfc(io_arg arg);
|
---|
[8973acd] | 46 | extern int16_t _badfio(io_arg arg, void *buff, int16_t len);
|
---|
[4a17aeb] | 47 | extern int16_t _nopc(io_arg arg);
|
---|
[f261cc8] | 48 | extern int16_t _nopo(int8_t *name, uint16_t flags, struct channel *chp, struct devtabl *dp);
|
---|