[526a993] | 1 | /*
|
---|
| 2 | =============================================================================
|
---|
| 3 | libdsp.c -- external declarations
|
---|
| 4 | =============================================================================
|
---|
| 5 | */
|
---|
| 6 |
|
---|
[6262b5c] | 7 | #pragma once
|
---|
| 8 |
|
---|
| 9 | #include "stdint.h"
|
---|
[6aa430b] | 10 | #include "stdio.h"
|
---|
[6262b5c] | 11 |
|
---|
| 12 | /*
|
---|
| 13 | =============================================================================
|
---|
[526a993] | 14 | external variables
|
---|
[6262b5c] | 15 | =============================================================================
|
---|
| 16 | */
|
---|
| 17 |
|
---|
| 18 | extern int8_t *ftypes[][3];
|
---|
| 19 | extern int16_t lbrpal[16][3];
|
---|
| 20 | extern int8_t ld_em1[];
|
---|
| 21 | extern int8_t ld_em2[];
|
---|
| 22 |
|
---|
| 23 | /*
|
---|
| 24 | =============================================================================
|
---|
[526a993] | 25 | external functions
|
---|
[6262b5c] | 26 | =============================================================================
|
---|
| 27 | */
|
---|
| 28 |
|
---|
| 29 | extern void advlcur(void);
|
---|
| 30 | extern void bsplcur(void);
|
---|
[298f0b4] | 31 | extern int32_t chksum(void *area, int32_t len);
|
---|
[6262b5c] | 32 | extern int16_t ckdups(void);
|
---|
| 33 | extern int16_t ckstor(void);
|
---|
| 34 | extern void clrcat(void);
|
---|
| 35 | extern int16_t clreq(int32_t bytes);
|
---|
[494d8ff] | 36 | extern void dslslot(int16_t slot, int16_t fg, int16_t row);
|
---|
[432327d] | 37 | extern uint16_t exp_c(int16_t c);
|
---|
[6262b5c] | 38 | extern int16_t fcindex(void);
|
---|
| 39 | extern void fcreset(void);
|
---|
| 40 | extern int8_t *fctstr(int16_t ns, int16_t just);
|
---|
| 41 | extern int16_t ftkind(int16_t ns);
|
---|
| 42 | extern int16_t getcat(int16_t msgsw);
|
---|
| 43 | extern int16_t getslot(void);
|
---|
| 44 | extern void ldbord(void);
|
---|
| 45 | extern void ldbusy(int8_t *msg);
|
---|
| 46 | extern int16_t ldline(int16_t cy);
|
---|
| 47 | extern void ldpoint(int16_t x, int16_t y, int16_t pen);
|
---|
| 48 | extern void ldswin(int16_t n);
|
---|
[494d8ff] | 49 | extern void ldwmsg(int8_t *line1, int8_t *line2, int8_t *line3, int16_t fgcolor, int16_t bgcolor);
|
---|
[6262b5c] | 50 | extern void libdsp(void);
|
---|
| 51 | extern int16_t lin2slt(int16_t line);
|
---|
| 52 | extern void lmwclr(void);
|
---|
| 53 | extern void lmwvtyp(void);
|
---|
| 54 | extern void lwins(void);
|
---|
| 55 | extern void makelh(int16_t kind);
|
---|
| 56 | extern void noslot(int16_t fctype);
|
---|
| 57 | extern int16_t ocslot(int16_t slot);
|
---|
| 58 | extern int16_t putcat(void);
|
---|
[298f0b4] | 59 | extern int16_t rd_ec(FILE *fp, void *to, int32_t len);
|
---|
[6262b5c] | 60 | extern int16_t showcat(void);
|
---|
| 61 | extern int16_t showsiz(void);
|
---|
| 62 | extern int8_t *slotnam(uint16_t slot, uint16_t kind);
|
---|
| 63 | extern int16_t spacerq(int16_t kind);
|
---|
| 64 | extern int16_t srchcat(int8_t extn[]);
|
---|
| 65 | extern int16_t storit(void);
|
---|
| 66 | extern void streset(void);
|
---|
[298f0b4] | 67 | extern int16_t wr_ec(FILE *fp, void *from, int32_t len);
|
---|
[6262b5c] | 68 | extern int16_t writem(void);
|
---|
| 69 | extern int16_t wrtfile(int16_t kind);
|
---|