summaryrefslogtreecommitdiff
path: root/uisimulator
AgeCommit message (Collapse)Author
2009-02-10Simulate backlight for colour targets. Implements the idea from FS #9884, ↵Jens Arnold
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 Arnold
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 Arnold
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 Arnold
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 Arnold
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-10Red build fix.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19744 a1c6a512-1295-4272-9138-f99709370657
2009-01-08The simulator background logic is now reversed, such that it defaults to ↵Jonas Häggqvist
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 Sevakis
be written by the GUI thread. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19721 a1c6a512-1295-4272-9138-f99709370657
2009-01-08Fix yellow. Don't know how I missed that testing sim build. :\Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19719 a1c6a512-1295-4272-9138-f99709370657
2009-01-08Allow sims to shut down normally from panic code.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19718 a1c6a512-1295-4272-9138-f99709370657
2009-01-08Clean up panicf and introduce system_exception_wait to do further target ↵Michael Sevakis
tasks and wait for a button when an unrecoverable error has occurred (panic, UIE, etc.). Returning from that function should reboot or don't return from it. Move UIE and __div0 for ARM to its own file. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19716 a1c6a512-1295-4272-9138-f99709370657
2009-01-07fix m200v4 simulator.Dominik Wenger
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19711 a1c6a512-1295-4272-9138-f99709370657
2009-01-03Fix remaining red.Nils Wallménius
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19661 a1c6a512-1295-4272-9138-f99709370657
2009-01-02Add the sim build for the Philips HDD1630.Mark Arigo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19639 a1c6a512-1295-4272-9138-f99709370657
2008-12-24Simplify powermgmt thread loops so it calls functions turn (no more ↵Michael Sevakis
power_thread_sleep). Do other target-friendly simplifications, generic battery switch handling and split sim-specific code. Whoever can, please verify charging on the Archos Recorder (due to change in the charger duty cycle code). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19579 a1c6a512-1295-4272-9138-f99709370657
2008-12-15Moved database builder into a separate directory, and gave it its' own ↵Björn Stenberg
Makefile. Now it compiles cleanly and builds a database if ran in root of music tree. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19448 a1c6a512-1295-4272-9138-f99709370657
2008-12-12Bring consistency to pcm implementation and samplerate handling. Less ↵Michael Sevakis
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 Sevakis
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é
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é
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19347 a1c6a512-1295-4272-9138-f99709370657
2008-12-04stop printing "storage_sleep()" in the sim outputJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19323 a1c6a512-1295-4272-9138-f99709370657
2008-12-03Fix some red. The stubs in bootloaders are giving some trouble.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19316 a1c6a512-1295-4272-9138-f99709370657
2008-12-03Straighten out some powermanagement stuff. Give target complete control over ↵Michael Sevakis
how power inputs are sensed. Clean SIMULATOR stuff out of target files. Get rid of USB charging option on targets that don't support it or don't implement it yet. Menu string remains to avoid language incompatibility but should be removed on next cleanup for targets not using it (notice in english.lang). global_settings becomes incompatible for some builds and so plugin API version is incremented. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19315 a1c6a512-1295-4272-9138-f99709370657
2008-11-25Added 'keywords' and 'eol-style' properties.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19218 a1c6a512-1295-4272-9138-f99709370657
2008-11-24Renamed simulator disk directory from 'archos' to 'simdisk'.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19204 a1c6a512-1295-4272-9138-f99709370657
2008-11-21Removed duplicate LANG_O...Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19172 a1c6a512-1295-4272-9138-f99709370657
2008-11-21Added LANG_O to simulators as well.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19171 a1c6a512-1295-4272-9138-f99709370657
2008-11-20Remove .a files before running ar, to avoid problems with renamed files ↵Björn Stenberg
remaining in the library. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19161 a1c6a512-1295-4272-9138-f99709370657
2008-11-20New makefile solution: A single invocation of 'make' to build the entire ↵Björn Stenberg
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 Wenger
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 Gordon
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é
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18986 a1c6a512-1295-4272-9138-f99709370657
2008-11-02put stubs in the proper placeFrank Gevaerts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18978 a1c6a512-1295-4272-9138-f99709370657
2008-10-31Clip: add backlight and buttonlight codeRafaël Carré
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é
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 Chapman
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 Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18895 a1c6a512-1295-4272-9138-f99709370657
2008-10-27Fix red-- it should.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18894 a1c6a512-1295-4272-9138-f99709370657
2008-10-22iaudio7: simulatorVitja Makarov
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18861 a1c6a512-1295-4272-9138-f99709370657
2008-08-23Commit FS#9308: differentiate between TOUCHPAD & TOUCHSCREENMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18338 a1c6a512-1295-4272-9138-f99709370657
2008-07-08Revert r17988 and instead fix the button labels in the ipod simulator ↵Dave Chapman
background images. This isn't 100% perfect (I didn't go back to the layered source images), but IMO is good enough. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17991 a1c6a512-1295-4272-9138-f99709370657
2008-07-08Fix the simulator buttons for the iPod scrollwheels. Closes FS#8956.Marc Guay
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17988 a1c6a512-1295-4272-9138-f99709370657
2008-07-06volume buttons for gigabeat simRobert Kukla
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17956 a1c6a512-1295-4272-9138-f99709370657
2008-07-03Implement FS#8947 - Add a stub in the simulator for ata_disk_is_active. This ↵Bertrik Sikken
make it possible to clean up some #ifdef SIMULATOR macros. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17927 a1c6a512-1295-4272-9138-f99709370657
2008-06-28Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg
later. We still need to hunt down snippets used that are not. 1324 modified files... http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
2008-06-27initial Meizu M6SL port (take 2)Marcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17819 a1c6a512-1295-4272-9138-f99709370657
2008-06-14lcd-common.h hasn't contained code in nearly 6 years.Michael Giacomelli
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17722 a1c6a512-1295-4272-9138-f99709370657
2008-05-30Fix M:Robe 500 simulatorMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17663 a1c6a512-1295-4272-9138-f99709370657
2008-05-30(Simulator) Touchscreen improvements.Maurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17662 a1c6a512-1295-4272-9138-f99709370657
2008-05-29Fix red while keeping menu item.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17658 a1c6a512-1295-4272-9138-f99709370657