fix missed clear
[megadrive.git] / testpico / asmtools.h
CommitLineData
ffd4b35c 1void burn10(unsigned short val);
a385208c 2void 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
6c839579 14int get_input(void);
15void write_and_read1(unsigned int a, unsigned short d, void *dst);
16void move_sr(unsigned short sr);
17short move_sr_and_read(unsigned short sr, unsigned int a);
18void memcpy_(void *dst, const void *src, unsigned short size);
19void memset_(void *dst, int d, unsigned short size);
20
cc7e5122 21void test_vcnt_vb(void);
22void test_f(void);
23void test_hb(void);
24void test_v_h_2(void);
25void test_h_v_2(void);
6c839579 26
27extern const char test_hint[];
28extern const char test_hint_end[];
29extern const char test_vint[];
30extern const char test_vint_end[];
cc7e5122 31extern const char test_f_vint[];
32extern const char test_f_vint_end[];
9d39a80e 33extern const char x32x_enable[];
34extern const char x32x_enable_end[];
06d7984c 35extern const char test_32x_b_c0[];
36extern const char test_32x_b_c0_end[];