diff code_part1/OSTC_code_asm_part1/menu.asm @ 12:588a969a0cae

1.53 beta rc
author heinrichsweikamp
date Wed, 24 Mar 2010 20:26:09 +0100
parents 96a35aeda5f2
children 73014f788032
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/menu.asm	Mon Mar 22 08:22:57 2010 +0100
+++ b/code_part1/OSTC_code_asm_part1/menu.asm	Wed Mar 24 20:26:09 2010 +0100
@@ -389,7 +389,7 @@
 more_setup_menu_loop:
 	call	check_switches_menu
 
-	movlw	d'3'				; x-1 menu entries
+	movlw	d'4'				; x-1 menu entries
 	cpfseq	menupos
 	bra		more_setup_menu_loop2
 	movlw	d'6'
@@ -428,7 +428,7 @@
 	dcfsnz	menupos,F
 	bra		toggle_debugmode
 	dcfsnz	menupos,F
-	bra		setup_menu						; spare
+	bra		show_license
 	dcfsnz	menupos,F
 	bra		setup_menu						; spare
 	dcfsnz	menupos,F
@@ -437,6 +437,14 @@
 	movwf	menupos
 	bra		setup_menu2						; exit...
 
+show_license:
+	call	startup_screen1				;1/2
+	call	startup_screen2				;1/2
+	movlw	d'3'
+	movwf	menupos
+	bcf		switch_right
+	bra		more_setup_menu2			; return to "more menu" loop
+
 toggle_salinity:
 ; Toggles between 1.00 and 1.04
 	read_int_eeprom	d'26'			; Read Salinity from EEPROM