Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
152 user(s) are online (90 user(s) are browsing Forums)

Members: 0
Guests: 152

more...

Headlines

 
  Register To Post  

« 1 ... 8 9 10 (11) 12 13 14 ... 72 »
Re: SDL2
Quite a regular
Quite a regular


See User information
@MickJT

About UAE for SDL2 still work in progress...

UAE for SDL1 accelerated ported, fast but not optimized.

I forgot to tell that all the satellite SDL2 libraries have been ported by me during all the test process, but i forgot to put in the OS4depot. Now i see that Michael done the work.

Thank you Michael, great job, as always.


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


See User information
Oh well :) I like doing my own ports anyway!

I did SDL2_mixer as well, seeing as the only change needed was to one file (timidity config path).

Go to top
Re: SDL2
Just popping in
Just popping in


See User information
Is the SDL2 Amiga port made from scratch or is it a mix of SDL2 and Amiga SDL 1?
Kamelito

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


See User information
@Kamelito

Joystick, audio and OpenGL wrappers are recycled from SDL1 with minor changes. Rest of the code should be "new".

Go to top
Re: SDL2
Just popping in
Just popping in


See User information
@Capehill

Thanks, once available are you going to support Nova for maximum performance?
Kamelito

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


See User information
@Kamelito

It's open source, so anybody can contribute code. At the moment I don't have Nova-compatible hardware but if the SDK is available, it shouldn't be a problem to add support.

Basically there would be two things to add: enabling OpenGL ES 2 renderer (for 2D stuff that uses SDL_Renderer) and enabling OpenGL ES 2 context (for pure OpenGL games).

So yes, somebody is going to add the support :)

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


See User information
@AmigaBlitter

the same sdl2 you can do for dosbox it is already sdl2 compatible just need to download the svn .
if with voodoo1 suppoort will be better ;o)

X5000/40 16GB
RasperryPi 1-2-3-4-(5)
A500 Mini.
Go to top
Re: SDL2
Quite a regular
Quite a regular


See User information
I've ported DOSBox for SDL2 but there's a bug in SDL2 itself that needs to be fixed first before I can upload it for testing (backslash/forwardslash aren't recognized).

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


See User information
@MickJT

Ok thanks will test it ASAP when will be available.

X5000/40 16GB
RasperryPi 1-2-3-4-(5)
A500 Mini.
Go to top
Re: SDL2
Quite a regular
Quite a regular


See User information
A bit off-topic, but does anyone know how to type a colon in the DOSBox port on OS4Depot? I've tried manual keymapping as well with no luck.

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


See User information
@MickJT

I can't test SDL2 issue myself today but it may be related to:

https://sourceforge.net/p/sdl2-amigaos ... nts/scancodes_amiga.h#l87

Backslash should be defined though.

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


See User information
@Capehill

I've noticed some problems with the mapping on the numpad as well. I'm in Australia but we use standard US keyboards.

In the first post of this thread, afxgroup's configure flags have --disable-pthreads. Are you using that? It looks like -lpthread is needed when using the released archive.

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


See User information
@MickJT

Pthreads support was enabled with r17. I'm using the following configure line:

https://sourceforge.net/p/sdl2-amigaos ... k/README-amigaos4.txt#l14

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


See User information
@Capehill

Ok, I didn't know pthreads support had been added.

I have fixed the scancodes_amiga.h file and have sent you an e-mail, with all previously unknown keys defined, and some others (numpad) in the correct order.

I also attached the checkkeys program built against the modified library so you can test it with your own keyboard.

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


See User information
@MickJT

on of the most famous svn dosbox with voodoo support and some other extras
http://ykhwong.x-y.net/

this is sdl2
https://github.com/dreamlayers/em-dosbox/tree/em-dosbox-svn-sdl2
Luigi

X5000/40 16GB
RasperryPi 1-2-3-4-(5)
A500 Mini.
Go to top
Re: SDL2
Quite a regular
Quite a regular


See User information
That last link I don't think is a regular branch that can generate an ordinary binary. It's designed to convert the C++ code to Javascript and running the makefile will output a .js script.

The SDL2 code though looks like it's taken from the other patch on the forum Capehill linked to. I don't know that I'm skilled enough to merge the Voodoo graphics code from one repo into another. I'll look later but don't get your hopes up :-/

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


See User information
@MickJT

Your keyboard patch is merged with r125.

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


See User information
@Capehill

Thanks. Any reason why checkkeys says "Unknown Key" for forward-slash (scancode 56)? It still works though.


Edited by MickJT on 2016/6/14 22:54:03
Edited by MickJT on 2016/6/14 22:56:19
Go to top
Re: SDL2
Quite a regular
Quite a regular


See User information
Last mame 0.174 build right on Big Endian and SDL2
just test on my X5000 with ubuntu mate

X5000/40 16GB
RasperryPi 1-2-3-4-(5)
A500 Mini.
Go to top
Re: SDL2
Just can't stay away
Just can't stay away


See User information
@MickJT

Debugged this problem a bit and it looks like rawkey 59 was unmappable, and because amiga_scancode_table should have only unique items, rawkey 59's mapping (as 0) replaced rawkey 58's mapping which caused "unknown" output in checkkeys for SDL_SCANCODE_SLASH. Please test r126.

Also scancodes 46 and 48 cause unknown but I didn't investigate further yet.

Go to top

  Register To Post
« 1 ... 8 9 10 (11) 12 13 14 ... 72 »

 




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




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project