summaryrefslogtreecommitdiff
path: root/uisimulator/sdl/kernel.c (unfollow)
Commit message (Collapse)Author
2006-12-19Convert queues to use intptr_t for event data and return values as most of ↵Michael Sevakis
the time pointer are not passed and it should make some things a bit cleaner. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11818 a1c6a512-1295-4272-9138-f99709370657
2006-12-16Add queue_send synchronous message sending. Right now only for SWCODEC. ↵Michael Sevakis
Actual usage to be added to playback and recording shortly in upcoming commits. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11776 a1c6a512-1295-4272-9138-f99709370657
2006-11-03Oops, sim was missing a queue functionSteve Bavin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11421 a1c6a512-1295-4272-9138-f99709370657
2006-09-16New scheduler, with priorities for swcodec platforms. Frequent taskMiika Pekkarinen
switching should be more efficient and tasks are stored in linked lists to eliminate unnecessary task switching to improve performance. Audio should no longer skip on swcodec targets caused by too CPU hungry UI thread or background threads. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10958 a1c6a512-1295-4272-9138-f99709370657
2006-04-12Patch 5107 from Steve Bavin, enable locking on sdl sim, now mutexes actually ↵Brandon Low
MUT EX on the SDL sim git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9638 a1c6a512-1295-4272-9138-f99709370657
2006-03-29Use correct sleep function in simulator queue wait.Dan Everton
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9343 a1c6a512-1295-4272-9138-f99709370657
2006-02-28Allow building simulators on systems where errno is thread-local by using ↵Jens Arnold
the system's implementation of errno.h for simulator builds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8871 a1c6a512-1295-4272-9138-f99709370657
2006-02-03Patch #1417462 by Dan Everton - Improved SDL simulatorLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8546 a1c6a512-1295-4272-9138-f99709370657
2006-01-23New kernel function, queue_delete(struct event_queue *q)Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8424 a1c6a512-1295-4272-9138-f99709370657
2006-01-09SDL simulator brought by Nathan Hand and Nick Lanham. This is added as a thirdDaniel Stenberg
simulator with the hope that once it works fine, we can remove the other two and only have one unified simulator. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8312 a1c6a512-1295-4272-9138-f99709370657
2005-11-21Backlight handling: * Added 'Caption Backlight' and 'Backlight On When ↵Jens Arnold
Charging' for the iriver remote LCD. * Enabled the backlight code for the simulator, and prepared backlight simulation. It's only a stub atm, writing messages to the console window. * Added tick task handling to the simulators for this to work. * Code cleanup in backlight.c, less dead code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8034 a1c6a512-1295-4272-9138-f99709370657
2005-03-18Major rework of the x11 simulator button handling. (1) Button repeat should ↵Jens Arnold
always work correctly now, not sending a release before the repeat(s). Fixes e.g. calling the Ondio menu. (2) Button handling is done in the timer thread, not sleep()ing the main thread for extended times. Fixes slow performance of high-workload plugins (codec tests). (3) The x11 simulator now also contains the queue handling code. (4) The new code requires X11R6 because the multi-threading extension is used. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6215 a1c6a512-1295-4272-9138-f99709370657
2005-02-28Fix: really clear the button queue when it is meant to be cleared.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6074 a1c6a512-1295-4272-9138-f99709370657
2005-01-24more int -> longJean-Philippe Bernardy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5657 a1c6a512-1295-4272-9138-f99709370657
2004-08-16Const policed pointer arguments to functions, part 1Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4995 a1c6a512-1295-4272-9138-f99709370657
2004-06-10Finally, the archos directory sandbox works in the same way for both X11 and ↵Linus Nielsen Feltzing
win32 simulators. Unfortunately, this breaks the VC++ compatibility. Also, the plugin API now supports DEBUGF. Last, but not least, we have a new plugin, vbrfix.rock. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4726 a1c6a512-1295-4272-9138-f99709370657
2004-03-13OK, no HIGHEST_IRQ_LEVEL defined for the sim. I use a number again, the code ↵Jörg Hohensohn
here is pointless anyhow. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4375 a1c6a512-1295-4272-9138-f99709370657
2004-03-13We had a few set_irq_level(15) left in the code, instead of the new ↵Jörg Hohensohn
set_irq_level(HIGHEST_IRQ_LEVEL). Only one was really used, in system_reboot(), creating a (unlikely) race condition. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4374 a1c6a512-1295-4272-9138-f99709370657
2004-02-25Yellow buildLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4315 a1c6a512-1295-4272-9138-f99709370657
2003-07-01Fixed simulator warnings.Hardeep Sidhu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3797 a1c6a512-1295-4272-9138-f99709370657
2003-07-01Added dynamic playlists. ON+PLAY->Playlist on a track, directory, or ↵Hardeep Sidhu
playlist from file browser to see available options. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3796 a1c6a512-1295-4272-9138-f99709370657
2003-04-19most of UI sim patch 708460 from Magnus Holmgren, except the bitmap removalJörg Hohensohn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3571 a1c6a512-1295-4272-9138-f99709370657
2002-10-31add 'errno' here, since it makes the mingw32 build work fine againDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2787 a1c6a512-1295-4272-9138-f99709370657
2002-10-16finally up-to-date: the win32 simulator (at least for the recorder)Felix Arends
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2685 a1c6a512-1295-4272-9138-f99709370657
2002-06-25Finally, again a working version of the win32 simulator. I re-wrote the ↵Felix Arends
makefile, it is much more compact now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1191 a1c6a512-1295-4272-9138-f99709370657
2002-06-12Threading is working on uisw32 as well now, code is up-to-date, makefile is ↵Felix Arends
up-to-date git-svn-id: svn://svn.rockbox.org/rockbox/trunk@981 a1c6a512-1295-4272-9138-f99709370657
2002-04-27removed unneeded code from lcd.c and renamed it do lcd-win32.cFelix Arends
updated modified constants (LCD_WIDTH, LCD_HEIGHT) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@261 a1c6a512-1295-4272-9138-f99709370657
2002-04-25First Version of UISimulator for Win32Felix Arends
lcd and keypad working for recorder git-svn-id: svn://svn.rockbox.org/rockbox/trunk@221 a1c6a512-1295-4272-9138-f99709370657
2002-04-20First commitLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@156 a1c6a512-1295-4272-9138-f99709370657
2002-04-15First check inBjörn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@93 a1c6a512-1295-4272-9138-f99709370657
2002-04-11firmware typedefs. only bool so farDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@76 a1c6a512-1295-4272-9138-f99709370657
2002-03-26updatesDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26 a1c6a512-1295-4272-9138-f99709370657
2002-03-26lcd_update() works for X11 now...Daniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15 a1c6a512-1295-4272-9138-f99709370657
2002-03-26generic and specific LCD functionsDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14 a1c6a512-1295-4272-9138-f99709370657