Changeset ad89950 in buchla-68k for misc/proto.c


Ignore:
Timestamp:
08/19/2017 09:59:43 AM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
53a8288
Parents:
c59409e
Message:

Volatile ISR variables.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • misc/proto.c

    rc59409e rad89950  
    11#include "ram.h"
    22
    3 int8_t          ac_code;
    4 int16_t         errno;
    5 int16_t         timers[NTIMERS];
    6 int16_t         fp_resv[];
    7 int8_t          VerDate[];
    8 uint16_t        vi_scrl;
    9 uint16_t        vi_sadr;
    10 
    11 int8_t          end;
    12 int8_t          edata;
    13 int8_t          etext;
    14 int32_t         p_dlen;
    15 
    16 int8_t          *S1IoRec;
    17 int8_t          *S2IoRec;
    18 int8_t          *M1IoRec;
    19 int8_t          *M2IoRec;
    20 
    21 void            (*foot1)(int16_t stat);
    22 void            (*foot2)(int16_t stat);
    23 void            (*pulse1)(void);
    24 void            (*pulse2)(void);
    25 
    26 uint32_t        crshrg[16];
    27 int16_t         wzcrsh;
    28 uint32_t        crshpc;
    29 uint32_t        crshsp;
    30 uint32_t        crshus;
    31 uint16_t        crshst[16];
    32 uint16_t        crshsr;
    33 int8_t          crshvc[4];
    34 
    35 int32_t         uldivr;
    36 
    37 // ---------- vvv ---------- wdfield.c
    38 
    39 #if 0
    40 
    41 void updfpu(void)
    42 {
    43 }
    44 
    45 void wsupd(void)
    46 {
    47 }
    48 
    49 void whupd(void)
    50 {
    51 }
    52 
    53 void pntsup(void)
    54 {
    55 }
    56 
    57 void wdintp(void)
    58 {
    59 }
    60 
    61 void wdykdn(void)
    62 {
    63 }
    64 
    65 void wdykup(void)
    66 {
    67 }
    68 
    69 void wdcyupd(void)
    70 {
    71 }
    72 
    73 void wdcxupd(void)
    74 {
    75 }
    76 
    77 int16_t wdnfld(int16_t k)
    78 {
    79 }
    80 
    81 void wdxkey(void)
    82 {
    83 }
    84 
    85 void wdfield(void)
    86 {
    87 }
    88 
    89 #endif
    90 
    91 // ---------- ^^^ ---------- wdfield.c
     3int8_t                  ac_code;
     4int16_t                 errno;
     5int16_t                 timers[NTIMERS];
     6int16_t                 fp_resv[];
     7int8_t                  VerDate[];
     8volatile uint16_t       vi_scrl;
     9volatile uint16_t       vi_sadr;
     10
     11int8_t                  end;
     12int8_t                  edata;
     13int8_t                  etext;
     14int32_t                 p_dlen;
     15
     16int8_t                  *S1IoRec;
     17int8_t                  *S2IoRec;
     18int8_t                  *M1IoRec;
     19int8_t                  *M2IoRec;
     20
     21void                    (*foot1)(int16_t stat);
     22void                    (*foot2)(int16_t stat);
     23void                    (*pulse1)(void);
     24void                    (*pulse2)(void);
     25
     26uint32_t                crshrg[16];
     27int16_t                 wzcrsh;
     28uint32_t                crshpc;
     29uint32_t                crshsp;
     30uint32_t                crshus;
     31uint16_t                crshst[16];
     32uint16_t                crshsr;
     33int8_t                  crshvc[4];
     34
     35int32_t                 uldivr;
    9236
    9337void clrvce(int16_t vce)
Note: See TracChangeset for help on using the changeset viewer.