Commit graph

109 commits

Author SHA1 Message Date
Daniel Stenberg
2ed1052a6d fix window sizes to match the screen size, enlarged the player sim font
to use the 12x16 one


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1635 a1c6a512-1295-4272-9138-f99709370657
2002-08-09 09:13:40 +00:00
Heikki Hannikainen
96deb72425 fix compiling after battery_level changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1588 a1c6a512-1295-4272-9138-f99709370657
2002-08-07 11:28:04 +00:00
Markus Braun
de8fbf00a8 Added status bar to file browser and wps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1582 a1c6a512-1295-4272-9138-f99709370657
2002-08-07 10:35:26 +00:00
Daniel Stenberg
a398aa49dd healing the X11 simulator (button_get_w_tmo wise), please bear with me as I
haven't tested this fix but it compiles nicely ;-)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1579 a1c6a512-1295-4272-9138-f99709370657
2002-08-07 08:43:55 +00:00
Daniel Stenberg
e4b8c04788 disable LCD_PROPFONTS in the default build, as the actual firmware build
has it disabled


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1564 a1c6a512-1295-4272-9138-f99709370657
2002-08-06 18:09:23 +00:00
Daniel Stenberg
93c1b40b8d there is no XK_Enter!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1538 a1c6a512-1295-4272-9138-f99709370657
2002-08-05 15:40:49 +00:00
Daniel Stenberg
b3a80fbe30 George Styles added a few keys for running the simulator on without numerical
keypad


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1535 a1c6a512-1295-4272-9138-f99709370657
2002-08-05 14:11:40 +00:00
Linus Nielsen Feltzing
52f54830da Added set_release() and set_repeat()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1467 a1c6a512-1295-4272-9138-f99709370657
2002-07-27 19:51:31 +00:00
Linus Nielsen Feltzing
2d758f282e Added status.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1410 a1c6a512-1295-4272-9138-f99709370657
2002-07-22 22:59:47 +00:00
Björn Stenberg
2534097fc8 battery_level() already had a stub
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1367 a1c6a512-1295-4272-9138-f99709370657
2002-07-16 11:11:00 +00:00
Björn Stenberg
1812eae051 Added stub for battery_level()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1365 a1c6a512-1295-4272-9138-f99709370657
2002-07-16 10:54:37 +00:00
Björn Stenberg
6d55a71e0e Added build timestamp in version string
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1349 a1c6a512-1295-4272-9138-f99709370657
2002-07-15 13:19:00 +00:00
Linus Nielsen Feltzing
adbce88570 Now uses firmware/mpeg.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1269 a1c6a512-1295-4272-9138-f99709370657
2002-06-30 14:37:40 +00:00
Björn Stenberg
b45491df8f Added backlight_time stub
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1219 a1c6a512-1295-4272-9138-f99709370657
2002-06-27 01:00:00 +00:00
Björn Stenberg
706d6ee882 Moved settings.c/h to apps/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1216 a1c6a512-1295-4272-9138-f99709370657
2002-06-27 00:25:19 +00:00
Björn Stenberg
2d98ae3d03 Removed play.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1214 a1c6a512-1295-4272-9138-f99709370657
2002-06-27 00:06:14 +00:00
Björn Stenberg
2dd9b33977 Added mpeg_next() and mpeg_prev()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1206 a1c6a512-1295-4272-9138-f99709370657
2002-06-26 21:29:07 +00:00
Björn Stenberg
bb9aaf5065 A step towards WPS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1184 a1c6a512-1295-4272-9138-f99709370657
2002-06-25 13:26:04 +00:00
Björn Stenberg
d39904e29d Some X servers send KP_Begin for keypad 5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1177 a1c6a512-1295-4272-9138-f99709370657
2002-06-25 11:05:30 +00:00
Robert Hak
627334ba9a added settings_menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1163 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 21:41:01 +00:00
Daniel Stenberg
5bee7a490f added backkight_on(), we should have this change background colour or
something but right now it does nothing


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1157 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 14:10:48 +00:00
Robert Hak
bb5579e838 added screensaver and games menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1141 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 08:49:20 +00:00
Daniel Stenberg
e6578c9532 removed experimental LCD define again, added by accident
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1122 a1c6a512-1295-4272-9138-f99709370657
2002-06-20 09:46:37 +00:00
Daniel Stenberg
6dc046a54c added settings.c to the simulator build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1121 a1c6a512-1295-4272-9138-f99709370657
2002-06-20 09:42:51 +00:00
Daniel Stenberg
0c7ebc4c96 builds properly with the new "libc headers"
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1038 a1c6a512-1295-4272-9138-f99709370657
2002-06-17 13:33:47 +00:00
Robert Hak
3aa90e49cd added boxes, sokoban, bounce, removed screensaver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1023 a1c6a512-1295-4272-9138-f99709370657
2002-06-16 23:36:08 +00:00
Daniel Stenberg
c1ea15f4f9 added bounce.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1014 a1c6a512-1295-4272-9138-f99709370657
2002-06-15 13:31:53 +00:00
Daniel Stenberg
973b1a8274 current_tick simulation added
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1005 a1c6a512-1295-4272-9138-f99709370657
2002-06-14 12:44:51 +00:00
Daniel Stenberg
3f0bf03677 removed yield() define, we have a proper yield() implementation now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1004 a1c6a512-1295-4272-9138-f99709370657
2002-06-14 12:40:00 +00:00
Daniel Stenberg
50c1ff2b2f removed sleep.c, the sleep() code was moved into thread.c as the
functionality is so closely related


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1003 a1c6a512-1295-4272-9138-f99709370657
2002-06-14 12:34:51 +00:00
Daniel Stenberg
5fbeb6de75 Fixed the threading to work as I wanted it:
We only execute one thread at a time, and we do this by using a mytex that
the executing thread locks. sleep() returns the mutex, sleep and then gets
it again, yeild() makes the same as sleep but immediately.
This makes threading in the simulator behave closer to how it works on target
and it makes it necessary to use yield() or sleep() for other threads to
get to execute.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1002 a1c6a512-1295-4272-9138-f99709370657
2002-06-14 12:33:51 +00:00
Daniel Stenberg
a902aa15c0 kill warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1001 a1c6a512-1295-4272-9138-f99709370657
2002-06-14 11:06:58 +00:00
Daniel Stenberg
ed6c7e4e03 warning hunt and kill session
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1000 a1c6a512-1295-4272-9138-f99709370657
2002-06-14 11:00:13 +00:00
Daniel Stenberg
7a8d95d8ff go bananas, now we complain on *lots* of details
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@999 a1c6a512-1295-4272-9138-f99709370657
2002-06-14 10:41:08 +00:00
Daniel Stenberg
604cce76cf add thread functionality, powered by pthreads
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@928 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 10:17:54 +00:00
Daniel Stenberg
4bf52eae14 works with playlist code, now stubs mpeg_play() to be able to show some
better debug output


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@893 a1c6a512-1295-4272-9138-f99709370657
2002-06-04 21:45:51 +00:00
Robert Hak
1fac0e66fd the sim should not take args off the command line
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@883 a1c6a512-1295-4272-9138-f99709370657
2002-06-04 08:55:49 +00:00
Daniel Stenberg
f7da8db834 supports OBJDIR etc to make it possible to have the configure script generate
a Makefile for simulator builds


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@842 a1c6a512-1295-4272-9138-f99709370657
2002-05-31 07:23:07 +00:00
Daniel Stenberg
90f2806656 removed the no longer used code for simulating the player LCD
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@827 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 14:12:31 +00:00
Daniel Stenberg
ef3bb53df6 we don't need these weirdo defined anymore
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@825 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 14:10:20 +00:00
Daniel Stenberg
d68ee12d1b shorten the sleep for blocking key-gets to make it behave better
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@776 a1c6a512-1295-4272-9138-f99709370657
2002-05-29 08:37:06 +00:00
Daniel Stenberg
132a09b057 adjusted to new button_get api
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@765 a1c6a512-1295-4272-9138-f99709370657
2002-05-28 15:05:16 +00:00
Daniel Stenberg
3bd3cfcfe0 mpeg_stop stub added
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@764 a1c6a512-1295-4272-9138-f99709370657
2002-05-28 15:04:51 +00:00
Daniel Stenberg
1df12c875d build sound_menu, add mpeg.o to simulat the target mpeg_* functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@718 a1c6a512-1295-4272-9138-f99709370657
2002-05-27 06:55:31 +00:00
Daniel Stenberg
275365c3a9 simulate the mpeg functions to make the sim build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@717 a1c6a512-1295-4272-9138-f99709370657
2002-05-27 06:54:54 +00:00
Daniel Stenberg
76ccd61537 make yield() simply do a short sleep when simulated
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@716 a1c6a512-1295-4272-9138-f99709370657
2002-05-27 06:54:07 +00:00
Robert Hak
97accf6a5a added reference to location of mpeg_play.h for includes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@678 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 08:10:45 +00:00
Björn Stenberg
8cbedc3793 Added player MENU and ON keys
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@646 a1c6a512-1295-4272-9138-f99709370657
2002-05-21 15:02:13 +00:00
Björn Stenberg
ab2649fbef app.c removed, main_menu.c introduced
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@645 a1c6a512-1295-4272-9138-f99709370657
2002-05-21 14:35:18 +00:00
Robert Hak
88a1c6ab55 added credits.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@632 a1c6a512-1295-4272-9138-f99709370657
2002-05-18 11:43:03 +00:00