It is currently Wed Jun 19, 2013 4:25 pm

Anyone working on a Dingoo minimal.c library?

View active topics

All times are UTC


Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 10 posts ] 
Author Message
 PostPosted: Sun Jun 28, 2009 12:22 pm   
User avatar

Joined: Tue Jun 23, 2009 11:53 pm
Posts: 18
Location: Melbourne, Australia
Subject says it all. Anyone working on a minimal library like the GP2X's minimal.c (by Rlyeh)?


Top
 Profile  
 PostPosted: Sun Jun 28, 2009 1:18 pm   

Joined: Sat Jun 27, 2009 1:18 pm
Posts: 3
just check the topics here, flatmush has started one see his source code


Top
 Profile  
 PostPosted: Mon Jun 29, 2009 3:36 am   
User avatar

Joined: Tue Jun 23, 2009 11:53 pm
Posts: 18
Location: Melbourne, Australia
I have seen entry.a and the associated entry.h.

I mean something more like minimal.c.

Anyway, I've got the jz4740 peripheral specification and assuming it's all good/accurate, it's a pretty nice chipset.

I want the ability to:

*Write direct to framebuffer
* Vsync
* Double Buffer
* Set video modes (ie 16bit, 15bit, 8bit palette modes)
* Set palette colors

etc.

It looks like it can do all this (and more!)

I'll see if I can write my own minimal.c


Top
 Profile  
 PostPosted: Mon Jun 29, 2009 1:12 pm   

Joined: Sat Jun 27, 2009 1:18 pm
Posts: 3
Using Astro Lander source from flatmush you already have a good library that can do what you want
except VSync which is not possible on official firmware, maybe possible on dingoo linux
and palette/video mode function are missing too from entry.a
I think the future next way to go is using dingoo linux when it will be more useable


Top
 Profile  
 PostPosted: Wed Jul 29, 2009 1:06 am   
User avatar

Joined: Tue Jun 23, 2009 11:53 pm
Posts: 18
Location: Melbourne, Australia
Yes I've discovered many things about the Dingoo :-/

Basically the LCD screen does not use the jz4740 LCD controller - it uses a separate controller.
This means that things like vsync, 8-bit color will not ever be available.

However, the TV out does use the jz4740 so for it we do have the option of different color modes and vsync, etc.

I wonder if Booboo will ever support this in Dingux?


Top
 Profile  
 PostPosted: Fri Jul 31, 2009 12:33 pm   
User avatar

Joined: Thu Oct 02, 2008 6:36 pm
Posts: 14
What are the drawbacks of the missing vsync? Is this responsible for the screen tearing some people reported?


Top
 Profile  
 PostPosted: Sun Aug 02, 2009 11:48 pm   
User avatar

Joined: Tue Jun 23, 2009 11:53 pm
Posts: 18
Location: Melbourne, Australia
A Vsync signal is used to determine what part of the screen the LCD controller is currently drawing.
It's very useful for stopping screen tearing but is by no mean the only way of doing.
For example the GP32 has no vsync capability however it does have other register that tell you which line is currently being drawn. Using this, a programmer could create a very accurate timer in sync with the regular refresh period to simulate a vsync.
Perhaps the same thing can be done with the Dingoo.


Top
 Profile  
 PostPosted: Mon Aug 03, 2009 10:32 am   
User avatar

Joined: Thu Oct 02, 2008 6:36 pm
Posts: 14
Thanks slaanesh for the comprehensive explanation. :)


Top
 Profile  
 PostPosted: Thu Aug 13, 2009 11:22 pm   

Joined: Thu Aug 13, 2009 11:17 pm
Posts: 2
Quote:
Basically the LCD screen does not use the jz4740 LCD controller - it uses a separate controller.
This means that things like vsync, 8-bit color will not ever be available.


Hi,

Do you know which kind of controller it's using and why is there 2 controllers ?

So far i can't obtain any interrupts from the LCD.


Top
 Profile  
 PostPosted: Fri Aug 14, 2009 2:55 pm   

Joined: Thu Aug 13, 2009 11:17 pm
Posts: 2
I don't know if the format was already decoded but i just made a text file to describe to .app files in order to get ride of entry.a and create really small executable files.

http://pagesperso-orange.fr/franck.charlet/dingoo_app_format.txt


Top
 Profile  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 10 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style originally created by Volize © 2003 • Redesigned SkyLine by MartectX © 2008