Index: output/eeprom.dat
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_Only24g_New_LRpair_BR/output/eeprom.dat	(revision 3661)
+++ /branch/mouse_project/YJX_Project/YJX_Only24g_New_LRpair_BR/output/eeprom.dat	(working copy)
@@ -2,8 +2,8 @@
 02
 aa
 55
-a2
-1c
+ce
+1b
 c2
 84
 00
@@ -1063,7 +1063,7 @@
 c0
 03
 85
-e2
+ad
 20
 20
 01
@@ -5355,7 +5355,7 @@
 20
 40
 05
-d2
+9d
 58
 00
 00
@@ -5363,15 +5363,15 @@
 20
 40
 05
-c8
+93
 20
 5a
 05
-c4
+8f
 24
 5a
 05
-c6
+91
 58
 00
 00
@@ -5379,11 +5379,11 @@
 20
 40
 05
-cd
+98
 20
 5a
 05
-c4
+8f
 68
 00
 cb
@@ -5411,70 +5411,6 @@
 60
 01
 11
-c5
-20
-40
-05
-79
-60
-01
-4b
-28
-68
-01
-46
-9b
-60
-01
-11
-c5
-20
-40
-05
-87
-60
-01
-46
-9b
-68
-01
-4b
-2a
-60
-01
-11
-c5
-20
-40
-05
-79
-60
-01
-4b
-2a
-68
-01
-46
-9d
-60
-01
-11
-c5
-20
-40
-05
-87
-60
-01
-46
-9d
-68
-01
-4b
-28
-60
-01
-11
 be
 68
 01
@@ -5487,7 +5423,7 @@
 20
 40
 05
-69
+59
 68
 01
 11
@@ -5523,7 +5459,7 @@
 20
 40
 05
-71
+61
 68
 01
 11
@@ -5575,7 +5511,7 @@
 20
 20
 05
-9e
+69
 68
 01
 11
@@ -5607,155 +5543,7 @@
 20
 20
 05
-9e
-68
-00
-91
-c6
-20
-3a
-05
-7c
-20
-20
-05
-81
-68
-00
-91
-c5
-20
-40
-05
-94
-60
-00
-91
-c5
-68
-01
-11
-c5
-20
-60
-00
-00
-68
-00
-91
-c5
-20
-40
-05
-c0
-20
-40
-05
-94
-20
-5a
-7f
-ef
-20
-40
-05
-bc
-20
-20
-05
-7f
-68
-00
-91
-c6
-20
-3a
-05
-8a
-20
-20
-05
-8e
-68
-00
-91
-c5
-20
-40
-05
-99
-60
-00
-91
-c5
-20
-20
-05
-7f
-68
-00
-91
-c5
-20
-40
-05
-c0
-20
-40
-05
-99
-20
-5a
-7f
-ef
-20
-40
-05
-bc
-20
-20
-05
-7f
-1f
-ef
-fe
-03
-1f
-e6
-fc
-05
-20
-40
-7f
-86
-18
-07
-fe
-00
-20
-60
-00
-00
-1f
-ef
-fe
-0c
-1f
-e6
-fc
-0a
-20
-40
-7f
-86
-18
-07
-fe
-00
-20
-60
-00
-00
+69
 60
 01
 91
@@ -5767,7 +5555,7 @@
 20
 20
 85
-a8
+73
 68
 00
 91
@@ -5775,7 +5563,7 @@
 c0
 7f
 85
-af
+7a
 68
 00
 91
@@ -5803,7 +5591,7 @@
 c0
 00
 05
-ac
+77
 68
 01
 91
@@ -5811,7 +5599,7 @@
 20
 20
 05
-a4
+6f
 70
 11
 c4
@@ -5823,7 +5611,7 @@
 20
 20
 05
-a4
+6f
 68
 00
 91
@@ -5831,7 +5619,7 @@
 20
 40
 05
-ba
+85
 60
 00
 91
@@ -5843,7 +5631,7 @@
 20
 3a
 05
-b8
+83
 58
 00
 00
@@ -5867,11 +5655,11 @@
 20
 20
 05
-b5
+80
 20
 40
 05
-c0
+8b
 1f
 e3
 7e
@@ -5879,7 +5667,7 @@
 20
 40
 05
-c1
+8c
 1f
 e6
 7e
@@ -5971,7 +5759,7 @@
 20
 40
 05
-d9
+a4
 1f
 e2
 22
@@ -5983,7 +5771,7 @@
 20
 40
 05
-d9
+a4
 1f
 e2
 24
@@ -6003,7 +5791,7 @@
 c0
 7f
 85
-df
+aa
 68
 00
 91
@@ -6027,7 +5815,7 @@
 20
 20
 05
-dd
+a8
 58
 00
 12
@@ -6047,11 +5835,11 @@
 20
 40
 05
-ff
+ca
 20
 40
 05
-ec
+b7
 70
 12
 d6
@@ -6067,7 +5855,7 @@
 20
 20
 06
-55
+20
 df
 20
 00
@@ -6131,7 +5919,7 @@
 24
 20
 85
-f0
+bb
 e0
 a8
 80
@@ -6139,7 +5927,7 @@
 c2
 00
 05
-f0
+bb
 20
 60
 00
@@ -6491,7 +6279,7 @@
 20
 40
 06
-e8
+b3
 68
 08
 91
@@ -6503,15 +6291,15 @@
 c0
 00
 86
-5c
+27
 c0
 01
 86
-5c
+27
 c0
 03
 86
-5c
+27
 70
 11
 c8
@@ -6531,15 +6319,15 @@
 c0
 00
 86
-63
+2e
 c0
 01
 06
-63
+2e
 c0
 01
 86
-63
+2e
 70
 11
 c9
@@ -6559,15 +6347,15 @@
 c0
 00
 86
-6a
+35
 c0
 01
 06
-6a
+35
 c0
 02
 06
-6a
+35
 70
 11
 ca
@@ -6587,11 +6375,11 @@
 c0
 00
 06
-70
+3b
 c0
 10
 06
-70
+3b
 70
 11
 cb
@@ -6603,11 +6391,11 @@
 c0
 00
 06
-73
+3e
 20
 20
 06
-74
+3f
 70
 11
 cc
@@ -6627,11 +6415,11 @@
 c0
 00
 86
-7a
+45
 c0
 01
 06
-7a
+45
 70
 11
 cd
@@ -6643,7 +6431,7 @@
 c0
 00
 06
-7f
+4a
 d8
 40
 00
@@ -6655,7 +6443,7 @@
 24
 21
 06
-80
+4b
 70
 11
 c7
@@ -6675,11 +6463,11 @@
 c0
 00
 86
-85
+50
 c0
 01
 06
-dc
+a7
 68
 08
 91
@@ -6695,15 +6483,15 @@
 c0
 00
 06
-9f
+6a
 20
 40
 06
-46
+11
 20
 40
 06
-c2
+8d
 78
 43
 fc
@@ -6755,7 +6543,7 @@
 c2
 00
 06
-95
+60
 20
 40
 4c
@@ -6763,7 +6551,7 @@
 20
 40
 06
-e8
+b3
 68
 03
 91
@@ -6779,19 +6567,19 @@
 20
 22
 86
-92
+5d
 20
 20
 06
-55
+20
 20
 40
 06
-46
+11
 20
 40
 06
-c2
+8d
 20
 40
 02
@@ -6883,15 +6671,15 @@
 c2
 00
 06
-b5
+80
 20
 40
 06
-c1
+8c
 20
 21
 86
-55
+20
 20
 40
 4c
@@ -6911,19 +6699,19 @@
 20
 22
 86
-b9
+84
 20
 40
 06
-c1
+8c
 20
 20
 06
-55
+20
 20
 20
 06
-4d
+18
 60
 08
 80
@@ -7039,7 +6827,7 @@
 20
 40
 06
-e6
+b1
 20
 40
 4c
@@ -7047,7 +6835,7 @@
 20
 40
 06
-e8
+b3
 68
 03
 91
@@ -7063,15 +6851,15 @@
 20
 22
 86
-df
+aa
 20
 20
 06
-55
+20
 20
 40
 06
-c1
+8c
 20
 20
 53
@@ -7082,16 +6870,16 @@
 1b
 c0
 00
-87
-08
+86
+d3
 c0
 01
-07
-1f
+06
+ea
 c0
 02
 06
-f0
+bb
 70
 12
 d7
@@ -7123,11 +6911,11 @@
 20
 40
 06
-f5
+c0
 20
 20
 06
-fb
+c6
 68
 00
 92
@@ -7158,16 +6946,16 @@
 d6
 c0
 00
-87
-00
+86
+cb
 c0
 01
-07
-03
+06
+ce
 c0
 01
-87
-06
+86
+d1
 20
 60
 00
