comparison src/menu_tree.asm @ 609:6341f6663579

TR Battery menu
author heinrichsweikamp
date Wed, 09 Jan 2019 15:13:36 +0100
parents ca4556fb60b9
children a32212cd5ea9
comparison
equal deleted inserted replaced
608:d866684249bd 609:6341f6663579
981 ; cR: 0x05 981 ; cR: 0x05
982 ; 2 with BLE: 0x11 982 ; 2 with BLE: 0x11
983 ; Sport: 0x12 983 ; Sport: 0x12
984 ; 3 with BLE: 0x1A 984 ; 3 with BLE: 0x1A
985 985
986 movlw 0x0A 986 movlw 0x0A
987 cpfseq hardware_flag1 987 cpfseq hardware_flag1
988 bra $+4 988 bra $+4
989 bra menu_new_battery_AA 989 bra menu_new_battery_AA
990 movlw 0x13 990 movlw 0x13
991 cpfseq hardware_flag1 991 cpfseq hardware_flag1
992 bra $+4 992 bra $+4
993 bra menu_new_battery_AA_16650 993 bra menu_new_battery_16650
994 movlw 0x12 994 movlw 0x33
995 cpfseq hardware_flag1 995 cpfseq hardware_flag1
996 bra $+4 996 bra $+4
997 bra menu_new_battery_AA 997 bra menu_new_battery_AA_16650
998 movlw 0x1A 998 movlw 0x12
999 cpfseq hardware_flag1 999 cpfseq hardware_flag1
1000 bra $+4 1000 bra $+4
1001 bra menu_new_battery_AA 1001 bra menu_new_battery_AA
1002 movlw 0x11 1002 movlw 0x1A
1003 cpfseq hardware_flag1 1003 cpfseq hardware_flag1
1004 bra $+4 1004 bra $+4
1005 bra menu_new_battery_18650 1005 bra menu_new_battery_AA
1006 movlw 0x05 1006 movlw 0x11
1007 cpfseq hardware_flag1 1007 cpfseq hardware_flag1
1008 bra $+4 1008 bra $+4
1009 bra menu_new_battery_18650 1009 bra menu_new_battery_18650
1010 movlw 0x05
1011 cpfseq hardware_flag1
1012 bra $+4
1013 bra menu_new_battery_18650
1010 bra use_old_batteries ; any unsupported value 1014 bra use_old_batteries ; any unsupported value
1011 1015
1012 1016 menu_new_battery_16650:
1017 MENU_BEGIN tNewBattTitle, .1
1018 MENU_CALL tNew16650, use_16650_battery
1019 MENU_END
1020
1013 menu_new_battery_AA_16650: 1021 menu_new_battery_AA_16650:
1014 MENU_BEGIN tNewBattTitle, .5 1022 MENU_BEGIN tNewBattTitle, .5
1015 MENU_CALL tNewBattOld, use_old_batteries 1023 MENU_CALL tNewBattOld, use_old_batteries
1016 MENU_CALL tNewBattNew15, use_new_15V_batteries 1024 MENU_CALL tNewBattNew15, use_new_15V_batteries
1017 MENU_CALL tNewBattNew36, use_new_36V_batteries 1025 MENU_CALL tNewBattNew36, use_new_36V_batteries