diff code_part1/OSTC_code_asm_part1/menu_logbook.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 36cc8f0c1d73
children ed137d66ac65
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/menu_logbook.asm	Mon May 16 23:52:38 2011 +0200
+++ b/code_part1/OSTC_code_asm_part1/menu_logbook.asm	Tue May 17 01:05:04 2011 +0200
@@ -335,7 +335,7 @@
 	addwfc		sim_pressure+1,F
 	movlw		LOW		d'164000'		; 164pixel*1000 height
 	movwf		xC+0
-	movlw		HIGH	d'164000'		; 164pixel*1000 height
+	movlw		HIGH	(d'164000' & h'FFFF') ; 164pixel*1000 height
 	movwf		xC+1
 	movlw		UPPER	d'164000'		; 164pixel*1000 height
 	movwf		xC+2
@@ -1066,6 +1066,10 @@
 	bsf			menubit3
 	btfsc		switch_left
 	bsf			menubit2					; Enter
+
+	btfsc	    uart_dump_screen            ; Dumps screen contains ?
+	call	    dump_screen     			; Yes!
+
 	return
 
 next_logbook3: