Changeset 0580615 in buchla-68k for vlib


Ignore:
Timestamp:
07/08/2017 02:42:31 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
342a56f
Parents:
46d8069
Message:

Point of no return.

Location:
vlib
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • vlib/glcinit.c

    r46d8069 r0580615  
    8989*/
    9090
    91 GLCdisp(dsp, crs, blk1, blk2, blk3)
    92 short dsp, crs, blk1, blk2, blk3;
     91void GLCdisp(short dsp, short crs, short blk1, short blk2, short blk3)
    9392{
    9493        register short val;
     
    111110*/
    112111
    113 GLCcurs(crs)
    114 short crs;
     112void GLCcurs(short crs)
    115113{
    116114        lcdctl2 = (crs & 3) | (lcdctl2 & ~3);
     
    131129*/
    132130
    133 GLCinit()
     131void GLCinit(void)
    134132{
    135133        register int    i;
     
    207205*/
    208206
    209 unsigned
    210 GLCcrc(row, col)
    211 unsigned row, col;
     207unsigned GLCcrc(unsigned row, unsigned col)
    212208{
    213209        unsigned curad;
     
    239235*/
    240236
    241 unsigned
    242 GLCcxy(x, y)
    243 register unsigned x, y;
     237unsigned GLCcxy(unsigned x, unsigned y)
    244238{
    245239        register unsigned curad, xby6;
     
    283277*/
    284278
    285 GLCwrts(s)
    286 register char *s;
     279void GLCwrts(char *s)
    287280{
    288281        LCD_WC = G_CRSMRT;      /* set cursor motion =  right */
     
    311304*/
    312305
    313 GLCtext(row, col, s)
    314 register unsigned row, col;
    315 register char *s;
     306void GLCtext(unsigned row, unsigned col, char *s)
    316307{
    317308        register unsigned curad;
  • vlib/lseg.c

    r46d8069 r0580615  
    4141*/
    4242
    43 lseg(x1, y1, x2, y2, t)
    44 short x1, y1, x2, y2, t;
     43void lseg(short x1, short y1, short x2, short y2, short t)
    4544{
    4645        register short dx, dy, ptx, pty, p;
  • vlib/vbfill4.c

    r46d8069 r0580615  
    2929*/
    3030
    31 vbfill4(obj, obwidth, xmin, ymin, xmax, ymax, color)
    32 unsigned *obj;
    33 short obwidth, xmin, ymin, xmax, ymax;
    34 register unsigned color;
     31void vbfill4(unsigned *obj, short obwidth, short xmin, short ymin, short xmax, short ymax, unsigned color)
    3532{
    3633        short mw, nl, width;
  • vlib/vclrs.c

    r46d8069 r0580615  
    1616*/
    1717
    18 extern  int     vputc();
     18extern  void    vputc(unsigned *sbase, unsigned row, unsigned col, unsigned c, unsigned attrib);
    1919
    2020/*
     
    2424*/
    2525
    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;
     26void vclrs(unsigned int obase[], int row, int col, int nc, int ch, int atr)
    3127{
    3228        while (nc--)
  • vlib/vhinit.c

    r46d8069 r0580615  
    7474*/
    7575
    76 VHinit()
     76void VHinit(void)
    7777{
    7878
  • vlib/vmput.c

    r46d8069 r0580615  
    2121typedef unsigned int    uint;
    2222
    23 extern  int     vputc();
     23extern  void    vputc(unsigned *sbase, unsigned row, unsigned col, unsigned c, unsigned attrib);
    2424
    2525/*
     
    3030*/
    3131
    32 vmput(sbase, row, col, ms, ma)
    33 uint *sbase, row, col, ma;
    34 char *ms[];
     32void vmput(uint *sbase, uint row, uint col, uint ma, char *ms[])
    3533{
    3634        register uint c, tc, tr;
     
    6058*/
    6159
    62 vmputa(sbase, row, col, ms, ma)
    63 uint *sbase, row, col, *ma[];
    64 char *ms[];
     60void vmputa(uint *sbase, uint row, uint col, uint *ma[], char *ms[])
    6561{
    6662        register uint c, tc, tr;
  • vlib/vobjfns.c

    r46d8069 r0580615  
    6060#include "vsddvars.h"
    6161
    62 extern  int     vbank(), objon(), VIint();
     62extern  void    vbank(unsigned b);
     63extern  void    objon(unsigned obj, unsigned line, unsigned num);
     64extern  void    VIint(void);
    6365
    6466short           wsize;          /* object width calculated by SetObj() */
     
    7779*/
    7880
    79 SelObj(obj)
    80 int obj;
     81void SelObj(int obj)
    8182{
    8283        register struct octent *op;
     
    108109*/
    109110
    110 SetPri(obj, pri)
    111 register int obj;
    112 register int pri;
     111void SetPri(int obj, int pri)
    113112{
    114113        register struct octent *op;
     
    150149*/
    151150
    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;
     151void SetObj(int obj, int type, int bank, int xpix, int ypix, int x0, int y0, int flags, int pri, unsigned int *base)
    155152{
    156153        register struct octent *op;
     
    255252*/
    256253
    257 CpyObj(from, to, w, h, sw)
    258 register unsigned *from, *to;
    259 register unsigned w, h, sw;
     254void CpyObj(unsigned *from, unsigned *to, unsigned w, unsigned h, unsigned sw)
    260255{
    261256        register unsigned *tp;
  • vlib/vputs.c

    r46d8069 r0580615  
    1616typedef unsigned int    uint;
    1717
    18 extern int      vputc();
     18extern  void    vputc(unsigned *sbase, unsigned row, unsigned col, unsigned c, unsigned attrib);
    1919
    2020/*
     
    2727*/
    2828
    29 vputs(sbase, row, col, str, attrib)
    30 uint *sbase, row, col, attrib;
    31 char *str;
     29void vputs(uint *sbase, uint row, uint col, uint attrib, char *str)
    3230{
    3331        uint    c;
     
    5957*/
    6058
    61 vputsa(sbase, row, col, str, attrib)
    62 uint *sbase, row, col, *attrib;
    63 char *str;
     59void vputsa(uint *sbase, uint row, uint col, uint *attrib, char *str)
    6460{
    6561        uint    c;
  • vlib/vputsv.c

    r46d8069 r0580615  
    1616typedef unsigned int    uint;
    1717
    18 extern int      vputcv();
     18extern  void    vputcv(unsigned *adr, unsigned row, unsigned col, unsigned char, unsigned atr, unsigned cols);
    1919
    2020/*
     
    2727*/
    2828
    29 vputsv(sbase, row, col, str, attrib, len)
    30 uint *sbase, row, col;
    31 char *str;
    32 uint attrib, len;
     29void vputsv(uint *sbase, uint row, uint col, char *str, uint attrib, uint len)
    3330{
    3431        uint    c;
     
    6158*/
    6259
    63 vputsav(sbase, row, col, str, attrib, len)
    64 uint *sbase, row, col;
    65 char *str;
    66 uint *attrib, len;
     60void vputsav(uint *sbase, uint row, uint col, char *str, uint *attrib, uint len)
    6761{
    6862        uint    c;
  • vlib/vsetpal.c

    r46d8069 r0580615  
    4545*/
    4646
    47 vsetpal(slot, red, grn, blu)
    48 register unsigned slot, red, grn, blu;
     47void vsetpal(unsigned slot, unsigned red, unsigned grn, unsigned blu)
    4948{
    5049        register unsigned palval;
     
    8079*/
    8180
    82 vsndpal(pp)
    83 short pp[16][3];
     81void vsndpal(short pp[16][3])
    8482{
    8583        register short i;
  • vlib/vsinit.c

    r46d8069 r0580615  
    1919*/
    2020
    21 VSinit()
     21void VSinit(void)
    2222{
    2323        v_nobj = 0;
  • vlib/vspray4.c

    r46d8069 r0580615  
    3030*/
    3131
    32 vspray4(vobj, vwid, fg, ml, vb, pitch)
    33 unsigned *vobj;
    34 short vwid, fg, vb, pitch;
    35 char *ml[];
     32void vspray4(unsigned *vobj, short vwid, short fg, short vb, short pitch, char *ml[])
    3633{
    3734        register char *cp, *lp, c;
  • vlib/vtext.c

    r46d8069 r0580615  
    1010static int      msk[] = { 0xFF00, 0x00FF };
    1111
    12 vtext(obj, nc, row, col, ip)
    13 register unsigned *obj, nc, row, col;
    14 register char *ip;
     12void vtext(unsigned *obj, unsigned nc, unsigned row, unsigned col, char *ip)
    1513{
    1614        register unsigned *op;
  • vlib/vwputm.c

    r46d8069 r0580615  
    1818#include <vsdd.h>
    1919
    20 extern  int     vwputs();
     20extern  void    vwputs(int *obase, int nw, int fg, int bg, int row, int col, char *str);
    2121
    2222/*
     
    2626*/
    2727
    28 vwputm(obase, nw, fg, bg, row, col, ml)
    29 unsigned int *obase;
    30 int nw, fg, bg, row, col;
    31 register char *ml[];
     28void vwputm(unsigned int *obase, int nw, int fg, int bg, int row, int col, char *ml[])
    3229{
    3330        while (*ml) {
Note: See TracChangeset for help on using the changeset viewer.