comparison code_part1/OSTC_code_asm_part1/start.asm @ 337:6bdf80d7276c ScreenDump

Added screen dumps of general menus. Added screen dumps in logbook, gassetup, license. Added screen dumps in altimeter, decoplan.
author JeanDo
date Tue, 17 May 2011 01:05:04 +0200
parents 6544f79e298c
children 797e2ac42d24
comparison
equal deleted inserted replaced
336:9ee86a19f1fa 337:6bdf80d7276c
307 movwf temp1 307 movwf temp1
308 WAITMS d'200' 308 WAITMS d'200'
309 bcf switch_left 309 bcf switch_left
310 bcf switch_right 310 bcf switch_right
311 screen1_loop: 311 screen1_loop:
312 btfsc uart_dump_screen ; Asked to dump screen contains ?
313 call dump_screen ; Yes!
314
312 btfsc onesecupdate ; do every second tasks? 315 btfsc onesecupdate ; do every second tasks?
313 call set_dive_modes ; tests if depth>threshold 316 call set_dive_modes ; tests if depth>threshold
314 btfsc onesecupdate ; do every second tasks? 317 btfsc onesecupdate ; do every second tasks?
315 decf temp1,F 318 decf temp1,F
316 bcf onesecupdate ; every second tasks done 319 bcf onesecupdate ; every second tasks done
337 movwf temp1 340 movwf temp1
338 WAITMS d'200' 341 WAITMS d'200'
339 bcf switch_left 342 bcf switch_left
340 bcf switch_right 343 bcf switch_right
341 screen3_loop: 344 screen3_loop:
345 btfsc uart_dump_screen ; Asked to dump screen contains ?
346 call dump_screen ; Yes!
347
342 btfsc onesecupdate ; do every second tasks? 348 btfsc onesecupdate ; do every second tasks?
343 call set_dive_modes ; tests if depth>threshold 349 call set_dive_modes ; tests if depth>threshold
344 350
345 btfsc onesecupdate ; do every second tasks? 351 btfsc onesecupdate ; do every second tasks?
346 decf temp1,F 352 decf temp1,F
353 btfsc switch_left ; Ack? 359 btfsc switch_left ; Ack?
354 return 360 return
355 btfsc switch_right ; Ack? 361 btfsc switch_right ; Ack?
356 return 362 return
357 bra screen3_loop ; loop screen 363 bra screen3_loop ; loop screen
364
365 ;=============================================================================
358 366
359 first_start: 367 first_start:
360 movlw max_custom_number ; Defined in definitions.asm 368 movlw max_custom_number ; Defined in definitions.asm
361 movwf EEDATA 369 movwf EEDATA
362 write_int_eeprom d'92' ; Store number of CF used in this firmware 370 write_int_eeprom d'92' ; Store number of CF used in this firmware