Rockbox

  • Status Closed
  • Percent Complete
    0%
  • Task Type Patches
  • Category User Interface → Simulator
  • Assigned To No-one
  • Operating System
  • Severity Low
  • Priority Very Low
  • Reported Version Unstable (example)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by Nathan Hand - 2005-12-19
Last edited by Daniel Stenberg - 2006-01-09

FS#2850 - sdl uisimulator

This is an SDL version of the UI simulator. Has been successfully tested
with H340 sim on Linux.

You will need the patch as well as the zip file. The patch modifies the
build and the new code is in the zip.

Closed by  Daniel Stenberg
2006-01-09 11:23
Reason for closing:  Accepted
Nathan Hand commented on 2005-12-19 12:52

Did I mention all the limitations in this first draft of the patch?

  1. only tested with H340 sim
  2. will only build on Linux
  3. sound probably doesn't work (I don't have a soundcard)
  4. ugly implementation (array of rects instead of direct surface writes)

But it works well enough to be useful, so here it is.

Nathan Hand commented on 2005-12-19 13:47

New version of the patch draws dots directly to the surface.

Nathan Hand commented on 2005-12-20 10:35

New version of the patch has SDL audio support.

Linus Nielsen commented on 2005-12-20 22:34

I tried it, and it looks really good. A few comments:

1) All LCD's but the H300 main LCD are inverted for me

2) The configure default is not (S) as the prompt says, but
still (X)

3) It doesn't compile for the Archos targets

4) Sound didn't work for me (libsdl1.2debian-oss)

5) Would it be possible to double the pixel size, like the
X11 version?

Nathan Hand commented on 2005-12-21 09:30

Latest patch fixes the inverted colours, the configure
default is now (S), and the image is zoomed by default.

Nathan Hand commented on 2005-12-21 10:40

Latest patch fixes the Archos builds (and the other builds
as well). Also fixes more colour problems.

Nathan Hand commented on 2005-12-22 10:16

Latest patch should build on win32/cygwin (NB: I'd appreciated testers). Uses
sdl-config to avoid hard-coding the SDL include paths.

Nathan Hand commented on 2005-12-22 10:27

Latest patch uses Nick Lanham's SDL sound code, which
apparently works, as opposed to my sound code, which
apparently didn't :-)

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing