Changeset b28a12e in buchla-68k for ram/scselbx.c
- Timestamp:
- 07/10/2017 02:17:49 PM (7 years ago)
- Branches:
- master
- Children:
- 06f6615
- Parents:
- 39a696b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ram/scselbx.c
r39a696b rb28a12e 6 6 */ 7 7 8 #include "all.h" 9 10 /* functions defined elsewhere */ 11 12 extern int16_t entbh(int16_t n); 13 extern void advscur(void); 14 extern int16_t oktode(struct s_entry *ep); 15 extern void nokey(void); 16 17 /* 18 19 */ 20 21 /* variables defined elsewhere */ 22 23 extern void (*itxput)(int16_t row, int16_t col, int8_t *txt, int16_t tag); 24 extern void (*point)(int16_t x, int16_t y, int16_t pen); 25 26 extern int16_t ancmsw; 27 extern int16_t angroup; 28 extern int16_t asmode; 29 extern int16_t clkrun; 30 extern int16_t clkctl; 31 extern int16_t clksrc; 32 extern int16_t ctrsw; 33 extern int16_t cxval; 34 extern int16_t cyval; 35 extern int16_t dubsw; 36 extern int16_t gomode; 37 extern int16_t grptran; 38 extern int16_t gtmsel; 39 extern int16_t hitbox; 40 extern int16_t hitcx; 41 extern int16_t hitcy; 42 extern int16_t insmode; 43 extern int16_t ismode; 44 extern int16_t lastam; 45 extern int16_t midiclk; 46 extern int16_t noteop; 47 extern int16_t notesel; 48 extern int16_t oldpk; 49 extern int16_t oldsl; 50 extern int16_t pchsw; 51 extern int16_t pkctrl; 52 extern int16_t pulsclk; 53 extern int16_t recsw; 54 extern int16_t scmctl; 55 extern int16_t sdmcol; 56 extern int16_t sdmctl; 57 extern int16_t sdmrow; 58 extern int16_t secop; 59 extern int16_t sgoflag; 60 extern int16_t sliders; 61 extern int16_t stccol; 62 extern int16_t stcrow; 63 extern int16_t stepclk; 64 extern int16_t stepenb; 65 extern int16_t submenu; 66 extern int16_t velflag; 67 extern int16_t vtccol; 68 extern int16_t vtcrow; 69 70 /* 71 72 */ 73 74 extern int16_t grptmap[]; 75 76 extern int16_t sctctab[][64]; 77 78 extern struct asgent asgtab[]; 79 80 extern struct selbox *csbp; 81 extern struct selbox *curboxp; 82 83 extern struct s_time stimes[N_SCORES][N_SECTS]; /* section times */ 84 85 extern uint16_t *obj8, *obj11; 86 87 extern LPF (*swpt)[]; 88 extern LPF (*oldsw)[]; 89 extern LPF t_ngrp[]; 90 91 extern int8_t bfs[]; 92 extern int8_t tunname[][32]; 93 94 extern struct gdsel *gdstbc[]; 95 96 /* forward references */ 97 98 int16_t sdboxfn(int16_t n); 99 void bspscur(void); 100 void svtdsp(uint16_t *obj, uint16_t fg, uint16_t bg, int16_t row, int16_t col, int8_t *buf); 101 void svtstop(void); 102 void sdmenu(int16_t n); 103 104 extern int16_t infield(int16_t row, int16_t col, struct fet *fetp); 105 extern int16_t sc_refr(int32_t t); 106 extern int16_t sec_cpy(int16_t ns); 107 extern int16_t sec_dev(int16_t ns); 108 extern int16_t sec_dgr(int16_t ns); 109 extern int16_t sec_grp(int16_t ns); 110 extern int16_t sec_mov(int16_t ns); 111 extern int16_t sec_mrg(int16_t ns); 112 extern int16_t sec_rmv(int16_t ns); 113 extern int16_t vtyper(void); 114 extern uint16_t exp_c(uint16_t c); 115 extern void dnedmod(void); 116 extern void donote(void); 117 extern void ds_vmod(void); 118 extern void dsclk(void); 119 extern void dsimode(void); 120 extern void dsrpmod(void); 121 extern void icancel(void); 122 extern void istart(void); 123 extern void lcdlbls(void); 124 extern void scupd(void); 125 extern void sdwin(int16_t n); 126 extern void se_disp(struct s_entry *ep, int16_t sd, struct gdsel *gdstb[], int16_t cf); 127 extern void setleds(void); 128 extern void showim(void); 129 extern void stcclr(void); 130 extern void stcpos(int16_t row, int16_t col); 131 extern void stcset(void); 132 extern void ttcpos(int16_t row, int16_t col); 133 extern void vputa(uint16_t *sbase, uint16_t row, uint16_t col, uint16_t attrib); 134 extern void vtsetup(uint16_t *obj, int16_t (*dsp)(), int16_t col, int8_t *ptr, int16_t tr, int16_t tc, int16_t (*adv)(), int16_t (*bsp)(), int16_t (*cup)(), int16_t (*cdn)(), int16_t (*stop)(), uint16_t fg, uint16_t bg); 8 #include "ram.h" 135 9 136 10 /*
Note:
See TracChangeset
for help on using the changeset viewer.