Changeset 7258c6a in buchla-68k for misc


Ignore:
Timestamp:
07/09/2017 04:45:34 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
8618599
Parents:
0292fbb
Message:

Use standard integer types.

Location:
misc
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • misc/proto.c

    r0292fbb r7258c6a  
    3737}
    3838
    39 void wdnfld(short k)
     39void wdnfld(int16_t k)
    4040{
    4141}
     
    5151// ---------- ^^^ ---------- wdfield.c
    5252
    53 void clrvce(short vce)
    54 {
    55 }
    56 
    57 void execins(short vce, short ins, short tag)
    58 {
    59 }
    60 
    61 void execkey(short trg, short pch, short vce, short tag)
     53void clrvce(int16_t vce)
     54{
     55}
     56
     57void execins(int16_t vce, int16_t ins, int16_t tag)
     58{
     59}
     60
     61void execkey(int16_t trg, int16_t pch, int16_t vce, int16_t tag)
    6262{
    6363}
     
    7171}
    7272
    73 unsigned fromfpu(unsigned fputime)
     73uint16_t fromfpu(uint16_t fputime)
    7474{
    7575    return 0;
     
    8080}
    8181
    82 void GLCplot(unsigned x, unsigned y, unsigned val)
     82void GLCplot(uint16_t x, uint16_t y, uint16_t val)
    8383{
    8484}
     
    9292}
    9393
    94 void longjmp(struct JMP_BUF *env, int val)
     94void longjmp(struct JMP_BUF *env, int16_t val)
    9595{
    9696}
     
    100100}
    101101
    102 void objclr(unsigned obj)
    103 {
    104 }
    105 
    106 void objoff(unsigned obj, unsigned line, unsigned num)
    107 {
    108 }
    109 
    110 void objon(unsigned obj, unsigned line, unsigned num)
     102void objclr(uint16_t obj)
     103{
     104}
     105
     106void objoff(uint16_t obj, uint16_t line, uint16_t num)
     107{
     108}
     109
     110void objon(uint16_t obj, uint16_t line, uint16_t num)
    111111{
    112112}
     
    116116}
    117117
    118 void procpfl(unsigned trig)
    119 {
    120 }
    121 
    122 void _ptcl12(unsigned *fat, unsigned cl, unsigned val)
    123 {
    124 }
    125 
    126 long rand24(void)
     118void procpfl(uint16_t trig)
     119{
     120}
     121
     122void _ptcl12(uint16_t *fat, uint16_t cl, uint16_t val)
     123{
     124}
     125
     126int32_t rand24(void)
    127127{
    128128    return 0;
     
    133133}
    134134
    135 void se_disp(struct s_entry *ep, short sd, struct gdsel *gdstb[], short cf)
    136 {
    137 }
    138 
    139 struct s_entry *se_exec(struct s_entry *ep, short sd)
    140 {
    141     return 0;
    142 }
    143 
    144 unsigned setipl(unsigned arg)
    145 {
    146     return 0;
    147 }
    148 
    149 int setjmp(struct JMP_BUF *env)
     135void se_disp(struct s_entry *ep, int16_t sd, struct gdsel *gdstb[], int16_t cf)
     136{
     137}
     138
     139struct s_entry *se_exec(struct s_entry *ep, int16_t sd)
     140{
     141    return 0;
     142}
     143
     144uint16_t setipl(uint16_t arg)
     145{
     146    return 0;
     147}
     148
     149int16_t setjmp(struct JMP_BUF *env)
    150150{
    151151    return 0;
     
    156156}
    157157
    158 unsigned setsr(unsigned sr)
     158uint16_t setsr(uint16_t sr)
    159159{
    160160    return 0;
     
    169169}
    170170
    171 unsigned tofpu(unsigned time)
    172 {
    173     return 0;
    174 }
    175 
    176 long trap13(short fun, ...)
    177 {
    178     return 0;
    179 }
    180 
    181 long trap14(short fun, ...)
     171uint16_t tofpu(uint16_t time)
     172{
     173    return 0;
     174}
     175
     176int32_t trap13(int16_t fun, ...)
     177{
     178    return 0;
     179}
     180
     181int32_t trap14(int16_t fun, ...)
    182182{
    183183    return 0;
     
    192192}
    193193
    194 void tsplot4(int *obase, int nw, int fg, int row, int col, char *str, int pitch)
    195 {
    196 }
    197 
    198 long uldiv(long divid, long divis)
    199 {
    200     return 0;
    201 }
    202 
    203 void vbank(unsigned b)
    204 {
    205 }
    206 
    207 void vclrav(unsigned *adr, unsigned row, unsigned col, unsigned atr, unsigned len)
    208 {
    209 }
    210 
    211 void vcputs(int *obase, int nw, int fg, int bg, int row, int col, char *str)
    212 {
    213 }
    214 
    215 void vcputsv(int *obase, int nw, int fg, int bg, int row, int col, char *str, int pitch)
     194void tsplot4(int16_t *obase, int16_t nw, int16_t fg, int16_t row, int16_t col, int8_t *str, int16_t pitch)
     195{
     196}
     197
     198int32_t uldiv(int32_t divid, int32_t divis)
     199{
     200    return 0;
     201}
     202
     203void vbank(uint16_t b)
     204{
     205}
     206
     207void vclrav(uint16_t *adr, uint16_t row, uint16_t col, uint16_t atr, uint16_t len)
     208{
     209}
     210
     211void vcputs(int16_t *obase, int16_t nw, int16_t fg, int16_t bg, int16_t row, int16_t col, int8_t *str)
     212{
     213}
     214
     215void 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)
    216216{
    217217}
     
    225225}
    226226
    227 void vputa(unsigned *sbase, unsigned row, unsigned col, unsigned attrib)
    228 {
    229 }
    230 
    231 void vputc(unsigned *sbase, unsigned row, unsigned col, unsigned c, unsigned attrib)
    232 {
    233 }
    234 
    235 void vputcv(unsigned *adr, unsigned row, unsigned col, unsigned char, unsigned atr, unsigned cols)
    236 {
    237 }
    238 
    239 void vputp(struct octent *octad, int xloc, int yloc, int val)
    240 {
    241 }
    242 
    243 void vsetav(unsigned *adr, unsigned row, unsigned col, unsigned atr, unsigned len)
    244 {
    245 }
    246 
    247 void vsetcv(unsigned *adr, unsigned row, unsigned col, unsigned cfb, unsigned len)
    248 {
    249 }
    250 
    251 void vsplot4(unsigned *obase, unsigned nw, unsigned fg, unsigned row, unsigned col, char *str,
    252              unsigned pitch, unsigned ht, int cgtab[][256])
    253 {
    254 }
    255 
    256 void vvputsv(unsigned *obase, unsigned nw, unsigned fg, unsigned bg, unsigned row, unsigned col,
    257              char *str, unsigned pitch, unsigned ht, int cgtab[][256])
    258 {
    259 }
    260 
    261 void vwputp(struct octent *octad, int xloc, int yloc, int val)
    262 {
    263 }
    264 
    265 void vwputs(int *obase, int nw, int fg, int bg, int row, int col, char *str)
     227void vputa(uint16_t *sbase, uint16_t row, uint16_t col, uint16_t attrib)
     228{
     229}
     230
     231void vputc(uint16_t *sbase, uint16_t row, uint16_t col, uint16_t c, uint16_t attrib)
     232{
     233}
     234
     235void vputcv(uint16_t *adr, uint16_t row, uint16_t col, uint8_t chr, uint16_t atr, uint16_t cols)
     236{
     237}
     238
     239void vputp(struct octent *octad, int16_t xloc, int16_t yloc, int16_t val)
     240{
     241}
     242
     243void vsetav(uint16_t *adr, uint16_t row, uint16_t col, uint16_t atr, uint16_t len)
     244{
     245}
     246
     247void vsetcv(uint16_t *adr, uint16_t row, uint16_t col, uint16_t cfb, uint16_t len)
     248{
     249}
     250
     251void vsplot4(uint16_t *obase, uint16_t nw, uint16_t fg, uint16_t row, uint16_t col, int8_t *str,
     252             uint16_t pitch, uint16_t ht, int16_t cgtab[][256])
     253{
     254}
     255
     256void vvputsv(uint16_t *obase, uint16_t nw, uint16_t fg, uint16_t bg, uint16_t row, uint16_t col,
     257             int8_t *str, uint16_t pitch, uint16_t ht, int16_t cgtab[][256])
     258{
     259}
     260
     261void vwputp(struct octent *octad, int16_t xloc, int16_t yloc, int16_t val)
     262{
     263}
     264
     265void vwputs(int16_t *obase, int16_t nw, int16_t fg, int16_t bg, int16_t row, int16_t col, int8_t *str)
    266266{
    267267}
Note: See TracChangeset for help on using the changeset viewer.