diff 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
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/start.asm	Mon May 16 23:52:38 2011 +0200
+++ b/code_part1/OSTC_code_asm_part1/start.asm	Tue May 17 01:05:04 2011 +0200
@@ -309,6 +309,9 @@
 	bcf		switch_left
 	bcf		switch_right
 screen1_loop:
+	btfsc	uart_dump_screen                ; Asked to dump screen contains ?
+	call	dump_screen     			    ; Yes!
+
 	btfsc	onesecupdate				; do every second tasks?
 	call	set_dive_modes				; tests if depth>threshold
 	btfsc	onesecupdate				; do every second tasks?
@@ -339,6 +342,9 @@
 	bcf		switch_left
 	bcf		switch_right
 screen3_loop:
+	btfsc	uart_dump_screen                ; Asked to dump screen contains ?
+	call	dump_screen     			    ; Yes!
+
 	btfsc	onesecupdate				; do every second tasks?
 	call	set_dive_modes				; tests if depth>threshold
 	
@@ -356,6 +362,8 @@
 	return
 	bra		screen3_loop				; loop screen
 
+;=============================================================================
+
 first_start:
 	movlw	max_custom_number		; Defined in definitions.asm
 	movwf	EEDATA