changeset 837:23ed973d4fb9

Disable DEBUG mode, Too many users turned this on in the last years and then complained about "letters on the screen".... Allow manual (in the menu) year setting >2020
author heinrichsweikamp
date Fri, 01 Jan 2021 19:57:21 +0100
parents b317df6bc367
children 2750099bf5bb
files code_part1/OSTC_code_asm_part1/docu/C92_aa.png code_part1/OSTC_code_asm_part1/docu/c120_aa.png code_part1/OSTC_code_asm_part1/menu_settime.asm code_part1/OSTC_code_asm_part1/outputs.asm
diffstat 4 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
Binary file code_part1/OSTC_code_asm_part1/docu/C92_aa.png has changed
Binary file code_part1/OSTC_code_asm_part1/docu/c120_aa.png has changed
--- a/code_part1/OSTC_code_asm_part1/menu_settime.asm	Mon Nov 02 14:40:12 2020 +0100
+++ b/code_part1/OSTC_code_asm_part1/menu_settime.asm	Fri Jan 01 19:57:21 2021 +0100
@@ -262,11 +262,11 @@
 	bra	set_time_refresh_x
 add_year:
 	incf	year,F
-	movlw	d'22'					; calendar until 2022
+	movlw	d'29'					; calendar until 2029
 	cpfsgt	year
 	bra	set_time_refresh_x
-	movlw	d'10'
-	movwf	year					; Set Year to 2010
+	movlw	d'21'
+	movwf	year					; Set Year to 2021
 	
 set_time_refresh_x:
 	call	set_time_refresh
--- a/code_part1/OSTC_code_asm_part1/outputs.asm	Mon Nov 02 14:40:12 2020 +0100
+++ b/code_part1/OSTC_code_asm_part1/outputs.asm	Fri Jan 01 19:57:21 2021 +0100
@@ -264,7 +264,9 @@
 	movff	debug_char+0,debug_char+1
 	movff	WREG,debug_char+0
 
-	btfss	debug_mode				; Are we in debugmode?
+	; Disable debug hard-coded. Too many users turned this on in the last years and then complained about "letters on the screen"....
+;	btfss	debug_mode				; Are we in debugmode?
+	
 	return							; No, return!
 
 	WIN_TOP		.192