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
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
Daniel Stenberg
e3a12d34ea
adjusted to build on my solaris box
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@493 a1c6a512-1295-4272-9138-f99709370657
2002-05-07 12:25:30 +00:00
Daniel Stenberg
27dfc7c14e
extended the wrapper layer, we can't depend on much in the "real" dirent
...
struct since it differs too much between unixes. d_name is there, the rest
we get with stat() calls to simulate the target dirent properly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@492 a1c6a512-1295-4272-9138-f99709370657
2002-05-07 12:06:32 +00:00
Daniel Stenberg
48521063ce
added x11_readdir() proto
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@490 a1c6a512-1295-4272-9138-f99709370657
2002-05-07 11:44:36 +00:00
Daniel Stenberg
159d448739
readdir() wrapper for proper dirent struct emulation in target code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@488 a1c6a512-1295-4272-9138-f99709370657
2002-05-07 11:35:03 +00:00
Dave Chapman
f830e3827f
fixed title string in x11 window
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@480 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 16:10:22 +00:00
Daniel Stenberg
00f090ff1c
no more Logf(), only use debugf()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@473 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 11:24:34 +00:00
Daniel Stenberg
9dff75fcb9
compile debug.c from the firmware for logging errors
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@472 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 11:24:08 +00:00
Robert Hak
40fe97b477
Added menu.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@466 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 08:43:00 +00:00
Daniel Stenberg
0b306a456b
Dave Chapman removed the annoying extra slash
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@456 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 06:17:32 +00:00
Daniel Stenberg
86a05c56c2
build play.c and id3.c too now
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@427 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 10:29:17 +00:00
Daniel Stenberg
b3df1916fb
wrapper include for the actual file.h to enable the change-root fiddle
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@426 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 10:28:48 +00:00
Daniel Stenberg
91f165e3da
support open() properly so that the root dir works in the archos subdir
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@425 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 10:28:23 +00:00
Daniel Stenberg
f7a6c45c43
Make it easy to select which kind of LCD you want the simulator to feature
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@423 a1c6a512-1295-4272-9138-f99709370657
2002-05-04 12:26:21 +00:00
Daniel Stenberg
d3cf73e6f5
started to implement the charcell LCD api
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@422 a1c6a512-1295-4272-9138-f99709370657
2002-05-04 12:25:06 +00:00
Daniel Stenberg
837e2c475f
don't define anything like this here
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@421 a1c6a512-1295-4272-9138-f99709370657
2002-05-04 12:22:03 +00:00
Daniel Stenberg
7212f83996
funny preprocessor tricks
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@420 a1c6a512-1295-4272-9138-f99709370657
2002-05-04 12:21:36 +00:00
Daniel Stenberg
c8397f55e5
changed window size to be about the same size as a recorder
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@417 a1c6a512-1295-4272-9138-f99709370657
2002-05-04 11:16:07 +00:00
Robert Hak
38cb040f07
Commented out log statement on lcd_update
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@401 a1c6a512-1295-4272-9138-f99709370657
2002-05-03 06:54:41 +00:00
Robert Hak
0326934e91
Commented out the KEY PRESSED and EVENT debug messages
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@400 a1c6a512-1295-4272-9138-f99709370657
2002-05-03 06:51:05 +00:00
Robert Hak
797b4696d9
Added screensaver.c reference
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@389 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 21:30:58 +00:00
Daniel Stenberg
d85d4637bc
link with the firmware's sprintf() code just in case we'd start to use it,
...
so that we don't accidently try using sprintg() formatting the firmware
doesn't support!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@384 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 14:12:08 +00:00
Daniel Stenberg
85503a80a3
fixed header
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@367 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 10:36:54 +00:00
Daniel Stenberg
49108ec572
added the sleep simulation file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@366 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 10:36:43 +00:00
Daniel Stenberg
aa4ddab13c
kernel.h wrapper file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@365 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 10:36:30 +00:00
Daniel Stenberg
8d7c442a5d
added sleep() simulation
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@364 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 10:35:42 +00:00
Daniel Stenberg
5ab87aa978
clear first, then draw might look better
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@330 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 13:29:08 +00:00
Daniel Stenberg
7b3abdcb09
added for dir emulation
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@326 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 13:14:59 +00:00
Daniel Stenberg
b3a0b4bfb8
corrected for Linux again
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@320 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 07:02:37 +00:00
Daniel Stenberg
9b68ef8ddc
draw the "box" before calling the app
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@319 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 06:55:45 +00:00
Daniel Stenberg
22740a0999
fixed for Solaris build
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@318 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 06:54:36 +00:00
Daniel Stenberg
1ba9faed31
changed the colors to be more Recorder-like
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@296 a1c6a512-1295-4272-9138-f99709370657
2002-04-28 09:38:20 +00:00
Daniel Stenberg
d00a54f746
set recorder keypad
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@291 a1c6a512-1295-4272-9138-f99709370657
2002-04-28 08:38:51 +00:00
Daniel Stenberg
c6e0734b7b
works in new dir
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@284 a1c6a512-1295-4272-9138-f99709370657
2002-04-28 00:00:02 +00:00
Daniel Stenberg
a73d52c711
use Logf()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@283 a1c6a512-1295-4272-9138-f99709370657
2002-04-27 23:59:47 +00:00
Daniel Stenberg
3caa3c0871
moved X11-specific files into a separate subdir to keep root clean for
...
target files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@282 a1c6a512-1295-4272-9138-f99709370657
2002-04-27 23:48:49 +00:00