Commit graph

659 commits

Author SHA1 Message Date
Robert Hak
083e7d451b Initial creation. This removes alot of the cursor and menuing overhead
from the calling routines


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@464 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 08:41:49 +00:00
Daniel Stenberg
2370cd4d67 first docs! ;-)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@463 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 07:59:27 +00:00
Daniel Stenberg
e630d64027 no more unistd.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@462 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 07:19:09 +00:00
Daniel Stenberg
62204377e8 some basic docs for simulator hacking
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@461 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 07:10:57 +00:00
Daniel Stenberg
a305d315be don't closedir(NULL)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@460 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 06:50:35 +00:00
Daniel Stenberg
a488797db1 fixed a DIR * leak
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@459 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 06:47:19 +00:00
Robert Hak
98cd745302 Added question about when the project expects its first release
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@458 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 06:32:58 +00:00
Daniel Stenberg
82b0d6c566 Dave's added
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@457 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 06:21:42 +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
ff2e651d29 Dave Chapman's browse subdirs too patch applied
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@455 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 06:17:07 +00:00
Linus Nielsen Feltzing
551d8368aa corrected a few errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@454 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 22:14:07 +00:00
Linus Nielsen Feltzing
55fec178bc Failed attempt to use DMA
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@453 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 22:13:00 +00:00
Linus Nielsen Feltzing
c62a0852c3 *** empty log message ***
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@452 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 19:20:44 +00:00
Linus Nielsen Feltzing
ac20ed5537 Testing tick functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@451 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 18:36:13 +00:00
Linus Nielsen Feltzing
70109b9fd2 corrected a prototype
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@450 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 18:34:58 +00:00
Linus Nielsen Feltzing
9e142daa83 Added tick and interrupt level functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@449 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 18:34:06 +00:00
Linus Nielsen Feltzing
011f1d30f6 Disable interrupt only in target
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@448 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 17:52:59 +00:00
Linus Nielsen Feltzing
6c2accfda4 Disable interrupt
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@447 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 17:51:23 +00:00
Linus Nielsen Feltzing
324cfa4f95 *** empty log message ***
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@446 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 17:49:25 +00:00
Daniel Stenberg
75e8cbbdcc Dave Chapman found a problem in the id3v1 tag reading, and provided
this fix!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@445 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 13:25:29 +00:00
Daniel Stenberg
5a833679dc removed read_file_into_buffer()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@444 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 11:59:50 +00:00
Daniel Stenberg
b48a4fa80a modified proto
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@443 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 11:59:24 +00:00
Daniel Stenberg
a68445f2b0 Changed how indices are read from a playlist. We just can't read the full
file into memory first, and then scan for newlines. The file might be very
big. This version instead scans through the file. This could probably be
further improved too, to not use this read-single-bytes approach.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@442 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 11:59:14 +00:00
Daniel Stenberg
03b78866f1 using the new randomiser, this is_unused_random_in_list() function is not
used anymore


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@441 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 11:22:32 +00:00
Daniel Stenberg
09552db910 removed DOS newlines, made it use a static seed for better tests
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@440 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 11:18:03 +00:00
Daniel Stenberg
6e2a24889d randomise_playlist() takes a seed argument now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@439 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 11:17:31 +00:00
Daniel Stenberg
7a186cb598 adjusted to the differend LCDs and for no LCD at all... :-)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@438 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 11:17:10 +00:00
Daniel Stenberg
19b25e9dd6 Improved the randomise playlist function pretty major. This one will run
a lot faster. Also made the function accept a seed number as a function
argument, as we are likely to want to randomise using a known seed very
many times...


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@437 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 11:16:32 +00:00
Daniel Stenberg
cd96302418 builds wavey's playlist test harness on Linux/unix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@436 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 11:14:58 +00:00
Daniel Stenberg
c484ae4494 builds with Player LCD too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@435 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 10:45:50 +00:00
Daniel Stenberg
08e2b4917b remove printf()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@434 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 10:34:16 +00:00
Daniel Stenberg
5adb05fff5 void functions don't return values...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@433 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 10:33:41 +00:00
Daniel Stenberg
83e92b86fc minor protection to not re-define O_RDONLY if it is already defined
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@432 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 10:32:59 +00:00
Daniel Stenberg
0343834852 include file.h (important for the x11 sim to work) and types.h (as that
already has a bool type and TRUE/FALSE defines). Also now includes its
own new id3.h for the struct definition.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@431 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 10:32:20 +00:00
Daniel Stenberg
fa1bce237a proto and struct for id3-info
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@430 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 10:31:21 +00:00
Daniel Stenberg
df700fd007 use the menu function pointers properly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@429 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 10:30:41 +00:00
Daniel Stenberg
1cc447afe6 Play a tune. Uses the id3-info now and display it on screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@428 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 10:30:17 +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
bd16e2fa94 Use the defines, we can't assume a particular LCD or keypad.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@424 a1c6a512-1295-4272-9138-f99709370657
2002-05-04 12:27:18 +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
c8b6119b38 Added weird circumvention macros for SIMULATOR builds. When we build a
charcell LCD simulator, we keep the bitmap LCD functions too, as we use
the bitmap functionality to put characters on screen. But since the charcell
LCD api and the bitmap LCD api use the same function names for a few
functions, we include redef and undef files to fix that...


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@419 a1c6a512-1295-4272-9138-f99709370657
2002-05-04 12:19:36 +00:00
Daniel Stenberg
9b79d0b966 get the chartables even for non-bitmap displays when we simulate
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@418 a1c6a512-1295-4272-9138-f99709370657
2002-05-04 12:13:58 +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
225f620ac9 Removed #defines
Added structs, function pointers and enum of menu items.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@416 a1c6a512-1295-4272-9138-f99709370657
2002-05-04 10:03:41 +00:00
Robert Hak
523f228bbe Added browse_root(void)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@415 a1c6a512-1295-4272-9138-f99709370657
2002-05-04 10:02:50 +00:00