- Timestamp:
- 07/08/2017 02:42:31 PM (7 years ago)
- Branches:
- master
- Children:
- 342a56f
- Parents:
- 46d8069
- Location:
- vlib
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
vlib/glcinit.c
r46d8069 r0580615 89 89 */ 90 90 91 GLCdisp(dsp, crs, blk1, blk2, blk3) 92 short dsp, crs, blk1, blk2, blk3; 91 void GLCdisp(short dsp, short crs, short blk1, short blk2, short blk3) 93 92 { 94 93 register short val; … … 111 110 */ 112 111 113 GLCcurs(crs) 114 short crs; 112 void GLCcurs(short crs) 115 113 { 116 114 lcdctl2 = (crs & 3) | (lcdctl2 & ~3); … … 131 129 */ 132 130 133 GLCinit()131 void GLCinit(void) 134 132 { 135 133 register int i; … … 207 205 */ 208 206 209 unsigned 210 GLCcrc(row, col) 211 unsigned row, col; 207 unsigned GLCcrc(unsigned row, unsigned col) 212 208 { 213 209 unsigned curad; … … 239 235 */ 240 236 241 unsigned 242 GLCcxy(x, y) 243 register unsigned x, y; 237 unsigned GLCcxy(unsigned x, unsigned y) 244 238 { 245 239 register unsigned curad, xby6; … … 283 277 */ 284 278 285 GLCwrts(s) 286 register char *s; 279 void GLCwrts(char *s) 287 280 { 288 281 LCD_WC = G_CRSMRT; /* set cursor motion = right */ … … 311 304 */ 312 305 313 GLCtext(row, col, s) 314 register unsigned row, col; 315 register char *s; 306 void GLCtext(unsigned row, unsigned col, char *s) 316 307 { 317 308 register unsigned curad; -
vlib/lseg.c
r46d8069 r0580615 41 41 */ 42 42 43 lseg(x1, y1, x2, y2, t) 44 short x1, y1, x2, y2, t; 43 void lseg(short x1, short y1, short x2, short y2, short t) 45 44 { 46 45 register short dx, dy, ptx, pty, p; -
vlib/vbfill4.c
r46d8069 r0580615 29 29 */ 30 30 31 vbfill4(obj, obwidth, xmin, ymin, xmax, ymax, color) 32 unsigned *obj; 33 short obwidth, xmin, ymin, xmax, ymax; 34 register unsigned color; 31 void vbfill4(unsigned *obj, short obwidth, short xmin, short ymin, short xmax, short ymax, unsigned color) 35 32 { 36 33 short mw, nl, width; -
vlib/vclrs.c
r46d8069 r0580615 16 16 */ 17 17 18 extern int vputc();18 extern void vputc(unsigned *sbase, unsigned row, unsigned col, unsigned c, unsigned attrib); 19 19 20 20 /* … … 24 24 */ 25 25 26 vclrs(obase, row, col, nc, ch, atr) 27 register unsigned int obase[]; 28 int row, col; 29 register int nc; 30 int ch, atr; 26 void vclrs(unsigned int obase[], int row, int col, int nc, int ch, int atr) 31 27 { 32 28 while (nc--) -
vlib/vhinit.c
r46d8069 r0580615 74 74 */ 75 75 76 VHinit()76 void VHinit(void) 77 77 { 78 78 -
vlib/vmput.c
r46d8069 r0580615 21 21 typedef unsigned int uint; 22 22 23 extern int vputc();23 extern void vputc(unsigned *sbase, unsigned row, unsigned col, unsigned c, unsigned attrib); 24 24 25 25 /* … … 30 30 */ 31 31 32 vmput(sbase, row, col, ms, ma) 33 uint *sbase, row, col, ma; 34 char *ms[]; 32 void vmput(uint *sbase, uint row, uint col, uint ma, char *ms[]) 35 33 { 36 34 register uint c, tc, tr; … … 60 58 */ 61 59 62 vmputa(sbase, row, col, ms, ma) 63 uint *sbase, row, col, *ma[]; 64 char *ms[]; 60 void vmputa(uint *sbase, uint row, uint col, uint *ma[], char *ms[]) 65 61 { 66 62 register uint c, tc, tr; -
vlib/vobjfns.c
r46d8069 r0580615 60 60 #include "vsddvars.h" 61 61 62 extern int vbank(), objon(), VIint(); 62 extern void vbank(unsigned b); 63 extern void objon(unsigned obj, unsigned line, unsigned num); 64 extern void VIint(void); 63 65 64 66 short wsize; /* object width calculated by SetObj() */ … … 77 79 */ 78 80 79 SelObj(obj) 80 int obj; 81 void SelObj(int obj) 81 82 { 82 83 register struct octent *op; … … 108 109 */ 109 110 110 SetPri(obj, pri) 111 register int obj; 112 register int pri; 111 void SetPri(int obj, int pri) 113 112 { 114 113 register struct octent *op; … … 150 149 */ 151 150 152 SetObj(obj, type, bank, base, xpix, ypix, x0, y0, flags, pri) 153 int obj, type, bank, xpix, ypix, x0, y0, flags, pri; 154 unsigned int *base; 151 void SetObj(int obj, int type, int bank, int xpix, int ypix, int x0, int y0, int flags, int pri, unsigned int *base) 155 152 { 156 153 register struct octent *op; … … 255 252 */ 256 253 257 CpyObj(from, to, w, h, sw) 258 register unsigned *from, *to; 259 register unsigned w, h, sw; 254 void CpyObj(unsigned *from, unsigned *to, unsigned w, unsigned h, unsigned sw) 260 255 { 261 256 register unsigned *tp; -
vlib/vputs.c
r46d8069 r0580615 16 16 typedef unsigned int uint; 17 17 18 extern int vputc();18 extern void vputc(unsigned *sbase, unsigned row, unsigned col, unsigned c, unsigned attrib); 19 19 20 20 /* … … 27 27 */ 28 28 29 vputs(sbase, row, col, str, attrib) 30 uint *sbase, row, col, attrib; 31 char *str; 29 void vputs(uint *sbase, uint row, uint col, uint attrib, char *str) 32 30 { 33 31 uint c; … … 59 57 */ 60 58 61 vputsa(sbase, row, col, str, attrib) 62 uint *sbase, row, col, *attrib; 63 char *str; 59 void vputsa(uint *sbase, uint row, uint col, uint *attrib, char *str) 64 60 { 65 61 uint c; -
vlib/vputsv.c
r46d8069 r0580615 16 16 typedef unsigned int uint; 17 17 18 extern int vputcv();18 extern void vputcv(unsigned *adr, unsigned row, unsigned col, unsigned char, unsigned atr, unsigned cols); 19 19 20 20 /* … … 27 27 */ 28 28 29 vputsv(sbase, row, col, str, attrib, len) 30 uint *sbase, row, col; 31 char *str; 32 uint attrib, len; 29 void vputsv(uint *sbase, uint row, uint col, char *str, uint attrib, uint len) 33 30 { 34 31 uint c; … … 61 58 */ 62 59 63 vputsav(sbase, row, col, str, attrib, len) 64 uint *sbase, row, col; 65 char *str; 66 uint *attrib, len; 60 void vputsav(uint *sbase, uint row, uint col, char *str, uint *attrib, uint len) 67 61 { 68 62 uint c; -
vlib/vsetpal.c
r46d8069 r0580615 45 45 */ 46 46 47 vsetpal(slot, red, grn, blu) 48 register unsigned slot, red, grn, blu; 47 void vsetpal(unsigned slot, unsigned red, unsigned grn, unsigned blu) 49 48 { 50 49 register unsigned palval; … … 80 79 */ 81 80 82 vsndpal(pp) 83 short pp[16][3]; 81 void vsndpal(short pp[16][3]) 84 82 { 85 83 register short i; -
vlib/vsinit.c
r46d8069 r0580615 19 19 */ 20 20 21 VSinit()21 void VSinit(void) 22 22 { 23 23 v_nobj = 0; -
vlib/vspray4.c
r46d8069 r0580615 30 30 */ 31 31 32 vspray4(vobj, vwid, fg, ml, vb, pitch) 33 unsigned *vobj; 34 short vwid, fg, vb, pitch; 35 char *ml[]; 32 void vspray4(unsigned *vobj, short vwid, short fg, short vb, short pitch, char *ml[]) 36 33 { 37 34 register char *cp, *lp, c; -
vlib/vtext.c
r46d8069 r0580615 10 10 static int msk[] = { 0xFF00, 0x00FF }; 11 11 12 vtext(obj, nc, row, col, ip) 13 register unsigned *obj, nc, row, col; 14 register char *ip; 12 void vtext(unsigned *obj, unsigned nc, unsigned row, unsigned col, char *ip) 15 13 { 16 14 register unsigned *op; -
vlib/vwputm.c
r46d8069 r0580615 18 18 #include <vsdd.h> 19 19 20 extern int vwputs();20 extern void vwputs(int *obase, int nw, int fg, int bg, int row, int col, char *str); 21 21 22 22 /* … … 26 26 */ 27 27 28 vwputm(obase, nw, fg, bg, row, col, ml) 29 unsigned int *obase; 30 int nw, fg, bg, row, col; 31 register char *ml[]; 28 void vwputm(unsigned int *obase, int nw, int fg, int bg, int row, int col, char *ml[]) 32 29 { 33 30 while (*ml) {
Note:
See TracChangeset
for help on using the changeset viewer.