diff src/color_processor.asm @ 436:95ee78f4a974

no screen reboot after logbook exit
author heinrichsweikamp
date Fri, 24 Jun 2016 12:51:14 +0200
parents 653a3ab08062
children b455b31ce022
line wrap: on
line diff
--- a/src/color_processor.asm	Thu Jun 23 10:59:42 2016 +0200
+++ b/src/color_processor.asm	Fri Jun 24 12:51:14 2016 +0200
@@ -152,6 +152,7 @@
         bsf     tft_rs,0    ; RS_H				; Data
     	movff	PRODH,PORTA	; Move high byte to PORTA
         movff	PRODL,PORTH	; Move low byte to PORTH
+	bcf	INTCON,GIE
 color_image_loop_pixel:
     	bcf     tft_nwr,0       ; WR_L
         bsf     tft_nwr,0       ; WR_H                ; Tick
@@ -159,6 +160,7 @@
         bra     color_image_loop_pixel
         decfsz  img_count+1
         bra     color_image_loop_pixel
+	bsf	INTCON,GIE
         
         ; And count (on a 24bit counter)
         clrf    WREG                    ; Make a 24bit decrement.