Commit graph

28528 commits

Author SHA1 Message Date
Linus Nielsen Feltzing
b74664f066 Now loads a megabyte and plays it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@533 a1c6a512-1295-4272-9138-f99709370657
2002-05-09 23:10:55 +00:00
Linus Nielsen Feltzing
2990ed250c Now loads a song from disk and plays the first part of it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@532 a1c6a512-1295-4272-9138-f99709370657
2002-05-09 23:03:36 +00:00
Linus Nielsen Feltzing
c5886cb4cd Added disk reading code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@531 a1c6a512-1295-4272-9138-f99709370657
2002-05-09 23:02:50 +00:00
Linus Nielsen Feltzing
03c12855ef Made it malloc friendly, and fixed the bss section
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@530 a1c6a512-1295-4272-9138-f99709370657
2002-05-09 23:02:11 +00:00
Linus Nielsen Feltzing
18826d2c83 SWAB32 is finally working
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@529 a1c6a512-1295-4272-9138-f99709370657
2002-05-09 23:00:14 +00:00
Linus Nielsen Feltzing
01ede91cbe Removed a few debugf calls
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@528 a1c6a512-1295-4272-9138-f99709370657
2002-05-09 22:58:54 +00:00
Linus Nielsen Feltzing
8083e7a227 get_next_cluster forgot to byteswap the FAT entry, among others
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@527 a1c6a512-1295-4272-9138-f99709370657
2002-05-09 22:57:54 +00:00
Linus Nielsen Feltzing
114fce01dd New cache algorithm
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@526 a1c6a512-1295-4272-9138-f99709370657
2002-05-09 21:27:49 +00:00
Linus Nielsen Feltzing
063a85c66f More newlib malloc friendly. Proper bss section allocation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@525 a1c6a512-1295-4272-9138-f99709370657
2002-05-09 21:08:17 +00:00
Robert Hak
2e2f938a3a Im stupid
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@524 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 23:38:35 +00:00
Robert Hak
b4d8ab6879 *** empty log message ***
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@523 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 23:34:55 +00:00
Robert Hak
c123fde97c Minor rewording of questions 17/18
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@522 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 23:31:12 +00:00
Linus Nielsen Feltzing
b7104fcd48 Made set_irq_level() and queue_post() interrupt safe
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@521 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 22:07:41 +00:00
Björn Stenberg
bd262a5dbe Removed include fcntl.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@520 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 15:36:18 +00:00
Björn Stenberg
412917e1b6 Added comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@519 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 15:27:21 +00:00
Björn Stenberg
1c3217909b Added lseek()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@518 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 15:16:02 +00:00
Björn Stenberg
6a63f911fe Updates
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@517 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 14:08:46 +00:00
Björn Stenberg
b42773a494 Added 'apps'
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@516 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 13:38:51 +00:00
Daniel Stenberg
cd2e5dd915 Added Stefan Meyer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@515 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 12:46:13 +00:00
Björn Stenberg
49b4488d8a Added 'type' testcase for open/read/close
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@514 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 12:13:47 +00:00
Björn Stenberg
073ce1aab3 Fixed read() for sub-sector requests
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@513 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 12:10:30 +00:00
Björn Stenberg
7dd442b7c3 Fixed EOF handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@512 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 12:02:42 +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
Stefan Meyer
81948a5994 add "icons.c" to the project
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@510 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 10:49:48 +00:00
Linus Nielsen Feltzing
48d38d918f sleep() always sleeps at least one tick
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@509 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 08:41:19 +00:00
Linus Nielsen Feltzing
b900a83046 Fixed lame timeout handling and wrong return codes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@508 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 08:27:44 +00:00
Robert Hak
3d05c6301a creation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@507 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 08:26:59 +00:00
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
Robert Hak
d22a3fb11b added externs from icon.[ch]
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@505 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 08:22: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
Stefan Meyer
bdc3ff0b08 add attribute and size to readdir
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@503 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 07:06: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
Daniel Stenberg
4674e87017 my little icons in front of the files/dirs to show what kind of entry it
is, similar to how the Archos firmware works


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@500 a1c6a512-1295-4272-9138-f99709370657
2002-05-07 22:56:01 +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
Björn Stenberg
3af5a61230 rolo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@496 a1c6a512-1295-4272-9138-f99709370657
2002-05-07 12:48:43 +00:00
Björn Stenberg
96947e3fb8 Fixed makefiles
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@495 a1c6a512-1295-4272-9138-f99709370657
2002-05-07 12:43:31 +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
8ae29ff4b2 is_dir() is removed, we now read the 'attribute' field from the dirent
struct. This is supposed to work with the X11 simulator as of now, and I
trust that the win32 one will grok this pretty soon too!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@491 a1c6a512-1295-4272-9138-f99709370657
2002-05-07 11:46:37 +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
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
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
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