Author Topic: My Dingoo programming reference  (Read 4380 times)

WAHa.06x36

  • Guest
My Dingoo programming reference
« on: February 15, 2010, 12:10:01 am »
I have been trying to figure out how to write native code for the Dingoo for a while now, and gathered some information from the net and some myself by digging into the actual firmware, and wrote down what I've learned so far here:

http://wakaba.c3.cx/w/dingoo_coding

There might be things of interest there to programmers. I figured out how to do double buffering (which won't work on TV out, I think, but that could probably also be fixed), and cleared up some mysteries of GetTickCount(), and various other stuff that I wasn't able to find clearly described on the net.

I'll probably be updating this later when I figure out more stuff. Unless I get distracted by something else. For now, enjoy!

Reesy

  • Posts: 57
Re: My Dingoo programming reference
« Reply #1 on: February 16, 2010, 09:57:58 am »
Thanks, very useful information.  With regards the comment on Y and B buttons in the "Reading buttons" section of your document, if you upgrade to a newer firmware this problem has been resolved.

Nickeng

  • Guest
Re: My Dingoo programming reference
« Reply #2 on: February 16, 2010, 03:21:12 pm »
This is a really good idea, info on the native side seems to be lacking.

Hopefully others can confirbute to your notes.

SiENcE

  • Posts: 653
    • Crank Gaming (Dingux Apps)
Re: My Dingoo programming reference
« Reply #3 on: February 16, 2010, 09:34:28 pm »
I like it. Maybe you should add also links and ressoures (SDKs, projekts aso.). Also code examples are usefull. Esp. inGame menu, code to build a SIM file or how to access and play music.

Shin-NiL

  • Posts: 355
    • Shin-NiL's Personal Web Page (Brazilian Portuguese)
Re: My Dingoo programming reference
« Reply #4 on: March 04, 2010, 02:36:13 pm »
Thanks WAHa.06x36, any reference for Dingoo native code is always welcome  :D

inferpse

  • Guest
Re: My Dingoo programming reference
« Reply #5 on: March 04, 2010, 05:38:36 pm »
Is there any emulator on windows so i can run native os application without saving it on physical device?
s2d_win or what?

Please advise.


flatmush

  • Posts: 288
Re: My Dingoo programming reference
« Reply #6 on: March 04, 2010, 08:38:12 pm »
Has anyone checked if using your FIFO method for the slcd affects the tv-out chip, cause using any functions other than _lcd_set/get_frame() causes the tv-out not to work for me, that was the difference between the underscored and normal versions of the functions.

WAHa.06x36

  • Guest
Re: My Dingoo programming reference
« Reply #7 on: March 10, 2010, 12:46:48 pm »
The FIFO method will not work with TV out, I'm pretty sure. I need to update it to handle that somehow or other.

However, at least in firmware 1.11, _lcd_set_frame() just calls lcd_set_frame() and does nothing else, so there should be no difference at all between them. On which firmware version did you see a difference between them?