source: buchla-68k/libcio/fsinit.x@ 7bb1284

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

Fixed argument order.

  • Property mode set to 100644
File size: 1.5 KB
Line 
1/*
2 =============================================================================
3 fsinit.c -- external declarations
4 =============================================================================
5*/
6
7#pragma once
8
9#include "biosdefs.h"
10#include "fspars.h"
11#include "io.h"
12#include "stdint.h"
13#include "stdio.h"
14
15/*
16 =============================================================================
17 external variables
18 =============================================================================
19*/
20
21extern FILE Cbuffs[NSTREAMS];
22extern int32_t Stdbuf[MAXDFILE][BUFSIZL];
23extern int8_t *Stdbufs;
24extern int8_t Wrkbuf[BPSEC];
25extern int16_t _b_sect;
26extern int16_t _b_side;
27extern int16_t _b_tbuf[9][256];
28extern int16_t _b_trak;
29extern int16_t _b_tsec;
30extern struct fcb _fcbtab[MAXDFILE];
31extern struct channel chantab[MAXCHAN];
32
33/*
34 =============================================================================
35 external functions
36 =============================================================================
37*/
38
39extern void InitCH(struct channel *cp, int8_t rdi, int8_t wri, int8_t ioi, int8_t ski, chclo cfp, io_arg charg);
40extern void InitFS(void);
41extern void Init_CB(FILE *fp, int8_t flags, int8_t unit, int32_t *bufad, int16_t bufsize);
42extern int16_t _badfd(void);
43extern int16_t _noper(void);
44
45extern int16_t _badfc(io_arg arg);
46extern int16_t _badfio(io_arg arg, int8_t *buff, int16_t len);
47extern int16_t _nopc(io_arg arg);
48extern int16_t _nopo(int8_t *name, int16_t flag, int16_t mode, struct channel *chp, struct devtabl *dp);
Note: See TracBrowser for help on using the repository browser.