//Schrattenecker Andreas #ifndef __YAROZE_NEGCON_H #define __YAROZE_NEGCON_H #define Negcon_Left (negcon_b1 & 0x80) #define Negcon_Down (negcon_b1 & 0x40) #define Negcon_Right (negcon_b1 & 0x20) #define Negcon_Up (negcon_b1 & 0x10) #define Negcon_Start (negcon_b1 & 0x08) #define Negcon_A (negcon_b2 & 0x20) #define Negcon_B (negcon_b2 & 0x10) #define Negcon_R (negcon_b2 & 0x08) extern u_char negcon_twist; extern u_char negcon_a1; extern u_char negcon_a2; extern u_char negcon_l; extern u_char negcon_b1; extern u_char negcon_b2; void NegconInit(void); void NegconRead(void); #endif