Home  
Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
65 user(s) are online (58 user(s) are browsing Forums)

Members: 0
Guests: 65

more...
Support us!
Recent OS4 Files
OS4Depot.net



(1) 2 3 4 ... 16 »


SDL2
Amigans Defender
Joined:
2006/12/2 13:27
From Taranto, Italy
Posts: 913
Hello,

i've just committed on https://sourceforge.net/p/sdl2-amigaos4 the first import of SDL2 for OS4.

I've patched the configure file and moved some old code to the new SDL2. The remain things are events and video (that are simply copied and pasted into new folder).
Since from next week my time will become very few i need some help from you.

All is untested at moment. Also the code that compile. So don't expect to configure and make the project. But if someone wants to help me we can finish it very soon.

If you want you can test it using:

./configure --host=ppc-amigaos --prefix=/usr/local/amiga/ppc-amigaos/SDK/local/newlib --enable-rpath=no --enable-altivec=no --disable-pthreads

If you are cross compiling or:

./configure --enable-rpath=no --enable-altivec=no --disable-pthreads

If you want to compile it natively.

You should create a valid makefile with all OS4 stuff correctly configured (except maybe for something i miss).

The joystick, audio, cpu, thread and timer files *should* be ok but i haven't tested it so maybe now some library or device is not opened or opened after something else..

So if someone wants to help me please send me a private message with sourceforge email and i'll add it.

All games are moving from SDL1 to SDL2 so we need to finish it asap :)

Bye

_________________
i'm really tired...
   Report Go to top

Re: SDL2
Home away from home
Joined:
2006/11/26 21:45
From A haunted Castle somewhere in the Bavarian Mountains
Posts: 2832
@afxgroup

@afxgroup for president

@afxgroup ftw

@afxgroup the greatest

/me hugs @afxgroup




BEST Forum post this year!!! (at least for me!)

That is going to be soooo cool!

Thanks a lot @afxgroup


...not coder myself, so i guess i'm waiting for the full sdk package...

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
   Report Go to top

Re: SDL2
Home away from home
Joined:
2006/12/2 3:55
From Italy, Perugia
Posts: 2965
@afxgroup

Bravo !
Hope you can find all the help you need, SDL2 is extremely important
Just a curiosity; can't we adapt some code from the previews Amiga version of SDL ?

Atlest now i can hope for a recent Wesnoth porting release

   Report Go to top

Re: SDL2
Quite a regular
Joined:
2013/10/17 15:21
From Hungary
Posts: 533
@samo79
That's exactly what he did.

_________________
I see the jimmies have been rustled.
   Report Go to top

Re: SDL2
Amigans Defender
Joined:
2006/12/2 13:27
From Taranto, Italy
Posts: 913
@BSzili

Just added you as admin :)

C'mon guys.. there are a lot of things to do..

P.S.
Anyone know where we can find a scancode map for amigaos?

_________________
i'm really tired...
   Report Go to top

Re: SDL2
Quite a regular
Joined:
2013/10/17 15:21
From Hungary
Posts: 533
@afxgroup
The OS4 wiki wasn't updated with the PC keyboard scan codes, but the AROS one can be used as a reference:

http://wiki.amigaos.net/wiki/Keymap_Library
https://en.wikibooks.org/wiki/Aros/Developer/Docs/Libraries/Keymap

Thanks to some recent wikimedia changes, it looks a bit messy. If you copy it into a text file you can remove the unnecessary line breaks, making it readable again.

_________________
I see the jimmies have been rustled.
   Report Go to top

Re: SDL2
Amigans Defender
Joined:
2006/12/2 13:27
From Taranto, Italy
Posts: 913
Thank you. i've found an itneresting file with almost same key code of linux/win. However i think that the video and events part must be rewritten from scratch. They have changed almost all..

_________________
i'm really tired...
   Report Go to top

Re: SDL2
Quite a regular
Joined:
2013/10/17 15:21
From Hungary
Posts: 533
Yeah, they changed a lot to support multiple windows per SDL application, not to mention that renderer thing for hw/sw scaling.
Which part do you plan to tackle first? We could divide things, e.g. I could take care of updating the video part.

