/* ============================================================================= fsinit.c -- external declarations ============================================================================= */ #pragma once #include "biosdefs.h" #include "fspars.h" #include "io.h" #include "stdint.h" #include "stdio.h" /* ============================================================================= external variables ============================================================================= */ extern FILE Cbuffs[11]; extern int32_t Stdbuf[8][256]; extern int8_t *Stdbufs; extern int8_t Wrkbuf[512]; extern int16_t _b_sect; extern int16_t _b_side; extern int16_t _b_tbuf[9][256]; extern int16_t _b_trak; extern int16_t _b_tsec; extern struct fcb _fcbtab[8]; extern struct channel chantab[11]; /* ============================================================================= external functions ============================================================================= */ extern void InitCH(struct channel *cp, int8_t rdi, int8_t wri, int8_t ioi, int8_t ski, int16_t (*cfp)(), io_arg charg); extern void InitFS(void); extern void Init_CB(FILE *fp, int8_t unit, int8_t flags, int32_t *bufad, int16_t bufsize); extern int16_t _badfd(void); extern int16_t _noper(void);