82 lines
1.5 KiB
C
82 lines
1.5 KiB
C
#include "elea_tipi.h"
|
|
|
|
|
|
/* e f = 0 0 */
|
|
#define CAR_ZERO 0
|
|
#define CAR_UNO 1
|
|
#define CAR_DUE 3
|
|
#define CAR_TRE 7
|
|
#define CAR_QUATTRO 4
|
|
#define CAR_CINQUE 8
|
|
#define CAR_SEI 9
|
|
#define CAR_SETTE 11
|
|
#define CAR_OTTO 15
|
|
#define CAR_NOVE 12
|
|
|
|
#define CAR_ONDA 2
|
|
#define CAR_PIU 5
|
|
#define CAR_DIESIS 6
|
|
#define CAR_BARRA 10
|
|
#define CAR_MENO 11
|
|
#define CAR_DIVISO 14
|
|
|
|
|
|
/* e f = 0 1 */
|
|
#define CAR_PHI 16
|
|
#define CAR_A 17
|
|
#define CAR_B 19
|
|
#define CAR_C 23
|
|
#define CAR_D 20
|
|
#define CAR_E 24
|
|
#define CAR_F 25
|
|
#define CAR_G 27
|
|
#define CAR_H 31
|
|
#define CAR_I 28
|
|
|
|
#define CAR_DELTA 18
|
|
#define CAR_UGUALE 21
|
|
#define CAR_ALFA 22
|
|
#define CAR_PERCENTO 26
|
|
#define CAR_VIRGOLA 27
|
|
#define CAR_GAMMA 30
|
|
|
|
|
|
/* e f = 1 1 */
|
|
#define CAR_EPSILON 48
|
|
#define CAR_J 49
|
|
#define CAR_K 51
|
|
#define CAR_L 55
|
|
#define CAR_M 52
|
|
#define CAR_N 56
|
|
#define CAR_O 57
|
|
#define CAR_P 59
|
|
#define CAR_Q 63
|
|
#define CAR_R 60
|
|
|
|
#define CAR_ASTERISCO 50
|
|
#define CAR_APERTA_PARENTESI 53
|
|
#define CAR_BETA 54
|
|
#define CAR_DOLLARO 58
|
|
#define CAR_ETA 59
|
|
#define CAR_PI 62
|
|
|
|
|
|
/* e f = 1 0 */
|
|
#define CAR_PUNTO 32
|
|
#define CAR_S 33
|
|
#define CAR_T 35
|
|
#define CAR_U 39
|
|
#define CAR_V 36
|
|
#define CAR_W 40
|
|
#define CAR_X 41
|
|
#define CAR_Y 43
|
|
#define CAR_Z 47
|
|
#define CAR_APOSTROFO 44
|
|
|
|
#define CAR_TETA 34
|
|
#define CAR_ESCLAMATIVO 37
|
|
#define CAR_CHIUSA_PARENTESI 38
|
|
#define CAR_INTERROGATIVO 42
|
|
#define CAR_E_COMMERCIALE 43
|
|
#define CAR_MOLTIPLICATO_PER 46
|
|
|