#define BTNM_D (1 << 1)
#define BTNM_U (1 << 0)
-int get_input(void);
+short get_input(void);
+short get_line(void);
void write_and_read1(unsigned int a, unsigned short d, void *dst);
void move_sr(unsigned short sr);
short move_sr_and_read(unsigned short sr, unsigned int a);
+short read_sr(void);
void memcpy_(void *dst, const void *src, unsigned short size);
void memset_(void *dst, int d, unsigned short size);
void test_vcnt_vb(void);
+void test_vcnt_loops(void);
void test_f(void);
void test_hb(void);
void test_v_h_2(void);
void test_h_v_2(void);
+void test_ym_stopped_tick(void);
+short test_ym_ab_sync(void);
+short test_ym_ab_sync2(void);
+extern const char get_input_s[];
+extern const char get_input_end[];
extern const char test_hint[];
extern const char test_hint_end[];
extern const char test_vint[];
extern const char test_vint_end[];
extern const char test_f_vint[];
extern const char test_f_vint_end[];
+extern const char x32x_enable[];
+extern const char x32x_enable_end[];
+extern const char x32x_disable[];
+extern const char x32x_disable_end[];
+extern const char x32x_switch_rv[];
+extern const char x32x_switch_rv_end[];
+extern const char test_32x_b_c0[];
+extern const char test_32x_b_c0_end[];