Commit graph

430 commits

Author SHA1 Message Date
Björn Stenberg
ffb6a9db8e Added NULL, MIN and MAX
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@694 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 12:21:51 +00:00
Björn Stenberg
a95d956316 Disable USB before enabling ATA
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@692 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 11:32:53 +00:00
Björn Stenberg
a97c4419ed Fixed wrong reset pin. Removed unnecessary reset from init.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@691 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 11:25:24 +00:00
Björn Stenberg
a7b8b00fd4 strtok:ing a copy of the parameter instead
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@687 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 09:57:33 +00:00
Daniel Stenberg
f6a09c67c7 corrected clean target
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@685 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 09:33:03 +00:00
Daniel Stenberg
1eea4a5ade lcd_update() is a function for bitmap LCD targets too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@683 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 09:03:08 +00:00
Daniel Stenberg
96a10e22af do the lcd_puts() properly for the recorder too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@682 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 09:02:35 +00:00
Daniel Stenberg
18663e0fd1 more data needed by the Recorder build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@679 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 08:49:55 +00:00
Daniel Stenberg
47a6f6c655 building instructions as was just posted to the mailing list
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@675 a1c6a512-1295-4272-9138-f99709370657
2002-05-23 15:00:44 +00:00
Daniel Stenberg
e2511dad8f take care of the assembler file too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@669 a1c6a512-1295-4272-9138-f99709370657
2002-05-23 12:44:41 +00:00
Daniel Stenberg
dcf0e2f0c2 another attempt
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@668 a1c6a512-1295-4272-9138-f99709370657
2002-05-23 12:35:10 +00:00
Daniel Stenberg
3ff705ae17 now supports the deps in the OBJDIR properly, still OBJDIR must be . for
this to work


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@667 a1c6a512-1295-4272-9138-f99709370657
2002-05-23 12:25:52 +00:00
Daniel Stenberg
ed83f28e93 deps support, changed default action to support OBJDIR
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@665 a1c6a512-1295-4272-9138-f99709370657
2002-05-23 12:00:50 +00:00
Björn Stenberg
7a112a7204 Added repeat handling. Removed CRLF newlines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@664 a1c6a512-1295-4272-9138-f99709370657
2002-05-23 11:59:30 +00:00
Daniel Stenberg
4118d8c031 attempted OBJDIR support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@663 a1c6a512-1295-4272-9138-f99709370657
2002-05-23 11:46:15 +00:00
Björn Stenberg
2549234bd7 Added timer-interrupt polling and button queue
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@659 a1c6a512-1295-4272-9138-f99709370657
2002-05-23 09:26:20 +00:00
Björn Stenberg
29f80283e9 Added queue_empty()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@658 a1c6a512-1295-4272-9138-f99709370657
2002-05-23 09:22:07 +00:00
Björn Stenberg
5c7847c501 Check for master/slave disk. Active 5s spindown timeout.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@655 a1c6a512-1295-4272-9138-f99709370657
2002-05-22 14:37:36 +00:00
Robert Hak
5d8e4c2156 trying to clean up Recorder vs Player issues
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@640 a1c6a512-1295-4272-9138-f99709370657
2002-05-21 08:50:46 +00:00
Björn Stenberg
2571912b35 Added dummy lcd_update() to player code, to avoid #ifdef everywhere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@634 a1c6a512-1295-4272-9138-f99709370657
2002-05-20 21:30:26 +00:00
Björn Stenberg
d92997194e Added INPUT directive
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@633 a1c6a512-1295-4272-9138-f99709370657
2002-05-20 19:52:21 +00:00
Björn Stenberg
f1afb84f9d Added gdb stub serial port setup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@625 a1c6a512-1295-4272-9138-f99709370657
2002-05-17 19:48:27 +00:00
Björn Stenberg
833556c2e7 Doh! Button signals are active low
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@624 a1c6a512-1295-4272-9138-f99709370657
2002-05-17 19:23:04 +00:00
Björn Stenberg
af1e5e6926 Linker description file for use with gdb stub
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@623 a1c6a512-1295-4272-9138-f99709370657
2002-05-17 19:05:00 +00:00
Björn Stenberg
473fe888d4 Removed -save-temps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@621 a1c6a512-1295-4272-9138-f99709370657
2002-05-17 17:06:02 +00:00
Linus Nielsen Feltzing
470478f0e6 Always optimize. No EXCLUDED_SRC anymore
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@613 a1c6a512-1295-4272-9138-f99709370657
2002-05-17 09:28:07 +00:00
Björn Stenberg
72c8e71c21 Removed floating point code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@612 a1c6a512-1295-4272-9138-f99709370657
2002-05-17 08:42:45 +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
82b08d0bdb Added DEBUG option and made thread.o special
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@610 a1c6a512-1295-4272-9138-f99709370657
2002-05-17 07:52:28 +00:00
Linus Nielsen Feltzing
afd30bb4cd More readable comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@609 a1c6a512-1295-4272-9138-f99709370657
2002-05-16 21:32:04 +00:00
Linus Nielsen Feltzing
3922466486 Added mutex protection
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@608 a1c6a512-1295-4272-9138-f99709370657
2002-05-16 21:28:21 +00:00
Linus Nielsen Feltzing
250c3b65df Now yields when waiting for flow control
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@607 a1c6a512-1295-4272-9138-f99709370657
2002-05-16 21:20:52 +00:00
Linus Nielsen Feltzing
0e085999d5 Changed default_read prototype
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@606 a1c6a512-1295-4272-9138-f99709370657
2002-05-16 21:12:57 +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
a2b0490060 First version
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@604 a1c6a512-1295-4272-9138-f99709370657
2002-05-16 21:03:57 +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
Linus Nielsen Feltzing
29b6b51c5e Removed debug output
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@602 a1c6a512-1295-4272-9138-f99709370657
2002-05-16 20:58:47 +00:00
Linus Nielsen Feltzing
7361340ab5 Changed queue API. Added mutex functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@601 a1c6a512-1295-4272-9138-f99709370657
2002-05-16 20:57:32 +00:00
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
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
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
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
Robert Hak
1118c88639 lcd_drawrect added
I was tired of calling lcd_drawline 4 times on my own.  This acts
as a wrapper around that.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@399 a1c6a512-1295-4272-9138-f99709370657
2002-05-03 06:23:30 +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
611a7c55e2 Added mas_run function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@393 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 23:01:10 +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
Björn Stenberg
697dd70ac4 Changed debug to DEBUGF and panic to panicf.
Also some linking changes.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@383 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 14:05:51 +00:00
Björn Stenberg
07b5ada0c6 Revert last change
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@381 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 12:19:41 +00:00
Björn Stenberg
1244dd7d18 Added support for %%
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@380 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 12:16:51 +00:00
Björn Stenberg
824a003052 Added Gary's snprintf() and changed all places to use it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@379 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 11:44:15 +00:00
Björn Stenberg
a98b20e22a Added flags
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@378 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 11:04:30 +00:00
Robert Hak
8488530f0f Count me too... count me
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@377 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 10:31:34 +00:00
Daniel Stenberg
72aa3cfb02 Reverted the 1.10 and 1.11 changes, as they don't work.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@376 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 10:06:45 +00:00
Björn Stenberg
fc292180e9 I write code too... :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@375 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 08:15:34 +00:00
Felix Arends
fea4cfa41a fixed lcd_bitmap, again. Works for y%8 != 0 as well now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@374 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 17:05:55 +00:00