Commit graph

448 commits

Author SHA1 Message Date
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
Robert Hak
dbf60ee358 created
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@414 a1c6a512-1295-4272-9138-f99709370657
2002-05-04 10:01:34 +00:00
Robert Hak
a5e942f64d add reference to its header
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@413 a1c6a512-1295-4272-9138-f99709370657
2002-05-04 10:00:47 +00:00
Björn Stenberg
4d4ec3aa0b Added opendir, closedir and readdir
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@412 a1c6a512-1295-4272-9138-f99709370657
2002-05-03 15:36:52 +00:00
Björn Stenberg
924164e6a7 Changed to global 'bpb' struct
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@411 a1c6a512-1295-4272-9138-f99709370657
2002-05-03 15:35:51 +00:00
Linus Nielsen Feltzing
3b3e7bd8af First sound check
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@410 a1c6a512-1295-4272-9138-f99709370657
2002-05-03 13:13:54 +00:00
Linus Nielsen Feltzing
1ba5d1f6b6 Doubled the buffer size
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@409 a1c6a512-1295-4272-9138-f99709370657
2002-05-03 13:13:21 +00:00
Linus Nielsen Feltzing
0bd77a6a80 Added a few functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@408 a1c6a512-1295-4272-9138-f99709370657
2002-05-03 13:12:21 +00:00
Björn Stenberg
f7f576f6c7 Updates
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@407 a1c6a512-1295-4272-9138-f99709370657
2002-05-03 13:07:36 +00:00
Björn Stenberg
e66dbaddba Moved MAS to status GREEN
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@406 a1c6a512-1295-4272-9138-f99709370657
2002-05-03 12:32:31 +00:00
Björn Stenberg
c7f7934e8f Added disk/partition handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@405 a1c6a512-1295-4272-9138-f99709370657
2002-05-03 11:59:53 +00:00
Linus Nielsen Feltzing
86a59ecdf6 Added port B findings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@404 a1c6a512-1295-4272-9138-f99709370657
2002-05-03 08:29:15 +00:00