Welcome, Guest. Please login or register.

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

Description:

0 Members and 1 Guest are viewing this topic.

Offline NovaCoderTopic starter

New AGA SDL Development
« on: May 07, 2013, 05:16:20 AM »
And now for some Amiga news....

I'm currently working on a  new SDL library which is a cut-down version specifically made for good old AGA Amiga's (like mine!).

As people know I've ported a few games now and usually I have to rip out all of the SDL code and replace it with my own Amiga AGA code. This can be a very time consuming process so I decide to give an SDL library port one more try.

I've managed to knock together a working AGA SDL library which I'm using it to port Descent Rebirth to AGA.

[youtube]hhRxSw6IMa8[/youtube]


Restrictions:

   1. Only AGA 8 bit full-screen modes supported (320x200 -> 640x480).
   2. No CDROM support
   3. No OpenGL (obviously)
   4. No hardware accelerated graphics (again, kind of obvious)


This library is already being used to port NetSurf to AGA :)

If I can get this working properly it should make it much easier to port a lot of new stuff to AGA quickly.
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline AmigaClassicRule

  • Hero Member
  • *****
  • Join Date: Oct 2011
  • Posts: 956
    • Show only replies by AmigaClassicRule
Re: New AGA SDL Development
« Reply #1 on: May 07, 2013, 04:37:32 PM »
Quote from: NovaCoder;733965
And now for some Amiga news....

I'm currently working on a  new SDL library which is a cut-down version specifically made for good old AGA Amiga's (like mine!).

As people know I've ported a few games now and usually I have to rip out all of the SDL code and replace it with my own Amiga AGA code. This can be a very time consuming process so I decide to give an SDL library port one more try.

I've managed to knock together a working AGA SDL library which I'm using it to port Descent Rebirth to AGA.

[youtube]hhRxSw6IMa8[/youtube]


Restrictions:

   1. Only AGA 8 bit full-screen modes supported (320x200 -> 640x480).
   2. No CDROM support
   3. No OpenGL (obviously)
   4. No hardware accelerated graphics (again, kind of obvious)


This library is already being used to port NetSurf to AGA :)

If I can get this working properly it should make it much easier to port a lot of new stuff to AGA quickly.

This is great news!!!! Hey man, can you please try to see if this game works with this new AGA SDL: http://aminet.net/package/game/role/Zelda3T-68k-US and can you make a youtube video of it?? PLEASE, PLEASE, PLEASE!! Oh...one more...please!!
« Last Edit: May 07, 2013, 04:42:16 PM by AmigaClassicRule »
 

Offline polyp2000

  • Full Member
  • ***
  • Join Date: Jan 2011
  • Posts: 244
    • Show only replies by polyp2000
    • https://soundcloud.com/polyp/sets/polyp-2013
Re: New AGA SDL Development
« Reply #2 on: May 07, 2013, 04:44:57 PM »
Quote from: NovaCoder;733965
And now for some Amiga news....

I'm currently working on a  new SDL library which is a cut-down version specifically made for good old AGA Amiga's (like mine!).

As people know I've ported a few games now and usually I have to rip out all of the SDL code and replace it with my own Amiga AGA code. This can be a very time consuming process so I decide to give an SDL library port one more try.

I've managed to knock together a working AGA SDL library which I'm using it to port Descent Rebirth to AGA.

[youtube]hhRxSw6IMa8[/youtube]


Restrictions:

   1. Only AGA 8 bit full-screen modes supported (320x200 -> 640x480).
   2. No CDROM support
   3. No OpenGL (obviously)
   4. No hardware accelerated graphics (again, kind of obvious)


This library is already being used to port NetSurf to AGA :)

If I can get this working properly it should make it much easier to port a lot of new stuff to AGA quickly.



This is really great news - will this become part of the official SDL library do you think ? It would be awesome if (hardware permitting) any new games built with SDL could be only a few tweaks and a compile flag away from an AGA 68k port.

Offline fishy_fiz

  • Hero Member
  • *****
  • Join Date: Jan 2005
  • Posts: 1813
    • Show only replies by fishy_fiz
Re: New AGA SDL Development
« Reply #3 on: May 07, 2013, 06:30:14 PM »
@AmigaClassicRule

It's a linklib, not a system library. Those Zelda games are highly portable though (I did a few myself), so recompiling shouldnt be difficult if youre interested in it. If memory serves correctly though they use Timidity, so a bit of work might be required there.
Near as I can tell this is where I write something under the guise of being innocuous, but really its a pot shot at another persons/peoples choice of Amiga based systems. Unfortunately only I cant see how transparent and petty it makes me look.
 

Offline nicholas

Re: New AGA SDL Development
« Reply #4 on: May 07, 2013, 06:31:23 PM »
@Nova

Excellent news, thanks for the hard work you've put into it. :)
“Een rezhim-i eshghalgar-i Quds bayad az sahneh-i ruzgar mahv shaved.” - Imam Ayatollah Sayyed  Ruhollah Khomeini
 

Offline ByteRyder

  • Newbie
  • *
  • Join Date: Oct 2007
  • Posts: 32
    • Show only replies by ByteRyder
Re: New AGA SDL Development
« Reply #5 on: May 07, 2013, 10:23:06 PM »
Congrats on yet another amazing achievement. When speaking about AGA you now have to mention the period before or after NovaCoder. :D
 

Offline Crumb

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1786
  • Country: 00
    • Show only replies by Crumb
    • http://cuaz.sourceforge.net
Re: New AGA SDL Development
« Reply #6 on: May 07, 2013, 10:25:33 PM »
Quote from: NovaCoder;733965

   1. Only AGA 8 bit full-screen modes supported (320x200 -> 640x480).
   2. No CDROM support
   3. No OpenGL (obviously)
   4. No hardware accelerated graphics (again, kind of obvious)


http://code.google.com/p/unitedstatesofamiga/This library is already being used to port NetSurf to AGA :)

If I can get this working properly it should make it much easier to port a lot of new stuff to AGA quickly.


Good job! :-)

1.- What about those 15bit/16bit C2Ps? these aren't fast but could be useful for some of your ports. Kalms published some sources and there are more from Rune Stenslad
http://code.google.com/p/unitedstatesofamiga/
http://membres.multimania.fr/amycoders/opt/fasttruec2p.html

4.- Blitter could speed up bitblits in screen although having 060 it probably doesn't worth it.

It's a pity that Chaozer never released the sources of his WarpSDL library. http://www.algonet.se/~chaozer/warpsdl.shtml
Not even the developer archive to be able to use it so it was an effort with not much fruits.

Perhaps somebody who knows him could try to get in touch with him to see if he's willing to release the developer archive or even better, the sources
The only spanish amiga news web page/club: Club de Usuarios de Amiga de Zaragoza (CUAZ)
 

Offline nicholas

Re: New AGA SDL Development
« Reply #7 on: May 07, 2013, 10:58:22 PM »
Quote from: Crumb;734060
1.- What about those 15bit/16bit C2Ps? these aren't fast but could be useful for some of your ports. Kalms published some sources and there are more from Rune Stenslad
http://code.google.com/p/unitedstatesofamiga/
http://membres.multimania.fr/amycoders/opt/fasttruec2p.html

Bookmarked. Thanks! :)
“Een rezhim-i eshghalgar-i Quds bayad az sahneh-i ruzgar mahv shaved.” - Imam Ayatollah Sayyed  Ruhollah Khomeini
 

Offline AmigaClassicRule

  • Hero Member
  • *****
  • Join Date: Oct 2011
  • Posts: 956
    • Show only replies by AmigaClassicRule
Re: New AGA SDL Development
« Reply #8 on: May 07, 2013, 11:16:20 PM »
Quote from: fishy_fiz;734034
@AmigaClassicRule

It's a linklib, not a system library. Those Zelda games are highly portable though (I did a few myself), so recompiling shouldnt be difficult if youre interested in it. If memory serves correctly though they use Timidity, so a bit of work might be required there.

Fishy_fiz..please...is there anyway you can recompile it for AGA please??!!

Pleeeeeasse!? I will donate you for your work!!
 

Offline NovaCoderTopic starter

Re: New AGA SDL Development
« Reply #9 on: May 08, 2013, 12:39:18 AM »
Cool thanks for the support guys :)

This will only be a very cut down library to start with, I may add more features if I find I'm missing things later.  Not sure about advance modes like 15bit HAM8, probably be too slow to be of much use on AGA.
I've actually tried to port the old RTG SDL to AGA a couple of times in the past and never got anywhere, this time it's actually coming together nicely.

I just hope it means more new stuff on AGA, already it looks like it will give us a new web browser and Fishy_fiz is working on a new MegaDrive port.



Latest version of the library is already a bit quicker than BETA 1.

[youtube]1COt73zsxpU&NR[/youtube]
« Last Edit: May 08, 2013, 12:57:07 AM by NovaCoder »
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline magnetic

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2531
    • Show only replies by magnetic
Re: New AGA SDL Development
« Reply #10 on: May 08, 2013, 02:04:32 AM »
NOva

This is the most excellent news! I saw your thread on EAB and potential games like Ultima 7 being ported. That would be really fun, as i'm no big fan of fps games.

To me probably the most exciting thing is the Netsurf port i'm dying for decent browser for my a1200.

The only thing i'm concerned about is how slow SDL will be. Considering how slow it is even on Amiga NG platform with powerful (relatively) processors...

Kalms is the man. He's the coder behind a lot of scene demos right?
bPlan Pegasos2 G4@1ghz
Quad Boot:Reg. MorphOS | OS4.1 U4 |Ubuntu GNU-Linux | MacOS X

Amiga 2000 Rom Switcher w/ 3.1 + 1.3 | HardFrame SCSI | CBM Ram board| A Squared LIVE! 2000 | Vlab Motion | Firecracker 24 gfx

Commodore CDTV: 68010 | ECS | 9mb Ram | SCSI -TV | 3.9 Rom | Developer EPROMs
 

Offline NovaCoderTopic starter

Re: New AGA SDL Development
« Reply #11 on: May 08, 2013, 02:12:16 AM »
Kalms is Mr TBL ;)

I don't think this new SDL library will be much slower than just doing the same thing in straight C, it should only slow a 68k port by a couple of percent.

It will only support what AGA can do so I'm currently removing features that will slow it down too much.
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline AmigaClassicRule

  • Hero Member
  • *****
  • Join Date: Oct 2011
  • Posts: 956
    • Show only replies by AmigaClassicRule
Re: New AGA SDL Development
« Reply #12 on: May 08, 2013, 02:15:26 AM »
Quote from: NovaCoder;734083
Kalms is Mr TBL ;)

I don't think this new SDL library will be much slower than just doing the same thing in straight C, it should only slow a 68k port by a couple of percent.

It will only support what AGA can do so I'm currently removing features that will slow it down too much.

NovaCoder, like lighting and shading for example? Hey NovaCoder...can I donate a petition to port that Zelda game to AGA the one Fishy_fis replied to my post?
 

Offline magnetic

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2531
    • Show only replies by magnetic
Re: New AGA SDL Development
« Reply #13 on: May 08, 2013, 02:15:34 AM »
TBL thats right. One of the best amiga demo crews imho. He worked with other crews to sometimes like keiro did/does.

Do you have an projected time to complete the port?

Its amazing all you have done for AGA amigas. If we had 3 more devs like you wow!
bPlan Pegasos2 G4@1ghz
Quad Boot:Reg. MorphOS | OS4.1 U4 |Ubuntu GNU-Linux | MacOS X

Amiga 2000 Rom Switcher w/ 3.1 + 1.3 | HardFrame SCSI | CBM Ram board| A Squared LIVE! 2000 | Vlab Motion | Firecracker 24 gfx

Commodore CDTV: 68010 | ECS | 9mb Ram | SCSI -TV | 3.9 Rom | Developer EPROMs
 

Offline NovaCoderTopic starter

Re: New AGA SDL Development
« Reply #14 on: May 08, 2013, 04:18:39 AM »
Quote from: AmigaClassicRule;734085
NovaCoder, like lighting and shading for example? Hey NovaCoder...can I donate a petition to port that Zelda game to AGA the one Fishy_fis replied to my post?


Yes, at the moment I'm only including the bare minimum to port Descent Rebirth to AGA (and obviously talking into consideration good performance).

I think I might need to make some changes to accommodate NetSurf AGA, not sure yet.

Not sure about that Zelda game, I'm too busy at the moment.   Maybe someone else can have a look at porting it using this new library.
Life begins at 100 MIPS!


Nice Ports on AmiNet!