- Timestamp:
- 08/19/2017 09:59:43 AM (7 years ago)
- Branches:
- master
- Children:
- 53a8288
- Parents:
- c59409e
- Location:
- misc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
misc/proto.c
rc59409e rad89950 1 1 #include "ram.h" 2 2 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 3 int8_t ac_code; 4 int16_t errno; 5 int16_t timers[NTIMERS]; 6 int16_t fp_resv[]; 7 int8_t VerDate[]; 8 volatile uint16_t vi_scrl; 9 volatile 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; 92 36 93 37 void clrvce(int16_t vce) -
misc/proto.x
rc59409e rad89950 20 20 */ 21 21 22 extern int8_t *M1IoRec;23 extern int8_t *M2IoRec;24 extern int8_t *S1IoRec;25 extern int8_t *S2IoRec;26 extern int8_t VerDate[];27 extern int8_t ac_code;28 extern uint32_t crshpc;29 extern uint32_t crshrg[16];30 extern uint32_t crshsp;31 extern uint16_t crshsr;32 extern uint16_t crshst[16];33 extern uint32_t crshus;34 extern int8_t crshvc[4];35 extern int8_t edata;36 extern int8_t end;37 extern int16_t errno;38 extern int8_t etext;39 extern void (*foot1)(int16_t stat);40 extern void (*foot2)(int16_t stat);41 extern int16_t fp_resv[];42 extern int32_t p_dlen;43 extern void (*pulse1)(void);44 extern void (*pulse2)(void);45 extern int16_t timers[NTIMERS];46 extern int32_t uldivr;47 extern uint16_t vi_sadr;48 extern uint16_t vi_scrl;49 extern int16_t wzcrsh;22 extern int8_t *M1IoRec; 23 extern int8_t *M2IoRec; 24 extern int8_t *S1IoRec; 25 extern int8_t *S2IoRec; 26 extern int8_t VerDate[]; 27 extern int8_t ac_code; 28 extern uint32_t crshpc; 29 extern uint32_t crshrg[16]; 30 extern uint32_t crshsp; 31 extern uint16_t crshsr; 32 extern uint16_t crshst[16]; 33 extern uint32_t crshus; 34 extern int8_t crshvc[4]; 35 extern int8_t edata; 36 extern int8_t end; 37 extern int16_t errno; 38 extern int8_t etext; 39 extern void (*foot1)(int16_t stat); 40 extern void (*foot2)(int16_t stat); 41 extern int16_t fp_resv[]; 42 extern int32_t p_dlen; 43 extern void (*pulse1)(void); 44 extern void (*pulse2)(void); 45 extern int16_t timers[NTIMERS]; 46 extern int32_t uldivr; 47 extern volatile uint16_t vi_sadr; 48 extern volatile uint16_t vi_scrl; 49 extern int16_t wzcrsh; 50 50 51 51 /*
Note:
See TracChangeset
for help on using the changeset viewer.