diff code_part1/OSTC_code_asm_part1/start.asm @ 142:8b75ba28d641

Screen-flipping custom function. - Fix bank safe addressings.
author JeanDo
date Fri, 07 Jan 2011 03:01:02 +0100
parents e6aa4a74c3c2
children 17de42ab02b6
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/start.asm	Thu Jan 06 18:36:22 2011 +0100
+++ b/code_part1/OSTC_code_asm_part1/start.asm	Fri Jan 07 03:01:02 2011 +0100
@@ -133,6 +133,9 @@
 	GETCUSTOM8	d'48'				; time correction value
 	movff	WREG, time_correction_value	; store in Bank0 register
 
+	GETCUSTOM8	d'63'				; OLED flip_screen flag(s).
+	movff	WREG,win_flags          ; store in Bank0 register
+
 	clrf	flag1					; clear all flags
 	clrf	flag2
 	clrf	flag3
@@ -148,8 +151,8 @@
 	clrf	flag13
 	clrf	flag14
 	clrf	flag15
-	call	gassetup_sort_gaslist			; Sorts Gaslist according to change depth
-	call	PLED_boot				; PLED boot (Incl. Clear Screen!)
+	call	gassetup_sort_gaslist       ; Sorts Gaslist according to change depth
+	call	PLED_boot                   ; PLED boot (Incl. Clear Screen!)
 	WIN_TOP		.0
 	WIN_LEFT	.0
 	WIN_FONT 	FT_SMALL