@@ -7218,12 +7006,12 @@
 01
 20
 40
-07
-0d
+06
+d8
 20
 20
-07
-14
+06
+df
 68
 00
 92
@@ -7258,16 +7046,16 @@
 d8
 c0
 00
-87
-19
+86
+e4
 c0
 01
-07
-1b
+06
+e6
 c0
 01
-87
-1d
+86
+e8
 20
 60
 00
@@ -7310,30 +7098,30 @@
 01
 20
 40
-07
-0d
+06
+d8
 68
 00
 92
 d8
 c0
 01
-87
-19
+86
+e4
 c0
 00
-87
-1b
+86
+e6
 c0
 01
-07
-1d
+06
+e8
 20
 60
 00
 00
-85
-43
+ba
+aa
 aa
 55
 08
@@ -7428,7 +7216,7 @@
 00
 a0
 40
-ad
+cd
 13
 19
 34
@@ -7777,7 +7565,7 @@
 00
 95
 4b
-05
+06
 00
 aa
 55
@@ -7852,8 +7640,8 @@
 0f
 0f
 0f
-34
-aa
+91
+25
 ff
 ff
 ff
@@ -8188,5 +7976,217 @@
 ff
 ff
 ff
-cd
-cb
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+32
+38
Index: output/program.lis
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_Only24g_New_LRpair_BR/output/program.lis	(revision 3661)
+++ /branch/mouse_project/YJX_Project/YJX_Only24g_New_LRpair_BR/output/program.lis	(working copy)
@@ -350,7 +350,7 @@
 0105 c2810109 bbit1 2 ,p_mouse_skip_24g_pair 
 0106 20400223 call p_mouse_check_key_pair 
 0107 c001810a beq mouse_lr_button ,p_mouse_24g_pairing_button 
-0108 c00385e2 beq mouse_lmr_button ,p_test_mode_start 
+0108 c00385ad beq mouse_lmr_button ,p_test_mode_start 
 
 p_mouse_skip_24g_pair:
 0109 2020017e branch p_mouse_wakeup_from_power 
@@ -1833,14 +1833,14 @@
 p_drawing_optima:
 0537 6802469b fetch 4 ,mem_mouse_x 
 0538 207a0000 rtn blank 
-0539 204005d2 call p_data_abs_check 
+0539 2040059d call p_data_abs_check 
 053a 58000003 setarg 0x03 
-053b 204005c8 call p_pdata_greater_than_check 
-053c 205a05c4 call p_disable_asm ,blank 
-053d 245a05c6 ncall p_enable_asm ,blank 
+053b 20400593 call p_pdata_greater_than_check 
+053c 205a058f call p_disable_asm ,blank 
+053d 245a0591 ncall p_enable_asm ,blank 
 053e 58000002 setarg 0x02 
-053f 204005cd call p_data_less_than_check 
-0540 205a05c4 call p_disable_asm ,blank 
+053f 20400598 call p_data_less_than_check 
+0540 205a058f call p_disable_asm ,blank 
 0541 6800cb27 fetch 1 ,mem_mouse_asm_flag 
 0542 c0008546 beq 1 ,p_drawing_optima_modify 
 
@@ -1851,637 +1851,566 @@
 
 p_drawing_optima_modify:
 0546 68014b28 fetch 2 ,mem_mouse_x_pre 
-0547 600111c5 store 2 ,mem_data_value 
-0548 20400579 call pre_xy_data_judge 
-0549 60014b28 store 2 ,mem_mouse_x_pre 
-054a 6801469b fetch 2 ,mem_mouse_x 
-054b 600111c5 store 2 ,mem_data_value 
-054c 20400587 call current_xy_data_judge 
-054d 6001469b store 2 ,mem_mouse_x 
-054e 68014b2a fetch 2 ,mem_mouse_y_pre 
-054f 600111c5 store 2 ,mem_data_value 
-0550 20400579 call pre_xy_data_judge 
-0551 60014b2a store 2 ,mem_mouse_y_pre 
-0552 6801469d fetch 2 ,mem_mouse_y 
-0553 600111c5 store 2 ,mem_data_value 
-0554 20400587 call current_xy_data_judge 
-0555 6001469d store 2 ,mem_mouse_y 
-0556 68014b28 fetch 2 ,mem_mouse_x_pre 
-0557 600111be store 2 ,mem_data_pre 
-0558 6801469b fetch 2 ,mem_mouse_x 
-0559 600111c0 store 2 ,mem_data_current 
-055a 20400569 call p_drawing_optima_data_x 
-055b 680111be fetch 2 ,mem_data_pre 
-055c 60014b28 store 2 ,mem_mouse_x_pre 
-055d 680111c0 fetch 2 ,mem_data_current 
-055e 6001469b store 2 ,mem_mouse_x 
-055f 68014b2a fetch 2 ,mem_mouse_y_pre 
-0560 600111be store 2 ,mem_data_pre 
-0561 6801469d fetch 2 ,mem_mouse_y 
-0562 600111c0 store 2 ,mem_data_current 
-0563 20400571 call p_drawing_optima_data_y 
-0564 680111be fetch 2 ,mem_data_pre 
-0565 60014b2a store 2 ,mem_mouse_y_pre 
-0566 680111c0 fetch 2 ,mem_data_current 
-0567 6001469d store 2 ,mem_mouse_y 
-0568 20600000 rtn 
+0547 600111be store 2 ,mem_data_pre 
+0548 6801469b fetch 2 ,mem_mouse_x 
+0549 600111c0 store 2 ,mem_data_current 
+054a 20400559 call p_drawing_optima_data_x 
+054b 680111be fetch 2 ,mem_data_pre 
+054c 60014b28 store 2 ,mem_mouse_x_pre 
+054d 680111c0 fetch 2 ,mem_data_current 
+054e 6001469b store 2 ,mem_mouse_x 
+054f 68014b2a fetch 2 ,mem_mouse_y_pre 
+0550 600111be store 2 ,mem_data_pre 
+0551 6801469d fetch 2 ,mem_mouse_y 
+0552 600111c0 store 2 ,mem_data_current 
+0553 20400561 call p_drawing_optima_data_y 
+0554 680111be fetch 2 ,mem_data_pre 
+0555 60014b2a store 2 ,mem_mouse_y_pre 
+0556 680111c0 fetch 2 ,mem_data_current 
+0557 6001469d store 2 ,mem_mouse_y 
+0558 20600000 rtn 
 
 p_drawing_optima_data_x:
-0569 680111be fetch 2 ,mem_data_pre 
-056a 680911c0 fetcht 2 ,mem_data_current 
-056b 9840fe00 iadd temp ,pdata 
-056c 6808cb97 fetcht 1 ,mem_mouse_data_xtemp 
-056d 9840fe00 iadd temp ,pdata 
-056e 1fe10401 and pdata ,0x01 ,temp 
-056f 6008cb97 storet 1 ,mem_mouse_data_xtemp 
-0570 2020059e branch p_drawing_optima_data 
+0559 680111be fetch 2 ,mem_data_pre 
+055a 680911c0 fetcht 2 ,mem_data_current 
+055b 9840fe00 iadd temp ,pdata 
+055c 6808cb97 fetcht 1 ,mem_mouse_data_xtemp 
+055d 9840fe00 iadd temp ,pdata 
+055e 1fe10401 and pdata ,0x01 ,temp 
+055f 6008cb97 storet 1 ,mem_mouse_data_xtemp 
+0560 20200569 branch p_drawing_optima_data 
 
 p_drawing_optima_data_y:
