Commit graph

249 commits

Author SHA1 Message Date
Linus Nielsen Feltzing
3fd7fe9bb2 Fixed some debug output
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@506 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 08:26:38 +00:00
Daniel Stenberg
af5c607832 uninitialised variable and better return code check
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@504 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 07:10:16 +00:00
Linus Nielsen Feltzing
9566349db6 tick_start() now uses HZ
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@502 a1c6a512-1295-4272-9138-f99709370657
2002-05-07 23:01:42 +00:00
Linus Nielsen Feltzing
dc4977d98c Killed a few bugs. Tested in target. Works fairly good.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@501 a1c6a512-1295-4272-9138-f99709370657
2002-05-07 22:59:03 +00:00
Björn Stenberg
802740cd88 Create correct shortnames
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@499 a1c6a512-1295-4272-9138-f99709370657
2002-05-07 18:56:32 +00:00
Björn Stenberg
4bd870360a Added open/close/read. read() only works on whole sectors right now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@498 a1c6a512-1295-4272-9138-f99709370657
2002-05-07 16:01:53 +00:00
Björn Stenberg
44b1a21f17 Removed stray bad char
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@497 a1c6a512-1295-4272-9138-f99709370657
2002-05-07 13:13:17 +00:00
Daniel Stenberg
dd67452f89 if DIRFUNCTIONS_DEFINED is defined, then don't do the function prototypes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@489 a1c6a512-1295-4272-9138-f99709370657
2002-05-07 11:36:32 +00:00
Daniel Stenberg
276f62bc6e load rockbox-mode in emacs!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@487 a1c6a512-1295-4272-9138-f99709370657
2002-05-07 07:43:57 +00:00
Daniel Stenberg
a037f0c226 strtok_r() freshly implemented by yours truly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@486 a1c6a512-1295-4272-9138-f99709370657
2002-05-07 07:42:30 +00:00
Linus Nielsen Feltzing
5993f56007 Minor commenting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@485 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 22:16:31 +00:00
Linus Nielsen Feltzing
ba396f0ed2 Added some prototypes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@484 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 19:26:56 +00:00
Linus Nielsen Feltzing
dba731f4b5 Serial DMA works
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@483 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 19:25:40 +00:00
Dave Chapman
ca532502bd fixed buffer overflow in setid3v1title
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@479 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 15:21:43 +00:00
Björn Stenberg
6904d1ad5c Added note about strtok() not being thread safe
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@478 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 15:05:17 +00:00
Björn Stenberg
27a153e421 Added atributes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@477 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 14:19:10 +00:00
Björn Stenberg
40b1f4f0ec Fixed dir parsing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@476 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 14:16:20 +00:00
Daniel Stenberg
697485ef6a compile as SIMULATOR
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@475 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 11:26:35 +00:00
Daniel Stenberg
c84439aec3 make debugf() do properly when SIMULATOR is defined, ignore the CRT_DISPLAY
and use the symbol we'll always have defined when running on host


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@474 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 11:25:44 +00:00
Stefan Meyer
6c25733946 missing #define for VC++
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@471 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 11:12:07 +00:00
Robert Hak
1bd3bc2ed5 Grammer corrections
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@468 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 09:02:19 +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
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
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
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
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
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