Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -Naur dpf-ax.10//fw/knowndpfs.py dpf-ax.10-black//fw/knowndpfs.py
- --- dpf-ax.10//fw/knowndpfs.py 2012-04-22 18:50:58.594630896 +0800
- +++ dpf-ax.10-black//fw/knowndpfs.py 2012-04-22 18:17:50.951713965 +0800
- @@ -26,6 +26,11 @@
- "",
- ([ 0x54cc8527 ], [ 0xd5efd5d9 ]),
- ],
- + [ () ,
- + "black from ebay seller delight-digi",
- + "",
- + ([ 0xda6ee4c3 ], [ 0xdda9c297 ]),
- + ],
- ##################### 128 x 144 #############################
- [ () ,
- "focalprice144",
- diff -Naur dpf-ax.10//src/buildall.sh dpf-ax.10-black//src/buildall.sh
- --- dpf-ax.10//src/buildall.sh 2012-04-22 18:50:58.590631019 +0800
- +++ dpf-ax.10-black//src/buildall.sh 2012-04-22 10:17:03.419504187 +0800
- @@ -1,6 +1,6 @@
- #!/bin/sh
- -MODELS="blue white pink pearl pearl_landscape focal focal_landscape linkdelight agk_violet focalprice144"
- +MODELS="blue white pink pearl pearl_landscape focal focal_landscape linkdelight agk_violet focalprice144 black"
- for i in $MODELS; do
- echo --------------------------------------
- diff -Naur dpf-ax.10//src/.buildno dpf-ax.10-black//src/.buildno
- --- dpf-ax.10//src/.buildno 1970-01-01 07:30:00.000000000 +0730
- +++ dpf-ax.10-black//src/.buildno 2012-04-22 18:54:18.304490165 +0800
- @@ -0,0 +1 @@
- +1
- diff -Naur dpf-ax.10//src/config.h dpf-ax.10-black//src/config.h
- --- dpf-ax.10//src/config.h 2012-04-22 18:50:58.586631140 +0800
- +++ dpf-ax.10-black//src/config.h 2012-04-22 17:07:46.362201055 +0800
- @@ -54,6 +54,11 @@
- # define LCD_CONTROLLER_CUSTOM
- # define LCD_ORIENTATION_RGB RGB_UP
- # define DEFAULT_ORIENTATION ROT_UP
- +#elif defined (DPFMODEL_black)
- +# define LCD_128x128
- +# define LCD_CONTROLLER_CUSTOM
- +# define LCD_ORIENTATION_RGB RGB_LEFT
- +# define DEFAULT_ORIENTATION ROT_LEFT
- // <<<< INSERT NEW DPFS BEFORE THIS LINE <<<<
- #else
- #error "Unrecognized DPF TYPE specification"
- diff -Naur dpf-ax.10//src/lcd/black/lcdblit.s dpf-ax.10-black//src/lcd/black/lcdblit.s
- --- dpf-ax.10//src/lcd/black/lcdblit.s 1970-01-01 07:30:00.000000000 +0730
- +++ dpf-ax.10-black//src/lcd/black/lcdblit.s 2012-04-22 17:37:02.541421307 +0800
- @@ -0,0 +1,31 @@
- + .include 'dpf.inc'
- +
- + .area BLIT (CODE)
- +
- +ar0 = 0x00
- +
- +_custom_blit::
- + mov a,#0x43
- + clr LCD_A0
- + lcall otp_lcd_write
- + mov a,_g_blit+x0
- + add a,#0x0
- + clr LCD_A0
- + lcall otp_lcd_write
- + mov a,_g_blit+x1
- + add a,#0x0
- + clr LCD_A0
- + lcall otp_lcd_write
- + mov a,#0x42
- + clr LCD_A0
- + lcall otp_lcd_write
- + mov a,_g_blit+y0
- + add a,#0x4
- + clr LCD_A0
- + lcall otp_lcd_write
- + mov a,_g_blit+y1
- + add a,#0x4
- + clr LCD_A0
- + lcall otp_lcd_write
- + setb LCD_A0
- + ret
- diff -Naur dpf-ax.10//src/lcd/black/lcdinit.s dpf-ax.10-black//src/lcd/black/lcdinit.s
- --- dpf-ax.10//src/lcd/black/lcdinit.s 1970-01-01 07:30:00.000000000 +0730
- +++ dpf-ax.10-black//src/lcd/black/lcdinit.s 2012-04-22 10:15:08.819509167 +0800
- @@ -0,0 +1,28 @@
- + .include 'dpf.inc'
- +
- + .area LCDAUX (CODE)
- +
- +_lcd_custom_init::
- + mov dptr,#_custom_initseq
- + ljmp _lcd_init_by_table
- +
- + .area LCDAUX (CODE)
- +
- +_custom_initseq::
- + .db #0x00, #0xb0, #0x64, #0x11, #0xb0, #0x0a, #0x10, #0xb0, #0x64, #0x11, #0xb0, #0x64
- + .db #0x71, #0x2c, #0xb0, #0x0a, #0x71, #0xeb, #0xb0, #0x14, #0x71, #0x02, #0x71, #0x01
- + .db #0xb0, #0x0a, #0x71, #0x26, #0x71, #0x01, #0xb0, #0x0a, #0x71, #0x26, #0x71, #0x09
- + .db #0xb0, #0x0a, #0x71, #0x26, #0x71, #0x0b, #0xb0, #0x0a, #0x71, #0x26, #0x71, #0x0f
- + .db #0xb0, #0x0a, #0x71, #0x40, #0x71, #0x80, #0xb0, #0x0a, #0x71, #0x18, #0x71, #0x00
- + .db #0xb0, #0x0a, #0x71, #0x2c, #0xb0, #0x0a, #0x71, #0x02, #0x71, #0x00, #0xb0, #0x0a
- + .db #0x71, #0x2a, #0x71, #0x5e, #0xb0, #0x0a, #0x71, #0x10, #0x71, #0x0a, #0xb0, #0x0a
- + .db #0x71, #0x28, #0x71, #0x00, #0xb0, #0x0a, #0x71, #0x30, #0x71, #0x0b, #0xb0, #0x0a
- + .db #0x71, #0x32, #0x71, #0x06, #0xb0, #0x0a, #0x71, #0x34, #0x71, #0x91, #0xb0, #0x0a
- + .db #0x71, #0x36, #0x71, #0x00, #0xb0, #0x0a, #0x71, #0x45, #0x71, #0x00, #0xb0, #0x0a
- + .db #0x71, #0x53, #0x71, #0x00, #0xb0, #0x0a, #0x71, #0x56, #0x71, #0x00, #0xb0, #0x0a
- + .db #0x71, #0x57, #0x71, #0x83, #0xb0, #0x0a, #0x71, #0x70, #0x71, #0x1c, #0xb0, #0x0a
- + .db #0x71, #0x7f, #0x71, #0x50, #0xb0, #0x0a, #0x71, #0x51
- + .db #0xFF
- +
- +
- +
- diff -Naur dpf-ax.10//src/lcd/black/lcdsetor.s dpf-ax.10-black//src/lcd/black/lcdsetor.s
- --- dpf-ax.10//src/lcd/black/lcdsetor.s 1970-01-01 07:30:00.000000000 +0730
- +++ dpf-ax.10-black//src/lcd/black/lcdsetor.s 2012-04-22 09:30:42.455145693 +0800
- @@ -0,0 +1,10 @@
- + .include 'dpf.inc'
- +
- + .area INIT (CODE)
- +
- +; Just a nop at the moment - only landscape supported!
- +; If you want other orientations, add code here,
- +; create a correspondig method to lcdblit_*.s" and modify lcdinit_*.c accordingly.
- +;
- +_lcd_custom_setorientation::
- + ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement