Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  SDL Port
« previous next »
  • Print
Pages: [1]

Author Topic: SDL Port  (Read 2001 times)

Offline __builtin

  • Developer
  • Member
  • *
  • Posts: 405
  • iPod 6G, c200v1 (RIP), e200v1 (RIP)
    • FWEI.TK
SDL Port
« 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/. There's a couple things I'd like some help with:

  • Ideas for how to integrate SDL into the plugin library. Due to size constraints this is currently not possible.
  • Ideas for games to port. They must be written in C and use SDL 1.2 without relying on any other libraries (GL, etc.).
  • Testers with an ipodcolor, ipodnano1g, sansafuzev2, gogearhdd6330, vibe500, or iriverh10 to see if colors look "normal" (I can provide builds)
Logged
No support questions by PM, please.

Offline __builtin

  • Developer
  • Member
  • *
  • Posts: 405
  • iPod 6G, c200v1 (RIP), e200v1 (RIP)
    • FWEI.TK
Re: SDL Port
« Reply #1 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.

* shot29.png (110.85 kB, 352x612 - viewed 235 times.)
Logged
No support questions by PM, please.

Offline greatjack

  • Member
  • *
  • Posts: 26
Re: SDL Port
« Reply #2 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?
Logged

Offline __builtin

  • Developer
  • Member
  • *
  • Posts: 405
  • iPod 6G, c200v1 (RIP), e200v1 (RIP)
    • FWEI.TK
Re: SDL Port
« Reply #3 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.
« Last Edit: February 24, 2017, 05:00:51 PM by __builtin »
Logged
No support questions by PM, please.

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  SDL Port
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.024 seconds with 17 queries.