summaryrefslogtreecommitdiffstats
path: root/uisimulator/sdl
AgeCommit message (Collapse)AuthorFilesLines
2009-09-23Rework the simulators button reading to not implement it's own complete driver.Thomas Martitz2-196/+73
Instead, implement it more as a target driver with button_read_device(), button_init_device() and button_hold(), then use the normal button driver from firmware/drivers/button.c. Fixes FS#10451 ("backlight off on hold doesn't function properly"). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22799 a1c6a512-1295-4272-9138-f99709370657
2009-09-04Sim: Add support for vertical stride.Karl Kurbjun1-0/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22612 a1c6a512-1295-4272-9138-f99709370657
2009-08-31 * Fix plugin keymaps for VX777Maurus Cuelenaere2-2/+8
* Enable plugins for VX777 * Fix VX777 simulator All done by Aaron DeMille. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22576 a1c6a512-1295-4272-9138-f99709370657
2009-08-19fix more redNils Wallménius1-2/+6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22433 a1c6a512-1295-4272-9138-f99709370657
2009-08-19fix redNils Wallménius1-1/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22432 a1c6a512-1295-4272-9138-f99709370657
2009-08-17M:Robe 500: Correct UI simulator.Karl Kurbjun2-6/+6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22372 a1c6a512-1295-4272-9138-f99709370657
2009-08-09Remove underscore from YH modelnames as discussed on IRC.Dominik Riebeling3-0/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22229 a1c6a512-1295-4272-9138-f99709370657
2009-07-26initial commit of remote support for m:robe 100 courtesy of lowlight; ↵Robert Kukla4-8/+30
simulator support including small fixes for the m:robe 500 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22053 a1c6a512-1295-4272-9138-f99709370657
2009-07-08Make the Sansa Clip and Fuze sim keymapping more like other Sansas with ↵Thomas Martitz1-1/+7
regard to the use of the numpad git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21713 a1c6a512-1295-4272-9138-f99709370657
2009-07-07Change the button definitions for the SA9200 sim tooMark Arigo1-4/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21699 a1c6a512-1295-4272-9138-f99709370657
2009-06-29Remove int_prio argument from timer_register, and move the only use for it ↵Rafaël Carré1-2/+1
into alpine_cdc plugin, since this plugin is only built on SH7034 Also remove it from TIMER_START() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21558 a1c6a512-1295-4272-9138-f99709370657
2009-06-19Philips SA9200: add the UI simMark Arigo3-1/+44
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21348 a1c6a512-1295-4272-9138-f99709370657
2009-06-18c200v2 simulatorRafaël Carré2-1/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21333 a1c6a512-1295-4272-9138-f99709370657
2009-06-17Commit FS#10324 from Jeffrey Goode.Dan Everton1-1/+12
Close the debug audio stream in the simulator when playback is stopped to allow the file to be opened by other programs. This would mostly have been an issue on Windows. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21315 a1c6a512-1295-4272-9138-f99709370657
2009-06-15Onda VX747 simulator: add some more usefull keysMaurus Cuelenaere1-0/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21303 a1c6a512-1295-4272-9138-f99709370657
2009-06-13M:Robe 500: Fix up 256 color blitting when in portrait mode, fix a mistake ↵Karl Kurbjun1-0/+11
in the plugin linker script, reduce the amount of memory used by overwriting IRAM with bss after program has started, clean up some tabs and formatting, resize the simulator when building for 640x480 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21280 a1c6a512-1295-4272-9138-f99709370657
2009-05-253 new ports: Samsung YH-820, YH-920, and YH-925. Mostly functional. Audio ↵Mark Arigo5-0/+54
working on 820 & 925 (untested on the 920). No battery readings. No recording. No plugins. Keymap needs work. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21083 a1c6a512-1295-4272-9138-f99709370657
2009-04-20beginings of a working touchscreen interface for the WPS. 2 new tags:Jonathan Gordon1-0/+6
%T|x|y|width|height|action| <- setup a region (relative to the current viewport) where if pressed the "action" will be done (currently play/stop/prev/next/menu/browse work, suggestions for others to add and better names welcome) %Tl<timeout> <- used as a conditional to say if the touchscreen was touched in the last <timeout>, use this to enable/disable button viewports or something... same syntax as other timeout tags cabbiev2 for the mr500 has been modified to demonstrate the new tags. press the pause/play button to pause playback. press the rockbox logo to get back to the menu. pretty icons needed to make this more usable :) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20753 a1c6a512-1295-4272-9138-f99709370657
2009-04-18M:Robe 500: Cleanup the simulator image.Karl Kurbjun2-5/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20727 a1c6a512-1295-4272-9138-f99709370657
2009-04-05Add a few simulator keys for the e200 (in case you don't have a numpad)Antoine Cellerier1-0/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20628 a1c6a512-1295-4272-9138-f99709370657
2009-03-09Also add support for the Onda VX747+Maurus Cuelenaere2-1/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20274 a1c6a512-1295-4272-9138-f99709370657
2009-03-09Add support for Onda VX747 simulator (and yes, it needs a better picture)Maurus Cuelenaere3-12/+23
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20273 a1c6a512-1295-4272-9138-f99709370657
2009-03-04Fix update rectangle calculation. This caused the black artifacts outside ↵Jens Arnold1-12/+8
the screen area introduced with backlight simulation for colour targets. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20199 a1c6a512-1295-4272-9138-f99709370657
2009-02-20Add a rockbox kernel thread for simulator specific tasks, and use that for ↵Jens Arnold1-1/+2
calling the screendump function(s). Fixes screendump in simulators for backlight-less targets (Ondio), and reduces mixing of unrelated functionality a bit (screendump was called from backlight thread, triggered by a sim-only system wide event). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20065 a1c6a512-1295-4272-9138-f99709370657
2009-02-11Fix the Playersim as well.Jens Arnold1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19969 a1c6a512-1295-4272-9138-f99709370657
2009-02-10Move screendump from apps to firmware, solving two nasty firmware-to-apps ↵Jens Arnold3-12/+11
calls. This required to move the filename creation functions as well. * Fix bug in the BMP header of Clip screendumps. * Add remote screendump for targets with an LCD remote. * Simplify some ifdefs and rename a macro in the sim. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19967 a1c6a512-1295-4272-9138-f99709370657
2009-02-10Simulate backlight for colour targets. Implements the idea from FS #9884, ↵Jens Arnold2-5/+22
but uses SDL alpha blending. Display is dimmed to 1/3 for targets with transflective LCD, and set to black for others. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19961 a1c6a512-1295-4272-9138-f99709370657
2009-02-09More compact screendump routines for core and greylib. The core routine ↵Jens Arnold1-12/+12
might be a little slower for vertically packed mono and greyscale displays, the greylib one should be faster in all cases. * Reduce stack usage of greyscale screendump on the Clip* Rename a macro in the bitmap LCD simulation. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19959 a1c6a512-1295-4272-9138-f99709370657
2009-02-09Fix red and yellow.Jens Arnold1-1/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19951 a1c6a512-1295-4272-9138-f99709370657
2009-02-09Put the display colours for monochrome and greyscale targets into the target ↵Jens Arnold9-464/+184
config files, and use them both for the simulator UI and screendumps. The Clip now shows the split display properly in screendumps and simulator. A side effect is that screendumps of ordinary monochrome targets are now 4-bit BMP files (saves an alternate code path, and might be more compatible with some gfx programs). * Simplify the simulation of split display, and also simplify greylib simulation. The simulator now always calculates 129 shades (2*128 for a Clip sim), and just uses 2 (or 4) of those for native display simulation. * Centralised the simulator LCD dimension definition. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19950 a1c6a512-1295-4272-9138-f99709370657
2009-01-24Simulator: Fix an almost 3 years old colour init bug both on startup and on ↵Jens Arnold1-7/+23
greylib init, that caused the weird colours in the m:robe 100 sim. Add a quick-fix for m:robe 100 greylib inversion in the sim. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19838 a1c6a512-1295-4272-9138-f99709370657
2009-01-08The simulator background logic is now reversed, such that it defaults to ↵Jonas Häggqvist1-5/+5
being enabled. Use --nobackground to disable it (FS#9626). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19726 a1c6a512-1295-4272-9138-f99709370657
2009-01-08threads_exit should be volatile being polled in a loop on a sim thread and ↵Michael Sevakis1-1/+1
be written by the GUI thread. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19721 a1c6a512-1295-4272-9138-f99709370657
2009-01-08Allow sims to shut down normally from panic code.Michael Sevakis2-2/+16
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19718 a1c6a512-1295-4272-9138-f99709370657
2009-01-07fix m200v4 simulator.Dominik Wenger3-5/+21
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19711 a1c6a512-1295-4272-9138-f99709370657
2009-01-02Add the sim build for the Philips HDD1630.Mark Arigo3-0/+51
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19639 a1c6a512-1295-4272-9138-f99709370657
2008-12-12Bring consistency to pcm implementation and samplerate handling. Less ↵Michael Sevakis1-34/+7
low-level duplication. A small test_sampr fix so it works on coldfire again. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19400 a1c6a512-1295-4272-9138-f99709370657
2008-12-10Use cookies for thread identification instead of pointers directly which ↵Michael Sevakis1-44/+71
gives a buffer against wrongly identifying a thread when the slot is recycled (which has been nagging me for awhile). A slot gets 255 uses before it repeats. Everything gets incompatible so a full update is required. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19377 a1c6a512-1295-4272-9138-f99709370657
2008-12-04Remove left-over debug codeRafaël Carré1-1/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19348 a1c6a512-1295-4272-9138-f99709370657
2008-12-04Sansa Clip Simulator: emulate the real screen at the price of some CPU (FS#9521)Rafaël Carré5-33/+179
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19347 a1c6a512-1295-4272-9138-f99709370657
2008-11-20New makefile solution: A single invocation of 'make' to build the entire ↵Björn Stenberg1-1/+1
tree. Fully controlled dependencies give faster and more correct recompiles. Many #include lines adjusted to conform to the new standards. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19146 a1c6a512-1295-4272-9138-f99709370657
2008-11-14m200v4: make buttons work again (added a small delay). make m200 keymap ↵Dominik Wenger1-0/+29
better. Add button mappings for the sim. Remove some config defines temporary to make building work again. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19104 a1c6a512-1295-4272-9138-f99709370657
2008-11-11FS#9535 - Sansa Fuze simJonathan Gordon3-1/+47
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19086 a1c6a512-1295-4272-9138-f99709370657
2008-11-03Sansa Clip simulator: bind p/escape to power buttonRafaël Carré1-0/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18986 a1c6a512-1295-4272-9138-f99709370657
2008-10-31Clip: add backlight and buttonlight codeRafaël Carré1-3/+3
Revive lcd_enable() as well, and use it in _backlight_on/off() Don't update the lcd framebuffer if the display is off git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18952 a1c6a512-1295-4272-9138-f99709370657
2008-10-31Sansa Clip simulatorRafaël Carré3-0/+43
First draft at keymapping based on e200 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18948 a1c6a512-1295-4272-9138-f99709370657
2008-10-28Make the e200v2 simulator compile - an easy job as the apps/ code is ↵Dave Chapman2-1/+5
identical to the e200v1. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18902 a1c6a512-1295-4272-9138-f99709370657
2008-10-27The tick change for the sim can be a little nicer.Michael Sevakis1-9/+6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18895 a1c6a512-1295-4272-9138-f99709370657
2008-10-27Fix red-- it should.Michael Sevakis1-16/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18894 a1c6a512-1295-4272-9138-f99709370657
2008-10-22iaudio7: simulatorVitja Makarov3-1/+40
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18861 a1c6a512-1295-4272-9138-f99709370657