-0571 680111be fetch 2 ,mem_data_pre 
-0572 680911c0 fetcht 2 ,mem_data_current 
-0573 9840fe00 iadd temp ,pdata 
-0574 6808cb98 fetcht 1 ,mem_mouse_data_ytemp 
-0575 9840fe00 iadd temp ,pdata 
-0576 1fe10401 and pdata ,0x01 ,temp 
-0577 6008cb98 storet 1 ,mem_mouse_data_ytemp 
-0578 2020059e branch p_drawing_optima_data 
-
-pre_xy_data_judge:
-0579 680091c6 fetch 1 ,mem_data_value + 1 
-057a 203a057c branch pre_xy_pdata_offset ,blank 
-057b 20200581 branch pre_xy_ndata_offset 
-
-pre_xy_pdata_offset:
-057c 680091c5 fetch 1 ,mem_data_value 
-057d 20400594 call pre_xy_get_0_4_times 
-057e 600091c5 store 1 ,mem_data_value 
-
-xy_data_offset_new:
-057f 680111c5 fetch 2 ,mem_data_value 
-0580 20600000 rtn 
-
-pre_xy_ndata_offset:
-0581 680091c5 fetch 1 ,mem_data_value 
-0582 204005c0 call p_pdata_invert 
-0583 20400594 call pre_xy_get_0_4_times 
-0584 205a7fef call disable_blank ,blank 
-0585 204005bc call p_pdata_get_new_value 
-0586 2020057f branch xy_data_offset_new 
-
-current_xy_data_judge:
-0587 680091c6 fetch 1 ,mem_data_value + 1 
-0588 203a058a branch current_xy_pdata_offset ,blank 
-0589 2020058e branch current_xy_ndata_offset 
-
-current_xy_pdata_offset:
-058a 680091c5 fetch 1 ,mem_data_value 
-058b 20400599 call current_xy_get_0_6_times 
-058c 600091c5 store 1 ,mem_data_value 
-058d 2020057f branch xy_data_offset_new 
-
-current_xy_ndata_offset:
-058e 680091c5 fetch 1 ,mem_data_value 
-058f 204005c0 call p_pdata_invert 
-0590 20400599 call current_xy_get_0_6_times 
-0591 205a7fef call disable_blank ,blank 
-0592 204005bc call p_pdata_get_new_value 
-0593 2020057f branch xy_data_offset_new 
-
-pre_xy_get_0_4_times:
-0594 1feffe03 mul32 pdata ,3 ,pdata 
-0595 1fe6fc05 div pdata ,5 
-0596 20407f86 call wait_div_end 
-0597 1807fe00 quotient pdata 
-0598 20600000 rtn 
-
-current_xy_get_0_6_times:
-0599 1feffe0c mul32 pdata ,12 ,pdata 
-059a 1fe6fc0a div pdata ,10 
-059b 20407f86 call wait_div_end 
-059c 1807fe00 quotient pdata 
-059d 20600000 rtn 
+0561 680111be fetch 2 ,mem_data_pre 
+0562 680911c0 fetcht 2 ,mem_data_current 
+0563 9840fe00 iadd temp ,pdata 
+0564 6808cb98 fetcht 1 ,mem_mouse_data_ytemp 
+0565 9840fe00 iadd temp ,pdata 
+0566 1fe10401 and pdata ,0x01 ,temp 
+0567 6008cb98 storet 1 ,mem_mouse_data_ytemp 
+0568 20200569 branch p_drawing_optima_data 
 
 p_drawing_optima_data:
-059e 600191c2 store 3 ,mem_data_sum 
-059f 2feffe10 isolate1 16 ,pdata 
-05a0 202085a8 branch p_data_sum_overflow ,true 
-05a1 680091c3 fetch 1 ,mem_data_sum + 1 
-05a2 c07f85af beq 0xff ,p_data_sum_n 
-05a3 680091c2 fetch 1 ,mem_data_sum 
+0569 600191c2 store 3 ,mem_data_sum 
+056a 2feffe10 isolate1 16 ,pdata 
+056b 20208573 branch p_data_sum_overflow ,true 
+056c 680091c3 fetch 1 ,mem_data_sum + 1 
+056d c07f857a beq 0xff ,p_data_sum_n 
+056e 680091c2 fetch 1 ,mem_data_sum 
 
 p_data_store_pre:
-05a4 1fe37e00 rshift pdata ,pdata 
-05a5 600111be store 2 ,mem_data_pre 
-05a6 600111c0 store 2 ,mem_data_current 
-05a7 20600000 rtn 
+056f 1fe37e00 rshift pdata ,pdata 
+0570 600111be store 2 ,mem_data_pre 
+0571 600111c0 store 2 ,mem_data_current 
+0572 20600000 rtn 
 
 p_data_sum_overflow:
-05a8 680091c3 fetch 1 ,mem_data_sum + 1 
-05a9 c00005ac beq 0 ,p_data_sum_overflow_p 
-05aa 680191c2 fetch 3 ,mem_data_sum 
-05ab 202005a4 branch p_data_store_pre 
+0573 680091c3 fetch 1 ,mem_data_sum + 1 
+0574 c0000577 beq 0 ,p_data_sum_overflow_p 
+0575 680191c2 fetch 3 ,mem_data_sum 
+0576 2020056f branch p_data_store_pre 
 
 p_data_sum_overflow_p:
-05ac 7011c400 jam 0 ,mem_data_sum + 2 
-05ad 680091c2 fetch 1 ,mem_data_sum 
-05ae 202005a4 branch p_data_store_pre 
+0577 7011c400 jam 0 ,mem_data_sum + 2 
+0578 680091c2 fetch 1 ,mem_data_sum 
+0579 2020056f branch p_data_store_pre 
 
 p_data_sum_n:
-05af 680091c2 fetch 1 ,mem_data_sum 
-05b0 204005ba call p_pdata_get_half 
-05b1 600091be store 1 ,mem_data_pre 
-05b2 600091c0 store 1 ,mem_data_current 
-05b3 203a05b8 branch p_data_zero ,blank 
-05b4 580000ff setarg 0xff 
+057a 680091c2 fetch 1 ,mem_data_sum 
+057b 20400585 call p_pdata_get_half 
+057c 600091be store 1 ,mem_data_pre 
+057d 600091c0 store 1 ,mem_data_current 
+057e 203a0583 branch p_data_zero ,blank 
+057f 580000ff setarg 0xff 
 
 p_data_set_direction:
-05b5 600091bf store 1 ,mem_data_pre + 1 
-05b6 600091c1 store 1 ,mem_data_current + 1 
-05b7 20600000 rtn 
+0580 600091bf store 1 ,mem_data_pre + 1 
+0581 600091c1 store 1 ,mem_data_current + 1 
+0582 20600000 rtn 
 
 p_data_zero:
-05b8 58000000 setarg 0 
-05b9 202005b5 branch p_data_set_direction 
+0583 58000000 setarg 0 
+0584 20200580 branch p_data_set_direction 
 
 p_pdata_get_half:
-05ba 204005c0 call p_pdata_invert 
-05bb 1fe37e00 rshift pdata ,pdata 
+0585 2040058b call p_pdata_invert 
+0586 1fe37e00 rshift pdata ,pdata 
 
 p_pdata_get_new_value:
-05bc 204005c1 call p_rega_in_out 
-05bd 1fe67e00 sub pdata ,0 ,pdata 
-05be 600091c5 store 1 ,mem_data_value 
-05bf 20600000 rtn 
+0587 2040058c call p_rega_in_out 
+0588 1fe67e00 sub pdata ,0 ,pdata 
+0589 600091c5 store 1 ,mem_data_value 
+058a 20600000 rtn 
 
 p_pdata_invert:
-05c0 1fe67e00 sub pdata ,0 ,pdata 
+058b 1fe67e00 sub pdata ,0 ,pdata 
 
 p_rega_in_out:
-05c1 60008aae store 1 ,mem_rega 
-05c2 68008aae fetch 1 ,mem_rega 
-05c3 20600000 rtn 
+058c 60008aae store 1 ,mem_rega 
+058d 68008aae fetch 1 ,mem_rega 
+058e 20600000 rtn 
 
 p_disable_asm:
-05c4 704b2700 jam 0 ,mem_mouse_asm_flag 
-05c5 20600000 rtn 
+058f 704b2700 jam 0 ,mem_mouse_asm_flag 
+0590 20600000 rtn 
 
 p_enable_asm:
-05c6 704b2701 jam 1 ,mem_mouse_asm_flag 
-05c7 20600000 rtn 
+0591 704b2701 jam 1 ,mem_mouse_asm_flag 
+0592 20600000 rtn 
 
 p_pdata_greater_than_check:
-05c8 9a267c00 isub rega ,null 
-05c9 24217fef nbranch disable_blank ,positive 
-05ca 9a467c00 isub regb ,null 
-05cb 24217fef nbranch disable_blank ,positive 
-05cc 20207ff1 branch enable_blank 
+0593 9a267c00 isub rega ,null 
+0594 24217fef nbranch disable_blank ,positive 
+0595 9a467c00 isub regb ,null 
+0596 24217fef nbranch disable_blank ,positive 
+0597 20207ff1 branch enable_blank 
 
 p_data_less_than_check:
-05cd 9a267c00 isub rega ,null 
-05ce 24610000 nrtn positive 
-05cf 9a467c00 isub regb ,null 
-05d0 24610000 nrtn positive 
-05d1 20207ff1 branch enable_blank 
+0598 9a267c00 isub rega ,null 
+0599 24610000 nrtn positive 
+059a 9a467c00 isub regb ,null 
+059b 24610000 nrtn positive 
+059c 20207ff1 branch enable_blank 
 
 p_data_abs_check:
-05d2 6801469b fetch 2 ,mem_mouse_x 
-05d3 204005d9 call p_data_abs 
-05d4 1fe22200 copy pdata ,rega 
-05d5 6801469d fetch 2 ,mem_mouse_y 
-05d6 204005d9 call p_data_abs 
-05d7 1fe22400 copy pdata ,regb 
-05d8 20600000 rtn 
+059d 6801469b fetch 2 ,mem_mouse_x 
+059e 204005a4 call p_data_abs 
+059f 1fe22200 copy pdata ,rega 
+05a0 6801469d fetch 2 ,mem_mouse_y 
+05a1 204005a4 call p_data_abs 
+05a2 1fe22400 copy pdata ,regb 
+05a3 20600000 rtn 
 
 p_data_abs:
-05d9 600111c0 store 2 ,mem_data_current 
-05da 680091c1 fetch 1 ,mem_data_current + 1 
-05db c07f85df beq 0xff ,p_data_reversal 
-05dc 680091c0 fetch 1 ,mem_data_current 
+05a4 600111c0 store 2 ,mem_data_current 
+05a5 680091c1 fetch 1 ,mem_data_current + 1 
+05a6 c07f85aa beq 0xff ,p_data_reversal 
+05a7 680091c0 fetch 1 ,mem_data_current 
 
 p_data_abs_store:
-05dd 1fe17eff and_into 0xff ,pdata 
-05de 20600000 rtn 
+05a8 1fe17eff and_into 0xff ,pdata 
+05a9 20600000 rtn 
 
 p_data_reversal:
-05df 680111c0 fetch 2 ,mem_data_current 
-05e0 1fe67e00 sub pdata ,0 ,pdata 
-05e1 202005dd branch p_data_abs_store 
+05aa 680111c0 fetch 2 ,mem_data_current 
+05ab 1fe67e00 sub pdata ,0 ,pdata 
+05ac 202005a8 branch p_data_abs_store 
 
 p_test_mode_start:
-05e2 580012db setarg mem_test_mode_end 
-05e3 d8a011c7 arg mem_test_mode_start ,contw 
-05e4 98a67200 isub contw ,loopcnt 
-05e5 20407ed4 call clear_mem 
-05e6 204005ff call p_test_initialize_radio 
-05e7 204005ec call pp_pn9 
-05e8 7012d601 jam test_mode_carry ,mem_test_mode_switch 
-05e9 7011cb20 jam 0x20 ,mem_fcc_data_new 
-05ea 7011c705 jam 5 ,mem_fcc_ch_new 
-05eb 20200655 branch p_test_tx_new_param 
+05ad 580012db setarg mem_test_mode_end 
+05ae d8a011c7 arg mem_test_mode_start ,contw 
+05af 98a67200 isub contw ,loopcnt 
+05b0 20407ed4 call clear_mem 
+05b1 204005ca call p_test_initialize_radio 
+05b2 204005b7 call pp_pn9 
+05b3 7012d601 jam test_mode_carry ,mem_test_mode_switch 
+05b4 7011cb20 jam 0x20 ,mem_fcc_data_new 
+05b5 7011c705 jam 5 ,mem_fcc_ch_new 
+05b6 20200620 branch p_test_tx_new_param 
 
 pp_pn9:
-05ec df2000ff arg 0xff ,loopcnt 
-05ed d8a011d6 arg mem_pn9 ,contw 
-05ee 580001ff setarg 0x1ff 
-05ef 18002400 force 0 ,regb 
+05b7 df2000ff arg 0xff ,loopcnt 
+05b8 d8a011d6 arg mem_pn9 ,contw 
+05b9 580001ff setarg 0x1ff 
+05ba 18002400 force 0 ,regb 
 
 pp_pn9_loop:
-05f0 1fe92200 rshift3 pdata ,rega 
-05f1 1a232200 rshift rega ,rega 
-05f2 9a22a200 ixor rega ,rega 
-05f3 2a2ffe00 isolate1 0 ,rega 
-05f4 7920fe09 setflag true ,9 ,pdata 
-05f5 18430400 rshift temp ,temp 
-05f6 2feffe00 isolate1 0 ,pdata 
-05f7 79208407 setflag true ,7 ,temp 
-05f8 1fe37e00 rshift pdata ,pdata 
-05f9 1a40a401 increase 1 ,regb 
-05fa 2a400e00 compare 0 ,regb ,0x7 
-05fb 242085f0 nbranch pp_pn9_loop ,true 
-05fc e0a88000 istoret 1 ,contw 
-05fd c20005f0 loop pp_pn9_loop 
-05fe 20600000 rtn 
+05bb 1fe92200 rshift3 pdata ,rega 
+05bc 1a232200 rshift rega ,rega 
+05bd 9a22a200 ixor rega ,rega 
+05be 2a2ffe00 isolate1 0 ,rega 
+05bf 7920fe09 setflag true ,9 ,pdata 
+05c0 18430400 rshift temp ,temp 
+05c1 2feffe00 isolate1 0 ,pdata 
+05c2 79208407 setflag true ,7 ,temp 
+05c3 1fe37e00 rshift pdata ,pdata 
+05c4 1a40a401 increase 1 ,regb 
+05c5 2a400e00 compare 0 ,regb ,0x7 
+05c6 242085bb nbranch pp_pn9_loop ,true 
+05c7 e0a88000 istoret 1 ,contw 
+05c8 c20005bb loop pp_pn9_loop 
+05c9 20600000 rtn 
 
 p_test_initialize_radio:
-05ff 70890700 jam 0x00 ,0x8907 
-0600 70890800 jam 0x00 ,0x8908 
-0601 70890900 jam 0x00 ,0x8909 
-0602 70890aff jam 0xff ,0x890a 
-0603 70890bff jam 0xff ,0x890b 
-0604 70890f2e jam 0x2e ,0x890f 
-0605 70891247 jam 0x47 ,rf_agc_ctrl 
-0606 70894bba jam 0xba ,0x894b 
-0607 70894cfb jam 0xfb ,0x894c 
-0608 70894def jam 0xef ,0x894d 
-0609 70894eec jam 0xec ,0x894e 
-060a 70894f5e jam 0x5e ,0x894f 
-060b 70896f88 jam 0x88 ,0x896f 
-060c 70897300 jam 0x00 ,0x8973 
-060d 70895a4a jam 0x4a ,0x895a 
-060e 70895c80 jam 0x80 ,0x895c 
-060f 708930a9 jam 0xa9 ,0x8930 
-0610 70892fad jam 0xad ,0x892f 
-0611 70892eb1 jam 0xb1 ,0x892e 
-0612 70892db5 jam 0xb5 ,0x892d 
-0613 70892cb9 jam 0xb9 ,0x892c 
-0614 70892bbd jam 0xbd ,0x892b 
-0615 70892ac2 jam 0xc2 ,0x892a 
-0616 708929c6 jam 0xc6 ,0x8929 
-0617 708928ca jam 0xca ,0x8928 
-0618 708927ce jam 0xce ,0x8927 
-0619 708926d2 jam 0xd2 ,0x8926 
-061a 708925d6 jam 0xd6 ,0x8925 
-061b 708924da jam 0xda ,0x8924 
-061c 708923de jam 0xde ,0x8923 
-061d 708922e2 jam 0xe2 ,0x8922 
-061e 708921e6 jam 0xe6 ,0x8921 
-061f 708920ea jam 0xea ,0x8920 
-0620 70891fee jam 0xee ,0x891f 
-0621 70891ef2 jam 0xf2 ,0x891e 
-0622 70891df6 jam 0xf6 ,0x891d 
-0623 70891cfb jam 0xfb ,0x891c 
-0624 70891bfb jam 0xfb ,0x891b 
-0625 70891afb jam 0xfb ,0x891a 
-0626 708947f5 jam 0xf5 ,0x8947 
-0627 708946e6 jam 0xe6 ,0x8946 
-0628 708945d7 jam 0xD7 ,0x8945 
-0629 708944d6 jam 0xD6 ,0x8944 
-062a 708943c7 jam 0xC7 ,0x8943 
-062b 708942c6 jam 0xC6 ,0x8942 
-062c 70894187 jam 0x87 ,0x8941 
-062d 70894086 jam 0x86 ,0x8940 
-062e 70893f85 jam 0x85 ,0x893f 
-062f 70893e46 jam 0x46 ,0x893e 
-0630 70893d07 jam 0x07 ,0x893d 
-0631 70893c06 jam 0x06 ,0x893c 
-0632 70893bc7 jam 0xC7 ,0x893b 
-0633 70893ac6 jam 0xC6 ,0x893a 
-0634 708939c5 jam 0xC5 ,0x8939 
-0635 708938c4 jam 0xC4 ,0x8938 
-0636 708937c3 jam 0xC3 ,0x8937 
-0637 708936c2 jam 0xC2 ,0x8936 
-0638 708935c1 jam 0xC1 ,0x8935 
-0639 708934c0 jam 0xC0 ,0x8934 
-063a 70893380 jam 0x80 ,0x8933 
-063b 70893280 jam 0x80 ,0x8932 
-063c 70893180 jam 0x80 ,0x8931 
-063d 70894a7f jam 0x7f ,0x894a 
-063e 708949f8 jam 0xf8 ,0x8949 
-063f 70894800 jam 0x00 ,0x8948 
-0640 708955d0 jam 0xd0 ,0x8955 
-0641 708956e0 jam 0xe0 ,0x8956 
-0642 70895788 jam 0x88 ,0x8957 
-0643 7089586c jam 0x6c ,0x8958 
-0644 70895910 jam 0x10 ,0x8959 
-0645 20600000 rtn 
+05ca 70890700 jam 0x00 ,0x8907 
+05cb 70890800 jam 0x00 ,0x8908 
+05cc 70890900 jam 0x00 ,0x8909 
+05cd 70890aff jam 0xff ,0x890a 
+05ce 70890bff jam 0xff ,0x890b 
+05cf 70890f2e jam 0x2e ,0x890f 
+05d0 70891247 jam 0x47 ,rf_agc_ctrl 
+05d1 70894bba jam 0xba ,0x894b 
+05d2 70894cfb jam 0xfb ,0x894c 
+05d3 70894def jam 0xef ,0x894d 
+05d4 70894eec jam 0xec ,0x894e 
+05d5 70894f5e jam 0x5e ,0x894f 
+05d6 70896f88 jam 0x88 ,0x896f 
+05d7 70897300 jam 0x00 ,0x8973 
+05d8 70895a4a jam 0x4a ,0x895a 
+05d9 70895c80 jam 0x80 ,0x895c 
+05da 708930a9 jam 0xa9 ,0x8930 
+05db 70892fad jam 0xad ,0x892f 
+05dc 70892eb1 jam 0xb1 ,0x892e 
+05dd 70892db5 jam 0xb5 ,0x892d 
+05de 70892cb9 jam 0xb9 ,0x892c 
+05df 70892bbd jam 0xbd ,0x892b 
+05e0 70892ac2 jam 0xc2 ,0x892a 
+05e1 708929c6 jam 0xc6 ,0x8929 
+05e2 708928ca jam 0xca ,0x8928 
+05e3 708927ce jam 0xce ,0x8927 
+05e4 708926d2 jam 0xd2 ,0x8926 
+05e5 708925d6 jam 0xd6 ,0x8925 
+05e6 708924da jam 0xda ,0x8924 
+05e7 708923de jam 0xde ,0x8923 
+05e8 708922e2 jam 0xe2 ,0x8922 
+05e9 708921e6 jam 0xe6 ,0x8921 
+05ea 708920ea jam 0xea ,0x8920 
+05eb 70891fee jam 0xee ,0x891f 
+05ec 70891ef2 jam 0xf2 ,0x891e 
+05ed 70891df6 jam 0xf6 ,0x891d 
+05ee 70891cfb jam 0xfb ,0x891c 
+05ef 70891bfb jam 0xfb ,0x891b 
+05f0 70891afb jam 0xfb ,0x891a 
+05f1 708947f5 jam 0xf5 ,0x8947 
+05f2 708946e6 jam 0xe6 ,0x8946 
+05f3 708945d7 jam 0xD7 ,0x8945 
+05f4 708944d6 jam 0xD6 ,0x8944 
+05f5 708943c7 jam 0xC7 ,0x8943 
+05f6 708942c6 jam 0xC6 ,0x8942 
+05f7 70894187 jam 0x87 ,0x8941 
+05f8 70894086 jam 0x86 ,0x8940 
+05f9 70893f85 jam 0x85 ,0x893f 
+05fa 70893e46 jam 0x46 ,0x893e 
+05fb 70893d07 jam 0x07 ,0x893d 
+05fc 70893c06 jam 0x06 ,0x893c 
+05fd 70893bc7 jam 0xC7 ,0x893b 
+05fe 70893ac6 jam 0xC6 ,0x893a 
+05ff 708939c5 jam 0xC5 ,0x8939 
+0600 708938c4 jam 0xC4 ,0x8938 
+0601 708937c3 jam 0xC3 ,0x8937 
+0602 708936c2 jam 0xC2 ,0x8936 
+0603 708935c1 jam 0xC1 ,0x8935 
+0604 708934c0 jam 0xC0 ,0x8934 
+0605 70893380 jam 0x80 ,0x8933 
+0606 70893280 jam 0x80 ,0x8932 
+0607 70893180 jam 0x80 ,0x8931 
+0608 70894a7f jam 0x7f ,0x894a 
+0609 708949f8 jam 0xf8 ,0x8949 
+060a 70894800 jam 0x00 ,0x8948 
+060b 708955d0 jam 0xd0 ,0x8955 
+060c 708956e0 jam 0xe0 ,0x8956 
+060d 70895788 jam 0x88 ,0x8957 
+060e 7089586c jam 0x6c ,0x8958 
+060f 70895910 jam 0x10 ,0x8959 
+0610 20600000 rtn 
 
 p_test_set_sync_on:
-0646 70890477 jam 0x77 ,rfen_msc 
-0647 70890303 jam 0x03 ,rfen_sn 
-0648 2000000a nop 10 
-0649 70890383 jam 0x83 ,rfen_sn 
-064a 7089047f jam 0x7f ,rfen_msc 
-064b 708903a7 jam 0xa7 ,rfen_sn 
-064c 20600000 rtn 
+0611 70890477 jam 0x77 ,rfen_msc 
+0612 70890303 jam 0x03 ,rfen_sn 
+0613 2000000a nop 10 
+0614 70890383 jam 0x83 ,rfen_sn 
+0615 7089047f jam 0x7f ,rfen_msc 
+0616 708903a7 jam 0xa7 ,rfen_sn 
+0617 20600000 rtn 
 
 p_test_shutdown_radio:
-064d 20000064 nop 100 
-064e 708955d8 jam 0xd8 ,0x8955 
-064f 20000028 nop 40 
-0650 708955d2 jam 0xd2 ,0x8955 
-0651 20000028 nop 40 
-0652 708955d1 jam 0xd1 ,0x8955 
-0653 20000028 nop 40 
-0654 20202908 branch shutdown_radio_0db 
+0618 20000064 nop 100 
+0619 708955d8 jam 0xd8 ,0x8955 
+061a 20000028 nop 40 
+061b 708955d2 jam 0xd2 ,0x8955 
+061c 20000028 nop 40 
+061d 708955d1 jam 0xd1 ,0x8955 
+061e 20000028 nop 40 
+061f 20202908 branch shutdown_radio_0db 
 
 p_test_tx_new_param:
-0655 204006e8 call p_button_check 
-0656 680891c8 fetcht 1 ,mem_fcc_mod_new 
-0657 18417e0f and temp ,0x0f ,pdata 
-0658 c000865c beq 1 ,p_test_txrx_param 
-0659 c001865c beq 3 ,p_test_txrx_param 
-065a c003865c beq 7 ,p_test_txrx_param 
-065b 7011c801 jam 0x01 ,mem_fcc_mod_new 
+0620 204006b3 call p_button_check 
+0621 680891c8 fetcht 1 ,mem_fcc_mod_new 
+0622 18417e0f and temp ,0x0f ,pdata 
+0623 c0008627 beq 1 ,p_test_txrx_param 
+0624 c0018627 beq 3 ,p_test_txrx_param 
+0625 c0038627 beq 7 ,p_test_txrx_param 
+0626 7011c801 jam 0x01 ,mem_fcc_mod_new 
 
 p_test_txrx_param:
-065c 680091c9 fetch 1 ,mem_fcc_txrx_new 
-065d 1fe17e03 and pdata ,0x03 ,pdata 
-065e 600091c9 store 1 ,mem_fcc_txrx_new 
-065f c0008663 beq 1 ,p_test_btble_param 
-0660 c0010663 beq 2 ,p_test_btble_param 
-0661 c0018663 beq 3 ,p_test_btble_param 
-0662 7011c901 jam 0x01 ,mem_fcc_txrx_new 
+0627 680091c9 fetch 1 ,mem_fcc_txrx_new 
+0628 1fe17e03 and pdata ,0x03 ,pdata 
+0629 600091c9 store 1 ,mem_fcc_txrx_new 
+062a c000862e beq 1 ,p_test_btble_param 
+062b c001062e beq 2 ,p_test_btble_param 
+062c c001862e beq 3 ,p_test_btble_param 
+062d 7011c901 jam 0x01 ,mem_fcc_txrx_new 
 
 p_test_btble_param:
-0663 680091ca fetch 1 ,mem_fcc_btble_new 
-0664 1fe17e0f and pdata ,0x0f ,pdata 
-0665 600091ca store 1 ,mem_fcc_btble_new 
-0666 c000866a beq 1 ,p_test_isdate_param 
-0667 c001066a beq 2 ,p_test_isdate_param 
-0668 c002066a beq 4 ,p_test_isdate_param 
-0669 7011ca01 jam 0x01 ,mem_fcc_btble_new 
+062e 680091ca fetch 1 ,mem_fcc_btble_new 
+062f 1fe17e0f and pdata ,0x0f ,pdata 
+0630 600091ca store 1 ,mem_fcc_btble_new 
+0631 c0008635 beq 1 ,p_test_isdate_param 
+0632 c0010635 beq 2 ,p_test_isdate_param 
+0633 c0020635 beq 4 ,p_test_isdate_param 
+0634 7011ca01 jam 0x01 ,mem_fcc_btble_new 
 
 p_test_isdate_param:
-066a 680091cb fetch 1 ,mem_fcc_data_new 
-066b 1fe17e30 and pdata ,0x30 ,pdata 
-066c 600091cb store 1 ,mem_fcc_data_new 
-066d c0000670 beq 0 ,p_test_data_length_param 
-066e c0100670 beq 0x20 ,p_test_data_length_param 
-066f 7011cb00 jam 0 ,mem_fcc_data_new 
+0635 680091cb fetch 1 ,mem_fcc_data_new 
+0636 1fe17e30 and pdata ,0x30 ,pdata 
+0637 600091cb store 1 ,mem_fcc_data_new 
+0638 c000063b beq 0 ,p_test_data_length_param 
+0639 c010063b beq 0x20 ,p_test_data_length_param 
+063a 7011cb00 jam 0 ,mem_fcc_data_new 
 
 p_test_data_length_param:
-0670 680091cc fetch 1 ,mem_fcc_data_length_new 
-0671 c0000673 beq 0 ,p_data_length_equ0 
-0672 20200674 branch p_test_bt_hop_stable_param 
+063b 680091cc fetch 1 ,mem_fcc_data_length_new 
+063c c000063e beq 0 ,p_data_length_equ0 
+063d 2020063f branch p_test_bt_hop_stable_param 
 
 p_data_length_equ0:
-0673 7011cc19 jam 0x19 ,mem_fcc_data_length_new 
+063e 7011cc19 jam 0x19 ,mem_fcc_data_length_new 
 
 p_test_bt_hop_stable_param:
-0674 680091cd fetch 1 ,mem_fcc_hop_new 
-0675 1fe17e03 and pdata ,0x03 ,pdata 
-0676 600091cd store 1 ,mem_fcc_hop_new 
-0677 c000867a beq 1 ,p_test_tx_new_param_cont 
-0678 c001067a beq 2 ,p_test_tx_new_param_cont 
-0679 7011cd02 jam 0x02 ,mem_fcc_hop_new 
+063f 680091cd fetch 1 ,mem_fcc_hop_new 
+0640 1fe17e03 and pdata ,0x03 ,pdata 
+0641 600091cd store 1 ,mem_fcc_hop_new 
+0642 c0008645 beq 1 ,p_test_tx_new_param_cont 
+0643 c0010645 beq 2 ,p_test_tx_new_param_cont 
+0644 7011cd02 jam 0x02 ,mem_fcc_hop_new 
 
 p_test_tx_new_param_cont:
-067a 680091c7 fetch 1 ,mem_fcc_ch_new 
-067b c000067f beq 0 ,p_zero 
-067c d8400051 arg 81 ,temp 
-067d 98467c00 isub temp ,null 
-067e 24210680 nbranch p_test_tx_new_param_copy ,positive 
+0645 680091c7 fetch 1 ,mem_fcc_ch_new 
+0646 c000064a beq 0 ,p_zero 
+0647 d8400051 arg 81 ,temp 
+0648 98467c00 isub temp ,null 
+0649 2421064b nbranch p_test_tx_new_param_copy ,positive 
 
 p_zero:
-067f 7011c702 jam 2 ,mem_fcc_ch_new 
+064a 7011c702 jam 2 ,mem_fcc_ch_new 
 
 p_test_tx_new_param_copy:
-0680 680391c7 fetch 7 ,mem_fcc_param_new 
-0681 600391ce store 7 ,mem_fcc_param 
+064b 680391c7 fetch 7 ,mem_fcc_param_new 
+064c 600391ce store 7 ,mem_fcc_param 
 
 p_test_tx_or_rx:
-0682 680091d0 fetch 1 ,mem_fcc_txrx 
-0683 c0008685 beq 0x01 ,p_test_tx_start 
-0684 c00106dc beq 0x02 ,p_test_rx_start 
+064d 680091d0 fetch 1 ,mem_fcc_txrx 
+064e c0008650 beq 0x01 ,p_test_tx_start 
+064f c00106a7 beq 0x02 ,p_test_rx_start 
 
 p_test_tx_start:
-0685 680891ce fetcht 1 ,mem_fcc_ch 
-0686 184085ff increase -1 ,temp 
+0650 680891ce fetcht 1 ,mem_fcc_ch 
+0651 184085ff increase -1 ,temp 
 
 p_test_24g_tx_on:
-0687 680091d2 fetch 1 ,mem_fcc_data 
-0688 c000069f beq 0 ,p_test_24g_tx_data 
-0689 20400646 call p_test_set_sync_on 
-068a 204006c2 call p_test_set_freq_tx 
-068b 7843fc00 disable enable_white 
-068c 782efc00 enable encode_fec0 
-068d 78307c00 enable is_tx 
-068e 680891cf fetcht 1 ,mem_fcc_mod 
-068f 18422a00 copy temp ,radio_ctrl 
-0690 680091d2 fetch 1 ,mem_fcc_data 
-0691 60108908 hstore 1 ,0x8908 
+0652 680091d2 fetch 1 ,mem_fcc_data 
+0653 c000066a beq 0 ,p_test_24g_tx_data 
+0654 20400611 call p_test_set_sync_on 
+0655 2040068d call p_test_set_freq_tx 
+0656 7843fc00 disable enable_white 
+0657 782efc00 enable encode_fec0 
+0658 78307c00 enable is_tx 
+0659 680891cf fetcht 1 ,mem_fcc_mod 
+065a 18422a00 copy temp ,radio_ctrl 
+065b 680091d2 fetch 1 ,mem_fcc_data 
+065c 60108908 hstore 1 ,0x8908 
 
 p_test_tx_carrier_loop:
-0692 680091d3 fetch 1 ,mem_fcc_data_length 
-0693 1fe27200 copy pdata ,loopcnt 
-0694 d8c011d6 arg mem_pn9 ,contr 
+065d 680091d3 fetch 1 ,mem_fcc_data_length 
+065e 1fe27200 copy pdata ,loopcnt 
+065f d8c011d6 arg mem_pn9 ,contr 
 
 p_pnloop_carrier:
-0695 e8c08000 ifetch 1 ,contr 
-0696 08008608 inject mod ,8 
-0697 c2000695 loop p_pnloop_carrier 
-0698 20404c2e call hci_rx_packet 
-0699 204006e8 call p_button_check 
-069a 680391ce fetch 7 ,mem_fcc_param 
-069b 680b91c7 fetcht 7 ,mem_fcc_param_new 
-069c 98467c00 isub temp ,null 
-069d 20228692 branch p_test_tx_carrier_loop ,zero 
-069e 20200655 branch p_test_tx_new_param 
+0660 e8c08000 ifetch 1 ,contr 
+0661 08008608 inject mod ,8 
+0662 c2000660 loop p_pnloop_carrier 
+0663 20404c2e call hci_rx_packet 
+0664 204006b3 call p_button_check 
+0665 680391ce fetch 7 ,mem_fcc_param 
+0666 680b91c7 fetcht 7 ,mem_fcc_param_new 
+0667 98467c00 isub temp ,null 
+0668 2022865d branch p_test_tx_carrier_loop ,zero 
+0669 20200620 branch p_test_tx_new_param 
 
 p_test_24g_tx_data:
