Page 1 of 4 123 ... LastLast
Results 1 to 10 of 35

Thread: SDL Examples for NDS porting

  1. #1

    SDL Examples for NDS porting

    I have quite a few simple SDL examples I could post up if you want something to test with. As a sample; One to draw a line on the screen, One to display a png to the screen, One to place a TTF font on the screen, One to place a raster font on the screen, and many more. Just little quick hits to remind me how to do the things I seem to forget all the time

  2. #2

    SDL Examples for NDS porting

    Quote Originally Posted by jdarling
    I have quite a few simple SDL examples I could post up if you want something to test with. As a sample; One to draw a line on the screen, One to display a png to the screen, One to place a TTF font on the screen, One to place a raster font on the screen, and many more. Just little quick hits to remind me how to do the things I seem to forget all the time
    Good! Yes please, post them all
    Get your fpc4gba copy now!
    Get your fpc4nds copy now!

  3. #3
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    SDL Examples for NDS porting

    So you said before that you were able to get SDL working under NDS?

    What was the deal with the dynamic libraries though? You find a way to compile the libs into the rom it's self?

    How much bloat does that work out to?
    Jason McMillen
    Pascal Game Development
    Co-Founder





  4. #4

    SDL Examples for NDS porting

    I was able to get SDL compiling for NDS :lol:
    I need some basic examples to see if it works too. No dynamic libs, it works like as libnds: libs are statically (smart)linked inside the rom. About using sdl, it's only matter of adding sdl to uses. Of course I have adapted sdl.pas only, so I don't know how much work it is needed to get a complete sdl for nds package (sprite engine, mixer, logger, ...)
    Get your fpc4gba copy now!
    Get your fpc4nds copy now!

  5. #5
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    SDL Examples for NDS porting

    Ah, ok... well I believe I'd want/need sdl and sdl_mixer. Don't know about sdl_image but my game uses it. Not that I'm planning on trying to get PNG files going on NDS.

    And then there is the issue of OpenGL through SDL ala included gl and glu.


    Well like I mentioned before we have that little demo to work on. :shhh:
    Jason McMillen
    Pascal Game Development
    Co-Founder





  6. #6

    SDL Examples for NDS porting

    Not sure about png, but libnds allows to use pcx images

    Quote Originally Posted by WILL
    Well like I mentioned before we have that little demo to work on. :shhh:
    Yep! :whistle: :mrgreen:
    Get your fpc4gba copy now!
    Get your fpc4nds copy now!

  7. #7
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    SDL Examples for NDS porting

    What about sdl_mixer?
    Jason McMillen
    Pascal Game Development
    Co-Founder





  8. #8

    SDL Examples for NDS porting

    Quote Originally Posted by WILL
    What about sdl_mixer?
    The sdl libs ported to nds are: SDL_flic, SDL_gfx, SDL_image, SDL_mixer, SDL_ttf and SFont. There is a support for zip (via zlib), jpeg and png.
    About audio, seems that sometime it goes out of sync :/

    http://gpf.dcemu.co.uk/ndsSDL.shtml

    http://www.dcemu.co.uk/vbulletin/forumdisplay.php?f=78
    Get your fpc4gba copy now!
    Get your fpc4nds copy now!

  9. #9

    SDL Examples for NDS porting

    Ooops only just found this thread. Sounds like excellent stuff!! It would be nice to release v1.0 with preliminary NDS support. Please let me know if there are any other changes required to sdl.pas or any of the other sdl_*.pas files.
    <br /><br />There are a lot of people who are dead while they are still alive. I want to be alive until the day I die.<br />-= Paulo Coelho =-

  10. #10

    SDL Examples for NDS porting

    Quote Originally Posted by Legolas
    I also noticed that this link has a libSDL for GBA. Has anyone tried it?
    <br /><br />There are a lot of people who are dead while they are still alive. I want to be alive until the day I die.<br />-= Paulo Coelho =-

Page 1 of 4 123 ... LastLast

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
  •