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

lri $AR1,    #0x7430
lri $IX1,    #0xfd64
lri $WR1,    #0x5b3e
cw 0xd
call send_back  ; 44238 (0xacce)

lri $AR1,    #0x6daa
lri $IX1,    #0xc8e6
lri $WR1,    #0x4d27
cw 0xd
call send_back  ; 44239 (0xaccf)

lri $AR1,    #0x9c9c
lri $IX1,    #0x2212
lri $WR1,    #0x3d89
cw 0xd
call send_back  ; 44240 (0xacd0)

lri $AR1,    #0xb36d
lri $IX1,    #0x15da
lri $WR1,    #0x2ddc
cw 0xd
call send_back  ; 44241 (0xacd1)

lri $AR1,    #0x3554
lri $IX1,    #0xa4dc
lri $WR1,    #0xddc8
cw 0xd
call send_back  ; 44242 (0xacd2)

lri $AR1,    #0x58d2
lri $IX1,    #0x61fc
lri $WR1,    #0x0fd2
cw 0xd
call send_back  ; 44243 (0xacd3)

lri $AR1,    #0x2d98
lri $IX1,    #0x1be2
lri $WR1,    #0x9963
cw 0xd
call send_back  ; 44244 (0xacd4)

lri $AR1,    #0x56a3
lri $IX1,    #0x08aa
lri $WR1,    #0x783e
cw 0xd
call send_back  ; 44245 (0xacd5)

lri $AR1,    #0x78ec
lri $IX1,    #0xb682
lri $WR1,    #0x4511
cw 0xd
call send_back  ; 44246 (0xacd6)

lri $AR1,    #0xe27a
lri $IX1,    #0x83b2
lri $WR1,    #0x5c04
cw 0xd
call send_back  ; 44247 (0xacd7)

lri $AR1,    #0x4518
lri $IX1,    #0x73a0
lri $WR1,    #0xd9fe
cw 0xd
call send_back  ; 44248 (0xacd8)

lri $AR1,    #0x8b90
lri $IX1,    #0xbe5c
lri $WR1,    #0x76a0
cw 0xd
call send_back  ; 44249 (0xacd9)

lri $AR1,    #0xafb5
lri $IX1,    #0x5364
lri $WR1,    #0x3075
cw 0xd
call send_back  ; 44250 (0xacda)

lri $AR1,    #0x6b01
lri $IX1,    #0x97ee
lri $WR1,    #0x1293
cw 0xd
call send_back  ; 44251 (0xacdb)

lri $AR1,    #0x8332
lri $IX1,    #0xcc92
lri $WR1,    #0x7005
cw 0xd
call send_back  ; 44252 (0xacdc)

lri $AR1,    #0xaf93
lri $IX1,    #0x9db2
lri $WR1,    #0xab45
cw 0xd
call send_back  ; 44253 (0xacdd)

lri $AR1,    #0x835f
lri $IX1,    #0x4d46
lri $WR1,    #0x5d29
cw 0xd
call send_back  ; 44254 (0xacde)

lri $AR1,    #0x4d00
lri $IX1,    #0x8488
lri $WR1,    #0xd071
cw 0xd
call send_back  ; 44255 (0xacdf)

lri $AR1,    #0x5174
lri $IX1,    #0x0f3c
lri $WR1,    #0xac74
cw 0xd
call send_back  ; 44256 (0xace0)

lri $AR1,    #0x96be
lri $IX1,    #0x69e2
lri $WR1,    #0x330b
cw 0xd
call send_back  ; 44257 (0xace1)

lri $AR1,    #0x6f97
lri $IX1,    #0x07a2
lri $WR1,    #0x8337
cw 0xd
call send_back  ; 44258 (0xace2)

lri $AR1,    #0x8e46
lri $IX1,    #0x6454
lri $WR1,    #0xc3a8
cw 0xd
call send_back  ; 44259 (0xace3)

lri $AR1,    #0x6be4
lri $IX1,    #0x3a54
lri $WR1,    #0x4da5
cw 0xd
call send_back  ; 44260 (0xace4)

lri $AR1,    #0x2cdd
lri $IX1,    #0x6b98
lri $WR1,    #0xca67
cw 0xd
call send_back  ; 44261 (0xace5)

lri $AR1,    #0xbafd
lri $IX1,    #0x38ae
lri $WR1,    #0x9282
cw 0xd
call send_back  ; 44262 (0xace6)

lri $AR1,    #0x70dc
lri $IX1,    #0x201a
lri $WR1,    #0x605a
cw 0xd
call send_back  ; 44263 (0xace7)

lri $AR1,    #0xca02
lri $IX1,    #0x13cc
lri $WR1,    #0x6c45
cw 0xd
call send_back  ; 44264 (0xace8)

