Page 1 of 3 123 LastLast
Results 1 to 10 of 25

Thread: jedi-SDL in fpc/packages/extra now

  1. #1

    jedi-SDL in fpc/packages/extra now

    I have added the JEDI-SDL header translation (slightly modified for fpc and 64 bits too) to FPC. If anyone can please test on various platforms. Currently the thing doesn't work in win64 because of JEDI defines (they used win32 all over the place) but that's just temporary.

    It's only added in latest fpc beta from trunk so only for those edgy guys out there. Any kind of tests would be highly appreciated but mostly on 64 bits. (x86_64 linux and ppc64 linux should work, darwin perhaps too)

    NOTE: sadly the JEDI guys used MPL which is INCOMPATIBLE to GPL meaning alot of stress license wise. Be aware of this fact please (we're negociating a license change)
    Feel the power of Open Source.
    <br />Feel the power of Free Pascal.

  2. #2

    jedi-SDL in fpc/packages/extra now

    For more information about MPL, see a short explaning writeup at

    http://wiki.freepascal.org/licensing

  3. #3

    jedi-SDL in fpc/packages/extra now

    I checked in a new version of JEDI-SDL into CVS last night with more GP2X support.

    As I mentioned earlier, it would be nice for developers to only have one version of the sdl.pas file that worked on FPC and Delphi, rather than a version that did and one that did not. Any chance some could tell me what changes are quired to get my version working on 64 bits?
    <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 =-

  4. #4

    jedi-SDL in fpc/packages/extra now

    Quote Originally Posted by savage
    I checked in a new version of JEDI-SDL into CVS last night with more GP2X support.

    As I mentioned earlier, it would be nice for developers to only have one version of the sdl.pas file that worked on FPC and Delphi, rather than a version that did and one that did not. Any chance some could tell me what changes are quired to get my version working on 64 bits?
    I cannot upkeep a hybrid version in fpc/packages, mainly because I only have one Delphi and SDL has versions differences, in other words, unless someone comes who helps with that part, the fpc version will be fpc only (but I can try not to deliberately break it for delphi).

    You just need to fix the alignment stuff. IIRC there was some {$packrecords 4} and {$align} settings in the sdl includes file which was 32 bit specific. I just changed it to {$packrecords C} IIRC and removed the {$align}.
    Feel the power of Open Source.
    <br />Feel the power of Free Pascal.

  5. #5

    jedi-SDL in fpc/packages/extra now

    I have to say I agree with Dom. I have a problem with the JEDI-SDL units being duplicated in the Free Pascal Source control system. This might cause us problems with maintenance in the future. Dom has already stated that we will incorperate your changes into the JEDI-SDL source, as we have with support for GPX2 and NDS (and oter platforms and compilers).

    No one on the JEDI-SDL team have time to maintain both copies of the source. So one will end up getting out of date (I'm willing to bet it'll be the fpc one).

    I'll do a diff on the changes you have commited to fpc and try to incorperate those into the JEDI-SDL source over the weekend.

    Dom - I'll mail you when the diff is complete.

    Edit - The Revision in fpc source is based on version 1.17, it'll take a while to get it up to the latest 1.28.
    <A HREF="http://www.myhpf.co.uk/banner.asp?friend=139328">
    <br /><IMG SRC="http://www.myhpf.co.uk/banners/60x468.gif" BORDER="0">
    <br /></A>

  6. #6

    jedi-SDL in fpc/packages/extra now

    Looking at the diffs it's mainly a case of changing IFDEF WIN32 to IFDEF WINDOWS. This will need to be done, across the whole JEDI-SDL suite to be consistent. We'll need to test to make sure that the packrecords C is OK under FPC on 32 bit machines as well.

    Dom , I'll post on the message list and see if we can get a few people to test the changes under various platforms.

    Almindor - do you want to lend a hand and test the JEDI-SDL suite under 64 bit?
    <A HREF="http://www.myhpf.co.uk/banner.asp?friend=139328">
    <br /><IMG SRC="http://www.myhpf.co.uk/banners/60x468.gif" BORDER="0">
    <br /></A>

  7. #7

    jedi-SDL in fpc/packages/extra now

    Did they update to SDL 1.2 yet? I did some updates as per the SDL changelog (few methods and one record got changed, 2 methods added).

    I wouldn't bet on JEDI being up to date, they weren't past 4 years but if they do it's a good sign. If they manage to get it clean I'll include their version in fpc so we have only one (just give me a tell when they do new changes so I know).

    I can try their version on various FPC targets sometime next week but cannot promise you that since I'm in the middle of final exams right now.
    Feel the power of Open Source.
    <br />Feel the power of Free Pascal.

  8. #8

    jedi-SDL in fpc/packages/extra now

    Quote Originally Posted by Almindor
    Did they update to SDL 1.2 yet? I did some updates as per the SDL changelog (few methods and one record got changed, 2 methods added).
    Who is the *they* you are refering to here?

    Quote Originally Posted by Almindor
    I wouldn't bet on JEDI being up to date, they weren't past 4 years but if they do it's a good sign. If they manage to get it clean I'll include their version in fpc so we have only one (just give me a tell when they do new changes so I know).
    If you are referering to JEDI-SDL, then the latest sdl.pas in CVS ( http://jedi-sdl.cvs.sourceforge.net/...l.pas?view=log) is compatible with v1.2.11 of SDL, which last time I checked ( http://www.libsdl.org/download-1.2.php ) is the latest version of SDL available. It has been compatible with that latest version since Decemeber 2006. How long has the FPC version been up to date?

    This version has been tested and known to work on Win32, Linux and MacOS X and recently had Nintendo GBA & DS support added and GP2X support added 2 days ago. It may not have 64bit support, but that is only because no one has told me or anyone else on the JEDI-SDL team that they were working on it.

    A little bit of communication can go a long way.
    <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 =-

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

    jedi-SDL in fpc/packages/extra now

    Almindor, you do realize that it's savage [size=9px](aka Dominique Louis)[/size] is the current maintainer of JEDI-SDL, right?

    technomage and savage are actually the ones making code changes to the library/headers of which you are writing about.
    Jason McMillen
    Pascal Game Development
    Co-Founder





  10. #10

    jedi-SDL in fpc/packages/extra now

    Quote Originally Posted by savage
    snipped
    The release of SDL is 1.0 about year old now IIRC. Also 0.5 was official release for a long time, and that one was quite outdated too. I don't check your CVS for official releases, I check the homepage.

    I'll test your latest CVS and provide patches shortly.

    P.S: Would be best if we made up some kind of updated notification mechanism. Whenever you're about to do a new version release feel free to mail me at almindor [at] gmail (dot) com and I'll see if things still work and update the fpc copy. So you'll be the main repos and I'll just take care of the copying and maintanance of all exotic targets (atleast those which I can )
    Feel the power of Open Source.
    <br />Feel the power of Free Pascal.

Page 1 of 3 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
  •