Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
13 user(s) are online (7 user(s) are browsing Forums)

Members: 0
Guests: 13

more...

Support us!

Headlines

 
  Register To Post  

(1) 2 3 4 ... 74 »
SDL2
Amigans Defender
Amigans Defender


See User information
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...
Go to top
Re: SDL2
Home away from home
Home away from home


See User information
@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...

Go to top
Re: SDL2
Home away from home
Home away from home


See User information
@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

Go to top
Re: SDL2
Quite a regular
Quite a regular


See User information
@samo79
That's exactly what he did.

This is just like television, only you can see much further.
Go to top
Re: SDL2
Amigans Defender
Amigans Defender


See User information
@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...
Go to top
Re: SDL2
Quite a regular
Quite a regular


See User information
@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.

This is just like television, only you can see much further.
Go to top
Re: SDL2
Amigans Defender
Amigans Defender


See User information
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...
Go to top
Re: SDL2
Quite a regular
Quite a regular


See User information
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.

This is just like television, only you can see much further.
Go to top
Re: SDL2
Amigans Defender
Amigans Defender


See User information
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...
Go to top
Re: SDL2
Quite a regular
Quite a regular


See User information
@afxgroup
Okay. For the time being I'll try to get things to compile in the video/event code.

This is just like television, only you can see much further.
Go to top
Re: SDL2
Home away from home
Home away from home


See User information
@BSzili
@afxgroup

Thank you both

Go to top
Re: SDL2
Amigans Defender
Amigans Defender


See User information
ok.. CDRom is no more supported by SDL2.. one thing has gone :)

i'm really tired...
Go to top
Re: SDL2
Quite a regular
Quite a regular


See User information
@afxgroup

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

Go to top
Re: SDL2
Quite a regular
Quite a regular


See User information
@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 16:29:14
This is just like television, only you can see much further.
Go to top
Re: SDL2
Amigans Defender
Amigans Defender


See User information
we can try to start from "dummy" driver. it could help

i'm really tired...
Go to top
Re: SDL2
Quite a regular
Quite a regular


See User information
@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.).

This is just like television, only you can see much further.
Go to top
Re: SDL2
Not too shy to talk
Not too shy to talk


See User information
@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
Apollo v4 Standalone
Go to top
Re: SDL2
Quite a regular
Quite a regular


See User information
@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.

This is just like television, only you can see much further.
Go to top
Re: SDL2
Home away from home
Home away from home


See User information
@BSzili

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

Go to top
Re: SDL2
Just can't stay away
Just can't stay away


See User information
Thanks afxgroup and BSzili for starting work on this! It's a very important port.

Go to top

  Register To Post
(1) 2 3 4 ... 74 »

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project