Commit graph

138 commits

Author SHA1 Message Date
Björn Stenberg
eebd237d46 Fat32 test code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2669 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 14:36:52 +00:00
Björn Stenberg
e46af01bc4 Storing the latest fat32 test code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1624 a1c6a512-1295-4272-9138-f99709370657
2002-08-08 20:32:09 +00:00
Linus Nielsen Feltzing
2611efd729 Now uses librockbox.a
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@611 a1c6a512-1295-4272-9138-f99709370657
2002-05-17 08:07:23 +00:00
Linus Nielsen Feltzing
2f54401455 Added tone and volume control
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@605 a1c6a512-1295-4272-9138-f99709370657
2002-05-16 21:11:21 +00:00
Linus Nielsen Feltzing
97531e8f6c Added dac.o
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@603 a1c6a512-1295-4272-9138-f99709370657
2002-05-16 21:00:41 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
46f5461ac7 Early MP3 playing test
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@394 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 23:02:36 +00:00
Linus Nielsen Feltzing
1e54ea855d Just to create a C array with mp3 data
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@392 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 22:58:12 +00:00
Linus Nielsen Feltzing
8307cfd1c1 New sprintf.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@386 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 21:23:04 +00:00
Linus Nielsen Feltzing
9376d05a3b Added DEBUG macro. Now uses our own sprintf.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@385 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 21:20:05 +00:00
Felix Arends
488bf3ed54 win32 simulator compability
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@354 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 09:23:45 +00:00
Stuart Martin
335ae5578a added -DCRT_DISPLAY
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@348 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 20:20:21 +00:00
Stuart Martin
db64fa259b desc & qs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@344 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 19:35:33 +00:00
Stuart Martin
74e720c564 win32 makefile for harness
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@343 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 19:34:31 +00:00
Stuart Martin
81f574578d test harness for playlists & settings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@342 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 19:33:40 +00:00
Daniel Stenberg
4b2efbaf03 define SIMULATOR too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@324 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 12:42:08 +00:00
Linus Nielsen Feltzing
c5ac54877a Added code for testing queues
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@317 a1c6a512-1295-4272-9138-f99709370657
2002-04-29 14:28:37 +00:00
Linus Nielsen Feltzing
f95908c0a4 Added led.o
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@308 a1c6a512-1295-4272-9138-f99709370657
2002-04-28 21:38:48 +00:00
Björn Stenberg
9a3c16dea8 Added 'type' to test fat_read()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@270 a1c6a512-1295-4272-9138-f99709370657
2002-04-27 19:39:08 +00:00
Björn Stenberg
ccd3d0a6eb Kept only fat32 code. Changed to 16-byte/row display.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@255 a1c6a512-1295-4272-9138-f99709370657
2002-04-27 01:17:49 +00:00
Björn Stenberg
1dff4b65f7 FAT update
Added fat test code


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@254 a1c6a512-1295-4272-9138-f99709370657
2002-04-26 16:44:58 +00:00
Daniel Stenberg
31c271ff63 stricter compiler checks to warn more
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@249 a1c6a512-1295-4272-9138-f99709370657
2002-04-26 08:57:13 +00:00
Alan Korr
4fbea7cf8b memory stuff
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@235 a1c6a512-1295-4272-9138-f99709370657
2002-04-25 14:42:42 +00:00
Linus Nielsen Feltzing
9c1299c9c1 Working sleep() functionality
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@232 a1c6a512-1295-4272-9138-f99709370657
2002-04-25 13:30:41 +00:00
Linus Nielsen Feltzing
7b9581a131 Not yet working
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@220 a1c6a512-1295-4272-9138-f99709370657
2002-04-25 00:15:04 +00:00
Linus Nielsen Feltzing
99406a6635 Tick timer additions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@219 a1c6a512-1295-4272-9138-f99709370657
2002-04-24 22:46:02 +00:00
Linus Nielsen Feltzing
17ad789742 Moved crt0.S to the firmware directory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@218 a1c6a512-1295-4272-9138-f99709370657
2002-04-24 22:00:37 +00:00
Linus Nielsen Feltzing
9dc1faf55a Changed start address. Fixed the memory map
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@205 a1c6a512-1295-4272-9138-f99709370657
2002-04-23 22:11:50 +00:00
Linus Nielsen Feltzing
3236c3581b -fomit-frame-pointer kills gdb stack trace, so I removed it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@203 a1c6a512-1295-4272-9138-f99709370657
2002-04-23 21:43:14 +00:00
Linus Nielsen Feltzing
7fa8c949ad Adapted to the new directory structure
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@198 a1c6a512-1295-4272-9138-f99709370657
2002-04-23 13:24:33 +00:00
Linus Nielsen Feltzing
d851644fed Adapted to the new directory structure
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@197 a1c6a512-1295-4272-9138-f99709370657
2002-04-23 13:15:40 +00:00
Daniel Stenberg
e7cc45929a run make here to build a unix tool for checking id3 tags
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@184 a1c6a512-1295-4272-9138-f99709370657
2002-04-23 08:41:37 +00:00
Linus Nielsen Feltzing
6bc2710c30 Further gcc option tweaking
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@177 a1c6a512-1295-4272-9138-f99709370657
2002-04-22 20:52:36 +00:00
Linus Nielsen Feltzing
fe1b7cfd91 Must optimize to inline functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@176 a1c6a512-1295-4272-9138-f99709370657
2002-04-22 20:21:40 +00:00
Linus Nielsen Feltzing
1f563bfd29 First version
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@175 a1c6a512-1295-4272-9138-f99709370657
2002-04-22 19:12:37 +00:00
Linus Nielsen Feltzing
04e315e84e Removed strlen()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@173 a1c6a512-1295-4272-9138-f99709370657
2002-04-22 12:53:57 +00:00
Linus Nielsen Feltzing
7503957187 Removed lcd.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@169 a1c6a512-1295-4272-9138-f99709370657
2002-04-22 11:54:50 +00:00
Alan Korr
b7cf0602fd removing all that stuff permanently.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@159 a1c6a512-1295-4272-9138-f99709370657
2002-04-21 12:21:14 +00:00
Linus Nielsen Feltzing
257d17da6d First version
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@158 a1c6a512-1295-4272-9138-f99709370657
2002-04-20 23:18:14 +00:00
Alan Korr
6dd637f44c adding files... nothin working... a lot of thing missing
not speaking about possible drastic changes...


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@144 a1c6a512-1295-4272-9138-f99709370657
2002-04-19 12:16:19 +00:00
Alan Korr
1caca5f585 small explanation of algorithm used for memory-page.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@129 a1c6a512-1295-4272-9138-f99709370657
2002-04-17 17:01:55 +00:00
Alan Korr
98d5df6fa7 I hope it is the last one i commit them
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@128 a1c6a512-1295-4272-9138-f99709370657
2002-04-17 15:16:59 +00:00
Alan Korr
a95347a3f9 some fixes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@127 a1c6a512-1295-4272-9138-f99709370657
2002-04-17 15:11:03 +00:00
Alan Korr
c25510f944 Now memory-page and memory-misc compile fine (others are in stage-development)
Conventions :
* Public headers :
    memory.h,config.h,defines.h,inlines.h,types.h,functions.h

* Private headers :
    memory-page.h,memory-slab.h (here you can find
    prototypes functions or structures we want to share
    only between memory-page.c, memory-slab.c,
    memory-block.c, memory-misc.c).

* Public or private codes in :
    memory-page.c,memory-slab.c,memory-block.c,memory-misc.c


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@126 a1c6a512-1295-4272-9138-f99709370657
2002-04-17 15:00:28 +00:00
Alan Korr
454be44f8d fix bugs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@125 a1c6a512-1295-4272-9138-f99709370657
2002-04-17 14:32:37 +00:00
Stuart Martin
2772553f97 my info
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@124 a1c6a512-1295-4272-9138-f99709370657
2002-04-17 14:17:05 +00:00
Stuart Martin
79aaf2ffde relocating to firmware/test/wavey/wavey.txt
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@123 a1c6a512-1295-4272-9138-f99709370657
2002-04-17 14:14:57 +00:00
Stuart Martin
423b38b193 testing commit with ssh key4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@122 a1c6a512-1295-4272-9138-f99709370657
2002-04-17 13:59:20 +00:00
Björn Stenberg
5254710e63 Fixed Id: lines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@120 a1c6a512-1295-4272-9138-f99709370657
2002-04-17 13:36:07 +00:00
Alan Korr
e0ae9dc008 Please don't try to compile them... they need to be fixed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@118 a1c6a512-1295-4272-9138-f99709370657
2002-04-17 13:01:09 +00:00
Alan Korr
8a42139091 grrr... now it should compile all files $(PACKAGE)-*.c found in the directory $(PACKAGE)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@117 a1c6a512-1295-4272-9138-f99709370657
2002-04-17 12:53:30 +00:00
Alan Korr
45bde1f7fc now only one .c file is compiled : $(PACKAGE).c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@115 a1c6a512-1295-4272-9138-f99709370657
2002-04-17 12:23:13 +00:00
Alan Korr
50698f98c7 remove it since all code is now in a .h file of the same filename
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@114 a1c6a512-1295-4272-9138-f99709370657
2002-04-17 12:21:19 +00:00
Alan Korr
0256fdf30b cosmetic changes and additions :
* now we have seperate private headers files
  containing private and static or public functions
  in memory-* files.
* there is only one .c file of the same name the library.

Zagor: because now there is only one .c file, you could only have a .o file and use it instead of the .a libfile.

* most structures and codes are now private.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@113 a1c6a512-1295-4272-9138-f99709370657
2002-04-17 12:20:41 +00:00
Alan Korr
08dada2df5 cosmetic changes and additions :
* now we have seperate private headers files
  containing private and static or public functions
  in memory-* files.
* there is only one .c file of the same name the library.

Zagor: because now there is only one .c file, you could only have a .o file and use it instead of the .a libfile.

* most structures and codes are now private.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@112 a1c6a512-1295-4272-9138-f99709370657
2002-04-17 12:13:43 +00:00
Stuart Martin
87789d7154 testing commit with ssh key3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@111 a1c6a512-1295-4272-9138-f99709370657
2002-04-17 09:58:23 +00:00
Stuart Martin
9262193af5 testing commit with ssh key
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@110 a1c6a512-1295-4272-9138-f99709370657
2002-04-17 09:40:09 +00:00
Stuart Martin
8e1bb808e3 testing add
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@109 a1c6a512-1295-4272-9138-f99709370657
2002-04-17 08:06:43 +00:00
Alan Korr
41e6d5f98a module fat and templates : just added templates files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@108 a1c6a512-1295-4272-9138-f99709370657
2002-04-16 18:49:03 +00:00
Alan Korr
7dc59cffd5 module fat and templates : just added templates files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@107 a1c6a512-1295-4272-9138-f99709370657
2002-04-16 18:40:43 +00:00
Alan Korr
223884c4e5 There is two part in this module :
* memory-page :
    It is a page allocator using bins. Each bin is a list (or a splay tree)
    of the same power-of-2 pages. If no page left in a bin, it tries to
    allocate a large page to split into two pages. Page size are :
    512 B, 1 KB, 2 KB, 4 KB, 8 KB, 16 KB, 32 KB, 64 KB, 128 KB,
    256 KB, 512 KB, 1 MB and 2 MB. Alignment of a page is the same
    value than for its size.

* memory-slab :
    using slab for smaller blocks, but much simpler than Linux' slab.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@106 a1c6a512-1295-4272-9138-f99709370657
2002-04-16 18:37:44 +00:00
Alan Korr
464a26d891 Ok, I move all what is common in 'test' directory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@105 a1c6a512-1295-4272-9138-f99709370657
2002-04-16 18:21:06 +00:00
Alan Korr
27df7b0b96 *** empty log message ***
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@98 a1c6a512-1295-4272-9138-f99709370657
2002-04-15 23:19:10 +00:00