diff src/tft.asm @ 363:9a1c275077b0

cleanup
author heinrichsweikamp
date Tue, 04 Aug 2015 16:37:19 +0200
parents 631cbfea3757
children 0052a7a654b9
line wrap: on
line diff
--- a/src/tft.asm	Tue Aug 04 11:20:34 2015 +0200
+++ b/src/tft.asm	Tue Aug 04 16:37:19 2015 +0200
@@ -336,11 +336,11 @@
 
 TFT_boot_1:
 ; Init through config table...
-    movlw   LOW     display1_config_table
+    movlw   0x74
     movwf   TBLPTRL
-    movlw   HIGH    display1_config_table
+    movlw   0xF7
     movwf   TBLPTRH
-    movlw   UPPER   display1_config_table
+    movlw   0x01
     movwf   TBLPTRU
     bsf     screen_type
 
@@ -372,30 +372,6 @@
 	Parameter_out 0x01, 0x33
 	return
 
-display1_config_table:
-    ; Reg, Dat0, Dat1 or 0xFF,0x00,0x00 for end
-    db  0xE5,0x78,0xF0,0x01,0x01,0x33
-    db  0x02,0x02,0x00,0x03,0x10,0x00
-    db  0x04,0x00,0x00,0x08,0x02,0x07
-    db  0x09,0x00,0x00,0x0A,0x00,0x00
-    db  0x0C,0x00,0x00,0x0D,0x00,0x00
-    db  0x0F,0x00,0x00,0x10,0x00,0x00
-    db  0x11,0x00,0x07,0x12,0x00,0x00
-    db  0x13,0x00,0x00,0x07,0x00,0x01
-    db  0xE5,0x78,0xF0,0xFF,.050,0x00
-    db  0x10,0x10,0x90,0x11,0x02,0x27
-    db  0xFF,.050,0xFF,0x12,0x00,0x1F
-    db  0xFF,.050,0xFF,0x13,0x15,0x00
-    db  0x29,0x00,0x27,0x27,0x00,0x2B
-    db  0x2B,0x00,0x0D,0xFF,.050,0xFF
-    db  0x20,0x00,0x00,0x21,0x00,0x00
-    db  0x30,0x06,0x02,0x31,0x56,0x0D
-    db  0x32,0x05,0x07,0x33,0x06,0x09
-    db  0x34,0x00,0x00,0x35,0x09,0x06
-    db  0x36,0x57,0x05,0x37,0x0D,0x06
-    db  0x38,0x02,0x06,0x39,0x00,0x00
-    db  0x22,0x00,0x00,0xFF,0x00,0x00
-
 display0_config_table:
     ; Reg, Dat0, Dat1 or 0xFF,0x00,0x00 for end
     db  0xA4,0x00,0x01,0xFF,.002,0x00