lri $AR1,    #0x7677
lri $IX1,    #0x79fc
lri $WR1,    #0xb267
cw 0xd
call send_back  ; 44265 (0xace9)

lri $AR1,    #0xd02b
lri $IX1,    #0x8a56
lri $WR1,    #0x4fc5
cw 0xd
call send_back  ; 44266 (0xacea)

lri $AR1,    #0x6403
lri $IX1,    #0xe79e
lri $WR1,    #0x75bd
cw 0xd
call send_back  ; 44267 (0xaceb)

lri $AR1,    #0x67c2
lri $IX1,    #0xb9ca
lri $WR1,    #0xc85d
cw 0xd
call send_back  ; 44268 (0xacec)

lri $AR1,    #0x71c4
lri $IX1,    #0xe3ac
lri $WR1,    #0x75b0
cw 0xd
call send_back  ; 44269 (0xaced)

lri $AR1,    #0x76b4
lri $IX1,    #0x1b3e
lri $WR1,    #0x5195
cw 0xd
call send_back  ; 44270 (0xacee)

lri $AR1,    #0xd531
lri $IX1,    #0x8a9c
lri $WR1,    #0x2325
cw 0xd
call send_back  ; 44271 (0xacef)

lri $AR1,    #0x6e94
lri $IX1,    #0x13ae
lri $WR1,    #0x764b
cw 0xd
call send_back  ; 44272 (0xacf0)

lri $AR1,    #0x57bc
lri $IX1,    #0x37be
lri $WR1,    #0x8d7f
cw 0xd
call send_back  ; 44273 (0xacf1)

lri $AR1,    #0x6c23
lri $IX1,    #0xdfc2
lri $WR1,    #0x5d5c
cw 0xd
call send_back  ; 44274 (0xacf2)

lri $AR1,    #0x6118
lri $IX1,    #0xb1c2
lri $WR1,    #0x2cfc
cw 0xd
call send_back  ; 44275 (0xacf3)

lri $AR1,    #0x3e5d
lri $IX1,    #0x2312
lri $WR1,    #0x6bc7
cw 0xd
call send_back  ; 44276 (0xacf4)

lri $AR1,    #0x3d09
lri $IX1,    #0xeec0
lri $WR1,    #0xe6a9
cw 0xd
call send_back  ; 44277 (0xacf5)

lri $AR1,    #0x5cfa
lri $IX1,    #0xe2f6
lri $WR1,    #0xa45c
cw 0xd
call send_back  ; 44278 (0xacf6)

lri $AR1,    #0xe4a1
lri $IX1,    #0xf7bc
lri $WR1,    #0xb1c1
cw 0xd
call send_back  ; 44279 (0xacf7)

lri $AR1,    #0x567c
lri $IX1,    #0x34c6
lri $WR1,    #0xece0
cw 0xd
call send_back  ; 44280 (0xacf8)

lri $AR1,    #0x9310
lri $IX1,    #0xf3b8
lri $WR1,    #0xc69c
cw 0xd
call send_back  ; 44281 (0xacf9)

lri $AR1,    #0xbdb3
lri $IX1,    #0x67a8
lri $WR1,    #0xe0b2
cw 0xd
call send_back  ; 44282 (0xacfa)

lri $AR1,    #0xedea
lri $IX1,    #0xe22e
lri $WR1,    #0x3f0e
cw 0xd
call send_back  ; 44283 (0xacfb)

lri $AR1,    #0x9ec7
lri $IX1,    #0xf1d2
lri $WR1,    #0x58fd
cw 0xd
call send_back  ; 44284 (0xacfc)

lri $AR1,    #0x88ee
lri $IX1,    #0x0d24
lri $WR1,    #0x905c
cw 0xd
call send_back  ; 44285 (0xacfd)

lri $AR1,    #0x83c0
lri $IX1,    #0xe95a
lri $WR1,    #0xd252
cw 0xd
call send_back  ; 44286 (0xacfe)

lri $AR1,    #0x8d4e
lri $IX1,    #0xbab0
lri $WR1,    #0x4696
cw 0xd
call send_back  ; 44287 (0xacff)

lri $AR1,    #0x908c
lri $IX1,    #0x5076
lri $WR1,    #0x57dd
cw 0xd
call send_back  ; 44288 (0xad00)

lri $AR1,    #0x4c76
lri $IX1,    #0x25fc
lri $WR1,    #0x6987
cw 0xd
call send_back  ; 44289 (0xad01)

lri $AR1,    #0xbe8b
lri $IX1,    #0xfd4a
lri $WR1,    #0x1c05
cw 0xd
call send_back  ; 44290 (0xad02)

lri $AR1,    #0x865a
lri $IX1,    #0x47d6
lri $WR1,    #0x731f
cw 0xd
call send_back  ; 44291 (0xad03)

