summaryrefslogtreecommitdiffstats
path: root/uisimulator
AgeCommit message (Collapse)AuthorFilesLines
2007-11-04woops, lasttn does need to be globalJonathan Gordon1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15453 a1c6a512-1295-4272-9138-f99709370657
2007-11-03fix redJonathan Gordon1-3/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15431 a1c6a512-1295-4272-9138-f99709370657
2007-11-03mouse support for HAVE_TOUCHPAD target simulatorJonathan Gordon1-8/+45
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15430 a1c6a512-1295-4272-9138-f99709370657
2007-11-02Fix sims: sim_codec_load_ram() needed an updateNicolas Pennequin1-15/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15411 a1c6a512-1295-4272-9138-f99709370657
2007-10-28Improve the fake interrupt stuff on the sim a bit.Michael Sevakis1-1/+9
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15349 a1c6a512-1295-4272-9138-f99709370657
2007-10-27Add queue_peek to the kernel (written by Mike Sevakis), and use it to ↵Nicolas Pennequin1-0/+20
improve upon my previous commit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15336 a1c6a512-1295-4272-9138-f99709370657
2007-10-26Correct some commenting left from an earlier set_irq_level version.Michael Sevakis1-4/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15323 a1c6a512-1295-4272-9138-f99709370657
2007-10-26Argh. Forgot to 'svn add' as usual.Michael Sevakis1-0/+32
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15322 a1c6a512-1295-4272-9138-f99709370657
2007-10-26Implement as genuine a set_irq_level function for the sim as possible. The ↵Michael Sevakis4-48/+175
yield added earlier is still nescessary since other threads won't run anyway while viewing the database screen on either sim or target. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15321 a1c6a512-1295-4272-9138-f99709370657
2007-10-21More M:Robe work including a fix to lcd-as-memframe for larger screens ↵Karl Kurbjun3-1/+56
thanks to Michael Sevakis. Also fixes simulator builds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15254 a1c6a512-1295-4272-9138-f99709370657
2007-10-19FS#7994 - Rename talk.c API, make talk_disable() affect all talking (not ↵Steve Bavin1-18/+2
just menus), hopefully save some space. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15206 a1c6a512-1295-4272-9138-f99709370657
2007-10-17Remove some dead codeDave Chapman3-299/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15171 a1c6a512-1295-4272-9138-f99709370657
2007-10-16Fix a warning (no newline at end of file).Michael Sevakis1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15136 a1c6a512-1295-4272-9138-f99709370657
2007-10-16Fix the redMichael Sevakis1-0/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15135 a1c6a512-1295-4272-9138-f99709370657
2007-10-16Finally full multicore support for PortalPlayer 502x targets with an eye ↵Michael Sevakis3-78/+311
towards the possibility of other types. All SVN targets the low-lag code to speed up blocking operations. Most files are modified here simple due to a name change to actually support a real event object and a param change to create_thread. Add some use of new features but just sit on things for a bit and leave full integration for later. Work will continue on to address size on sensitive targets and simplify things if possible. Any PP target having problems with SWP can easily be changed to sw corelocks with one #define change in config.h though only PP5020 has shown an issue and seems to work without any difficulties. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15134 a1c6a512-1295-4272-9138-f99709370657
2007-10-13Fixes a problem where the sim would try to start the WPS on HAVE_RTC_ALARM ↵Jonathan Gordon2-1/+8
sims (FS#7862 with a small addition by me) use the --alarm argument if you do want to simulate this behaviour git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15094 a1c6a512-1295-4272-9138-f99709370657
2007-10-09fix yellow and some house cleaningRobert Kukla1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15056 a1c6a512-1295-4272-9138-f99709370657
2007-10-09FS#7487 - mpegplayer - video start time seek with resumeRobert Kukla1-0/+5
by John S. Gwynne & Brian J. Morey This should stop the patch from breaking again and give them opportunity to improve it further. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15052 a1c6a512-1295-4272-9138-f99709370657
2007-10-09Fix crosscompiling the uisim with mingw32 by adding a definition of CLOSEJonas Häggqvist1-0/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15047 a1c6a512-1295-4272-9138-f99709370657
2007-10-09Keep track of the number of opened files in the sim to enforce the same ↵Nicolas Pennequin1-5/+30
limit as on target. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15045 a1c6a512-1295-4272-9138-f99709370657
2007-10-07Fix some yellow that went unnoticed earlier.Michael Sevakis1-0/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15010 a1c6a512-1295-4272-9138-f99709370657
2007-10-06Unify PCM interface just above the hardware driver level for all targets ↵Michael Sevakis1-197/+53
including the sims. Perform lockout of audio callback when changing states. Weird new playback or recording trouble? Check before and after this revision first though things seem quite sound. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15006 a1c6a512-1295-4272-9138-f99709370657
2007-09-30Enable auto reply for queue messages sent with queue_send. It's only ↵Michael Sevakis1-0/+16
nescessary to use queue_reply to return a value other than zero or to return a result before waiting on the queue again. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14923 a1c6a512-1295-4272-9138-f99709370657
2007-09-25Dithering option for mpegplayer on gigabeat-f/x and e200. Assembly IDCT for ↵Michael Sevakis1-0/+204
ARm just to make it all work more nicely. Move UI simulator YUV code to its core to adapt it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14851 a1c6a512-1295-4272-9138-f99709370657
2007-09-13UISIMULATOR: Trying to make it snappy for everyone. Remove forced thread ↵Michael Sevakis1-8/+1
yield in switch_thread which starves threads that call it alot especially on fast 64-bit machines (which could yield _alot_ of time away). I suspect that was a way to get I/O to run better before having an I/O thread...and it did help before that addition. No longer needed it seems and the OS seems to handle scheduling without hints just fine. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14685 a1c6a512-1295-4272-9138-f99709370657
2007-09-13FS #7752 by Catalin Patulea: Stop 'Rockbox Info' from crashing multivolume ↵Jens Arnold1-1/+13
target simulators (Ondio, Sansa). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14684 a1c6a512-1295-4272-9138-f99709370657
2007-09-10Accept FS #7750: simulator: add missing newlines after SDL errorsPeter D'Hoye1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14666 a1c6a512-1295-4272-9138-f99709370657
2007-09-10UISIMULATOR: Do a graceful shutdown of all threads and avoid (mostly lockup) ↵Michael Sevakis4-68/+175
problems caused by not worrying about states. Have rockbox objects initialized only by rockbox threads save for the main 'gui' thread which is a needed exception. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14660 a1c6a512-1295-4272-9138-f99709370657
2007-09-09More Simulator tweaking. Back to the counter but with 0 delay. Forget the ↵Michael Sevakis1-18/+8
semaphore; it makes for too much kernel thread yielding. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14649 a1c6a512-1295-4272-9138-f99709370657
2007-09-09UISIMULATOR: Give the host OS some needed context switching hints (which ↵Michael Sevakis6-15/+66
_is_ supposed to work on Linux - but I can't tell on VMWare - and does on Windows). I guess I'll know for sure soon. Give sleep() even more genuine behavior. Add some button driver sync with the rockbox threads that should have been there for some time - this is basically interrupt-like processing as any thread not in the kernel pool should be considered. Make the screendump work again by posting the request. Perhaps help out shutting down for some users but not in the way I'd prefer - to think about. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14646 a1c6a512-1295-4272-9138-f99709370657
2007-09-08Make sleep(0) in the sim behave more like on target.Jens Arnold1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14645 a1c6a512-1295-4272-9138-f99709370657
2007-09-08Fix some warnings in sim kernel.Michael Sevakis1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14640 a1c6a512-1295-4272-9138-f99709370657
2007-09-08Sim I/O and threading that runs more like on target. Tweakable if any ↵Michael Sevakis5-104/+554
genuine slowness imitation is required for any one of them. One point of concern is the sim shutdown on an OS other than Linux just because terminating threads in a manner other than having the do it themselves is kind of dirty IMHO. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14639 a1c6a512-1295-4272-9138-f99709370657
2007-09-08Allow the volume keys to be used in lists. Fix the sim buttons.Mark Arigo1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14638 a1c6a512-1295-4272-9138-f99709370657
2007-09-08Make the uisim build for the Sansa c200.Mark Arigo3-0/+45
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14637 a1c6a512-1295-4272-9138-f99709370657
2007-09-04More FILES updating.Jonas Häggqvist1-0/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14611 a1c6a512-1295-4272-9138-f99709370657
2007-08-14Moved archos power handling into target tree. * Tuner power handling cleaned ↵Jens Arnold1-4/+0
up a bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14345 a1c6a512-1295-4272-9138-f99709370657
2007-08-13Fix wheel in sansa simulator, closes FS#7591Nils Wallménius1-1/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14308 a1c6a512-1295-4272-9138-f99709370657
2007-08-12Enable a lot more features for simulators and add stubs where necessary, ↵Nils Wallménius1-0/+104
simulators should now work with identical lng and voice files as the respective target git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14299 a1c6a512-1295-4272-9138-f99709370657
2007-08-12Fix red simulator builds. queue_broadcast() was missing...Jens Arnold1-3/+52
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14293 a1c6a512-1295-4272-9138-f99709370657
2007-08-10Remove the 'USB' menu item from the sim system menu, press the 'u' key to ↵Nils Wallménius1-6/+0
display the USB screen instead, will break binary lng files and voice files for the sims only git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14269 a1c6a512-1295-4272-9138-f99709370657
2007-08-05Added iPod 1st/2nd gen simulator bits.Jens Arnold3-1/+14
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14202 a1c6a512-1295-4272-9138-f99709370657
2007-08-01Slightly less hacky sim queue_send(), fixes simulator crashes FS#7051 and ↵Steve Bavin1-1/+1
FS#7245. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14113 a1c6a512-1295-4272-9138-f99709370657
2007-07-31not to self: should recompile after adding comments...Jonathan Gordon1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14098 a1c6a512-1295-4272-9138-f99709370657
2007-07-31working volume control in the simJonathan Gordon1-3/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14097 a1c6a512-1295-4272-9138-f99709370657
2007-07-29Use multi-screen api for metronome plugin, and made it run in the simulator ↵Kevin Ferrare2-0/+61
by implementing the timer functions git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14046 a1c6a512-1295-4272-9138-f99709370657
2007-07-22Sim needs a duplicate of the button_get_data implementation.Michael Sevakis1-2/+16
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13961 a1c6a512-1295-4272-9138-f99709370657
2007-07-22Add a verbosity level command line option to the chackwps tool. This should ↵Nicolas Pennequin1-0/+1
make life easier for the themes.rockbox.org people. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13958 a1c6a512-1295-4272-9138-f99709370657
2007-07-14Fix all the red this time?Michael Sevakis1-0/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13884 a1c6a512-1295-4272-9138-f99709370657
2007-07-14Do some planned radio interface cleanup since adding in the LV24020LP.Michael Sevakis1-3/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13880 a1c6a512-1295-4272-9138-f99709370657