Changeset 33b5477 in buchla-68k


Ignore:
Timestamp:
07/14/2017 12:36:45 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
298f0b4
Parents:
928d5d9
Message:

Fixed argument order.

Files:
20 edited

Legend:

Unmodified
Added
Removed
  • libcio/conin.c

    r928d5d9 r33b5477  
    1111int16_t _CBused;
    1212
    13 int16_t _conin(int8_t *buff, int16_t len)
     13int16_t _conin(io_arg arg, int8_t *buff, int16_t len)
    1414{
    1515        int16_t         nbp;
  • libcio/conin.x

    r928d5d9 r33b5477  
    77#pragma once
    88
     9#include "fspars.h"
    910#include "stdint.h"
    1011
     
    2425*/
    2526
    26 extern  int16_t         _conin(int8_t *buff, int16_t len);
     27extern  int16_t         _conin(io_arg arg, int8_t *buff, int16_t len);
  • libcio/dirfns.c

    r928d5d9 r33b5477  
    7878*/
    7979
    80 int8_t *dtunpk(int16_t din, int16_t tin, int16_t fmt, int8_t *s)
     80int8_t *dtunpk(int16_t din, int16_t tin, int8_t *s, int16_t fmt)
    8181{
    8282        register int16_t        ftm, fdt;
  • libcio/dirfns.x

    r928d5d9 r33b5477  
    1616
    1717extern  int8_t          *atrstr(int16_t atr, int8_t s[]);
    18 extern  int8_t          *dtunpk(int16_t din, int16_t tin, int16_t fmt, int8_t *s);
     18extern  int8_t          *dtunpk(int16_t din, int16_t tin, int8_t *s, int16_t fmt);
    1919extern  int8_t          *mname(int16_t n);
  • libcio/filesys.c

    r928d5d9 r33b5477  
    9090*/
    9191
    92 uint16_t _getfat(uint16_t *bufad, uint16_t nfat, struct bpb *bpp)
     92uint16_t _getfat(uint16_t *bufad, struct bpb *bpp, uint16_t nfat)
    9393{
    9494        uint16_t fatsec;
  • libcio/filesys.x

    r928d5d9 r33b5477  
    4444extern  int16_t         _fmake(struct fcb *fcp);
    4545extern  int16_t         _ftrnc(struct dirent *dp);
    46 extern  uint16_t        _getfat(uint16_t *bufad, uint16_t nfat, struct bpb *bpp);
     46extern  uint16_t        _getfat(uint16_t *bufad, struct bpb *bpp, uint16_t nfat);
    4747extern  uint16_t        _gtcl12(int8_t *fat, uint16_t cl);
    4848extern  int16_t         _inifcb(struct fcb *fcp, int8_t *name, int8_t *ext, int16_t mode);
  • libcio/fsinit.c

    r928d5d9 r33b5477  
    109109*/
    110110
    111 void Init_CB(FILE *fp, int8_t unit, int8_t flags, int32_t *bufad, int16_t bufsize)
     111void Init_CB(FILE *fp, int8_t flags, int8_t unit, int32_t *bufad, int16_t bufsize)
    112112{
    113113        fp->_bp     = (int8_t *)0L;
  • libcio/fsinit.x

    r928d5d9 r33b5477  
    3939extern  void            InitCH(struct channel *cp, int8_t rdi, int8_t wri, int8_t ioi, int8_t ski, chclo cfp, io_arg charg);
    4040extern  void            InitFS(void);
    41 extern  void            Init_CB(FILE *fp, int8_t unit, int8_t flags, int32_t *bufad, int16_t bufsize);
     41extern  void            Init_CB(FILE *fp, int8_t flags, int8_t unit, int32_t *bufad, int16_t bufsize);
    4242extern  int16_t         _badfd(void);
    4343extern  int16_t         _noper(void);
  • ram/instdsp.c

    r928d5d9 r33b5477  
    417417*/
    418418
    419 void oscdsp(int16_t row, int16_t val, int16_t n, int16_t frq, int8_t *lbl)
     419void oscdsp(int16_t row, int16_t val, int16_t n, int8_t *lbl, int16_t frq)
    420420{
    421421                register int16_t fh, fl;
  • ram/instdsp.x

    r928d5d9 r33b5477  
    4444extern  void            instdsp(void);
    4545extern  int16_t         irand(int16_t range);
    46 extern  void            oscdsp(int16_t row, int16_t val, int16_t n, int16_t frq, int8_t *lbl);
     46extern  void            oscdsp(int16_t row, int16_t val, int16_t n, int8_t *lbl, int16_t frq);
    4747extern  void            pltws(uint16_t ws[], int16_t pen);
    4848extern  void            reshowi(void);
  • rom/romp.c

    r928d5d9 r33b5477  
    36013601*/
    36023602
    3603 void rompbp(int32_t d0, int32_t d1, int32_t d2, int32_t d3, int32_t d4, int32_t d5, int32_t d6, int32_t d7, int8_t *a0, int8_t *a1, int8_t *a2, int8_t *a3, int8_t *a4, int8_t *a5, int8_t *a6, int8_t *a7, int8_t *pc, uint16_t sr0, uint16_t sr)
     3603void rompbp(int32_t d0, int32_t d1, int32_t d2, int32_t d3, int32_t d4, int32_t d5, int32_t d6, int32_t d7, int8_t *a0, int8_t *a1, int8_t *a2, int8_t *a3, int8_t *a4, int8_t *a5, int8_t *a6, int8_t *a7, uint16_t sr0, uint16_t sr, int8_t *pc)
    36043604{
    36053605        register int16_t i;
  • rom/romp.x

    r928d5d9 r33b5477  
    164164extern  void            puthn(int32_t num, int16_t cw, int16_t unit);
    165165extern  void            putn(int32_t num, int16_t cw, int16_t unit);
    166 extern  void            rompbp(int32_t d0, int32_t d1, int32_t d2, int32_t d3, int32_t d4, int32_t d5, int32_t d6, int32_t d7, int8_t *a0, int8_t *a1, int8_t *a2, int8_t *a3, int8_t *a4, int8_t *a5, int8_t *a6, int8_t *a7, int8_t *pc, uint16_t sr0, uint16_t sr);
     166extern  void            rompbp(int32_t d0, int32_t d1, int32_t d2, int32_t d3, int32_t d4, int32_t d5, int32_t d6, int32_t d7, int8_t *a0, int8_t *a1, int8_t *a2, int8_t *a3, int8_t *a4, int8_t *a5, int8_t *a6, int8_t *a7, uint16_t sr0, uint16_t sr, int8_t *pc);
    167167extern  int16_t         setvar(int32_t *var, int32_t deflt);
    168168extern  void            showcr(void);
  • vlib/vmput.c

    r928d5d9 r33b5477  
    2828*/
    2929
    30 void vmput(uint16_t *sbase, uint16_t row, uint16_t col, uint16_t ma, int8_t *ms[])
     30void vmput(uint16_t *sbase, uint16_t row, uint16_t col, int8_t *ms[], uint16_t ma)
    3131{
    3232        register uint16_t c, tc, tr;
     
    5656*/
    5757
    58 void vmputa(uint16_t *sbase, uint16_t row, uint16_t col, uint16_t *ma[], int8_t *ms[])
     58void vmputa(uint16_t *sbase, uint16_t row, uint16_t col, int8_t *ms[], uint16_t *ma[])
    5959{
    6060        register uint16_t c, tc, tr;
  • vlib/vmput.x

    r928d5d9 r33b5477  
    1515*/
    1616
    17 extern  void            vmput(uint16_t *sbase, uint16_t row, uint16_t col, uint16_t ma, int8_t *ms[]);
    18 extern  void            vmputa(uint16_t *sbase, uint16_t row, uint16_t col, uint16_t *ma[], int8_t *ms[]);
     17extern  void            vmput(uint16_t *sbase, uint16_t row, uint16_t col, int8_t *ms[], uint16_t ma);
     18extern  void            vmputa(uint16_t *sbase, uint16_t row, uint16_t col, int8_t *ms[], uint16_t *ma[]);
  • vlib/vobjfns.c

    r928d5d9 r33b5477  
    140140*/
    141141
    142 void SetObj(int16_t obj, int16_t type, int16_t bank, int16_t xpix, int16_t ypix, int16_t x0, int16_t y0, int16_t flags, int16_t pri, uint16_t *base)
     142void SetObj(int16_t obj, int16_t type, int16_t bank, uint16_t *base, int16_t xpix, int16_t ypix, int16_t x0, int16_t y0, int16_t flags, int16_t pri)
    143143{
    144144        register struct octent *op;
  • vlib/vobjfns.x

    r928d5d9 r33b5477  
    2727extern  void            CpyObj(uint16_t *from, uint16_t *to, uint16_t w, uint16_t h, uint16_t sw);
    2828extern  void            SelObj(int16_t obj);
    29 extern  void            SetObj(int16_t obj, int16_t type, int16_t bank, int16_t xpix, int16_t ypix, int16_t x0, int16_t y0, int16_t flags, int16_t pri, uint16_t *base);
     29extern  void            SetObj(int16_t obj, int16_t type, int16_t bank, uint16_t *base, int16_t xpix, int16_t ypix, int16_t x0, int16_t y0, int16_t flags, int16_t pri);
    3030extern  void            SetPri(int16_t obj, int16_t pri);
  • vlib/vputs.c

    r928d5d9 r33b5477  
    2323*/
    2424
    25 void vputs(uint16_t *sbase, uint16_t row, uint16_t col, uint16_t attrib, int8_t *str)
     25void vputs(uint16_t *sbase, uint16_t row, uint16_t col, int8_t *str, uint16_t attrib)
    2626{
    2727        uint16_t        c;
     
    5353*/
    5454
    55 void vputsa(uint16_t *sbase, uint16_t row, uint16_t col, uint16_t *attrib, int8_t *str)
     55void vputsa(uint16_t *sbase, uint16_t row, uint16_t col, int8_t *str, uint16_t *attrib)
    5656{
    5757        uint16_t        c;
  • vlib/vputs.x

    r928d5d9 r33b5477  
    1515*/
    1616
    17 extern  void            vputs(uint16_t *sbase, uint16_t row, uint16_t col, uint16_t attrib, int8_t *str);
    18 extern  void            vputsa(uint16_t *sbase, uint16_t row, uint16_t col, uint16_t *attrib, int8_t *str);
     17extern  void            vputs(uint16_t *sbase, uint16_t row, uint16_t col, int8_t *str, uint16_t attrib);
     18extern  void            vputsa(uint16_t *sbase, uint16_t row, uint16_t col, int8_t *str, uint16_t *attrib);
  • vlib/vspray4.c

    r928d5d9 r33b5477  
    2929*/
    3030
    31 void vspray4(uint16_t *vobj, int16_t vwid, int16_t fg, int16_t vb, int16_t pitch, int8_t *ml[])
     31void vspray4(uint16_t *vobj, int16_t vwid, int16_t fg, int8_t *ml[], int16_t vb, int16_t pitch)
    3232{
    3333        register int8_t *cp, *lp, c;
  • vlib/vspray4.x

    r928d5d9 r33b5477  
    1515*/
    1616
    17 extern  void            vspray4(uint16_t *vobj, int16_t vwid, int16_t fg, int16_t vb, int16_t pitch, int8_t *ml[]);
     17extern  void            vspray4(uint16_t *vobj, int16_t vwid, int16_t fg, int8_t *ml[], int16_t vb, int16_t pitch);
Note: See TracChangeset for help on using the changeset viewer.