lri $AR1,    #0x3f92
lri $IX1,    #0x652a
lri $WR1,    #0x6698
cw 0xd
call send_back  ; 44292 (0xad04)

lri $AR1,    #0xab35
lri $IX1,    #0x76ae
lri $WR1,    #0x3f53
cw 0xd
call send_back  ; 44293 (0xad05)

lri $AR1,    #0x1076
lri $IX1,    #0x136a
lri $WR1,    #0x8070
cw 0xd
call send_back  ; 44294 (0xad06)

lri $AR1,    #0x60d9
lri $IX1,    #0x6628
lri $WR1,    #0x5d8c
cw 0xd
call send_back  ; 44295 (0xad07)

lri $AR1,    #0x4316
lri $IX1,    #0x13a0
lri $WR1,    #0xc49d
cw 0xd
call send_back  ; 44296 (0xad08)

lri $AR1,    #0x936f
lri $IX1,    #0x8e1e
lri $WR1,    #0x2b8c
cw 0xd
call send_back  ; 44297 (0xad09)

lri $AR1,    #0x87dc
lri $IX1,    #0x176a
lri $WR1,    #0x7f0e
cw 0xd
call send_back  ; 44298 (0xad0a)

lri $AR1,    #0x59ca
lri $IX1,    #0x812a
lri $WR1,    #0xa1d6
cw 0xd
call send_back  ; 44299 (0xad0b)

lri $AR1,    #0x7ecf
lri $IX1,    #0x9fbe
lri $WR1,    #0x40b4
cw 0xd
call send_back  ; 44300 (0xad0c)

lri $AR1,    #0x7521
lri $IX1,    #0x3aae
lri $WR1,    #0xb998
cw 0xd
call send_back  ; 44301 (0xad0d)

lri $AR1,    #0xd810
lri $IX1,    #0xf1ac
lri $WR1,    #0x5130
cw 0xd
call send_back  ; 44302 (0xad0e)

lri $AR1,    #0xb465
lri $IX1,    #0xec58
lri $WR1,    #0x540f
cw 0xd
call send_back  ; 44303 (0xad0f)

lri $AR1,    #0x4bec
lri $IX1,    #0x1ea6
lri $WR1,    #0x65fb
cw 0xd
call send_back  ; 44304 (0xad10)

lri $AR1,    #0x82fe
lri $IX1,    #0x5330
lri $WR1,    #0x8b74
cw 0xd
call send_back  ; 44305 (0xad11)

lri $AR1,    #0xf25b
lri $IX1,    #0xe84a
lri $WR1,    #0x4704
cw 0xd
call send_back  ; 44306 (0xad12)

lri $AR1,    #0x6b1b
lri $IX1,    #0x1c20
lri $WR1,    #0xd560
cw 0xd
call send_back  ; 44307 (0xad13)

lri $AR1,    #0x8211
lri $IX1,    #0xc7ae
lri $WR1,    #0x88e9
cw 0xd
call send_back  ; 44308 (0xad14)

lri $AR1,    #0x5372
lri $IX1,    #0x5ff4
lri $WR1,    #0x5eb5
cw 0xd
call send_back  ; 44309 (0xad15)

lri $AR1,    #0x7f00
lri $IX1,    #0xe01c
lri $WR1,    #0x848d
cw 0xd
call send_back  ; 44310 (0xad16)

lri $AR1,    #0x4093
lri $IX1,    #0xbeee
lri $WR1,    #0x8909
cw 0xd
call send_back  ; 44311 (0xad17)

lri $AR1,    #0xe05f
lri $IX1,    #0x2568
lri $WR1,    #0x344e
cw 0xd
call send_back  ; 44312 (0xad18)

lri $AR1,    #0xe1a4
lri $IX1,    #0x23c2
lri $WR1,    #0xf189
cw 0xd
call send_back  ; 44313 (0xad19)

lri $AR1,    #0xb638
lri $IX1,    #0x7dae
lri $WR1,    #0x9ea5
cw 0xd
call send_back  ; 44314 (0xad1a)

lri $AR1,    #0x30af
lri $IX1,    #0xb626
lri $WR1,    #0x6965
cw 0xd
call send_back  ; 44315 (0xad1b)

lri $AR1,    #0xd66a
lri $IX1,    #0x269c
lri $WR1,    #0x7652
cw 0xd
call send_back  ; 44316 (0xad1c)

lri $AR1,    #0x6e6d
lri $IX1,    #0x04d6
lri $WR1,    #0x47b4
cw 0xd
call send_back  ; 44317 (0xad1d)

lri $AR1,    #0x9936
lri $IX1,    #0x2642
lri $WR1,    #0x9800
cw 0xd
call send_back  ; 44318 (0xad1e)

lri $AR1,    #0xc187
lri $IX1,    #0xef20
lri $WR1,    #0x7ce3
cw 0xd
call send_back  ; 44319 (0xad1f)

