SDL (for TOS, and for MiNT)? Firebee and other?

C and PASCAL (or any other high-level languages) in here please

Moderators: simonsunnyboy, Mug UK, Zorro 2, Moderator Team

skeezix
Captain Atari
Captain Atari
Posts: 300
Joined: Wed Dec 10, 2003 7:28 pm
Contact:

SDL (for TOS, and for MiNT)? Firebee and other?

Postby skeezix » Fri Jul 29, 2011 7:27 pm

I'm working on a Firebee, but interested in builds of SDL for non-Firebee's as well.

I think SDL is in one of the MiNT CVS, SVNs or git's but not sure offhand..

For gcc (not pure-c..)

So my questions are ..

1) Anyone know where the current svn/cvs/git for Firebee code is?
2) Same as (1), but for firebee SDL
3) Non-firebee SDL?

Likewise, anyone..

4) have ready built SDLs for Firebee and non-firebee?

ie:

http://www.freemint.org/ gets you gemlib, mintlib, cflib; gcc is available i nvarious versions and in unix-like environments. Toss SDL in there and some other handy libs (libmad etc) and you statr to get a pretty solid porting tutorial going on :)

jeff
--
Firebee, MiST, ST Book, STacy, TT030, 520STM, Atari 800XL, Atari 2600 heavy sixer, arcade machines, homemade computers, big toys for big boys!

skeezix
Captain Atari
Captain Atari
Posts: 300
Joined: Wed Dec 10, 2003 7:28 pm
Contact:

Re: SDL (for TOS, and for MiNT)? Firebee and other?

Postby skeezix » Sat Jul 30, 2011 3:26 am

Just happened to suck down and grep the canonicle SDL 1.2 and it has some atari mentions; I'm assumign a firebee branch is lurking around somewhere, as the changes in SDL for mint are back in 2009 ....

Trying a couple things:

Build a presumably 68k version:
./configure --disable-shared --enable-static --host=m68k-atari-mint --disable-threads --disable-video-opengl --disable-cdrom
make
--> spits out a .a, so thats good :)

I see a few mentions of LDG .. do I need that, or can I just do:
m68k-atari-mint-gcc myfile.c -o myfile.prg -lSDL -lgem
(that _links_ okay...)

--> on firebee, not sure if it works, doesn't seem to, but I ran out of time before could test.

Thoguht to build a coldfire SDL:

./configure --disable-shared --enable-static --host=m68k-atari-mint --disable-threads --disable-video-opengl --disable-cdrom --disable-assembly CFLAGS="-mcpu=5475"
make
--> fail to build, due to coldfire and 68k asm differences in ASM embedded in the SDL source

I imagine some of the 68k asm (move.b ..) is blowing up coldfire, so.. hmm.


Must be a newer source somewhere ;)

jeff
--
Firebee, MiST, ST Book, STacy, TT030, 520STM, Atari 800XL, Atari 2600 heavy sixer, arcade machines, homemade computers, big toys for big boys!

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 12781
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: SDL (for TOS, and for MiNT)? Firebee and other?

Postby wongck » Sat Jul 30, 2011 4:05 am

The person who is knowledgeable on this SDL will be saulot / [nokturnal].
He did some work on CTPCI/Radeon support and have done an excellent Graphics program.
My Stuff: FB/Falcon CT63 CTPCI ATI RTL8139 USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

skeezix
Captain Atari
Captain Atari
Posts: 300
Joined: Wed Dec 10, 2003 7:28 pm
Contact:

Re: SDL (for TOS, and for MiNT)? Firebee and other?

Postby skeezix » Mon Aug 01, 2011 3:25 pm

I've just sent an email over to Patrice Mandin so hopefully I can get a reply there and try to figure out the 'state of affairs' we're in; he's been maintaining the official SDL for atari for quite some time it would seem.

jeff
--
Firebee, MiST, ST Book, STacy, TT030, 520STM, Atari 800XL, Atari 2600 heavy sixer, arcade machines, homemade computers, big toys for big boys!

mikro
Hardware Guru
Hardware Guru
Posts: 2034
Joined: Sat Sep 10, 2005 11:11 am
Location: Kosice, Slovakia
Contact:

Re: SDL (for TOS, and for MiNT)? Firebee and other?

Postby mikro » Tue Aug 02, 2011 10:54 am

The ColdFire code is a part of the official repository: http://www.libsdl.org/hg.php, I think Saulot wanted to clean that up and send a patch to the SDL developers. Plus Vincent plans to provide the SDL libs as a part of his cross tools package.


Social Media

     

Return to “C / PASCAL etc.”

Who is online

Users browsing this forum: No registered users and 2 guests