source: buchla-68k/misc/proto.x@ 6262b5c

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

Added include files for global functions and variables.

  • Property mode set to 100644
File size: 3.9 KB
Line 
1#pragma once
2
3#include "score.h"
4#include "setjmp.h"
5#include "slice.h"
6#include "stdint.h"
7#include "vsdd.h"
8
9/*
10 =============================================================================
11 proto.c -- global variables
12 =============================================================================
13*/
14
15extern int8_t ac_code;
16extern int16_t errno;
17extern int16_t timers[];
18
19/*
20 =============================================================================
21 proto.c -- global functions
22 =============================================================================
23*/
24
25extern void GLCplot(uint16_t x, uint16_t y, uint16_t val);
26extern void Lo_RAM(void);
27extern void VIint(void);
28extern void _ptcl12(uint16_t *fat, uint16_t cl, uint16_t val);
29extern void clrvce(int16_t vce);
30extern void execins(int16_t vce, int16_t ins, int16_t tag);
31extern void execkey(int16_t trg, int16_t pch, int16_t vce, int16_t tag);
32extern void fpuclr(void);
33extern void fpuint(void);
34extern uint16_t fromfpu(uint16_t fputime);
35extern void halt(void);
36extern void hdvini(void);
37extern void jumpto(void *addr);
38extern void longjmp(struct JMP_BUF *env, int16_t val);
39extern void objclr(uint16_t obj);
40extern void objoff(uint16_t obj, uint16_t line, uint16_t num);
41extern void objon(uint16_t obj, uint16_t line, uint16_t num);
42extern void panic(void);
43extern void pntsup(void);
44extern void procpfl(uint16_t trig);
45extern int32_t rand24(void);
46extern void rjumpto(void *addr);
47extern void se_disp(struct s_entry *ep, int16_t sd, struct gdsel *gdstb[], int16_t cf);
48extern struct s_entry *se_exec(struct s_entry *ep, int16_t sd);
49extern uint16_t setipl(uint16_t arg);
50extern int16_t setjmp(struct JMP_BUF *env);
51extern void setsio(void);
52extern uint16_t setsr(uint16_t sr);
53extern void sjumpto(void *addr, void *stack);
54extern void sreset(void);
55extern uint16_t tofpu(uint16_t time);
56extern int32_t trap13(int16_t fun, ...);
57extern int32_t trap14(int16_t fun, ...);
58extern void trap15(void);
59extern void tsetup(void);
60extern void tsplot4(int16_t *obase, int16_t nw, int16_t fg, int16_t row, int16_t col, int8_t *str, int16_t pitch);
61extern int32_t uldiv(int32_t divid, int32_t divis);
62extern void updfpu(void);
63extern void vbank(uint16_t b);
64extern void vclrav(uint16_t *adr, uint16_t row, uint16_t col, uint16_t atr, uint16_t len);
65extern void vcputs(int16_t *obase, int16_t nw, int16_t fg, int16_t bg, int16_t row, int16_t col, int8_t *str);
66extern void vcputsv(int16_t *obase, int16_t nw, int16_t fg, int16_t bg, int16_t row, int16_t col, int8_t *str, int16_t pitch);
67extern void vfwait(void);
68extern void vputa(uint16_t *sbase, uint16_t row, uint16_t col, uint16_t attrib);
69extern void vputc(uint16_t *sbase, uint16_t row, uint16_t col, uint16_t c, uint16_t attrib);
70extern void vputcv(uint16_t *adr, uint16_t row, uint16_t col, uint8_t chr, uint16_t atr, uint16_t cols);
71extern void vputp(struct octent *octad, int16_t xloc, int16_t yloc, int16_t val);
72extern void vsetav(uint16_t *adr, uint16_t row, uint16_t col, uint16_t atr, uint16_t len);
73extern void vsetcv(uint16_t *adr, uint16_t row, uint16_t col, uint16_t cfb, uint16_t len);
74extern void vsplot4(uint16_t *obase, uint16_t nw, uint16_t fg, uint16_t row, uint16_t col, int8_t *str, uint16_t pitch, uint16_t ht, int16_t cgtab[][256]);
75extern void vvputsv(uint16_t *obase, uint16_t nw, uint16_t fg, uint16_t bg, uint16_t row, uint16_t col, int8_t *str, uint16_t pitch, uint16_t ht, int16_t cgtab[][256]);
76extern void vwputp(struct octent *octad, int16_t xloc, int16_t yloc, int16_t val);
77extern void vwputs(int16_t *obase, int16_t nw, int16_t fg, int16_t bg, int16_t row, int16_t col, int8_t *str);
78extern void wdcxupd(void);
79extern void wdcyupd(void);
80extern void wdfield(void);
81extern void wdintp(void);
82extern int16_t wdnfld(int16_t k);
83extern void wdxkey(void);
84extern void wdykdn(void);
85extern void wdykup(void);
86extern void whupd(void);
87extern void wsupd(void);
88extern void xtrap15(void);
89
Note: See TracBrowser for help on using the repository browser.