Welcome, Guest. Please login or register.

Author Topic: Curse of the SDL  (Read 24726 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline utri007Topic starter

Curse of the SDL
« on: August 03, 2011, 11:09:27 AM »
Hi

68k software developement is totally halted, or all new software for 68k amigas is useless SDL ports.

I don't know single usefull SDL port to 68k amigas, dozenz of useless crap.

Seems that nobody isn't trying to do native ports anymore.

Sad part of this is that many of use "real amiga" users has quite much cpu power compared to what it used to be ten years ago.

Some how developers just made tens of 3d and few RTS games with support for 040/060.

There is really few games/apps that really take advantage for 040/060, but plenty of games and apps for 000/020 and all new sofware developent is only for UEA users (SDL).

So what kind of apps and games could theoritically run 040/060? Quite much any PC game that that has requiremt something like 486
ACube Sam 440ep Flex 800mhz, 1gb ram and 240gb hd and OS4.1FE
A1200 Micronic tower, OS3.9, Apollo 060 66mhz, xPert Merlin, Delfina Lite and Micronic Scandy, 500Gb hd, 66mb ram, DVD-burner and WLAN.
A1200 desktop, OS3.9, Blizzard 060 66mhz, 66mb ram, Ide Fix Express with 160Gb HD and WLAN
A500 OS2.1, GVP+HD8 with 4mb ram, 1mb chip ram and 4gb HD
Commodore CDTV KS3.1, 1mb chip, 4mb fast ram and IDE HD
 

Offline Khephren

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 606
    • Show only replies by Khephren
Re: Curse of the SDL
« Reply #1 on: August 03, 2011, 11:18:26 AM »
Your quite right, I'm afraid most of our native coders have moved on or don't have the time any more :(

And in reality the 040 is more like a 486, and the 060 is like a low end pentium.
 

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: Curse of the SDL
« Reply #2 on: August 03, 2011, 12:07:03 PM »
Quote from: Khephren;652795
Your quite right, I'm afraid most of our native coders have moved on or don't have the time any more :(

And in reality the 040 is more like a 486, and the 060 is like a low end pentium.
Both of which are outperformed by most Mobile Phones you get now... The last mobile phone I had that didn't even have a 3D graphics chip was nearly 5 years ago!

Offline Linde

  • Sr. Member
  • ****
  • Join Date: Mar 2004
  • Posts: 457
    • Show only replies by Linde
    • http://hata.zor.org/
Re: Curse of the SDL
« Reply #3 on: August 03, 2011, 12:42:18 PM »
On the bright side, there's a whole bunch of apps and games for the Amiga that you have never tried.
 

Offline utri007Topic starter

Re: Curse of the SDL
« Reply #4 on: August 03, 2011, 12:54:17 PM »
I just wish that somebody could do native Netsurf port to 68k amigas, after that I could use my amiga quite much more.

Nice thing would be nice car game, like carmageddon 1 and settlers type city buildin game, maybe some sport game??

Yes I know that any mobile phone is more powerfull than my current amiga, but Amiga is hobby and there is lot of unused resources.

http://michael.santovec.us/games/carma2.jpg

There is also freesyndicate, wich should run 040/060, SDL port of it would be useless... but native should run just fine. That for higer resolutions, more colors etc. Freecraft would be nice also... what else? Quite many possible ports...
ACube Sam 440ep Flex 800mhz, 1gb ram and 240gb hd and OS4.1FE
A1200 Micronic tower, OS3.9, Apollo 060 66mhz, xPert Merlin, Delfina Lite and Micronic Scandy, 500Gb hd, 66mb ram, DVD-burner and WLAN.
A1200 desktop, OS3.9, Blizzard 060 66mhz, 66mb ram, Ide Fix Express with 160Gb HD and WLAN
A500 OS2.1, GVP+HD8 with 4mb ram, 1mb chip ram and 4gb HD
Commodore CDTV KS3.1, 1mb chip, 4mb fast ram and IDE HD
 

Offline Crumb

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1786
  • Country: 00
    • Show only replies by Crumb
    • http://cuaz.sourceforge.net
Re: Curse of the SDL
« Reply #5 on: August 03, 2011, 02:25:40 PM »
@utri007

It's not just a problem of having a decent SDL library port, SDL games seem to be pretty unoptimized too.

A proper Scumm port without using SDL nor ixemul would be a nice thing to have. Perhaps graphics could be converted on first run to planar and stored in a "cache" directory to avoid using chunky graphics too. And using paula sound instead of AHI would be also a nice addition.

And rewritting some parts may be required to get decent performance too: at first look Scumm seems to lack functions to load a big bitmap in gfxram and scrolling the viewport simply exchanging a pointer (something like ScrollVPort() ). Instead it uses the usual peecee bruteforce approach copying the entire screen to the gfx buffer each frame.

Scumm also seems unable to keep gfx in gfx ram and draw them on screen using some kind of blitter. For modern games the dirtybox approach it uses it's probably better (for fast cpus without gfx acceleration) but for old games like Monkey Island 1 or 2 you don't move hundreds of objects simultaneusly and using our dear blitter to draw the graphics seems more interesting, specially taking in account that you won't be throwing 50 different frames per second but you could keep in chipram most used images cached.

PS: please note I have not studied much Scumm sources but these are my first impressions when looking at the sources. You could claim Scumm is multiplatform but if it had been designed from scratch thinking in something else than a 64KB VGA framebuffer it would have been way faster with decent hardware (like our miggies). It's funny that you need a fast cpu to play games like Monkey Island that looked, sounded and played perfectly on unaccelerated classics
The only spanish amiga news web page/club: Club de Usuarios de Amiga de Zaragoza (CUAZ)
 

Offline yakumo9275

  • Sr. Member
  • ****
  • Join Date: Jun 2008
  • Posts: 301
    • Show only replies by yakumo9275
    • http://mega-tokyo.com/blog
Re: Curse of the SDL
« Reply #6 on: August 03, 2011, 02:41:57 PM »
you know you can write your own backends for scummvm that dont require sdl... there is even wiki pages for devs for scummvm here. I was a scummvm dev for a while, and making scummvm so portable requires different kinds of tradeoffs.
--/\\-[ Stu ]-/\\--
Commodore 128DCR, JiffyDOS, Ultimate 1541 II, uIEC/SD, CBM 1902A  Monitor
 

Offline Pentad

Re: Curse of the SDL
« Reply #7 on: August 03, 2011, 03:15:48 PM »
Quote from: utri007;652806
I just wish that somebody could do native Netsurf port to 68k amigas, after that I could use my amiga quite much more.


Well, why don't you do it?  I do not mean to sound harsh or offend you but instead of complaining about it, why don't you try to do it yourself?

There are a plethora of free Amiga books you can download to teach yourself programming, you have a pool of people to post questions to on the Amiga forums, I'm sure the Netsurf forums would think this is neat and help you when you get stuck, and since Netsurf is OS you can view the working code as your port!  Frankly, you have it better than people starting out 25 years ago!

I'm not saying it will be easy but you will learn a lot, you will increase the 68k programming pool, and as you learn you can port/create other projects.

In the end, I get frustrated with people who whine about programming while not even trying to help.  If you want a port or a feature or an upgrade start working on it!  You'll get much better help if you are trying than complaining.

As a CS Professor I have a favorite quote from the Simpsons:  "I've tried nothing and I'm all out of ideas!"  

In the end, I hope I have not offended you but motivated you!  Get out those books and start writing!  You have a HUGE amount of resources at your disposal!  Netsurf code is open source so you have a blueprint to work from.

Cheers!
-P
Linux User (Arch & OpenSUSE TW) - WinUAE via WINE
 

Offline Crumb

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1786
  • Country: 00
    • Show only replies by Crumb
    • http://cuaz.sourceforge.net
Re: Curse of the SDL
« Reply #8 on: August 03, 2011, 03:24:57 PM »
Quote from: yakumo9275;652818
you know you can write your own backends for scummvm that dont require sdl... there is even wiki pages for devs for scummvm here. I was a scummvm dev for a while, and making scummvm so portable requires different kinds of tradeoffs.


First of all thank you for contributing to Scumm, it's a nice piece of software. Nice to see there's somebody from Scumm team here :-)

But I have to add that IMHO some functions for scroll could have been written so platforms without hardware scrolling capabilities could have used a software backend and platforms with hardware scrolling could have used hardware scroll. With the current implementation it's always software mode.

I think the same about blitting objects located in gfx ram. Old games only move a few sprites or bobs so copying them every frame to gfx ram eats too much bandwitch. I doubt that making an AGA backend would help much regarding this. Using blitter would just involve blitter performing masking operations (as long as the animation frames fit in chipram).

Using planar would be useful too.
The only spanish amiga news web page/club: Club de Usuarios de Amiga de Zaragoza (CUAZ)
 

Offline commodorejohn

  • Hero Member
  • *****
  • Join Date: Mar 2010
  • Posts: 3165
    • Show only replies by commodorejohn
    • http://www.commodorejohn.com
Re: Curse of the SDL
« Reply #9 on: August 03, 2011, 03:33:35 PM »
I agree completely with the OP. Don't get me wrong, SDL is a great thing, but it's just plain not designed for hardware like 68k Amigas. (This is why when I do get moving on my game-dev projects for the Amiga, it's going to be all-native.)
Computers: Amiga 1200, DEC VAXStation 4000/60, DEC MicroPDP-11/73
Synthesizers: Roland JX-10/MT-32/D-10, Oberheim Matrix-6, Yamaha DX7/FB-01, Korg MS-20 Mini, Ensoniq Mirage/SQ-80, Sequential Circuits Prophet-600, Hohner String Performer

"\'Legacy code\' often differs from its suggested alternative by actually working and scaling." - Bjarne Stroustrup
 

Offline utri007Topic starter

Re: Curse of the SDL
« Reply #10 on: August 03, 2011, 08:34:01 PM »
68k SDL should be declared illegal ;)
There is plenty of people who already are spending lots of time to making SDL ports to 68k amigas, that just....

If they instead making 5 SDL ports, could make 1 native port, that would be much better.

And this is not actually codin, this about "how sdl is useless for 68k amigas"
ACube Sam 440ep Flex 800mhz, 1gb ram and 240gb hd and OS4.1FE
A1200 Micronic tower, OS3.9, Apollo 060 66mhz, xPert Merlin, Delfina Lite and Micronic Scandy, 500Gb hd, 66mb ram, DVD-burner and WLAN.
A1200 desktop, OS3.9, Blizzard 060 66mhz, 66mb ram, Ide Fix Express with 160Gb HD and WLAN
A500 OS2.1, GVP+HD8 with 4mb ram, 1mb chip ram and 4gb HD
Commodore CDTV KS3.1, 1mb chip, 4mb fast ram and IDE HD
 

Offline fishy_fiz

  • Hero Member
  • *****
  • Join Date: Jan 2005
  • Posts: 1813
    • Show only replies by fishy_fiz
Re: Curse of the SDL
« Reply #11 on: August 05, 2011, 04:19:53 AM »
While I do agree that it's a shame that there's little entertainment software that takes advantage of more "powerful" 68k Amigas I do understand why SDL and other less native api ports have become the main source of software for amiga based systems.
 There's simply not enough coders left that know how to program specifically for the Amiga, not to mention it's more work to do so, and it's not easy to find good documentation to make amiga "native" software. SDL, Allegro, etc. however have a plethora of examples, tutorials and so on plastered all over the net. Things like gfx.lib, ahi, and so also often require more work due to the need to write a lot more own functions and whatnot vs. something like SDL (especially when it comes to games).

There's also the simple fact that more advanced games (stuff beyond stock a500/a600/a1200/etc) is a lot of work. If commercial companies from back in the day rarely made things that wouldnt today be called very retro, then its going to be hard for Joe Public to do it from his bedroom. On top of this it's *very* difficult to find people to work with that stick with things and maintain conviction. The sheer volume of work required to make a game to match the specs of a nicely upgraded amiga is either something beyond 1 person, or something that will take years.

All this said and done however, with the advent of things like minimig, natami, fpga arcade, and the fact that most people using 68k amigas have a higher base spec than yesteryear I still have hopes that maybe us 68k fans might still see a nice "amiga native" game or 2.   :)
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 fishy_fiz

  • Hero Member
  • *****
  • Join Date: Jan 2005
  • Posts: 1813
    • Show only replies by fishy_fiz
Re: Curse of the SDL
« Reply #12 on: August 05, 2011, 04:23:15 AM »
Oh, and in regards to ScummVM, latest 68k ports dont use sdl.

It's a shame I lost the warpsdl sdk though. Its both much faster and works with aga.
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 utri007Topic starter

Re: Curse of the SDL
« Reply #13 on: August 05, 2011, 06:49:18 AM »
Great :D I need to give a try to ScummVM
ACube Sam 440ep Flex 800mhz, 1gb ram and 240gb hd and OS4.1FE
A1200 Micronic tower, OS3.9, Apollo 060 66mhz, xPert Merlin, Delfina Lite and Micronic Scandy, 500Gb hd, 66mb ram, DVD-burner and WLAN.
A1200 desktop, OS3.9, Blizzard 060 66mhz, 66mb ram, Ide Fix Express with 160Gb HD and WLAN
A500 OS2.1, GVP+HD8 with 4mb ram, 1mb chip ram and 4gb HD
Commodore CDTV KS3.1, 1mb chip, 4mb fast ram and IDE HD
 

Offline Crumb

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1786
  • Country: 00
    • Show only replies by Crumb
    • http://cuaz.sourceforge.net
Re: Curse of the SDL
« Reply #14 on: August 05, 2011, 10:37:49 AM »
Quote from: fishy_fiz;653137
Oh, and in regards to ScummVM, latest 68k ports dont use sdl.


Chunky2planar isn't a great idea on AGA miggies for these kind of 2d games anyway.

Quote
It's a shame I lost the warpsdl sdk though. Its both much faster and works with aga.


warpsdl was quite smooth on my miggies, what a pity. Chaozer doesn't reply any email :-(
The only spanish amiga news web page/club: Club de Usuarios de Amiga de Zaragoza (CUAZ)