Join Today
+ Reply to Thread
Page 1 of 3 123 LastLast
Results 1 to 10 of 24
Like Tree1Likes

Thread: SDL-1.2.7 patches for A1200

  1. #1
    Join Date
    Nov 2005
    Location
    Brazil
    Posts
    308

    Default SDL-1.2.7 patches for A1200

    I made these patches to run SDL-1.2.7 on A1200 (using qt/e). I can see the image and hear the sound, but I can't rotate the screen.
    Somebody can help ?
    Attached Files Attached Files
    Motorola Quench

    A1200i - Firmware: 42pL7 2.0


    E398: R373 R49 custom firmware

  2. #2
    Join Date
    Sep 2005
    Location
    Jakarta, Indonesia
    Posts
    1,091

    Default

    I have SDL-1.2.12 library using fbcon video driver. Tested and working on E680i and A1200 (at least it works for rockbox, support 16bpp only) but have no rotation code also. My solution, added rotation code inside rockbox. Is it bad? No, its make rockbox much faster compare to qtopia video driver on E680i. Of course make SDL game port to A1200 more complicated.

  3. #3
    Join Date
    Nov 2005
    Location
    Brazil
    Posts
    308

    Default

    can you send me or post the patches ?

    Quote Originally Posted by blackhawk View Post
    I have SDL-1.2.12 library using fbcon video driver. Tested and working on E680i and A1200 (at least it works for rockbox, support 16bpp only) but have no rotation code also. My solution, added rotation code inside rockbox. Is it bad? No, its make rockbox much faster compare to qtopia video driver on E680i. Of course make SDL game port to A1200 more complicated.
    Last edited by epinter; 11-21-2007 at 09:23 AM.
    Motorola Quench

    A1200i - Firmware: 42pL7 2.0


    E398: R373 R49 custom firmware

  4. #4
    Join Date
    Sep 2005
    Location
    Jakarta, Indonesia
    Posts
    1,091

    Default

    Sorry, far away from my code right now and still need some work on event catcher. Have no full 18bpp support also. My event catcher via a socket (taken from chyp's opieproxy idea) sometimes stop working on A1200 (button/touchscreen stop responding sometimes).

    Some tips if you have a plan to compile SDL fbcon:
    1. Comment out open mouse and open keyboard command
    2. Comment out enter graphic console command
    3. Comment out save and restore graphic palette command
    4. Comment out FBIO_PUTSCREENINFO command
    5. Write your own socket client to catch opieproxy event

    Rockbox release delayed because above event catcher problem

  5. #5
    Join Date
    Nov 2005
    Location
    Brazil
    Posts
    308

    Default

    Thank you for the tips. I discovered the FBIOPUT_VSCREENINFO because of SDL freezes. A1200 doesn't like FBIOPUT.

    If I find something about SDL rotation, I will tell you.


    Quote Originally Posted by blackhawk View Post
    Sorry, far away from my code right now and still need some work on event catcher. Have no full 18bpp support also. My event catcher via a socket (taken from chyp's opieproxy idea) sometimes stop working on A1200 (button/touchscreen stop responding sometimes).

    Some tips if you have a plan to compile SDL fbcon:
    1. Comment out open mouse and open keyboard command
    2. Comment out enter graphic console command
    3. Comment out save and restore graphic palette command
    4. Comment out FBIO_PUTSCREENINFO command
    5. Write your own socket client to catch opieproxy event

    Rockbox release delayed because above event catcher problem
    Motorola Quench

    A1200i - Firmware: 42pL7 2.0


    E398: R373 R49 custom firmware

  6. #6
    Join Date
    Sep 2005
    Location
    Jakarta, Indonesia
    Posts
    1,091

    Default

    @epinter
    Decided to made a new video driver for EZX device base on fbcon and qtopia video driver. Known working for Rockbox port on E680i and A1200. Download SDL-1.2.12, and then apply my patch. Please read README.EZX inside SDL-1.2.12 folder. Edit my setenv.sh script if needed and then run:

    Code:
    # source setenv.sh
    # CFLAGS="-Os -mcpu=xscale -mtune=xscale -fsigned-char -Wa,-mcpu=iwmmxt -fno-guess-branch-probability -fno-if-conversion -fno-delayed-branch -fno-loop-optimize -fcrossjumping -foptimize-sibling-calls -fgcse -fexpensive-optimizations -fstrength-reduce -frerun-loop-opt -fforce-mem -fpeephole2 -fschedule-insns -fschedule-insns2 -fstrict-aliasing -freorder-functions -fsched-interblock -fno-align-jumps -fno-align-labels -fno-align-functions -finline-functions -frename-registers -fno-math-errno -funsafe-math-optimizations -fno-trapping-math -ffinite-math-only -finline-limit=500 -fno-builtin -fno-rtti" ./configure --host=arm-linux-gnu --disable-debug --enable-cdrom --enable-threads --enable-timers --enable-endian --enable-file --enable-oss --disable-alsa --disable-esd --disable-arts --disable-diskaudio --disable-nas --disable-esd-shared --disable-esdtest --disable-mintaudio --disable-nasm --disable-video-x11 --disable-video-dga --disable-video-fbcon --disable-video-directfb --disable-video-ps2gs --disable-video-xbios --disable-video-gem --disable-video-dummy --disable-video-opengl --enable-input-events --enable-pthreads--disable-video-picogui --disable-video-qtopia --enable-video-ezx --enable-dlopen --prefix=/opt/a1200-lib
    Attached Files Attached Files
    eXMMS and Rockbox running on E680, E680i, E680g, A780, A1200 and ROKR E6

  7. #7
    Join Date
    Nov 2005
    Location
    Brazil
    Posts
    308

    Default

    Thank you very much for the patch. I will try it.
    I just ported your eClock 0.2 to A1200... I posted the patch on the same thread...


    Quote Originally Posted by blackhawk View Post
    @epinter
    Decided to made a new video driver for EZX device base on fbcon and qtopia video driver. Known working for Rockbox port on E680i and A1200. Download SDL-1.2.12, and then apply my patch. Please read README.EZX inside SDL-1.2.12 folder. Edit my setenv.sh script if needed and then run:

    Code:
    # source setenv.sh
    # CFLAGS="-Os -mcpu=xscale -mtune=xscale -fsigned-char -Wa,-mcpu=iwmmxt -fno-guess-branch-probability -fno-if-conversion -fno-delayed-branch -fno-loop-optimize -fcrossjumping -foptimize-sibling-calls -fgcse -fexpensive-optimizations -fstrength-reduce -frerun-loop-opt -fforce-mem -fpeephole2 -fschedule-insns -fschedule-insns2 -fstrict-aliasing -freorder-functions -fsched-interblock -fno-align-jumps -fno-align-labels -fno-align-functions -finline-functions -frename-registers -fno-math-errno -funsafe-math-optimizations -fno-trapping-math -ffinite-math-only -finline-limit=500 -fno-builtin -fno-rtti" ./configure --host=arm-linux-gnu --disable-debug --enable-cdrom --enable-threads --enable-timers --enable-endian --enable-file --enable-oss --disable-alsa --disable-esd --disable-arts --disable-diskaudio --disable-nas --disable-esd-shared --disable-esdtest --disable-mintaudio --disable-nasm --disable-video-x11 --disable-video-dga --disable-video-fbcon --disable-video-directfb --disable-video-ps2gs --disable-video-xbios --disable-video-gem --disable-video-dummy --disable-video-opengl --enable-input-events --enable-pthreads--disable-video-picogui --disable-video-qtopia --enable-video-ezx --enable-dlopen --prefix=/opt/a1200-lib
    Motorola Quench

    A1200i - Firmware: 42pL7 2.0


    E398: R373 R49 custom firmware

  8. #8
    Join Date
    Sep 2005
    Location
    Jakarta, Indonesia
    Posts
    1,091

    Default

    @epinter
    Thank you very much for the patch. I will try it.
    Your welcome.

    I just ported your eClock 0.2 to A1200... I posted the patch on the same thread...
    Hi, it's a good news! Now we have more and more A1200/E6 applications.
    eXMMS and Rockbox running on E680, E680i, E680g, A780, A1200 and ROKR E6

  9. #9

    Default

    good work !
    epinter & blackhawk!!
    after i finish my studywork i will try port the games to a1200

  10. #10

    Default

    @epinter
    If so, I hope you can E6/A1200 developing a video player. Thank you!


 
+ Reply to Thread
Page 1 of 3 123 LastLast

Similar Threads

  1. Google patches Android security flaw
    By nodramachicks in forum Google G1
    Replies: 1
    Last Post: 11-02-2008, 04:40 PM
  2. Replies: 0
    Last Post: 09-13-2008, 03:51 AM
  3. Help: Need developers to port SDL library to A1200/E6
    By JaX in forum A1200 General Chat
    Replies: 2
    Last Post: 06-12-2008, 12:12 AM
  4. SDL compiled. Can't run SDL apps
    By riteshtonk in forum Development
    Replies: 6
    Last Post: 11-21-2007, 03:06 PM
  5. Here are some never Widcomm drivers and patches
    By ycyas in forum E680 General Chat
    Replies: 2
    Last Post: 05-11-2005, 03:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1