;misc test
incdir  "tests"
include "dsp_base.inc"

lri $AR1,    #0x2351
lri $IX1,    #0xb796
lri $WR1,    #0x629a
cw 0x15
call send_back  ; 44128 (0xac60)

lri $AR1,    #0x6ddf
lri $IX1,    #0x1a6e
lri $WR1,    #0x82c9
cw 0x15
call send_back  ; 44129 (0xac61)

lri $AR1,    #0xe252
lri $IX1,    #0x8e18
lri $WR1,    #0x9b54
cw 0x15
call send_back  ; 44130 (0xac62)

lri $AR1,    #0x9fc9
lri $IX1,    #0x3b4a
lri $WR1,    #0x488d
cw 0x15
call send_back  ; 44131 (0xac63)

lri $AR1,    #0x670e
lri $IX1,    #0x9a50
lri $WR1,    #0x43bf
cw 0x15
call send_back  ; 44132 (0xac64)

lri $AR1,    #0x6c20
lri $IX1,    #0xb504
lri $WR1,    #0x8189
cw 0x15
call send_back  ; 44133 (0xac65)

lri $AR1,    #0x5541
lri $IX1,    #0x62c2
lri $WR1,    #0xea40
cw 0x15
call send_back  ; 44134 (0xac66)

lri $AR1,    #0x835d
lri $IX1,    #0xe412
lri $WR1,    #0x7d6e
cw 0x15
call send_back  ; 44135 (0xac67)

lri $AR1,    #0x5730
lri $IX1,    #0xf034
lri $WR1,    #0xb6ed
cw 0x15
call send_back  ; 44136 (0xac68)

lri $AR1,    #0x91d3
lri $IX1,    #0x7f34
lri $WR1,    #0x35c4
cw 0x15
call send_back  ; 44137 (0xac69)

lri $AR1,    #0x8f2f
lri $IX1,    #0x7fd8
lri $WR1,    #0x523d
cw 0x15
call send_back  ; 44138 (0xac6a)

lri $AR1,    #0xcbf9
lri $IX1,    #0x58e6
lri $WR1,    #0x6259
cw 0x15
call send_back  ; 44139 (0xac6b)

lri $AR1,    #0xd0ac
lri $IX1,    #0xb218
lri $WR1,    #0x4129
cw 0x15
call send_back  ; 44140 (0xac6c)

lri $AR1,    #0x1633
lri $IX1,    #0xa960
lri $WR1,    #0xa720
cw 0x15
call send_back  ; 44141 (0xac6d)

lri $AR1,    #0xa8b1
lri $IX1,    #0x6db6
lri $WR1,    #0xdede
cw 0x15
call send_back  ; 44142 (0xac6e)

lri $AR1,    #0x9016
lri $IX1,    #0x590a
lri $WR1,    #0xc3a0
cw 0x15
call send_back  ; 44143 (0xac6f)

lri $AR1,    #0xbdf1
lri $IX1,    #0x2f9c
lri $WR1,    #0x9bd5
cw 0x15
call send_back  ; 44144 (0xac70)

lri $AR1,    #0xcb35
lri $IX1,    #0x4372
lri $WR1,    #0x2bda
cw 0x15
call send_back  ; 44145 (0xac71)

lri $AR1,    #0x1050
lri $IX1,    #0xff00
lri $WR1,    #0xaa8d
cw 0x15
call send_back  ; 44146 (0xac72)

lri $AR1,    #0x7565
lri $IX1,    #0xeaca
lri $WR1,    #0x72ae
cw 0x15
call send_back  ; 44147 (0xac73)

lri $AR1,    #0x1fe7
lri $IX1,    #0xbe2a
lri $WR1,    #0xc1a7
cw 0x15
call send_back  ; 44148 (0xac74)

lri $AR1,    #0xbe85
lri $IX1,    #0x93dc
lri $WR1,    #0xedc7
cw 0x15
call send_back  ; 44149 (0xac75)

lri $AR1,    #0x838f
lri $IX1,    #0x0fa2
lri $WR1,    #0x9b8f
cw 0x15
call send_back  ; 44150 (0xac76)

lri $AR1,    #0x41cb
lri $IX1,    #0x4280
lri $WR1,    #0x7b03
cw 0x15
call send_back  ; 44151 (0xac77)

lri $AR1,    #0x76ea
lri $IX1,    #0x87f0
lri $WR1,    #0x5bac
cw 0x15
call send_back  ; 44152 (0xac78)

lri $AR1,    #0xba86
lri $IX1,    #0x8e98
lri $WR1,    #0xcf55
cw 0x15
call send_back  ; 44153 (0xac79)

lri $AR1,    #0x67e8
lri $IX1,    #0x63ce
lri $WR1,    #0x80ff
cw 0x15
call send_back  ; 44154 (0xac7a)

lri $AR1,    #0xcc6a
lri $IX1,    #0xc986
lri $WR1,    #0x3737
cw 0x15
call send_back  ; 44155 (0xac7b)

lri $AR1,    #0x8bd1
lri $IX1,    #0x7ae6
lri $WR1,    #0x8e4f
cw 0x15
call send_back  ; 44156 (0xac7c)

lri $AR1,    #0xa756
lri $IX1,    #0x6c26
lri $WR1,    #0x3089
cw 0x15
call send_back  ; 44157 (0xac7d)

lri $AR1,    #0x83cd
lri $IX1,    #0xa702
lri $WR1,    #0x8fcf
cw 0x15
call send_back  ; 44158 (0xac7e)

lri $AR1,    #0xce9c
lri $IX1,    #0x4544
lri $WR1,    #0x45fd
cw 0x15
call send_back  ; 44159 (0xac7f)

lri $AR1,    #0x18eb
lri $IX1,    #0x57ca
lri $WR1,    #0xa64c
cw 0x15
call send_back  ; 44160 (0xac80)

lri $AR1,    #0xcbc9
lri $IX1,    #0x6092
lri $WR1,    #0x93ff
cw 0x15
call send_back  ; 44161 (0xac81)

lri $AR1,    #0x97a8
lri $IX1,    #0x8b00
lri $WR1,    #0x3fcc
cw 0x15
call send_back  ; 44162 (0xac82)

lri $AR1,    #0x94ef
lri $IX1,    #0x1e26
lri $WR1,    #0xdf1d
cw 0x15
call send_back  ; 44163 (0xac83)

lri $AR1,    #0x52fc
lri $IX1,    #0xe128
lri $WR1,    #0xa5bc
cw 0x15
call send_back  ; 44164 (0xac84)

lri $AR1,    #0x6e6a
lri $IX1,    #0x726c
lri $WR1,    #0xa3ee
cw 0x15
call send_back  ; 44165 (0xac85)

lri $AR1,    #0x56dc
lri $IX1,    #0x06d4
lri $WR1,    #0x8898
cw 0x15
call send_back  ; 44166 (0xac86)

lri $AR1,    #0x902c
lri $IX1,    #0xc6a2
lri $WR1,    #0x887a
cw 0x15
call send_back  ; 44167 (0xac87)

lri $AR1,    #0xd244
lri $IX1,    #0x2a4c
lri $WR1,    #0xb10f
cw 0x15
call send_back  ; 44168 (0xac88)

lri $AR1,    #0x567f
lri $IX1,    #0x71d0
lri $WR1,    #0x1723
cw 0x15
call send_back  ; 44169 (0xac89)

lri $AR1,    #0xc0c2
lri $IX1,    #0xb5d2
lri $WR1,    #0x7eae
cw 0x15
call send_back  ; 44170 (0xac8a)

lri $AR1,    #0x4652
lri $IX1,    #0x4238
lri $WR1,    #0x2b0c
cw 0x15
call send_back  ; 44171 (0xac8b)

