comparison code_part1/OSTC_code_asm_part1/simulator.asm @ 35:d4f0c097a7fa

preparations for new gaslist
author heinrichsweikamp
date Tue, 25 May 2010 21:42:23 +0200
parents 5dbdc08e5460
children 92001c045088
comparison
equal deleted inserted replaced
34:5dbdc08e5460 35:d4f0c097a7fa
62 menu_simulator_loop3: 62 menu_simulator_loop3:
63 btfsc menubit2 63 btfsc menubit2
64 goto menu_simulator_do ; call submenu 64 goto menu_simulator_do ; call submenu
65 65
66 btfss menubit 66 btfss menubit
67 goto menu ; exit setup menu and return to main menu 67 goto menu_simulator_exit
68 68
69 btfsc sleepmode 69 btfsc sleepmode
70 goto more_menu 70 goto menu_simulator_exit
71 71
72 btfsc divemode 72 btfsc divemode
73 goto restart ; exit menu, restart and enter divemode 73 goto restart ; exit menu, restart and enter divemode
74 74
75 bra menu_simulator_loop 75 bra menu_simulator_loop
83 bra simulator_inc_maxdepth 83 bra simulator_inc_maxdepth
84 dcfsnz menupos,F 84 dcfsnz menupos,F
85 bra simulator_calc_deco 85 bra simulator_calc_deco
86 dcfsnz menupos,F 86 dcfsnz menupos,F
87 bra simulator_show_decoplan 87 bra simulator_show_decoplan
88 menu_simulator_exit:
88 movlw d'4' 89 movlw d'4'
89 movwf menupos 90 movwf menupos
90 goto more_menu2 ; exit... 91 goto more_menu2 ; exit...
91 92
92 simulator_inc_bottomtime: 93 simulator_inc_bottomtime: