Changeset d21fc6f in buchla-68k for misc


Ignore:
Timestamp:
07/14/2017 02:56:14 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
1efe224
Parents:
4422c8e
Message:

Always use (uint16_t *) for object pointers.

Location:
misc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • misc/proto.c

    r4422c8e rd21fc6f  
    232232}
    233233
    234 void tsplot4(int16_t *obase, int16_t nw, int16_t fg, int16_t row, int16_t col, int8_t *str, int16_t pitch)
     234void tsplot4(uint16_t *obase, int16_t nw, int16_t fg, int16_t row, int16_t col, int8_t *str, int16_t pitch)
    235235{
    236236}
     
    249249}
    250250
    251 void vcputs(int16_t *obase, int16_t nw, int16_t fg, int16_t bg, int16_t row, int16_t col, int8_t *str)
    252 {
    253 }
    254 
    255 void 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)
     251void vcputs(uint16_t *obase, int16_t nw, int16_t fg, int16_t bg, int16_t row, int16_t col, int8_t *str)
     252{
     253}
     254
     255void vcputsv(uint16_t *obase, int16_t nw, int16_t fg, int16_t bg, int16_t row, int16_t col, int8_t *str, int16_t pitch)
    256256{
    257257}
     
    303303}
    304304
    305 void vwputs(int16_t *obase, int16_t nw, int16_t fg, int16_t bg, int16_t row, int16_t col, int8_t *str)
     305void vwputs(uint16_t *obase, int16_t nw, int16_t fg, int16_t bg, int16_t row, int16_t col, int8_t *str)
    306306{
    307307}
  • misc/proto.x

    r4422c8e rd21fc6f  
    8989extern  void            trap15(void);
    9090extern  void            tsetup(void);
    91 extern  void            tsplot4(int16_t *obase, int16_t nw, int16_t fg, int16_t row, int16_t col, int8_t *str, int16_t pitch);
     91extern  void            tsplot4(uint16_t *obase, int16_t nw, int16_t fg, int16_t row, int16_t col, int8_t *str, int16_t pitch);
    9292extern  int32_t         uldiv(int32_t divid, int32_t divis);
    9393extern  void            vbank(uint16_t b);
    9494extern  void            vclrav(uint16_t *adr, uint16_t row, uint16_t col, uint16_t atr, uint16_t len);
    95 extern  void            vcputs(int16_t *obase, int16_t nw, int16_t fg, int16_t bg, int16_t row, int16_t col, int8_t *str);
    96 extern  void            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);
     95extern  void            vcputs(uint16_t *obase, int16_t nw, int16_t fg, int16_t bg, int16_t row, int16_t col, int8_t *str);
     96extern  void            vcputsv(uint16_t *obase, int16_t nw, int16_t fg, int16_t bg, int16_t row, int16_t col, int8_t *str, int16_t pitch);
    9797extern  void            vfwait(void);
    9898extern  void            vputa(uint16_t *sbase, uint16_t row, uint16_t col, uint16_t attrib);
     
    105105extern  void            vvputsv(uint16_t *obase, uint16_t nw, uint16_t fg, uint16_t bg, uint16_t row, uint16_t col, int8_t *str, uint16_t pitch, uint16_t ht, int16_t cgtab[][256]);
    106106extern  void            vwputp(struct octent *octad, int16_t xloc, int16_t yloc, int16_t val);
    107 extern  void            vwputs(int16_t *obase, int16_t nw, int16_t fg, int16_t bg, int16_t row, int16_t col, int8_t *str);
     107extern  void            vwputs(uint16_t *obase, int16_t nw, int16_t fg, int16_t bg, int16_t row, int16_t col, int8_t *str);
    108108extern  void            xtrap15(void);
Note: See TracChangeset for help on using the changeset viewer.