Jonathan Gordon
c9d1ab7218
Fixes a problem where the sim would try to start the WPS on HAVE_RTC_ALARM 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-13 12:07:59 +00:00
Peter D'Hoye
3afaec3ead
Accept FS #7750 : simulator: add missing newlines after SDL errors
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14666 a1c6a512-1295-4272-9138-f99709370657
2007-09-10 21:18:19 +00:00
Michael Sevakis
c4a7631eb9
UISIMULATOR: Do a graceful shutdown of all threads and avoid (mostly lockup) 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-10 03:49:12 +00:00
Michael Sevakis
0107dfc827
UISIMULATOR: Give the host OS some needed context switching hints (which _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-09 01:59:07 +00:00
Michael Sevakis
f64ebb1c1f
Sim I/O and threading that runs more like on target. Tweakable if any 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-08 12:20:53 +00:00
Nicolas Pennequin
3213d4a0f5
Add a verbosity level command line option to the chackwps tool. This should 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-22 17:17:53 +00:00
Nicolas Pennequin
6ac306a515
Add a new commandline switch to the simulator: "--debugwps". It enables printing of advanced (and very verbose) WPS debugging information. Also make the debugging code a bit cleaner.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13257 a1c6a512-1295-4272-9138-f99709370657
2007-04-24 23:58:57 +00:00
Jens Arnold
54ea2e435e
Charcell lcd driver: Preparations for switching to non-immediate LCD updates, using lcd_update() like on bitmap targets. * Added proper clipping. * Simplified simulator code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12979 a1c6a512-1295-4272-9138-f99709370657
2007-03-31 09:58:49 +00:00
Barry Wardell
ac6e19a90c
Fix build errors.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12416 a1c6a512-1295-4272-9138-f99709370657
2007-02-20 15:12:56 +00:00
Jens Arnold
43528c770e
Make the SDL simulator a console app on cygwin, and circumvent SDL_main. Debug output finally appears on the console again.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11309 a1c6a512-1295-4272-9138-f99709370657
2006-10-22 12:41:13 +00:00
Jens Arnold
05ddd9a44e
X5 remote LCD drawing. This will break target linking atm - lcd_remote_update[_rect]() are not yet implemented.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10347 a1c6a512-1295-4272-9138-f99709370657
2006-07-28 07:35:45 +00:00
Daniel Stenberg
4582f233ce
code policed // comments
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9112 a1c6a512-1295-4272-9138-f99709370657
2006-03-19 06:59:36 +00:00
Dan Everton
5b3e3e1f2a
Fix some incorrectly declared functions in the sim.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9080 a1c6a512-1295-4272-9138-f99709370657
2006-03-17 22:09:34 +00:00
Daniel Stenberg
18e097c8ff
using --zoom with no number given defaults to 2 and no longer segfaults
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8771 a1c6a512-1295-4272-9138-f99709370657
2006-02-21 21:56:38 +00:00
Dan Everton
3945218810
Proper working sound in the SDL sim. Add option to write raw audio to a file, use --debugaudio command line option.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8770 a1c6a512-1295-4272-9138-f99709370657
2006-02-21 21:48:06 +00:00
Dan Everton
3ba0060ac1
Backlight support for 8-bit targets in SDL sim. Redo sound handling. Still doesn't work right, but is closer to how the actual Rockbox system does it. Move some stub functions in to Win32 and X11 sims to keep them compiling.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8686 a1c6a512-1295-4272-9138-f99709370657
2006-02-13 21:46:28 +00:00
Dan Everton
b585e87b45
Refactor SDL sim source so drawing routines are written once. Split bitmap, remote, and charcell LCD in to their own files. Add zoom support, use --zoom factor (e.g. --zoom 2 for two times zoom) to use it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8645 a1c6a512-1295-4272-9138-f99709370657
2006-02-09 21:49:28 +00:00
Dan Everton
ee2019d591
Made backgrounds runtime optional in SDL sim. Use --background to turn them on. Also removed two unneeded files.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8642 a1c6a512-1295-4272-9138-f99709370657
2006-02-09 11:17:52 +00:00
Linus Nielsen Feltzing
fc72c53758
Patch #1417462 by Dan Everton - Improved SDL simulator
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8546 a1c6a512-1295-4272-9138-f99709370657
2006-02-03 15:19:58 +00:00
Daniel Stenberg
0e419987e4
SDL simulator brought by Nathan Hand and Nick Lanham. This is added as a third
...
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
2006-01-09 11:22:36 +00:00