Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Just a question about SDL

                  
   
  1. #1

    Default Just a question about SDL

    hello, I am new to Dreamcast Development and startet working with the SDL port for KOS.
    I downloaded the Dev-Kits from this site and have to say,that the SDL-Port is great.
    I have only one problem...maybe somebody can answer my question:

    Is it normal,that SDL runs so slow on the Dreamcast?
    Is there any way to get a better speed with SDL on the Dreamcast?

  2. #2
    DCEmu Newbie
    Join Date
    Nov 2004
    Location
    france
    Age
    35
    Posts
    37
    Rep Power
    0

    Default

    hi,

    It's normal that SDL Dreamcast be more slow than the original SDL, however, a new version of SDL Dreamcast has been realised 3 days ago. Look that : http://www.dcemu.co.uk/vbulletin/sho...threadid=11799 , this version is faster.

  3. #3

    Default

    thanks omer!
    i know chui's SDL Addon,but don't know how to install it.

    1.I copy all Addon files to kos/addons
    (with a new folder? like addons/SDL)

    2. Add "-I$(KOS_BASE)/addons/include" for compiling
    (in the makefile?)

    3.'-lSDL_129' for linking
    (also in the makefile?)

    Okay,when this all would be right...do I have to implement a special function of this addon,or will it optimize the speed automaticly?

    EDIT:
    Do I have to use
    SDL_DC_SetVideoDriver(SDL_DC_driver value)
    from SDL_dreamcast.h,to get my SDL working faster?

  4. #4
    DCEmu Newbie
    Join Date
    Nov 2004
    Location
    france
    Age
    35
    Posts
    37
    Rep Power
    0

    Default

    normally, in the repertory where you have installed your dev kit, you have a repertory named " lib ", in this repertory are present many files who have " .a " extension. So, you must put the files who are in the repertory "lib/dreamcast" of the SDL chui, in the repertory " lib " of your dev-kit ( the repertory who have many files with " .a " extension ). About the files in the repertory " include " of the SDL chui, you must put them in your repertory " include " of your dev kit. zlib.h and zutil.h go with the repertory " zlib ", the files of the repertory SDL go to the repertory " SDL " of your dev kit...you do the same for the others " .h " files.

  5. #5

    Default

    I downloaded now the precompiled files from chui's site,but also the source.
    So, you must put the files who are in the repertory "lib/dreamcast" of the SDL chui, in the repertory
    sorry,but i find no folder "lib/dreamcast" in any of these two packages.

    Also Chui wrote following on his website
    Place precompiled libraries and headers to 'addons' KallistiOS subdirectory and use '-I$(KOS_BASE)/addons/include' parameter for compiling and '-lSDL_129' parameter for linking.
    can't i install it like this?just putting the precompiled headers into my Kos/addons?

    sorry man that i am so lazy...

  6. #6
    DCEmu Newbie
    Join Date
    Nov 2004
    Location
    france
    Age
    35
    Posts
    37
    Rep Power
    0

    Default

    when you uncompress the zip of the SDL chui precompiled package you must have that in the directory .../lib/dreamcast : http://img345.imageshack.us/my.php?i...emuaide1fa.png , so you must have the same.

  7. #7

    Default

    downloaded it once again:
    only
    /kos/addons/include/SDL with all the headers

  8. #8
    DCEmu Newbie
    Join Date
    Nov 2004
    Location
    france
    Age
    35
    Posts
    37
    Rep Power
    0

    Default

    oh, strange O_o, with this package : http://chui.dcemu.co.uk/releases/sdl...04-10-2005.rar ?

  9. #9

    Default

    just the same

    was this the link from his homepage?maybe he has changed something...

  10. #10
    DCEmu Newbie
    Join Date
    Nov 2004
    Location
    france
    Age
    35
    Posts
    37
    Rep Power
    0

    Default

    yes the link come from the homepage of chui.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •