comparison code_part1/OSTC_code_asm_part1/simulator.asm @ 335:d36fe3651d56 ScreenDump

Updated to 1.91beta Added screen dumps in cf menu, and in GasList (second page). --> Need a centralized subroutine when waitting switches...
author JeanDo
date Fri, 13 May 2011 02:09:06 +0200
parents 21a0f7393468
children 6bdf80d7276c
comparison
equal deleted inserted replaced
332:1828234369fc 335:d36fe3651d56
410 410
411 WAITMS d'250' 411 WAITMS d'250'
412 WAITMS d'250' 412 WAITMS d'250'
413 WAITMS d'250' ; Wait for Pressure Sensor to get real pressure again... 413 WAITMS d'250' ; Wait for Pressure Sensor to get real pressure again...
414 414
415 movlw d'5' ; Pre-Set Cursor to "Show Decoplan" 415 movlw d'5' ; Pre-Set Cursor to "Show Decoplan"
416 movwf menupos 416 movwf menupos
417 movff char_I_bottom_time,logbook_temp1 ; Restore bottom time, 417 movff char_I_bottom_time,logbook_temp1 ; Restore bottom time,
418 movff char_I_bottom_depth,logbook_temp2 ; and depth. 418 movff char_I_bottom_depth,logbook_temp2 ; and depth.
419 bra menu_simulator1 ; Done. 419 bra menu_simulator1 ; Done.
420 420
421 simulator_save_tissue_data: 421 simulator_save_tissue_data:
422 bsf restore_deco_data ; Set restore flag 422 bsf restore_deco_data ; Set restore flag
423 ostc_debug 'S' ; Sends debug-information to screen if debugmode active 423 ostc_debug 'S' ; Sends debug-information to screen if debugmode active
424 call deco_push_tissues_to_vault 424 call deco_push_tissues_to_vault
425 movlb 0x01 ; Back to RAM Bank1 425 movlb 0x01 ; Back to RAM Bank1
426 ostc_debug 'T' ; Sends debug-information to screen if debugmode active 426 ostc_debug 'T' ; Sends debug-information to screen if debugmode active
427 return 427 return
428 428
429 simulator_restore_tissue_data: 429 simulator_restore_tissue_data:
430 bcf restore_deco_data ; clear restore flag 430 bcf restore_deco_data ; clear restore flag
431 ostc_debug 'S' ; Sends debug-information to screen if debugmode active 431 ostc_debug 'S' ; Sends debug-information to screen if debugmode active