testpico: show that vres clear is separate
[megadrive.git] / testpico / asmtools.h
1 void burn10(unsigned short val);
2 void write16_x16(unsigned int addr, unsigned short count, short data);
3
4 /* SACB RLDU */
5 #define BTNM_S (1 << 7)
6 #define BTNM_A (1 << 6)
7 #define BTNM_C (1 << 5)
8 #define BTNM_B (1 << 4)
9 #define BTNM_R (1 << 3)
10 #define BTNM_L (1 << 2)
11 #define BTNM_D (1 << 1)
12 #define BTNM_U (1 << 0)
13
14 short get_input(void);
15 short get_line(void);
16 void  write_and_read1(unsigned int a, unsigned short d, void *dst);
17 void  move_sr(unsigned short sr);
18 short move_sr_and_read(unsigned short sr, unsigned int a);
19 short read_sr(void);
20 void  memcpy_(void *dst, const void *src, unsigned short size);
21 void  memset_(void *dst, int d, unsigned short size);
22
23 void test_vcnt_vb(void);
24 void test_vcnt_loops(void);
25 void test_f(void);
26 void test_hb(void);
27 void test_v_h_2(void);
28 void test_h_v_2(void);
29 void test_ym_stopped_tick(void);
30 short test_ym_ab_sync(void);
31 short test_ym_ab_sync2(void);
32
33 extern const char get_input_s[];
34 extern const char get_input_end[];
35 extern const char test_hint[];
36 extern const char test_hint_end[];
37 extern const char test_vint[];
38 extern const char test_vint_end[];
39 extern const char test_f_vint[];
40 extern const char test_f_vint_end[];
41 extern const char x32x_enable[];
42 extern const char x32x_enable_end[];
43 extern const char x32x_disable[];
44 extern const char x32x_disable_end[];
45 extern const char x32x_switch_rv[];
46 extern const char x32x_switch_rv_end[];
47 extern const char test_32x_b_c0[];
48 extern const char test_32x_b_c0_end[];