# HG changeset patch
# User heinrichsweikamp
# Date 1609527441 -3600
# Node ID 23ed973d4fb91fdbb89d964b065b608d96996b70
# Parent  b317df6bc367e953fc4c814c8b1c35462386522f
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

diff -r b317df6bc367 -r 23ed973d4fb9 code_part1/OSTC_code_asm_part1/docu/C92_aa.png
Binary file code_part1/OSTC_code_asm_part1/docu/C92_aa.png has changed
diff -r b317df6bc367 -r 23ed973d4fb9 code_part1/OSTC_code_asm_part1/docu/c120_aa.png
Binary file code_part1/OSTC_code_asm_part1/docu/c120_aa.png has changed
diff -r b317df6bc367 -r 23ed973d4fb9 code_part1/OSTC_code_asm_part1/menu_settime.asm
--- 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
diff -r b317df6bc367 -r 23ed973d4fb9 code_part1/OSTC_code_asm_part1/outputs.asm
--- 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