prezes_kk
Re: LCD screen for your dockstar (cheap! <$5) April 19, 2012 03:43AM |
buspirate
Re: LCD screen for your dockstar (cheap! <$5) April 19, 2012 08:39AM |
Looking for buildwin firmware....: Found. Looking for known version info...: None. Looking for Openwin..............: Found. Looking for LcdIniTbl............: Traceback (most recent call last): File "fw/identify.py", line 278, in <module> dpf, pm = recognize_dpf(data) File "fw/identify.py", line 229, in recognize_dpf c = find_initbl(dump, i) File "fw/identify.py", line 117, in find_initbl i = struct.unpack("B", data[p])[0] IndexError: string index out of rangeIs this abnormal or a known problem?
buspirate
Re: LCD screen for your dockstar (cheap! <$5) April 19, 2012 08:45AM |
Re: LCD screen for your dockstar (cheap! <$5) April 19, 2012 08:47AM |
Registered: 12 years ago Posts: 365 |
buspirate
Re: LCD screen for your dockstar (cheap! <$5) April 19, 2012 09:45AM |
Re: LCD screen for your dockstar (cheap! <$5) April 19, 2012 11:05AM |
Registered: 12 years ago Posts: 365 |
prezes_kk
Re: LCD screen for your dockstar (cheap! <$5) April 20, 2012 01:09AM |
Re: LCD screen for your dockstar (cheap! <$5) April 20, 2012 02:11AM |
Registered: 12 years ago Posts: 365 |
prezes_kk
Re: LCD screen for your dockstar (cheap! <$5) April 20, 2012 03:00AM |
Re: LCD screen for your dockstar (cheap! <$5) April 20, 2012 03:27AM |
Registered: 12 years ago Posts: 365 |
prezes_kk
Re: LCD screen for your dockstar (cheap! <$5) April 20, 2012 03:39AM |
Re: LCD screen for your dockstar (cheap! <$5) April 20, 2012 08:56AM |
Registered: 12 years ago Posts: 365 |
buspirate
Re: LCD screen for your dockstar (cheap! <$5) April 20, 2012 09:14PM |
buspirate
Re: LCD screen for your dockstar (cheap! <$5) April 20, 2012 09:23PM |
buspirate
Re: LCD screen for your dockstar (cheap! <$5) April 20, 2012 09:34PM |
buspirate
Re: LCD screen for your dockstar (cheap! <$5) April 20, 2012 10:27PM |
neon
Re: LCD screen for your dockstar (cheap! <$5) April 21, 2012 01:42AM |
Re: LCD screen for your dockstar (cheap! <$5) April 21, 2012 04:05AM |
Registered: 12 years ago Posts: 365 |
Re: LCD screen for your dockstar (cheap! <$5) April 21, 2012 06:15AM |
Registered: 12 years ago Posts: 365 |
buspirate
Re: LCD screen for your dockstar (cheap! <$5) April 21, 2012 08:42AM |
Re: LCD screen for your dockstar (cheap! <$5) April 21, 2012 09:17AM |
Registered: 12 years ago Posts: 365 |
buspirate
Re: LCD screen for your dockstar (cheap! <$5) April 21, 2012 09:41AM |
Re: LCD screen for your dockstar (cheap! <$5) April 21, 2012 10:02AM |
Registered: 12 years ago Posts: 365 |
buspirate
Re: LCD screen for your dockstar (cheap! <$5) April 21, 2012 10:05AM |
buspirate
Re: LCD screen for your dockstar (cheap! <$5) April 21, 2012 10:07AM |
rotidude
Re: LCD screen for your dockstar (cheap! <$5) April 21, 2012 10:11PM |
.db #0x00, #0xb0, #0x64, #0x11, #0xb0, #0x0a, #0x10, #0xb0, #0x64, #0x11, #0xb0, #0xffin the _custom_initseq. Now I see a match with the beginning hex sequence of lcdinittbl_tmp.bin from my dpf.
make TYPE=black clean all
Re: LCD screen for your dockstar (cheap! <$5) April 22, 2012 04:22AM |
Registered: 12 years ago Posts: 365 |
d52 -p -b -n openwin_tmp.bin x1280You will get openwin_tmp.d52. Do some cleanup (identify the blit-coordinates, etc.). Thats the one to go into lcdblit.s.
; Common stuff for compiling this for 0.2 up with sdcc ; Routines in ROM: ; Writes a byte to the LCD port p3 l 0f25 otp_lcd_write ; Registers r 00 ar0 ; I/O mappings: k 94 LCD_A0 ; The following registers denote the LCD controller context area ; See lcd_setcontext() ; Converted to 0.2 vars ; ; most dpfs need this mapping.. r 77 _g_blit+x0 ;G_lcd_cxL r 78 _g_blit+x0+1 ;G_lcd_cxH r 79 _g_blit+y0 ;G_lcd_cyL r 7a _g_blit+y0+1 ;G_lcd_cyH r 7b _g_blit+x1 ;G_lcd_dxL r 7c _g_blit+x1+1 ;G_lcd_dxH r 7d _g_blit+y1 ;G_lcd_dyL r 7e _g_blit+y1+1 ;G_lcd_dyH ; .. some need that mapping ;r 78 _g_blit+x0 ;G_lcd_cxL ;r 79 _g_blit+x0+1 ;G_lcd_cxH ;r 7a _g_blit+y0 ;G_lcd_cyL ;r 7b _g_blit+y0+1 ;G_lcd_cyH ;r 7c _g_blit+x1 ;G_lcd_dxL ;r 7d _g_blit+x1+1 ;G_lcd_dxH ;r 7e _g_blit+y1 ;G_lcd_dyL ;r 7f _g_blit+y1+1 ;G_lcd_dyHRun d52 again. But beware! Use your brain!
rotidude
Re: LCD screen for your dockstar (cheap! <$5) April 22, 2012 04:45AM |
Looking for buildwin firmware....: Found (128x128 px). Looking for known version info...: None. Looking for Openwin..............: OpenWin at 0x1280 (0x0006a0), len 0x35, CRC = 0xdda9c297 Written to openwin_tmp.bin. Looking for LcdIniTbl............: Module 37: LcdInit (Tbl) at 0x14b1 (0x04c181) Module 51: LcdScheduleTbl at 0x14c9 (0x04d79f), len 0x00 LcdContrastTbl at 0x14ca (0x04d7a0), len 0x09 LcdContrastTbl at 0x14d4 (0x04d7aa), len 0x0b LcdBacklightTbl at 0x14e0 (0x04d7b6), len 0x16 LcdIniTbl at 0x14f9 (0x04d7cf), len 0x98, CRC = 0xda6ee4c3 Written to lcdinitbl_tmp.bin. Looking for known signatures.....: None. Sorry, no matching dpf found.Should I start modifying identify.py to dump module 51 with the aim of running d52 at 0x14ca? I am still messing around and don't really know what I am doing, sorry :P
Re: LCD screen for your dockstar (cheap! <$5) April 22, 2012 05:29AM |
Registered: 12 years ago Posts: 365 |
rotidude
Re: LCD screen for your dockstar (cheap! <$5) April 22, 2012 06:24AM |