Daniel Stenberg
d902f94313
DEBUG => DEBUG_MALLOC, the symbol is already in use!
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@596 a1c6a512-1295-4272-9138-f99709370657
2002-05-16 14:16:48 +00:00
Daniel Stenberg
a1d678444c
bmalloc_status() only works if compiled with DEBUG
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@595 a1c6a512-1295-4272-9138-f99709370657
2002-05-16 14:14:29 +00:00
Daniel Stenberg
3eec33f9c6
renamed to use the common names: malloc/free/realloc/calloc
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@594 a1c6a512-1295-4272-9138-f99709370657
2002-05-16 14:10:28 +00:00
Björn Stenberg
48b3f5157a
Removed disk.c/h
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@578 a1c6a512-1295-4272-9138-f99709370657
2002-05-14 13:46:42 +00:00
Björn Stenberg
20dab8c59c
Now creates librockbox.a instead of archos.mod
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@577 a1c6a512-1295-4272-9138-f99709370657
2002-05-14 13:45:58 +00:00
Björn Stenberg
e6564e2005
Changed from gcc extension to C99 varargs macros
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@576 a1c6a512-1295-4272-9138-f99709370657
2002-05-14 13:16:28 +00:00
Daniel Stenberg
28bdaca814
fixed warnings, indented properly
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@575 a1c6a512-1295-4272-9138-f99709370657
2002-05-14 12:34:42 +00:00
Björn Stenberg
e5992829d7
Fixed compiler warnings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@574 a1c6a512-1295-4272-9138-f99709370657
2002-05-14 12:28:48 +00:00
Björn Stenberg
d71a2bceeb
Removed calls to disk stub
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@573 a1c6a512-1295-4272-9138-f99709370657
2002-05-14 12:17:49 +00:00
Daniel Stenberg
f143fd8e36
Moved the malloc system into the firmware/malloc/ directory, removed the
...
implementation files from the test/malloc/ directory, leaving only test
files there.
Added headers, corrected a few minor documenational errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@571 a1c6a512-1295-4272-9138-f99709370657
2002-05-14 08:19:57 +00:00
Linus Nielsen Feltzing
bbdeba6d8c
Beginning of an mpeg thread
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@570 a1c6a512-1295-4272-9138-f99709370657
2002-05-13 22:44:07 +00:00
Daniel Stenberg
1dd21edacf
malloc(), best-fit for big blocks, small blocks treated separately, all
...
details in THOUGHTS. No headers and stuff added yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@569 a1c6a512-1295-4272-9138-f99709370657
2002-05-13 19:35:10 +00:00
Linus Nielsen Feltzing
e14e13df5c
C99 booleans
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@568 a1c6a512-1295-4272-9138-f99709370657
2002-05-13 19:22:38 +00:00
Björn Stenberg
8554604298
Added bool font coloring
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@565 a1c6a512-1295-4272-9138-f99709370657
2002-05-13 13:15:38 +00:00
Björn Stenberg
a2bdcefd38
Updated LCD API
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@563 a1c6a512-1295-4272-9138-f99709370657
2002-05-13 13:06:03 +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
Björn Stenberg
2382044ffc
Changing to C99 'bool' type
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@561 a1c6a512-1295-4272-9138-f99709370657
2002-05-13 12:29:34 +00:00
Dave Chapman
a1302f26db
save mpeg layer and version information
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@557 a1c6a512-1295-4272-9138-f99709370657
2002-05-12 14:28:51 +00:00
Linus Nielsen Feltzing
b133675d3e
Cleaned up a bit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@547 a1c6a512-1295-4272-9138-f99709370657
2002-05-11 21:56:33 +00:00
Linus Nielsen Feltzing
f70f06cc6b
GRA1 was wrongly defined
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@546 a1c6a512-1295-4272-9138-f99709370657
2002-05-11 21:48:03 +00:00
Linus Nielsen Feltzing
e48a45a11a
The set_irq_level function was braindead
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@545 a1c6a512-1295-4272-9138-f99709370657
2002-05-11 21:44:04 +00:00
Linus Nielsen Feltzing
bb69a59a97
Playing whole song from hard disk
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@544 a1c6a512-1295-4272-9138-f99709370657
2002-05-11 21:39:57 +00:00
Björn Stenberg
71cda11e65
Changed puts() to take 'character position'
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@540 a1c6a512-1295-4272-9138-f99709370657
2002-05-10 14:54:56 +00:00
Linus Nielsen Feltzing
564bb3edb0
Removed a few annoying debugf calls
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@534 a1c6a512-1295-4272-9138-f99709370657
2002-05-09 23:11:44 +00:00
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
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
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
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
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