X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=testpico%2Fasmtools.h;h=0b34a1ae76f8ab7733cb7d7de837a80f2cc1345d;hb=HEAD;hp=5b53023bdec5ac34d1a50e8e4ba3b1018bbd3be4;hpb=06d7984c0110c58104633dc4359fa7a8343bac11;p=megadrive.git diff --git a/testpico/asmtools.h b/testpico/asmtools.h index 5b53023..94bcfea 100644 --- a/testpico/asmtools.h +++ b/testpico/asmtools.h @@ -11,19 +11,27 @@ void write16_x16(unsigned int addr, unsigned short count, short data); #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[]; @@ -32,5 +40,9 @@ 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[];