comparison code_part1/OSTC_code_asm_part1/simulator.asm @ 69:df2d3b28947f

1.71beta for Mk.2
author heinrichsweikamp
date Tue, 19 Oct 2010 15:35:23 +0200
parents d0b677e1e9a5
children 2a31948dbcb7
comparison
equal deleted inserted replaced
68:d0b677e1e9a5 69:df2d3b28947f
154 goto diveloop ; Start Divemode 154 goto diveloop ; Start Divemode
155 155
156 simulator_show_decoplan: 156 simulator_show_decoplan:
157 call PLED_ClearScreen 157 call PLED_ClearScreen
158 call PLED_simdata_screen 158 call PLED_simdata_screen
159 call divemode_copy_decolist ;copy gf_decolist (0x250:.32) to gf_decolist_copy (0x0E0:.32)
159 call divemenu_see_decoplan 160 call divemenu_see_decoplan
160 161
161 ;call enable_rs232 162 ;call enable_rs232
162 ; lfsr FSR0,0x250 163 ; lfsr FSR0,0x250
163 ; movlw 0x20 164 ; movlw 0x20
278 279
279 movlw d'255' 280 movlw d'255'
280 movff WREG,char_O_deco_status ; Reset Deco module 281 movff WREG,char_O_deco_status ; Reset Deco module
281 282
282 simulator_calc_deco_loop2: 283 simulator_calc_deco_loop2:
284
283 call PLED_simulator_data 285 call PLED_simulator_data
284 286
285 btg LED_red 287 btg LED_red
286 288
287 call divemode_check_decogases ; Checks for decogases and sets the gases 289 call divemode_check_decogases ; Checks for decogases and sets the gases