_________________
I see the jimmies have been rustled.
   Report Go to top

Re: SDL2
Amigans Defender
Joined:
2006/12/2 13:27
From Taranto, Italy
Posts: 913
since tomorrow i have really few time to take a look at amiga stuff (except the weekends) so you can start on everything. I'll take a look at minor stuff (like cdrom and so on)

_________________
i'm really tired...
   Report Go to top

Re: SDL2
Quite a regular
Joined:
2013/10/17 15:21
From Hungary
Posts: 533
@afxgroup
Okay. For the time being I'll try to get things to compile in the video/event code.

_________________
I see the jimmies have been rustled.
   Report Go to top

Re: SDL2
Home away from home
Joined:
2006/11/26 21:45
From A haunted Castle somewhere in the Bavarian Mountains
Posts: 2832
@BSzili
@afxgroup

Thank you both

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
   Report Go to top

Re: SDL2
Amigans Defender
Joined:
2006/12/2 13:27
From Taranto, Italy
Posts: 913
ok.. CDRom is no more supported by SDL2.. one thing has gone :)

_________________
i'm really tired...
   Report Go to top

Re: SDL2
Quite a regular
Joined:
2013/10/5 14:07
From Italy
Posts: 603
@afxgroup

Wonderful mate! A new milestone for have fresh air for amiga software

   Report Go to top

Re: SDL2
Quite a regular
Joined:
2013/10/17 15:21
From Hungary
Posts: 533
@afxgroup
Hehe, I forgot about that. They removed the CD code, since games shipped on physical discs are not very common these days. Unfortunately the video/event part really have to be rewritten from scratch. At least compositing fits nicely into the SDL renderer concept.


Edited by BSzili on 2015/8/31 15:29:14
_________________
I see the jimmies have been rustled.
   Report Go to top

Re: SDL2
Amigans Defender
Joined:
2006/12/2 13:27
From Taranto, Italy
Posts: 913
we can try to start from "dummy" driver. it could help

_________________
i'm really tired...
   Report Go to top

Re: SDL2
Quite a regular
Joined:
2013/10/17 15:21
From Hungary
Posts: 533
@afxgroup
That's what I started doing. I'm using the windows driver as a reference, because it's nicely broken up into smaller logical units (events, keyboard, mouse, messagebox, modes, video, window, etc.).

_________________
I see the jimmies have been rustled.
   Report Go to top

Re: SDL2
Just popping in
Joined:
2011/11/29 0:54
From Norway
Posts: 245
@afxgroup

so cool, and seeing cooperation between community. thanks for having this amigans forum site.. the creative site.

btw.. what would sdl2 offer against the older one?

anyway, good luck

_________________
Sam460ex 2GB 120Gb SSD&1Tb HD7750 Envy24HT A-Eon Drv 2.10+Warp3D New Uboot
Amiga 1230 33mhz 128MB Indivision ACA 1200 MK2 USB PCMCIA WIFI 60GB&DVD-ROM OS 3.9
AmigaOne X1000 250SSD+1TB 7970
   Report Go to top

Re: SDL2
Quite a regular
Joined:
2013/10/17 15:21
From Hungary
Posts: 533
@noXLar
I could link you the "what's new" page, but let's concentrate to the most important one: the possibility to port games written using SDL2.

_________________
I see the jimmies have been rustled.
   Report Go to top

Re: SDL2
Home away from home
Joined:
2006/11/26 21:45
From A haunted Castle somewhere in the Bavarian Mountains
Posts: 2832
@BSzili

...and the fact that all new "SDL" based programs/games will use SDL2 in the furture...

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
   Report Go to top

Re: SDL2
Quite a regular
Joined:
2009/4/28 3:57
From Adelaide, Australia
Posts: 810
Thanks afxgroup and BSzili for starting work on this! It's a very important port.

   Report Go to top


(1) 2 3 4 ... 16 »



[Advanced Search]


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project