lri $AR1,    #0x2d43
lri $IX1,    #0x0f4c
lri $WR1,    #0x8d73
cw 0xd
call send_back  ; 44320 (0xad20)

lri $AR1,    #0x4162
lri $IX1,    #0x55e8
lri $WR1,    #0x4f95
cw 0xd
call send_back  ; 44321 (0xad21)

lri $AR1,    #0x8b25
lri $IX1,    #0xe0d4
lri $WR1,    #0xbe2a
cw 0xd
call send_back  ; 44322 (0xad22)

lri $AR1,    #0xb46a
lri $IX1,    #0x1c30
lri $WR1,    #0x2b0f
cw 0xd
call send_back  ; 44323 (0xad23)

lri $AR1,    #0x906d
lri $IX1,    #0x49ac
lri $WR1,    #0x7588
cw 0xd
call send_back  ; 44324 (0xad24)

lri $AR1,    #0x49d1
lri $IX1,    #0x7f24
lri $WR1,    #0x6720
cw 0xd
call send_back  ; 44325 (0xad25)

lri $AR1,    #0x4a27
lri $IX1,    #0x171c
lri $WR1,    #0x6684
cw 0xd
call send_back  ; 44326 (0xad26)

lri $AR1,    #0x96e0
lri $IX1,    #0x4d9e
lri $WR1,    #0x7188
cw 0xd
call send_back  ; 44327 (0xad27)

lri $AR1,    #0x76e9
lri $IX1,    #0x1730
lri $WR1,    #0x54c3
cw 0xd
call send_back  ; 44328 (0xad28)

lri $AR1,    #0x1fbc
lri $IX1,    #0x0732
lri $WR1,    #0xc0e2
cw 0xd
call send_back  ; 44329 (0xad29)

lri $AR1,    #0xc855
lri $IX1,    #0x3682
lri $WR1,    #0x8b4b
cw 0xd
call send_back  ; 44330 (0xad2a)

lri $AR1,    #0x33ac
lri $IX1,    #0x6aae
lri $WR1,    #0x7908
cw 0xd
call send_back  ; 44331 (0xad2b)

lri $AR1,    #0x6c2b
lri $IX1,    #0x217e
lri $WR1,    #0xc8a7
cw 0xd
call send_back  ; 44332 (0xad2c)

lri $AR1,    #0xe4e2
lri $IX1,    #0x7c2e
lri $WR1,    #0xa901
cw 0xd
call send_back  ; 44333 (0xad2d)

lri $AR1,    #0xe4c3
lri $IX1,    #0x312c
lri $WR1,    #0xc891
cw 0xd
call send_back  ; 44334 (0xad2e)

lri $AR1,    #0x63c4
lri $IX1,    #0x8a9a
lri $WR1,    #0x8a62
cw 0xd
call send_back  ; 44335 (0xad2f)

lri $AR1,    #0xb922
lri $IX1,    #0xeb78
lri $WR1,    #0x9317
cw 0xd
call send_back  ; 44336 (0xad30)

lri $AR1,    #0x85b4
lri $IX1,    #0x3cb2
lri $WR1,    #0x2a3a
cw 0xd
call send_back  ; 44337 (0xad31)

lri $AR1,    #0x847a
lri $IX1,    #0xdef8
lri $WR1,    #0x3944
cw 0xd
call send_back  ; 44338 (0xad32)

lri $AR1,    #0xbf58
lri $IX1,    #0x2d94
lri $WR1,    #0x637c
cw 0xd
call send_back  ; 44339 (0xad33)

lri $AR1,    #0x6d35
lri $IX1,    #0x2236
lri $WR1,    #0xa749
cw 0xd
call send_back  ; 44340 (0xad34)

lri $AR1,    #0x5a60
lri $IX1,    #0x20ca
lri $WR1,    #0x92e2
cw 0xd
call send_back  ; 44341 (0xad35)

lri $AR1,    #0x8b7d
lri $IX1,    #0x3e76
lri $WR1,    #0x3424
cw 0xd
call send_back  ; 44342 (0xad36)

lri $AR1,    #0xaed1
lri $IX1,    #0x55c8
lri $WR1,    #0x6c5a
cw 0xd
call send_back  ; 44343 (0xad37)

lri $AR1,    #0xc742
lri $IX1,    #0xce06
lri $WR1,    #0x96cb
cw 0xd
call send_back  ; 44344 (0xad38)

lri $AR1,    #0x27ca
lri $IX1,    #0x02fc
lri $WR1,    #0x59e8
cw 0xd
call send_back  ; 44345 (0xad39)

lri $AR1,    #0xb5c5
lri $IX1,    #0x95f8
lri $WR1,    #0x68ce
cw 0xd
call send_back  ; 44346 (0xad3a)

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