Welcome, Guest. Please login or register.

Author Topic: New AGA SDL Development  (Read 35525 times)

Description:

0 Members and 3 Guests are viewing this topic.

Offline NovaCoderTopic starter

Re: New AGA SDL Development
« Reply #14 on: May 17, 2013, 01:35:48 PM »
Quote from: Fab;735313
Even if you keep SDL, you should at least do it properly and modify it to only updated damaged areas, that would really increase performance.


Yep, done this already.
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline NovaCoderTopic starter

Re: New AGA SDL Development
« Reply #15 on: May 26, 2013, 05:33:36 AM »
First NetSurf AGA BETA released which uses this new SDL library  ;)
« Last Edit: May 27, 2013, 12:35:03 AM by NovaCoder »
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline NovaCoderTopic starter

Re: New AGA SDL Development
« Reply #16 on: May 26, 2013, 07:26:38 AM »
Quote from: AmigaClassicRule;736009
I cannot get it from that website specified and I cannot find it in aminet.


http://eab.abime.net/index.php
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline NovaCoderTopic starter

Re: New AGA SDL Development
« Reply #17 on: June 05, 2013, 01:04:27 AM »
Quote from: adrian82;736834
What version of SDL is this based on? And where can I get the source of your Amiga port?

Cheers,

Adrian

It's a bit of a hack, based on the old 68k RTG SDL + Arti's updates + some vanilla v1.2.15 and then Amiga AGA specific optimizations added + hacked to death by yours truly.

So far it's been used to port NetSurf, Descent Rebirth, DosBox v0.74 to AGA and now being used to attempt to port Ultima 7.   If all goes well I'll upload it to AmiNet with some simple demo programs.   It will support most of the basic SDL functions but to get the max performance out of a port you'll need to do some updates.
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline NovaCoderTopic starter

Re: New AGA SDL Development
« Reply #18 on: June 21, 2013, 11:32:38 AM »
Ok I've now released it to AmiNet -> http://aminet.net/package/dev/lib/SDL_AGA

Now go create some cool new AGA games with it :)


Future plans:

I think I might add the SDL Mixer to it one of these days, from my initial look at the source code it looks ok.  
When I get the time, I'd also like to try and add RTG support (copy the code over from the existing SDL).
« Last Edit: June 21, 2013, 11:57:16 AM by NovaCoder »
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline NovaCoderTopic starter

Re: New AGA SDL Development
« Reply #19 on: June 24, 2013, 12:37:52 PM »
[youtube]FaMuopipN7o[/youtube]
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline NovaCoderTopic starter

Re: New AGA SDL Development
« Reply #20 on: July 08, 2013, 05:27:43 AM »
The SDL strikes again :)


It's very early days (only a few hours work), not sure how it will run real hardware yet.
« Last Edit: July 08, 2013, 05:46:02 AM by NovaCoder »
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline NovaCoderTopic starter

Re: New AGA SDL Development
« Reply #21 on: July 08, 2013, 11:57:10 AM »
Quote from: magnetic;740172
Nova you are an AGA MEGAHERO!



Thanx :)
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline NovaCoderTopic starter

Re: New AGA SDL Development
« Reply #22 on: July 09, 2013, 01:13:04 PM »
It's alive (said in your best mad scientist voice)



[youtube]nffOaex-R8Q[/youtube]


:)
« Last Edit: July 09, 2013, 01:17:03 PM by NovaCoder »
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline NovaCoderTopic starter

Re: New AGA SDL Development
« Reply #23 on: July 10, 2013, 01:00:40 AM »
Quote from: slaapliedje;740363
Need testers?  :D

slaapliedje


Thanks, yes I will at some point :)

This is only after a day's effort so lots of work to do before I can release something worth beta testing.
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline NovaCoderTopic starter

Re: New AGA SDL Development
« Reply #24 on: July 10, 2013, 02:00:13 AM »
Quote from: ChaosLord;740436
So what is the story with SDL and RTG?

Many many years ago I was going to port all my games over to SDL/RTG.

But SDL was megatremendously sloooooooooooow.  It had been out for a few years yet nobody had ever optimized the algorithms at all so it was totally completely worthless. :(

Now that a gazillion years have passed, is SDL a good option for RTG gamecoding now?

In a few months from now I am going to be in need of a properly working SDL that performs reasonably well on RTG cards with 128MB VRAM.  Does such a SDL currently exist?

Hiya,

If I ever get the time I'd like to add RTG support to my AGA SDL and use it to do a new port of ScummVM for RTG Amiga's.

From what I've read, Amiga RTG pixel formats are a mess (non-standardized), that is why blitting can be very slow, esp when you mix color formats.
« Last Edit: July 10, 2013, 07:48:20 AM by NovaCoder »
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline NovaCoderTopic starter

Re: New AGA SDL Development
« Reply #25 on: July 10, 2013, 05:58:50 AM »
Quote from: slaapliedje;740444
I can test that too!  :D

Is there any of the old SDL/RTG software out there?  I know there is an old version of Exult, but I'm not sure if the Amiga port used SDL or not.  Maybe I'll give it a shot and find out, then report.

slaapliedje


Hiya,

Yes the old 68k port of Exult and DosBox would have used the SDL.

I think there is also a 68k port of Red Alert that uses the SDL.
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline NovaCoderTopic starter

Re: New AGA SDL Development
« Reply #26 on: July 23, 2013, 03:10:50 AM »
Update:

I've just added (limited) SDL Mixer support to my library.

It's useful for porting games that need SDL Mixer support.   I've only given it a very quick test but it seems to work, not sure how slow it would be on real hardware.


I'll upload it to AmiNet when I get the time.
« Last Edit: July 23, 2013, 03:14:44 AM by NovaCoder »
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline NovaCoderTopic starter

Re: New AGA SDL Development
« Reply #27 on: February 02, 2015, 03:44:19 AM »
Yet another port using my little SDL 'hack' :)

[youtube]Wsc2_mzIM2Y[/youtube]
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline NovaCoderTopic starter

Re: New AGA SDL Development
« Reply #28 on: February 02, 2015, 10:26:34 PM »
Quote from: slaapliedje;782847
Nice!  Do you take requests?

A newer version of Hatari would be an awesome port (there is one on Aminet, but it's pretty old).  I believe it uses mostly SDL, though recently they tacked on a python interface, if the Nokia N900 version is any indicator, it could be removed fairly easily, or replaced maybe by something more Amiga-ish?

I was also thinking some other SDL based emulators, I am pretty sure all of the newer Mame builds are, as well as things like gens.

slaapliedje

Thanks :)

These 68k ports take a huge amount of time, not necessarily to get up and running but to get them fast enough to be of some use on real hardware takes a lot of effort.   As an example, Odamex took about 2 days to get running then another 3 months (effort) to get it running well enough to release it ;)


I've uploaded my SDL hack to AmiNet so someone else can give some new ports a go.

:)
« Last Edit: February 02, 2015, 10:28:43 PM by NovaCoder »
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline NovaCoderTopic starter

Re: New AGA SDL Development
« Reply #29 from previous page: February 22, 2015, 09:06:19 AM »
Wow a 68k SDL port the runs reasonably quickly on real hardware, would have thought ;)


[youtube]RgzTGIV41a4[/youtube]
Life begins at 100 MIPS!


Nice Ports on AmiNet!