Révision 3
Ajouté par Jacques LAFFONT il y a plus de 6 ans
periph.h | ||
---|---|---|
|
||
#define ADDR(x) ((x & ~0x20) - 'A')
|
||
#define ADDR(x) (x -'A')
|
||
|
||
int periph_read (char addr,int * val);
|
||
void periph_write (char addr,int valeur);
|
||
... | ... | |
|
||
void periph_init(void);
|
||
|
||
extern Tperiph periph[26];
|
||
extern int canal[7];
|
||
extern int canal_ok;
|
||
extern Tperiph periph['z'-'A'];
|
Formats disponibles : Unified diff
Correction périphériques.