Commit graph

231 commits

Author SHA1 Message Date
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
Felix Arends
0053ec0c72 Threading is working on uisw32 as well now, code is up-to-date, makefile is up-to-date
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@981 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 15:39:39 +00:00
Björn Stenberg
f4a2941b3c Added win32/uisw32.rc
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@948 a1c6a512-1295-4272-9138-f99709370657
2002-06-11 07:44:03 +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
Daniel Stenberg
e2f9196edf clarified and added details about the X11 simulator build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@888 a1c6a512-1295-4272-9138-f99709370657
2002-06-04 20:06:40 +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
Felix Arends
647661c3bb Player compatible code, interface still needs some changes for player
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@874 a1c6a512-1295-4272-9138-f99709370657
2002-06-01 20:56:38 +00:00
Daniel Stenberg
a895626516 updated the build instruction since we now support building the simulator
using the tools/configure approach


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@843 a1c6a512-1295-4272-9138-f99709370657
2002-05-31 07:48:30 +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
b66890fc52 include the 8bit bitmap instead of the previos 24bit one (that is no longer
in CVS)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@837 a1c6a512-1295-4272-9138-f99709370657
2002-05-31 05:53:43 +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
dd0785273f Added the two Player-specific keys to the description. The X11 simulator is
so far the only simulator that can simulate a Player


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@808 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 06:40:57 +00:00
Felix Arends
175ac8961e Removed some files to save space, made bitmap smaller, brought everything up to date
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@802 a1c6a512-1295-4272-9138-f99709370657
2002-05-29 16:34:40 +00:00
Daniel Stenberg
6c3a351c98 Felix popped up and fixed the win32 simulator, it works again and we include
the files in the tarball!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@800 a1c6a512-1295-4272-9138-f99709370657
2002-05-29 15:18:23 +00:00
Felix Arends
ae59b0c7c4 win32 simulator up to date
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@799 a1c6a512-1295-4272-9138-f99709370657
2002-05-29 15:15:55 +00:00
Daniel Stenberg
7bf7914811 I've commented all the win32 files right now as no one is maintaining
the win32 simulator and thus it doesn't work right now.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@792 a1c6a512-1295-4272-9138-f99709370657
2002-05-29 12:44:38 +00:00
Daniel Stenberg
24d5db0a51 added FILES and all sorts of missing win32 simulator files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@777 a1c6a512-1295-4272-9138-f99709370657
2002-05-29 08:53:04 +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
4cd5ad6688 files included in release
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@739 a1c6a512-1295-4272-9138-f99709370657
2002-05-27 11:56:13 +00:00
Robert Hak
ece50cd3a5 stop the compiler bitching
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@725 a1c6a512-1295-4272-9138-f99709370657
2002-05-27 08:08:54 +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
Robert Hak
cace8a053a I got tired of shifting this file around, and it belongs with the archos
'root' direcotry anyway.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@629 a1c6a512-1295-4272-9138-f99709370657
2002-05-18 05:38:33 +00:00
Dave Chapman
2913c4a4fd removed -DLITTLE_ENDIAN for Linux - it is defined by stdlib.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@622 a1c6a512-1295-4272-9138-f99709370657
2002-05-17 18:19:01 +00:00
Björn Stenberg
dc2e7842fd Some files moved
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@620 a1c6a512-1295-4272-9138-f99709370657
2002-05-17 14:39:42 +00:00
Björn Stenberg
256d24a775 Added lcd_update() to player lcd_puts()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@619 a1c6a512-1295-4272-9138-f99709370657
2002-05-17 14:38:08 +00:00
Daniel Stenberg
ed1726e056 made both recorder and player builds work again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@616 a1c6a512-1295-4272-9138-f99709370657
2002-05-17 12:23:11 +00:00
Daniel Stenberg
1f81380ce3 code meant to be used in target builds are now in ../apps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@615 a1c6a512-1295-4272-9138-f99709370657
2002-05-17 12:22:51 +00:00
Björn Stenberg
a39f566a7f Moved play.* to apps/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@600 a1c6a512-1295-4272-9138-f99709370657
2002-05-16 14:48:53 +00:00
Björn Stenberg
28af55d61a Added support for player keypad
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@597 a1c6a512-1295-4272-9138-f99709370657
2002-05-16 14:46:58 +00:00
Daniel Stenberg
4a615c7885 support little endian too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@593 a1c6a512-1295-4272-9138-f99709370657
2002-05-16 13:03:21 +00:00
Daniel Stenberg
a78d682017 set endian style, default target endian is BIG ENDIAN
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@592 a1c6a512-1295-4272-9138-f99709370657
2002-05-16 13:02:57 +00:00
Daniel Stenberg
bd886481b9 display logo if present
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@591 a1c6a512-1295-4272-9138-f99709370657
2002-05-16 12:56:43 +00:00
Björn Stenberg
34acad9f90 Moved tree.? to apps module
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@590 a1c6a512-1295-4272-9138-f99709370657
2002-05-16 12:56:42 +00:00
Daniel Stenberg
784c625f33 close the file too properly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@585 a1c6a512-1295-4272-9138-f99709370657
2002-05-16 12:52:50 +00:00