-069f 20400646 call p_test_set_sync_on 
-06a0 204006c2 call p_test_set_freq_tx 
-06a1 204002b8 call p_le_enable 
-06a2 79202a00 set1 txgfsk ,radio_ctrl 
-06a3 782efc00 enable encode_fec0 
-06a4 78307c00 enable is_tx 
-06a5 7850fc00 disable is_rx 
-06a6 2040547f call le_wait_tx 
-06a7 680091d2 fetch 1 ,mem_fcc_data 
-06a8 60108908 hstore 1 ,0x8908 
-06a9 d8a0119e arg mem_24g_common_temp ,contw 
-06aa 58cccccc setarg 0xcccccc 
-06ab 6001919e store 3 ,mem_24g_common_temp 
-06ac e0a18000 istore 3 ,contw 
-06ad e0a18000 istore 3 ,contw 
-06ae e0a18000 istore 3 ,contw 
-06af e0a18000 istore 3 ,contw 
-06b0 e0a18000 istore 3 ,contw 
-06b1 e0a18000 istore 3 ,contw 
-06b2 e0a18000 istore 3 ,contw 
-06b3 df200018 arg 24 ,loopcnt 
-06b4 d8c0119e arg mem_24g_common_temp ,contr 
+066a 20400611 call p_test_set_sync_on 
+066b 2040068d call p_test_set_freq_tx 
+066c 204002b8 call p_le_enable 
+066d 79202a00 set1 txgfsk ,radio_ctrl 
+066e 782efc00 enable encode_fec0 
+066f 78307c00 enable is_tx 
+0670 7850fc00 disable is_rx 
+0671 2040547f call le_wait_tx 
+0672 680091d2 fetch 1 ,mem_fcc_data 
+0673 60108908 hstore 1 ,0x8908 
+0674 d8a0119e arg mem_24g_common_temp ,contw 
+0675 58cccccc setarg 0xcccccc 
+0676 6001919e store 3 ,mem_24g_common_temp 
+0677 e0a18000 istore 3 ,contw 
+0678 e0a18000 istore 3 ,contw 
+0679 e0a18000 istore 3 ,contw 
+067a e0a18000 istore 3 ,contw 
+067b e0a18000 istore 3 ,contw 
+067c e0a18000 istore 3 ,contw 
+067d e0a18000 istore 3 ,contw 
+067e df200018 arg 24 ,loopcnt 
+067f d8c0119e arg mem_24g_common_temp ,contr 
 
 p_pnloop_stable:
-06b5 e8c08000 ifetch 1 ,contr 
-06b6 08008608 inject mod ,8 
-06b7 c20006b5 loop p_pnloop_stable 
-06b8 204006c1 call p_test_ble_bt_tx_off 
+0680 e8c08000 ifetch 1 ,contr 
+0681 08008608 inject mod ,8 
+0682 c2000680 loop p_pnloop_stable 
+0683 2040068c call p_test_ble_bt_tx_off 
 
 p_stable_stop:
-06b9 20218655 branch p_test_tx_new_param ,timeout 
-06ba 20404c2e call hci_rx_packet 
-06bb 680391ce fetch 7 ,mem_fcc_param 
-06bc 680b91c7 fetcht 7 ,mem_fcc_param_new 
-06bd 98467c00 isub temp ,null 
-06be 202286b9 branch p_stable_stop ,zero 
-06bf 204006c1 call p_test_ble_bt_tx_off 
-06c0 20200655 branch p_test_tx_new_param 
+0684 20218620 branch p_test_tx_new_param ,timeout 
+0685 20404c2e call hci_rx_packet 
+0686 680391ce fetch 7 ,mem_fcc_param 
+0687 680b91c7 fetcht 7 ,mem_fcc_param_new 
+0688 98467c00 isub temp ,null 
+0689 20228684 branch p_stable_stop ,zero 
+068a 2040068c call p_test_ble_bt_tx_off 
+068b 20200620 branch p_test_tx_new_param 
 
 p_test_ble_bt_tx_off:
-06c1 2020064d branch p_test_shutdown_radio 
+068c 20200618 branch p_test_shutdown_radio 
 
 p_test_set_freq_tx:
-06c2 60088017 storet 1 ,mem_last_freq 
-06c3 1840a201 add temp ,1 ,rega 
-06c4 20402981 call rf_write_freq 
-06c5 58000500 setarg param_pll_setup 
-06c6 20402a8f call sleep 
+068d 60088017 storet 1 ,mem_last_freq 
+068e 1840a201 add temp ,1 ,rega 
+068f 20402981 call rf_write_freq 
+0690 58000500 setarg param_pll_setup 
+0691 20402a8f call sleep 
 
 p_test_txon:
-06c7 70890601 jam 0x1 ,rfen_adc 
-06c8 7089003c jam 0x3c ,rfen_rx 
-06c9 708901e0 jam 0xe0 ,rfen_tx 
-06ca 70896d12 jam 0x12 ,0x896d 
-06cb 2000000a nop 10 
-06cc 70890201 jam 0x01 ,rfen_mdm 
-06cd 7089023d jam 0x3d ,rfen_mdm 
-06ce 2000000a nop 10 
-06cf 708903b7 jam 0xb7 ,rfen_sn 
-06d0 2000000a nop 10 
-06d1 7089027d jam 0x7d ,rfen_mdm 
-06d2 708956ce jam 0xce ,0x8956 
-06d3 20000004 nop 4 
-06d4 708955d1 jam 0xd1 ,0x8955 
-06d5 20000004 nop 4 
-06d6 708955d2 jam 0xd2 ,0x8955 
-06d7 20000004 nop 4 
-06d8 708955d8 jam 0xd8 ,0x8955 
-06d9 20000004 nop 4 
-06da 708955d8 jam 0xd8 ,0x8955 
-06db 20600000 rtn 
+0692 70890601 jam 0x1 ,rfen_adc 
+0693 7089003c jam 0x3c ,rfen_rx 
+0694 708901e0 jam 0xe0 ,rfen_tx 
+0695 70896d12 jam 0x12 ,0x896d 
+0696 2000000a nop 10 
+0697 70890201 jam 0x01 ,rfen_mdm 
+0698 7089023d jam 0x3d ,rfen_mdm 
+0699 2000000a nop 10 
+069a 708903b7 jam 0xb7 ,rfen_sn 
+069b 2000000a nop 10 
+069c 7089027d jam 0x7d ,rfen_mdm 
+069d 708956ce jam 0xce ,0x8956 
+069e 20000004 nop 4 
+069f 708955d1 jam 0xd1 ,0x8955 
+06a0 20000004 nop 4 
+06a1 708955d2 jam 0xd2 ,0x8955 
+06a2 20000004 nop 4 
+06a3 708955d8 jam 0xd8 ,0x8955 
+06a4 20000004 nop 4 
+06a5 708955d8 jam 0xd8 ,0x8955 
+06a6 20600000 rtn 
 
 p_test_rx_start:
-06dc 680891ce fetcht 1 ,mem_fcc_ch 
-06dd 184085ff increase -1 ,temp 
-06de 204006e6 call p_test_ble_rx_on 
+06a7 680891ce fetcht 1 ,mem_fcc_ch 
+06a8 184085ff increase -1 ,temp 
+06a9 204006b1 call p_test_ble_rx_on 
 
 p_test_rx_loop:
-06df 20404c2e call hci_rx_packet 
-06e0 204006e8 call p_button_check 
-06e1 680391ce fetch 7 ,mem_fcc_param 
-06e2 680b91c7 fetcht 7 ,mem_fcc_param_new 
-06e3 98467c00 isub temp ,null 
-06e4 202286df branch p_test_rx_loop ,zero 
-06e5 20200655 branch p_test_tx_new_param 
+06aa 20404c2e call hci_rx_packet 
+06ab 204006b3 call p_button_check 
+06ac 680391ce fetch 7 ,mem_fcc_param 
+06ad 680b91c7 fetcht 7 ,mem_fcc_param_new 
+06ae 98467c00 isub temp ,null 
+06af 202286aa branch p_test_rx_loop ,zero 
+06b0 20200620 branch p_test_tx_new_param 
 
 p_test_ble_rx_on:
-06e6 204006c1 call p_test_ble_bt_tx_off 
-06e7 202053df branch lerx_setfreq + 1 
+06b1 2040068c call p_test_ble_bt_tx_off 
+06b2 202053df branch lerx_setfreq + 1 
 
 p_button_check:
-06e8 2040021b call p_mouse_check_key_gpio 
-06e9 c0008708 beq mouse_l_button ,p_channel_map_change_incre 
-06ea c001071f beq mouse_r_button ,p_channel_map_change_decre 
-06eb c00206f0 beq mouse_m_button ,p_mode_change 
-06ec 7012d700 jam 0 ,mem_test_mode_switch_enable 
-06ed 7012d900 jam 0 ,mem_test_ch_switch_incre_enable 
-06ee 7012da00 jam 0 ,mem_test_ch_switch_decre_enable 
-06ef 20600000 rtn 
+06b3 2040021b call p_mouse_check_key_gpio 
+06b4 c00086d3 beq mouse_l_button ,p_channel_map_change_incre 
+06b5 c00106ea beq mouse_r_button ,p_channel_map_change_decre 
+06b6 c00206bb beq mouse_m_button ,p_mode_change 
+06b7 7012d700 jam 0 ,mem_test_mode_switch_enable 
+06b8 7012d900 jam 0 ,mem_test_ch_switch_incre_enable 
+06b9 7012da00 jam 0 ,mem_test_ch_switch_decre_enable 
+06ba 20600000 rtn 
 
 p_mode_change:
-06f0 680092d7 fetch 1 ,mem_test_mode_switch_enable 
-06f1 247a0000 nrtn blank 
-06f2 7012d701 jam 1 ,mem_test_mode_switch_enable 
-06f3 204006f5 call p_mode_cnt 
-06f4 202006fb branch p_mode_judge 
+06bb 680092d7 fetch 1 ,mem_test_mode_switch_enable 
+06bc 247a0000 nrtn blank 
+06bd 7012d701 jam 1 ,mem_test_mode_switch_enable 
+06be 204006c0 call p_mode_cnt 
+06bf 202006c6 branch p_mode_judge 
 
 p_mode_cnt:
-06f5 680092d6 fetch 1 ,mem_test_mode_switch 
-06f6 1fe0fe01 pincrease 1 
-06f7 600092d6 store 1 ,mem_test_mode_switch 
-06f8 c1820000 rtnne test_mode_max_count 
-06f9 7012d601 jam test_mode_carry ,mem_test_mode_switch 
-06fa 20600000 rtn 
+06c0 680092d6 fetch 1 ,mem_test_mode_switch 
+06c1 1fe0fe01 pincrease 1 
+06c2 600092d6 store 1 ,mem_test_mode_switch 
+06c3 c1820000 rtnne test_mode_max_count 
+06c4 7012d601 jam test_mode_carry ,mem_test_mode_switch 
+06c5 20600000 rtn 
 
 p_mode_judge:
-06fb 680092d6 fetch 1 ,mem_test_mode_switch 
-06fc c0008700 beq test_mode_carry ,p_mode_carry 
-06fd c0010703 beq test_mode_carry_data ,p_mode_carry_and_data 
-06fe c0018706 beq test_mode_rx ,p_mode_rx 
-06ff 20600000 rtn 
+06c6 680092d6 fetch 1 ,mem_test_mode_switch 
+06c7 c00086cb beq test_mode_carry ,p_mode_carry 
+06c8 c00106ce beq test_mode_carry_data ,p_mode_carry_and_data 
+06c9 c00186d1 beq test_mode_rx ,p_mode_rx 
+06ca 20600000 rtn 
 
 p_mode_carry:
-0700 7011cb20 jam 0x20 ,mem_fcc_data_new 
-0701 7011c901 jam 0x01 ,mem_fcc_txrx_new 
-0702 20600000 rtn 
+06cb 7011cb20 jam 0x20 ,mem_fcc_data_new 
+06cc 7011c901 jam 0x01 ,mem_fcc_txrx_new 
+06cd 20600000 rtn 
 
 p_mode_carry_and_data:
-0703 7011cb00 jam 0 ,mem_fcc_data_new 
-0704 7011c901 jam 0x01 ,mem_fcc_txrx_new 
-0705 20600000 rtn 
+06ce 7011cb00 jam 0 ,mem_fcc_data_new 
+06cf 7011c901 jam 0x01 ,mem_fcc_txrx_new 
+06d0 20600000 rtn 
 
 p_mode_rx:
-0706 7011c902 jam 0x02 ,mem_fcc_txrx_new 
-0707 20600000 rtn 
+06d1 7011c902 jam 0x02 ,mem_fcc_txrx_new 
+06d2 20600000 rtn 
 
 p_channel_map_change_incre:
-0708 680092d9 fetch 1 ,mem_test_ch_switch_incre_enable 
-0709 247a0000 nrtn blank 
-070a 7012d901 jam 1 ,mem_test_ch_switch_incre_enable 
-070b 2040070d call p_channel_cnt 
-070c 20200714 branch p_channel_judge_forward 
+06d3 680092d9 fetch 1 ,mem_test_ch_switch_incre_enable 
+06d4 247a0000 nrtn blank 
+06d5 7012d901 jam 1 ,mem_test_ch_switch_incre_enable 
+06d6 204006d8 call p_channel_cnt 
+06d7 202006df branch p_channel_judge_forward 
 
 p_channel_cnt:
-070d 680092d8 fetch 1 ,mem_test_ch_switch 
-070e 1fe0fe01 pincrease 1 
-070f 600092d8 store 1 ,mem_test_ch_switch 
-0710 1fe67c04 sub pdata ,4 ,null 
-0711 24628000 nrtn zero 
-0712 7012d801 jam 1 ,mem_test_ch_switch 
-0713 20600000 rtn 
+06d8 680092d8 fetch 1 ,mem_test_ch_switch 
+06d9 1fe0fe01 pincrease 1 
+06da 600092d8 store 1 ,mem_test_ch_switch 
+06db 1fe67c04 sub pdata ,4 ,null 
+06dc 24628000 nrtn zero 
+06dd 7012d801 jam 1 ,mem_test_ch_switch 
+06de 20600000 rtn 
 
 p_channel_judge_forward:
-0714 680092d8 fetch 1 ,mem_test_ch_switch 
-0715 c0008719 beq 1 ,p_chnnel_2405 
-0716 c001071b beq 2 ,p_chnnel_2430 
-0717 c001871d beq 3 ,p_chnnel_2470 
-0718 20600000 rtn 
+06df 680092d8 fetch 1 ,mem_test_ch_switch 
+06e0 c00086e4 beq 1 ,p_chnnel_2405 
+06e1 c00106e6 beq 2 ,p_chnnel_2430 
+06e2 c00186e8 beq 3 ,p_chnnel_2470 
+06e3 20600000 rtn 
 
 p_chnnel_2405:
-0719 7011c705 jam 5 ,mem_fcc_ch_new 
-071a 20600000 rtn 
+06e4 7011c705 jam 5 ,mem_fcc_ch_new 
+06e5 20600000 rtn 
 
 p_chnnel_2430:
-071b 7011c71e jam 30 ,mem_fcc_ch_new 
-071c 20600000 rtn 
+06e6 7011c71e jam 30 ,mem_fcc_ch_new 
+06e7 20600000 rtn 
 
 p_chnnel_2470:
-071d 7011c746 jam 70 ,mem_fcc_ch_new 
-071e 20600000 rtn 
+06e8 7011c746 jam 70 ,mem_fcc_ch_new 
+06e9 20600000 rtn 
 
 p_channel_map_change_decre:
-071f 680092da fetch 1 ,mem_test_ch_switch_decre_enable 
-0720 247a0000 nrtn blank 
-0721 7012da01 jam 1 ,mem_test_ch_switch_decre_enable 
-0722 2040070d call p_channel_cnt 
+06ea 680092da fetch 1 ,mem_test_ch_switch_decre_enable 
+06eb 247a0000 nrtn blank 
+06ec 7012da01 jam 1 ,mem_test_ch_switch_decre_enable 
+06ed 204006d8 call p_channel_cnt 
 
 p_channel_judge_back:
-0723 680092d8 fetch 1 ,mem_test_ch_switch 
-0724 c0018719 beq 3 ,p_chnnel_2405 
-0725 c000871b beq 1 ,p_chnnel_2430 
-0726 c001071d beq 2 ,p_chnnel_2470 
-0727 20600000 rtn 
+06ee 680092d8 fetch 1 ,mem_test_ch_switch 
+06ef c00186e4 beq 3 ,p_chnnel_2405 
+06f0 c00086e6 beq 1 ,p_chnnel_2430 
+06f1 c00106e8 beq 2 ,p_chnnel_2470 
+06f2 20600000 rtn 
               org 0x2000
 
 start:
Index: program/patch.prog
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_Only24g_New_LRpair_BR/program/patch.prog	(revision 3661)
+++ /branch/mouse_project/YJX_Project/YJX_Only24g_New_LRpair_BR/program/patch.prog	(working copy)
@@ -1,7 +1,7 @@
 //define DONGLE
 define MOUSE
 define MOUSE_SMOOTHER
-define XY_OFFSET
+//define XY_OFFSET
 define TEST_MODE
 //define ADC_ENABLE
 //define P24G_LOG
Index: sched/mouse.dat
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_Only24g_New_LRpair_BR/sched/mouse.dat	(revision 3661)
+++ /branch/mouse_project/YJX_Project/YJX_Only24g_New_LRpair_BR/sched/mouse.dat	(working copy)
@@ -51,7 +51,7 @@
 01
 
 mem_app_connection_options:06
-mem_lap:ad 13 19 34 22 11
+mem_lap:cd 13 19 34 22 11
 #mem_local_name_length:
 #'BT 3.0 Mouse
 #mem_sniff_param_interval:
@@ -270,7 +270,7 @@
 mem_24g_allpowerful_addr:0f 0f 0f 0f
 mem_24g_common_temp:00 00 00 00 00 00 00 00 00 00
 mem_24g_enter_hibernate:80 4f 12
-mem_firmware_version:05 00
+mem_firmware_version:06 00
 
 mem_device_flag:
 02
