Rockbox Technical Forums

Rockbox Development => Feature Ideas => Topic started by: __builtin on February 04, 2017, 02:40:00 PM

Title: SDL Port
Post by: __builtin on February 04, 2017, 02:40:00 PM
I've recently pulled together a port of Simple DirectMedia Layer (a.k.a. "SDL") for use in plugins: http://gerrit.rockbox.org/r/#/c/1521/ (http://gerrit.rockbox.org/r/#/c/1521/). There's a couple things I'd like some help with:

Title: Re: SDL Port
Post by: __builtin on February 15, 2017, 04:42:08 PM
I've got "Abe's Amazing Adventure" up and running on target recently, mostly as a proof-of-concept. Screenshots attached.
Title: Re: SDL Port
Post by: greatjack on February 23, 2017, 11:38:54 PM
If I use  java to sdl bindings to build a SDL program and compile it, will it run?
Title: Re: SDL Port
Post by: __builtin on February 24, 2017, 04:48:25 PM
No. It must be in C.

Also, in response to your PM, I've now realized that size isn't really the issue, as only referenced symbols from the plugin library will be copied into the final binary. The main issue is first supporting multi-file plugin libraries in the build system. There is also the fact that I need to work around a "hack" that I needed to get SDL to compile for the UI sim.