lri $AR1,    #0x5b7a
lri $IX1,    #0x0650
lri $WR1,    #0xdc0b
cw 0x15
call send_back  ; 44172 (0xac8c)

lri $AR1,    #0xad02
lri $IX1,    #0x0f5c
lri $WR1,    #0x7602
cw 0x15
call send_back  ; 44173 (0xac8d)

lri $AR1,    #0x59af
lri $IX1,    #0x5696
lri $WR1,    #0x5063
cw 0x15
call send_back  ; 44174 (0xac8e)

lri $AR1,    #0xa39c
lri $IX1,    #0xcc6c
lri $WR1,    #0x87e3
cw 0x15
call send_back  ; 44175 (0xac8f)

lri $AR1,    #0x88cb
lri $IX1,    #0x9712
lri $WR1,    #0x56cf
cw 0x15
call send_back  ; 44176 (0xac90)

lri $AR1,    #0xbda9
lri $IX1,    #0x133e
lri $WR1,    #0xbf89
cw 0x15
call send_back  ; 44177 (0xac91)

lri $AR1,    #0xc3ea
lri $IX1,    #0x6a06
lri $WR1,    #0x22e1
cw 0x15
call send_back  ; 44178 (0xac92)

lri $AR1,    #0xab78
lri $IX1,    #0x9fcc
lri $WR1,    #0x8d2b
cw 0x15
call send_back  ; 44179 (0xac93)

lri $AR1,    #0x52dd
lri $IX1,    #0xfc3c
lri $WR1,    #0x7ad2
cw 0x15
call send_back  ; 44180 (0xac94)

lri $AR1,    #0x97e1
lri $IX1,    #0xb424
lri $WR1,    #0xee4e
cw 0x15
call send_back  ; 44181 (0xac95)

lri $AR1,    #0x38b7
lri $IX1,    #0xf24a
lri $WR1,    #0xcf2a
cw 0x15
call send_back  ; 44182 (0xac96)

lri $AR1,    #0x0990
lri $IX1,    #0xdcec
lri $WR1,    #0x8b23
cw 0x15
call send_back  ; 44183 (0xac97)

lri $AR1,    #0x79cf
lri $IX1,    #0x223c
lri $WR1,    #0x37e5
cw 0x15
call send_back  ; 44184 (0xac98)

lri $AR1,    #0x8fcc
lri $IX1,    #0x0e4c
lri $WR1,    #0x5d7d
cw 0x15
call send_back  ; 44185 (0xac99)

lri $AR1,    #0x6150
lri $IX1,    #0x51d6
lri $WR1,    #0x7f1b
cw 0x15
call send_back  ; 44186 (0xac9a)

lri $AR1,    #0x82c1
lri $IX1,    #0x916c
lri $WR1,    #0xc927
cw 0x15
call send_back  ; 44187 (0xac9b)

lri $AR1,    #0x4e37
lri $IX1,    #0xb148
lri $WR1,    #0x612e
cw 0x15
call send_back  ; 44188 (0xac9c)

lri $AR1,    #0x9f47
lri $IX1,    #0xba72
lri $WR1,    #0x8ddb
cw 0x15
call send_back  ; 44189 (0xac9d)

lri $AR1,    #0x8fe6
lri $IX1,    #0x4a68
lri $WR1,    #0x2a67
cw 0x15
call send_back  ; 44190 (0xac9e)

lri $AR1,    #0x4627
lri $IX1,    #0xdef2
lri $WR1,    #0x7aa4
cw 0x15
call send_back  ; 44191 (0xac9f)

lri $AR1,    #0xda24
lri $IX1,    #0x1c64
lri $WR1,    #0x5a2c
cw 0x15
call send_back  ; 44192 (0xaca0)

lri $AR1,    #0xa6e7
lri $IX1,    #0x84e6
lri $WR1,    #0x4ac7
cw 0x15
call send_back  ; 44193 (0xaca1)

