Changeset 8c8b4e5 in buchla-68k for misc


Ignore:
Timestamp:
09/17/2017 05:01:10 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
432327d
Parents:
5c4721b
Message:

More volatile hardware accesses.

Location:
misc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • misc/proto.c

    r5c4721b r8c8b4e5  
    33int8_t                  ac_code;
    44int16_t                 errno;
    5 int16_t                 timers[NTIMERS];
    65int16_t                 fp_resv[];
    76int8_t                  VerDate[];
    8 volatile uint16_t       vi_scrl;
    9 volatile uint16_t       vi_sadr;
     7
     8volatile        int16_t         timers[NTIMERS];
     9volatile        uint16_t        vi_scrl;
     10volatile        uint16_t        vi_sadr;
    1011
    1112int8_t                  end;
     
    176177}
    177178
    178 void tsplot4(uint16_t *obase, int16_t nw, int16_t fg, int16_t row, int16_t col, int8_t *str, int16_t pitch)
     179void tsplot4(volatile uint16_t *obase, int16_t nw, int16_t fg, int16_t row, int16_t col, int8_t *str, int16_t pitch)
    179180{
    180181}
     
    189190}
    190191
    191 void vclrav(uint16_t *obase, int16_t row, int16_t col, uint16_t attr, int16_t len)
    192 {
    193 }
    194 
    195 void vcputs(uint16_t *obase, int16_t nw, int16_t fg, int16_t bg, int16_t row, int16_t col, int8_t *str)
    196 {
    197 }
    198 
    199 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)
     192void vclrav(volatile uint16_t *obase, int16_t row, int16_t col, uint16_t attr, int16_t len)
     193{
     194}
     195
     196void vcputs(volatile uint16_t *obase, int16_t nw, int16_t fg, int16_t bg, int16_t row, int16_t col, int8_t *str)
     197{
     198}
     199
     200void vcputsv(volatile uint16_t *obase, int16_t nw, int16_t fg, int16_t bg, int16_t row, int16_t col, int8_t *str, int16_t pitch)
    200201{
    201202}
     
    209210}
    210211
    211 void vputa(uint16_t *obase, int16_t row, int16_t col, uint16_t attr)
    212 {
    213 }
    214 
    215 void vputc(uint16_t *obase, int16_t row, int16_t col, int16_t c, uint16_t attr)
    216 {
    217 }
    218 
    219 void vputcv(uint16_t *obase, int16_t row, int16_t col, int16_t c, uint16_t attr, int16_t cols)
     212void vputa(volatile uint16_t *obase, int16_t row, int16_t col, uint16_t attr)
     213{
     214}
     215
     216void vputc(volatile uint16_t *obase, int16_t row, int16_t col, int16_t c, uint16_t attr)
     217{
     218}
     219
     220void vputcv(volatile uint16_t *obase, int16_t row, int16_t col, int16_t c, uint16_t attr, int16_t cols)
    220221{
    221222}
     
    225226}
    226227
    227 void vsetav(uint16_t *obase, int16_t row, int16_t col, uint16_t attr, int16_t len)
    228 {
    229 }
    230 
    231 void vsetcv(uint16_t *obase, int16_t row, int16_t col, uint16_t fgbg, int16_t len)
    232 {
    233 }
    234 
    235 void vsplot4(uint16_t *obase, int16_t nw, int16_t fg, int16_t row, int16_t col, int8_t *str,
    236              int16_t pitch, int16_t ht, int16_t cgtab[][256])
    237 {
    238 }
    239 
    240 void vvputsv(uint16_t *obase, int16_t nw, int16_t fg, int16_t bg, int16_t row, int16_t col,
    241              int8_t *str, int16_t pitch, int16_t ht, int16_t cgtab[][256])
     228void vsetav(volatile uint16_t *obase, int16_t row, int16_t col, uint16_t attr, int16_t len)
     229{
     230}
     231
     232void vsetcv(volatile uint16_t *obase, int16_t row, int16_t col, uint16_t fgbg, int16_t len)
     233{
     234}
     235
     236void vsplot4(volatile uint16_t *obase, int16_t nw, int16_t fg, int16_t row, int16_t col, int8_t *str, int16_t pitch, int16_t ht, int16_t cgtab[][256])
     237{
     238}
     239
     240void vvputsv(volatile uint16_t *obase, int16_t nw, int16_t fg, int16_t bg, int16_t row, int16_t col, int8_t *str, int16_t pitch, int16_t ht, int16_t cgtab[][256])
    242241{
    243242}
     
    247246}
    248247
    249 void vwputs(uint16_t *obase, int16_t nw, int16_t fg, int16_t bg, int16_t row, int16_t col, int8_t *str)
     248void vwputs(volatile uint16_t *obase, int16_t nw, int16_t fg, int16_t bg, int16_t row, int16_t col, int8_t *str)
    250249{
    251250}
  • misc/proto.x

    r5c4721b r8c8b4e5  
    8989extern  void            trap15(void);
    9090extern  void            tsetup(void);
    91 extern  void            tsplot4(uint16_t *obase, int16_t nw, int16_t fg, int16_t row, int16_t col, int8_t *str, int16_t pitch);
     91extern  void            tsplot4(volatile 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(int16_t b);
    94 extern  void            vclrav(uint16_t *obase, int16_t row, int16_t col, uint16_t attr, int16_t len);
    95 extern  void            vcputs(uint16_t *obase, int16_t nw, int16_t fg, int16_t bg, int16_t row, int16_t col, int8_t *str);
    96 extern  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);
     94extern  void            vclrav(volatile uint16_t *obase, int16_t row, int16_t col, uint16_t attr, int16_t len);
     95extern  void            vcputs(volatile uint16_t *obase, int16_t nw, int16_t fg, int16_t bg, int16_t row, int16_t col, int8_t *str);
     96extern  void            vcputsv(volatile 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);
    98 extern  void            vputa(uint16_t *obase, int16_t row, int16_t col, uint16_t attr);
    99 extern  void            vputc(uint16_t *obase, int16_t row, int16_t col, int16_t c, uint16_t attr);
    100 extern  void            vputcv(uint16_t *obase, int16_t row, int16_t col, int16_t c, uint16_t attr, int16_t cols);
     98extern  void            vputa(volatile uint16_t *obase, int16_t row, int16_t col, uint16_t attr);
     99extern  void            vputc(volatile uint16_t *obase, int16_t row, int16_t col, int16_t c, uint16_t attr);
     100extern  void            vputcv(volatile uint16_t *obase, int16_t row, int16_t col, int16_t c, uint16_t attr, int16_t cols);
    101101extern  void            vputp(struct octent *octad, int16_t xloc, int16_t yloc, int16_t val);
    102 extern  void            vsetav(uint16_t *obase, int16_t row, int16_t col, uint16_t attr, int16_t len);
    103 extern  void            vsetcv(uint16_t *obase, int16_t row, int16_t col, uint16_t fgbg, int16_t len);
    104 extern  void            vsplot4(uint16_t *obase, int16_t nw, int16_t fg, int16_t row, int16_t col, int8_t *str, int16_t pitch, int16_t ht, int16_t cgtab[][256]);
    105 extern  void            vvputsv(uint16_t *obase, int16_t nw, int16_t fg, int16_t bg, int16_t row, int16_t col, int8_t *str, int16_t pitch, int16_t ht, int16_t cgtab[][256]);
     102extern  void            vsetav(volatile uint16_t *obase, int16_t row, int16_t col, uint16_t attr, int16_t len);
     103extern  void            vsetcv(volatile uint16_t *obase, int16_t row, int16_t col, uint16_t fgbg, int16_t len);
     104extern  void            vsplot4(volatile uint16_t *obase, int16_t nw, int16_t fg, int16_t row, int16_t col, int8_t *str, int16_t pitch, int16_t ht, int16_t cgtab[][256]);
     105extern  void            vvputsv(volatile uint16_t *obase, int16_t nw, int16_t fg, int16_t bg, int16_t row, int16_t col, int8_t *str, int16_t pitch, int16_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(uint16_t *obase, int16_t nw, int16_t fg, int16_t bg, int16_t row, int16_t col, int8_t *str);
     107extern  void            vwputs(volatile 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.