Commit graph

85 commits

Author SHA1 Message Date
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
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
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
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
Dave Chapman
553c2567f4 added playback simulator if /dev/dsp is unavailable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@581 a1c6a512-1295-4272-9138-f99709370657
2002-05-15 07:27:48 +00:00
Björn Stenberg
32125d4dec Added \n to debugf()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@567 a1c6a512-1295-4272-9138-f99709370657
2002-05-13 15:23:30 +00:00
Björn Stenberg
7ae053a6e9 Changing to C99 'bool'
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@562 a1c6a512-1295-4272-9138-f99709370657
2002-05-13 12:45:46 +00:00
Dave Chapman
fa299e60c9 enable mpeg playing by default under Linux
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@559 a1c6a512-1295-4272-9138-f99709370657
2002-05-12 15:02:44 +00:00
Dave Chapman
f07bfd0230 moved sound interface to common directory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@558 a1c6a512-1295-4272-9138-f99709370657
2002-05-12 14:58:41 +00:00
Dave Chapman
87758d84e6 moved mpeg decoder to common
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@554 a1c6a512-1295-4272-9138-f99709370657
2002-05-12 12:52:15 +00:00
Dave Chapman
ef5f97b421 abstracted the sound output interface
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@553 a1c6a512-1295-4272-9138-f99709370657
2002-05-12 12:30:14 +00:00
Dave Chapman
ebb57e83ba use internal copy of libmad
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@551 a1c6a512-1295-4272-9138-f99709370657
2002-05-12 11:34:08 +00:00
Dave Chapman
d2d5ac3e46 removed unused function and re-enabled button check
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@549 a1c6a512-1295-4272-9138-f99709370657
2002-05-12 10:41:39 +00:00
Dave Chapman
f622a630ca improved mpeg audio quality
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@548 a1c6a512-1295-4272-9138-f99709370657
2002-05-12 10:37:49 +00:00
Björn Stenberg
81dfba4e3d Removed testing debugf()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@542 a1c6a512-1295-4272-9138-f99709370657
2002-05-10 14:58:32 +00:00
Björn Stenberg
c492d24cce Adapted to changes in the lcd API.
Added player support to the dir browser.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@541 a1c6a512-1295-4272-9138-f99709370657
2002-05-10 14:56:52 +00:00
Daniel Stenberg
e078eddff9 x11_opendir() now fails properly in case the dir doesn't exist
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@537 a1c6a512-1295-4272-9138-f99709370657
2002-05-10 06:54:33 +00:00
Dave Chapman
59dd4363a8 added x,y to BUTTON PRESSED event message
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@536 a1c6a512-1295-4272-9138-f99709370657
2002-05-10 00:40:53 +00:00
Dave Chapman
4dbbca63d3 first attempt at mp3 playback in x11 simulator using libmad
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@535 a1c6a512-1295-4272-9138-f99709370657
2002-05-09 23:54:47 +00:00
Daniel Stenberg
143471447c added icons.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@511 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 11:05:28 +00:00
Daniel Stenberg
7488832c7e NULL is not defined when this compiles on Linux, let's avoid that for now
but we should fix it later


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@494 a1c6a512-1295-4272-9138-f99709370657
2002-05-07 12:34:45 +00:00