lri $AR1,    #0x58a6
lri $IX1,    #0x1c02
lri $WR1,    #0x739b
cw 0x15
call send_back  ; 44194 (0xaca2)

lri $AR1,    #0x1e11
lri $IX1,    #0x422a
lri $WR1,    #0x9428
cw 0x15
call send_back  ; 44195 (0xaca3)

lri $AR1,    #0x6a1b
lri $IX1,    #0xd054
lri $WR1,    #0xa3b7
cw 0x15
call send_back  ; 44196 (0xaca4)

lri $AR1,    #0x8ef8
lri $IX1,    #0x4476
lri $WR1,    #0xaf35
cw 0x15
call send_back  ; 44197 (0xaca5)

lri $AR1,    #0x8aaf
lri $IX1,    #0xc3f2
lri $WR1,    #0x6516
cw 0x15
call send_back  ; 44198 (0xaca6)

lri $AR1,    #0x8105
lri $IX1,    #0xf9cc
lri $WR1,    #0x8050
cw 0x15
call send_back  ; 44199 (0xaca7)

lri $AR1,    #0x7619
lri $IX1,    #0x82aa
lri $WR1,    #0xc8fe
cw 0x15
call send_back  ; 44200 (0xaca8)

lri $AR1,    #0x487e
lri $IX1,    #0xd17c
lri $WR1,    #0x8ab2
cw 0x15
call send_back  ; 44201 (0xaca9)

lri $AR1,    #0x891e
lri $IX1,    #0x5bc8
lri $WR1,    #0x8e16
cw 0x15
call send_back  ; 44202 (0xacaa)

lri $AR1,    #0x82c7
lri $IX1,    #0x8d92
lri $WR1,    #0xb4d8
cw 0x15
call send_back  ; 44203 (0xacab)

lri $AR1,    #0x6a99
lri $IX1,    #0xa0be
lri $WR1,    #0x2c88
cw 0x15
call send_back  ; 44204 (0xacac)

lri $AR1,    #0xae35
lri $IX1,    #0x1cda
lri $WR1,    #0xa665
cw 0x15
call send_back  ; 44205 (0xacad)

lri $AR1,    #0x8404
lri $IX1,    #0x9864
lri $WR1,    #0x7fae
cw 0x15
call send_back  ; 44206 (0xacae)

lri $AR1,    #0x254d
lri $IX1,    #0x7546
lri $WR1,    #0x2790
cw 0x15
call send_back  ; 44207 (0xacaf)

lri $AR1,    #0x5184
lri $IX1,    #0xdeae
lri $WR1,    #0x3535
cw 0x15
call send_back  ; 44208 (0xacb0)

lri $AR1,    #0xc592
lri $IX1,    #0x66fa
lri $WR1,    #0x6a09
cw 0x15
call send_back  ; 44209 (0xacb1)

lri $AR1,    #0x916b
lri $IX1,    #0x68e6
lri $WR1,    #0xa9ca
cw 0x15
call send_back  ; 44210 (0xacb2)

lri $AR1,    #0x89c7
lri $IX1,    #0xdfb4
lri $WR1,    #0xa362
cw 0x15
call send_back  ; 44211 (0xacb3)

lri $AR1,    #0x5b43
lri $IX1,    #0xe662
lri $WR1,    #0xdb3c
cw 0x15
call send_back  ; 44212 (0xacb4)

lri $AR1,    #0x5fbf
lri $IX1,    #0x96ce
lri $WR1,    #0xe0f5
cw 0x15
call send_back  ; 44213 (0xacb5)

lri $AR1,    #0xa656
lri $IX1,    #0xb5bc
lri $WR1,    #0x982b
cw 0x15
call send_back  ; 44214 (0xacb6)

lri $AR1,    #0x819f
lri $IX1,    #0x99b0
lri $WR1,    #0x7d4e
cw 0x15
call send_back  ; 44215 (0xacb7)

lri $AR1,    #0xc7b4
lri $IX1,    #0x268c
lri $WR1,    #0x952b
cw 0x15
call send_back  ; 44216 (0xacb8)

lri $AR1,    #0x9aa4
lri $IX1,    #0xb0d0
lri $WR1,    #0x9f15
cw 0x15
call send_back  ; 44217 (0xacb9)

lri $AR1,    #0x6fbf
lri $IX1,    #0x3f9a
lri $WR1,    #0x8f6e
cw 0x15
call send_back  ; 44218 (0xacba)

lri $AR1,    #0x7f74
lri $IX1,    #0x151c
lri $WR1,    #0xa970
cw 0x15
call send_back  ; 44219 (0xacbb)

lri $AR1,    #0xaf2d
lri $IX1,    #0xc1a0
lri $WR1,    #0xa4eb
cw 0x15
call send_back  ; 44220 (0xacbc)

lri $AR1,    #0x41dc
lri $IX1,    #0x6e00
lri $WR1,    #0x85f0
cw 0x15
call send_back  ; 44221 (0xacbd)

lri $AR1,    #0x8b97
lri $IX1,    #0x9e7a
lri $WR1,    #0x8a06
cw 0x15
call send_back  ; 44222 (0xacbe)

lri $AR1,    #0x681e
lri $IX1,    #0x8fd8
lri $WR1,    #0x2ff6
cw 0x15
call send_back  ; 44223 (0xacbf)

lri $AR1,    #0x2b7c
lri $IX1,    #0x9ce2
lri $WR1,    #0xc4b9
cw 0x15
call send_back  ; 44224 (0xacc0)

lri $AR1,    #0x0fb9
lri $IX1,    #0xf2ea
lri $WR1,    #0x69a1
cw 0x15
call send_back  ; 44225 (0xacc1)

lri $AR1,    #0x21cb
lri $IX1,    #0x60a2
lri $WR1,    #0x953d
cw 0x15
call send_back  ; 44226 (0xacc2)

lri $AR1,    #0x43ae
lri $IX1,    #0x5ad8
lri $WR1,    #0x822b
cw 0x15
call send_back  ; 44227 (0xacc3)

lri $AR1,    #0x60e7
lri $IX1,    #0x8f56
lri $WR1,    #0xb430
cw 0x15
call send_back  ; 44228 (0xacc4)

lri $AR1,    #0xce49
lri $IX1,    #0xa69e
lri $WR1,    #0x95de
cw 0x15
call send_back  ; 44229 (0xacc5)

lri $AR1,    #0xdd3a
lri $IX1,    #0x499c
lri $WR1,    #0x0e39
cw 0x15
call send_back  ; 44230 (0xacc6)

lri $AR1,    #0x4e6b
lri $IX1,    #0x410c
lri $WR1,    #0xaf70
cw 0x15
call send_back  ; 44231 (0xacc7)

lri $AR1,    #0x672f
lri $IX1,    #0xb0ce
lri $WR1,    #0xa53b
cw 0x15
call send_back  ; 44232 (0xacc8)

lri $AR1,    #0x5850
lri $IX1,    #0x29b8
lri $WR1,    #0x32f4
cw 0x15
call send_back  ; 44233 (0xacc9)

lri $AR1,    #0x44c0
lri $IX1,    #0xb13c
lri $WR1,    #0xbef3
cw 0x15
call send_back  ; 44234 (0xacca)

lri $AR1,    #0x69d7
lri $IX1,    #0x0e76
lri $WR1,    #0x7a3e
cw 0x15
call send_back  ; 44235 (0xaccb)

lri $AR1,    #0x9285
lri $IX1,    #0xc8e0
lri $WR1,    #0x8924
cw 0x15
call send_back  ; 44236 (0xaccc)

lri $AR1,    #0x7a4b
lri $IX1,    #0x6d56
lri $WR1,    #0x8aca
cw 0x15
call send_back  ; 44237 (0xaccd)

; We're done, DO NOT DELETE THIS LINE
jmp end_of_test