PDA

View Full Version : JEDI-SDL now also compatible with Gnu Pascal & TMT Pasca



savage
25-04-2003, 09:32 AM
Just a quick note to say that I have just checked into CVS the last
JEDI-SDL ( http://sourceforge.net/projects/jedi-sdl/ ) changes ( for now
) that has added compatability for the Gnu Pascal and TMT Pascal compilers.

JEDI-SDL are the Object Pascal header translations for SDL( Simple DirectMedia Library ). SDL works on Linux, Win32, Playstation 2, BeOS, MacOS Classic, MacOS X, Solaris, IRIX, FreeBSD and AmigaOS.

SDL ( http://www.libsdl.org ) is a cross-platform multimedia library designed to provide low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer. It is used by MPEG playback software, emulators, and many popular games, including the award winning Linux ports of "Civilization: Call To Power", "Tribes 2", "Soldier of Fortune", "Unreal Tournament", "Descent3" and most of the games @
http://www.lokigames.com/products/

Thanks to Alexey "Clootie" Barkovoy for his help with TMT support.
Thanks to Prof. Abimbola "The Chief" Olowofoyeku and Eike Lange for
their help with Gnu Pascal support.
Thanks to Mr "Que Pasha Pepe" Kroket for his help with better FreePascal
support.

These latest changes have been tested under Windows and the newly
modified JEDISDL Aliens demo ( the benchmark for cross-compiler
compatability ) has also been checked into CVS.

These Pascal bindings and the demo, now compile flawlessly under Delphi,
FreePascal ( FPC ) 1.0.4, Gnu Pascal ( GPC ) Latest Alpha & TMT Pascal.

The Aliens Demo runs flawlessly with Music and FX under Delphi, FPC and
TMT. The GPC version has a screen refresh problem, while sound collision
detection etc work flawlessly. The GPC issue, may be due to the Alpha
status of the compiler or my lack of familiarity with the GPC compiler,
as all compilers are essentially compiling the same code.

Looking ahead, testing and bug fixing is under way to make sure the
headers support Gnu Pascal on Linux and MacOS X ( yes MacOS, woo hoo )
and FreePascal under Linux.

I hope this widens the appeal of JEDI-SDL.

Alimonster
26-04-2003, 01:59 PM
Mmm, cross platform -- nice work. A quick question: are there any good non-Delphi IDEs out there for these compilers, or is there a way to force the Delphi IDE to use one of them instead of dcc32 (which would be pretty handy!)?

savage
26-04-2003, 02:37 PM
Mmm, cross platform -- nice work. A quick question: are there any good non-Delphi IDEs out there for these compilers, or is there a way to force the Delphi IDE to use one of them instead of dcc32 (which would be pretty handy!)?

For Windows you can get theDev Pascal IDE which is a very basic front end to both Gnu Pascal and FreePascal. Check
http://www.bloodshed.net/devpascal.html
for more info, and here is a screen shot of the IDE...
http://www.bloodshed.net/images/devpas_scr.jpg

Under Linux I think there is only the command line.


If you are serious about using Gnu Pascal, drop me a direct email and I will send specific intructions. Or if there is enough interest I can post it here.

savage
26-04-2003, 02:41 PM
Mmm, cross platform -- nice work. A quick question: are there any good non-Delphi IDEs out there for these compilers, or is there a way to force the Delphi IDE to use one of them instead of dcc32 (which would be pretty handy!)?

Oops after a bit of searching I found that under Linux you can use a Text mode IDE called RHIDE found @
http://www.tu-chemnitz.de/~sho/rho/rhide.html.

Which looks like this
http://www.gnu-pascal.de/images/rhide-screen.png

Alimonster
26-04-2003, 02:53 PM
Dev-Pascal could be quite nice -- I like Dev-C++. I used RHIDE when I was trying out DJGPP but I found it to be a bit clunky, to be honest.

This may be slightly off-topic, but Lazarus (http://www.lazarus.freepascal.org/modules.php?op=modload&name=Screenshots&file=index) for FreePascal looks pretty snazzy. It could turn out to be very interesting.


If you are serious about using Gnu Pascal, drop me a direct email and I will send specific intructions. Or if there is enough interest I can post it here.
I might do that in a little while. I'm flat-hunting at the moment with a couple of mates and will hopefully be moving about June/July. One of my mates has a Linux PC so it would be handy to know about Linux compilation w/ SDL. I'm not in a rush yet, though, because I already have far too many other things to look at first! ;)

savage
26-04-2003, 03:02 PM
Dev-Pascal could be quite nice -- I like Dev-C++. I used RHIDE when I was trying out DJGPP but I found it to be a bit clunky, to be honest.

This may be slightly off-topic, but Lazarus (http://www.lazarus.freepascal.org/modules.php?op=modload&name=Screenshots&file=index) for FreePascal looks pretty snazzy. It could turn out to be very interesting.


If you are serious about using Gnu Pascal, drop me a direct email and I will send specific intructions. Or if there is enough interest I can post it here.
I might do that in a little while. I'm flat-hunting at the moment with a couple of mates and will hopefully be moving about June/July. One of my mates has a Linux PC so it would be handy to know about Linux compilation w/ SDL. I'm not in a rush yet, though, because I already have far too many other things to look at first! ;)

I had completely forgotten about Lazarus. I will download it later today and test it out under Linux as I am double checking FPC Linux support this week-end.

yassersoft
17-12-2009, 01:46 PM
I got SDL and I use it with Delphi but It´s possible use it with Devpascal?

jdarling
17-12-2009, 04:05 PM
Hey Savage, does this mean we have to check out the SVN trunk to get the updates or will you have an updated package some time soon? I noticed an exe posted on the SF site, but I hate downloading and running automated installers, would much prefer just a zip file with everything in it so I can put it into my project tree's where needed :)

- Jeremy

Never mind this post, I didn't realize that someone didn't read post dates and start a new thread with their problems :(

phibermon
20-12-2009, 05:53 PM
Lazarus. you don't have to create the usual GUI style app, I use if for my SDL/OpenGL projects and it suits my purposes very well. it's great for debugging, it's great for code exploration and it's great for managing the build.