Commit graph

797 commits

Author SHA1 Message Date
Linus Nielsen Feltzing
8007828d71 Added backlight control
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1154 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 13:50:39 +00:00
Linus Nielsen Feltzing
ef444001df Set backlight to 5s
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1153 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 13:49:34 +00:00
Linus Nielsen Feltzing
2a4de23b5f First version
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1152 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 13:48:42 +00:00
Linus Nielsen Feltzing
740eb36c10 Added first RTC functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1151 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 13:23:01 +00:00
Linus Nielsen Feltzing
c7fee9bcb2 Added #define ID3_H
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1150 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 13:01:27 +00:00
Linus Nielsen Feltzing
bdeed1ae62 Removed dac_volume
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1149 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 12:38:09 +00:00
Linus Nielsen Feltzing
985c86108e mas_devread is now static
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1148 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 12:36:42 +00:00
Linus Nielsen Feltzing
e1cb054fa0 Now uses i2c_begin/end
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1147 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 12:35:37 +00:00
Felix Arends
b38c2d996d Exception handler clears and updates the screen now (so one can read the error message)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1146 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 11:35:13 +00:00
Linus Nielsen Feltzing
b922a96ae3 Added functions for exclusive I2C access
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1144 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 10:34:24 +00:00
Daniel Stenberg
01a264fb83 fixed a missing unsigned
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1140 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 08:10:13 +00:00
Daniel Stenberg
28e1d414b1 strings should be 'unsigned char *' or we will get problemos
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1139 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 07:57:44 +00:00
Linus Nielsen Feltzing
79e72318c2 1 byte reads past a sector boundary failed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1138 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 07:46:19 +00:00
Daniel Stenberg
c66efb702e more proportional font fixes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1137 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 07:38:27 +00:00
Daniel Stenberg
4acb1a3083 several charset fixes for the proportional font
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1136 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 07:37:58 +00:00
Daniel Stenberg
94f0b55c64 the scroll loop could end up scrolling forever!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1135 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 06:55:20 +00:00
Daniel Stenberg
848c2cd733 slightly improved fix for proportional font scrolling, but it still isn't
really as good as it should be


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1134 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 06:41:19 +00:00
Daniel Stenberg
c5ddb150d9 made the putspropxy() use the exetended charset Magnus has made, forgot
to change this last week


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1133 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 05:59:31 +00:00
Felix Arends
7ce440a166 fixed the horizontal scroll graphics error
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1132 a1c6a512-1295-4272-9138-f99709370657
2002-06-21 13:06:28 +00:00
Felix Arends
d3f373f7cb nx was undefined for the first execution of the while statement
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1131 a1c6a512-1295-4272-9138-f99709370657
2002-06-21 12:30:08 +00:00
Daniel Stenberg
ec613053fc synced with credits.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1128 a1c6a512-1295-4272-9138-f99709370657
2002-06-20 14:09:39 +00:00
Daniel Stenberg
714cca067d extended charset by Magnus Öman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1127 a1c6a512-1295-4272-9138-f99709370657
2002-06-20 14:06:57 +00:00
Björn Stenberg
57aa1f4de4 Clear area for proportional scroll
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1126 a1c6a512-1295-4272-9138-f99709370657
2002-06-20 12:48:24 +00:00
Daniel Stenberg
788f1ceae2 added lcd_getstringsize() within the propfonts test define
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1124 a1c6a512-1295-4272-9138-f99709370657
2002-06-20 11:30:25 +00:00
Linus Nielsen Feltzing
80ed0ce1db Now yields after MPEG_NEED_DATA
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1118 a1c6a512-1295-4272-9138-f99709370657
2002-06-20 09:18:47 +00:00
Linus Nielsen Feltzing
601924a777 Added global_settings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1116 a1c6a512-1295-4272-9138-f99709370657
2002-06-20 09:01:50 +00:00
Daniel Stenberg
9468e1b93e Magnus Oman brought a test set proportional font
#define LCD_PROPFONTS to try


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1112 a1c6a512-1295-4272-9138-f99709370657
2002-06-20 08:20:12 +00:00
Linus Nielsen Feltzing
31a5794f5f mas_run() needed some time to startup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1110 a1c6a512-1295-4272-9138-f99709370657
2002-06-20 07:33:23 +00:00
Linus Nielsen Feltzing
b73481edeb mas_writereg() was broken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1109 a1c6a512-1295-4272-9138-f99709370657
2002-06-20 05:54:02 +00:00
Björn Stenberg
702dd052ae Ignore volume ID
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1096 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 17:31:35 +00:00
Björn Stenberg
866600216e lseek() bug: It would claim cached sector even if that was not the case
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1095 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 17:01:58 +00:00
Björn Stenberg
ae6d598213 Fixed bounce bug
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1093 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 16:24:22 +00:00
Linus Nielsen Feltzing
8f8ab2759d Stupid TAB chars
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1088 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 15:17:40 +00:00
Daniel Stenberg
6cd60cc3e3 moved sounds settings to settings.h, config.h is only for including the
correct sub-config.h filea


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1086 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 14:58:35 +00:00
Björn Stenberg
258919cc55 We don't need time unless we're writing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1085 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 14:34:54 +00:00
Linus Nielsen Feltzing
01ca628f0e Increased the default volume
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1080 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 13:44:28 +00:00
Daniel Stenberg
e1bea8954b when simulating a player, move down the text 8 pixels to make room for
"icons"


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1078 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 12:59:21 +00:00
Daniel Stenberg
55fd87c8ec make the array 257 bytes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1077 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 12:51:40 +00:00
Linus Nielsen Feltzing
92eadb44c5 Killed warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1076 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 12:47:18 +00:00
Linus Nielsen Feltzing
a124e87f84 Accelerated bit swapping
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1075 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 12:44:32 +00:00
Linus Nielsen Feltzing
c57dbe78fa Added Recorder playback
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1074 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 12:08:15 +00:00
Linus Nielsen Feltzing
9c0e5d8a26 Added Recorder code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1072 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 12:03:41 +00:00
Linus Nielsen Feltzing
9d937e9c23 Recorder modifications
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1071 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 12:00:37 +00:00
Daniel Stenberg
3dc01eebb4 strcat()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1069 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 08:29:02 +00:00
Linus Nielsen Feltzing
60ed5ee4a1 MPEG_PLAY now closes mpeg_file if it is open
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1068 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 06:19:00 +00:00
Linus Nielsen Feltzing
2a72553b24 Always clear the status register (irq mask)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1067 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 06:01:06 +00:00
Linus Nielsen Feltzing
1b8bb1e05e Killed warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1066 a1c6a512-1295-4272-9138-f99709370657
2002-06-18 13:19:25 +00:00
Linus Nielsen Feltzing
a422b8381b Better ATA I/O detection
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1065 a1c6a512-1295-4272-9138-f99709370657
2002-06-18 12:53:02 +00:00
Daniel Stenberg
ac7b23f7ae removed lotsa protos and now it seems to build on sim too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1063 a1c6a512-1295-4272-9138-f99709370657
2002-06-18 11:04:22 +00:00
Daniel Stenberg
c5d24c6702 fat.c includes time.h so we need this
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1062 a1c6a512-1295-4272-9138-f99709370657
2002-06-18 09:41:28 +00:00
Björn Stenberg
d6b04045c0 Filenames are case insensitive in Fat32
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1060 a1c6a512-1295-4272-9138-f99709370657
2002-06-18 08:35:20 +00:00
Daniel Stenberg
d38ab69072 case insensitive string comparisons
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1057 a1c6a512-1295-4272-9138-f99709370657
2002-06-18 08:19:38 +00:00
Daniel Stenberg
b1fe81d8c7 abs() is abs and should work as abs when you want abs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1056 a1c6a512-1295-4272-9138-f99709370657
2002-06-18 07:08:41 +00:00
Daniel Stenberg
945a5973b5 remove bad include
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1053 a1c6a512-1295-4272-9138-f99709370657
2002-06-18 06:45:40 +00:00
Björn Stenberg
bd2d38ad00 First version
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1047 a1c6a512-1295-4272-9138-f99709370657
2002-06-17 13:54:03 +00:00
Daniel Stenberg
980359f924 fix ctype extern
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1046 a1c6a512-1295-4272-9138-f99709370657
2002-06-17 13:51:51 +00:00
Daniel Stenberg
aca6b2ef22 we need ctype
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1045 a1c6a512-1295-4272-9138-f99709370657
2002-06-17 13:51:21 +00:00
Daniel Stenberg
a898728c54 fixed to work
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1039 a1c6a512-1295-4272-9138-f99709370657
2002-06-17 13:34:04 +00:00
Daniel Stenberg
ebe6cc007d added vsnprintf
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1036 a1c6a512-1295-4272-9138-f99709370657
2002-06-17 13:22:40 +00:00
Daniel Stenberg
86e064a90e add our "libc header directory" to the include path
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1035 a1c6a512-1295-4272-9138-f99709370657
2002-06-17 13:20:03 +00:00
Daniel Stenberg
f7b10a3747 added protos and fixed to make them work as proper newlib replacement
headers


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1034 a1c6a512-1295-4272-9138-f99709370657
2002-06-17 13:19:18 +00:00
Daniel Stenberg
d2e0214738 Added include files to tarball
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1033 a1c6a512-1295-4272-9138-f99709370657
2002-06-17 13:18:30 +00:00
Daniel Stenberg
64e268a397 use this linker file for player builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1027 a1c6a512-1295-4272-9138-f99709370657
2002-06-17 06:48:56 +00:00
Daniel Stenberg
e93823bc0f remove padding to make it link, we're now bigger than least required!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1026 a1c6a512-1295-4272-9138-f99709370657
2002-06-17 06:24:22 +00:00
Daniel Stenberg
7da93d58fd This is my initial attempt to get rid of the newlib headers requirement,
for gcc built without newlib.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1017 a1c6a512-1295-4272-9138-f99709370657
2002-06-15 15:49:32 +00:00
Daniel Stenberg
3d1c27f4d1 Added lcd_clearline() - the opposite of drawline. We need this to make funny
graphical stuff.
lcd_bitmap() with the last argument set to 'false' now only OR the bitmap to
the background instead of using XOR as it did previously. I really can't see
the point in XORing...


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1011 a1c6a512-1295-4272-9138-f99709370657
2002-06-15 13:26:57 +00:00
Daniel Stenberg
16c3c127ba typecast array indexing to int from char to prevent compiler warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@985 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 18:02:18 +00:00
Felix Arends
0f06cf6152 fixed intptr_t to int, thanks to greg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@982 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 15:41:45 +00:00
Björn Stenberg
4b422aaa36 Fixed tighter looping scroll.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@977 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 15:15:51 +00:00
Linus Nielsen Feltzing
8169c8f5bd Added I/O address detection for CONTROL/ALT_STATUS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@976 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 13:51:31 +00:00
Linus Nielsen Feltzing
a4058ec28a ata_read_sectors() couldn't read more that one sector
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@974 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 09:28:22 +00:00
Björn Stenberg
4dea91fbcb Tighter scrolling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@971 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 08:24:03 +00:00
Björn Stenberg
14dc57c6d0 Skip initing LCD. Make scroll delay 1s.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@957 a1c6a512-1295-4272-9138-f99709370657
2002-06-11 11:03:48 +00:00
Björn Stenberg
8db6e4a63f Removed leftover int
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@955 a1c6a512-1295-4272-9138-f99709370657
2002-06-11 10:39:14 +00:00
Björn Stenberg
1ef2d66052 Changed to new chartable arrays
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@954 a1c6a512-1295-4272-9138-f99709370657
2002-06-11 10:36:50 +00:00
Björn Stenberg
083e5dbe14 Removed compiler warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@953 a1c6a512-1295-4272-9138-f99709370657
2002-06-11 10:35:28 +00:00
Björn Stenberg
92e46622e5 Don't scroll lines shorter than the screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@949 a1c6a512-1295-4272-9138-f99709370657
2002-06-11 07:55:43 +00:00
Linus Nielsen Feltzing
7bccab7400 Slower scroll speed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@944 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 14:45:09 +00:00
Björn Stenberg
f6a296929e lcd_init() for player too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@941 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 13:44:29 +00:00
Björn Stenberg
a45675aaa2 Added #include <thread.h>
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@939 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 13:31:12 +00:00
Björn Stenberg
f40a826000 Added delay before starting scroll
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@938 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 13:25:03 +00:00
Björn Stenberg
874fccbbc9 Moved declarations to top
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@932 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 12:41:12 +00:00
Björn Stenberg
e2b92ebeed Added scrolling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@931 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 12:36:54 +00:00
Linus Nielsen Feltzing
5ee0b7e9d9 mpeg_stop now calls close only if the file handle is valid
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@930 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 10:46:12 +00:00
Linus Nielsen Feltzing
ec2ab7e85a Now stops loading from disk when mpeg_stop is called
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@929 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 10:42:40 +00:00
Daniel Stenberg
6229aa2e6f Added peek_next_track() proto to kill warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@925 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 06:04:31 +00:00
Linus Nielsen Feltzing
0ded2b1c18 Removed a warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@924 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 15:30:37 +00:00
Linus Nielsen Feltzing
d0ecc86032 Now honors the settings in config.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@923 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 15:23:19 +00:00
Linus Nielsen Feltzing
7fbdc3692d Added check for open-for-write
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@922 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 15:15:10 +00:00
Linus Nielsen Feltzing
04d6d8f14f Removed a warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@921 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 15:03:19 +00:00
Linus Nielsen Feltzing
9430a0b7d6 Added init_threads function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@920 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 14:56:10 +00:00
Linus Nielsen Feltzing
c633ceb93e Temporarily disabled mpeg code on Recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@917 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 14:41:26 +00:00
Linus Nielsen Feltzing
5a687d0377 Changed default contrast to power-on default
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@916 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 14:39:52 +00:00
Linus Nielsen Feltzing
9ce7831193 Killed a few warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@913 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 14:09:05 +00:00
Linus Nielsen Feltzing
6b918cf54d Killed a few warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@912 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 13:30:36 +00:00
Linus Nielsen Feltzing
5aacc8872c Removed some warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@911 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 13:09:44 +00:00
Linus Nielsen Feltzing
16ff7be475 Fixed poll interval handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@909 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 13:00:33 +00:00
Björn Stenberg
49c46a7f7c Removed old recorder debounce code. Increased repeat speed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@904 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 11:13:26 +00:00
Linus Nielsen Feltzing
7a9f95d8db Changed frequency for Recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@903 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 10:29:14 +00:00
Linus Nielsen Feltzing
8b1168bc94 Wrong command address for Recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@902 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 07:48:08 +00:00
Daniel Stenberg
82078e4a59 the truncate lcd_puts() stuff in simulator only concerns player-style LCDs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@900 a1c6a512-1295-4272-9138-f99709370657
2002-06-06 12:50:34 +00:00
Daniel Stenberg
f43490a86e when doing lcd_puts() on a simulated player, we now truncate the string at
the right edge instead of wrapping down to the next line, as the target
will not behave that way!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@899 a1c6a512-1295-4272-9138-f99709370657
2002-06-06 12:47:03 +00:00
Linus Nielsen Feltzing
c7e3675457 Added file read error warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@898 a1c6a512-1295-4272-9138-f99709370657
2002-06-05 14:34:05 +00:00
Daniel Stenberg
c9ea73e19d NOTE! the 'mp3entry' struct grew quite a bit now, as the previously static
buffers were moved into the struct instead and thus we enable the mp3info()
function to be called in a re-entrant way. Just don't allocate that struct
on the stack without careful consideration!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@896 a1c6a512-1295-4272-9138-f99709370657
2002-06-04 22:05:00 +00:00
Daniel Stenberg
fb153c5570 output debugf() nicely for simulator builds too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@895 a1c6a512-1295-4272-9138-f99709370657
2002-06-04 22:03:21 +00:00
Daniel Stenberg
9c5418648f playlist stuff is not firmware, it should be in the apps code. moving it
there now


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@889 a1c6a512-1295-4272-9138-f99709370657
2002-06-04 21:42:33 +00:00
Linus Nielsen Feltzing
0dc44b08f4 The mpeg player could miss the last byte of a song
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@887 a1c6a512-1295-4272-9138-f99709370657
2002-06-04 14:00:30 +00:00
Linus Nielsen Feltzing
aaea587b5d Added some kernel docs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@886 a1c6a512-1295-4272-9138-f99709370657
2002-06-04 12:48:08 +00:00
Linus Nielsen Feltzing
80f8b22357 Clarified the mutex code, renamed the NUM_TICK_TASKS macro
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@885 a1c6a512-1295-4272-9138-f99709370657
2002-06-04 12:47:39 +00:00
Linus Nielsen Feltzing
150c5a7cef Moved NUM_TICK_TASKS definition
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@884 a1c6a512-1295-4272-9138-f99709370657
2002-06-04 12:25:53 +00:00
Robert Hak
57fa71d387 fixed a section bagder missed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@865 a1c6a512-1295-4272-9138-f99709370657
2002-05-31 22:48:34 +00:00
Felix Arends
d1ffa5452b Had to include <stddef.h> so that size_t is defined.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@861 a1c6a512-1295-4272-9138-f99709370657
2002-05-31 20:27:36 +00:00
Björn Stenberg
0bb897ae8d Keep playing current song even if we can't load next
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@860 a1c6a512-1295-4272-9138-f99709370657
2002-05-31 13:16:50 +00:00
Daniel Stenberg
7e8615757c remove compiler warnings by using '#ifdef DEBUG' on a large section
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@859 a1c6a512-1295-4272-9138-f99709370657
2002-05-31 13:15:48 +00:00
Björn Stenberg
fa8cd2ca86 Check for more files to play
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@855 a1c6a512-1295-4272-9138-f99709370657
2002-05-31 12:12:23 +00:00
Björn Stenberg
3f7d6d5217 Untranslated chars should be pass-through
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@847 a1c6a512-1295-4272-9138-f99709370657
2002-05-31 09:01:57 +00:00
Björn Stenberg
b69338f9f8 Added code from libc instead of requiring newlib
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@835 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 21:03:17 +00:00
Björn Stenberg
80361f8881 debugbuf and debugmembuf does not have to be global
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@834 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 19:50:20 +00:00
Björn Stenberg
eacbef9466 Umm, bpb must be static to be local :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@833 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 19:49:15 +00:00
Björn Stenberg
827cee37d7 struct bpb does not have to be global
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@832 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 19:47:56 +00:00
Björn Stenberg
6573d6d4b4 Partition table is no longer global
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@831 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 19:41:35 +00:00
Daniel Stenberg
44624521ff removed char(un)def.h includes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@828 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 14:50:28 +00:00
Daniel Stenberg
565f3b27f2 lcd_clear_display() now works when player-simulated the same way the
lcd_puts() does, it runs lcd_update() immediately itself


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@826 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 14:11:50 +00:00
Daniel Stenberg
af51791692 removed the ugly use of char(un)def.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@824 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 14:09:33 +00:00
Daniel Stenberg
c346991af8 when building a simulator for the player, we do lcd_update() from within
the lcd_puts() call.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@823 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 14:08:27 +00:00
Daniel Stenberg
43d96f9c41 lcd_getfontsize() now takes an unsigned font size as first argument
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@810 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 06:55:48 +00:00
Daniel Stenberg
7ec047c3a4 The recorder's lcd_putsxy() will now output '?' instead of just skipping
unknown characters.

I think we will need a rather full ISO-8859-1 character set.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@809 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 06:49:39 +00:00
Daniel Stenberg
e29d0307cb Changed the size argument to be a size_t type, to make the prototype look
like the system one as otherwise the compiler complains a lot.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@805 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 06:31:24 +00:00
Felix Arends
d69cb5545f define functions in sprintf.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@804 a1c6a512-1295-4272-9138-f99709370657
2002-05-29 16:42:56 +00:00
Felix Arends
ebbbe4b863 included sprintf.h for snprintf definition
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@803 a1c6a512-1295-4272-9138-f99709370657
2002-05-29 16:38:19 +00:00
Björn Stenberg
56f7202328 Stopped writting outsite screen. Removed LCD_ASCII macro.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@801 a1c6a512-1295-4272-9138-f99709370657
2002-05-29 16:29:17 +00:00
Felix Arends
86a9ab2556 cas and cas2 not defined for simulator any more
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@795 a1c6a512-1295-4272-9138-f99709370657
2002-05-29 14:09:21 +00:00
Linus Nielsen Feltzing
3a25aa4fd4 Even better end-of-song handling. It might even work now...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@790 a1c6a512-1295-4272-9138-f99709370657
2002-05-29 12:25:21 +00:00
Björn Stenberg
3ad66b95fb FAT cache now uses static memory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@789 a1c6a512-1295-4272-9138-f99709370657
2002-05-29 11:56:42 +00:00
Linus Nielsen Feltzing
f779e26c89 Boosted the volume. Now handles end-of-song better
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@786 a1c6a512-1295-4272-9138-f99709370657
2002-05-29 10:26:06 +00:00
Daniel Stenberg
93d720473a modified button_get() according to its new prototype, added lots of blurb
for various file/dir functions, added the memory allocation functions


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@783 a1c6a512-1295-4272-9138-f99709370657
2002-05-29 09:13:27 +00:00
Linus Nielsen Feltzing
678c770396 New section for reset vectors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@782 a1c6a512-1295-4272-9138-f99709370657
2002-05-29 09:12:34 +00:00
Linus Nielsen Feltzing
951fe18a40 New system_init function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@780 a1c6a512-1295-4272-9138-f99709370657
2002-05-29 09:11:04 +00:00
Daniel Stenberg
349e73079e add the FILES file itself
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@778 a1c6a512-1295-4272-9138-f99709370657
2002-05-29 08:56:30 +00:00
Linus Nielsen Feltzing
4886f19810 Optimized the bitswap function a little
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@770 a1c6a512-1295-4272-9138-f99709370657
2002-05-28 16:11:07 +00:00
Linus Nielsen Feltzing
95a323cbb1 getack didn't clean up after a NAK
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@768 a1c6a512-1295-4272-9138-f99709370657
2002-05-28 15:07:45 +00:00
Linus Nielsen Feltzing
166f3298df Missing parenthesis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@767 a1c6a512-1295-4272-9138-f99709370657
2002-05-28 15:05:56 +00:00
Linus Nielsen Feltzing
d1d1d63810 Better stack and pool allocation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@763 a1c6a512-1295-4272-9138-f99709370657
2002-05-28 14:02:19 +00:00
Linus Nielsen Feltzing
6cbe2a7301 create_thread now reserves room for PR on the stack
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@762 a1c6a512-1295-4272-9138-f99709370657
2002-05-28 13:59:24 +00:00
Björn Stenberg
2dd18d381f Added interrupt names
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@761 a1c6a512-1295-4272-9138-f99709370657
2002-05-28 13:38:42 +00:00
Björn Stenberg
f008567379 Added 'block' parameter to button_get()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@759 a1c6a512-1295-4272-9138-f99709370657
2002-05-28 12:09:30 +00:00
Linus Nielsen Feltzing
14a20d54b3 fat_seek couldn't seek in the first cluster
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@751 a1c6a512-1295-4272-9138-f99709370657
2002-05-27 14:04:18 +00:00
Linus Nielsen Feltzing
76d0c7d790 Fixed endianness bug in getsonglength
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@750 a1c6a512-1295-4272-9138-f99709370657
2002-05-27 14:03:17 +00:00
Björn Stenberg
aa12eda830 Bugfix: SEEK_END takes negative position
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@747 a1c6a512-1295-4272-9138-f99709370657
2002-05-27 12:38:41 +00:00
Daniel Stenberg
afec3500fb files included in tarball
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@738 a1c6a512-1295-4272-9138-f99709370657
2002-05-27 11:55:30 +00:00
Daniel Stenberg
47c95957ef obsolete
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@736 a1c6a512-1295-4272-9138-f99709370657
2002-05-27 11:53:12 +00:00
Björn Stenberg
3facc983d1 Commented out songlength() for now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@734 a1c6a512-1295-4272-9138-f99709370657
2002-05-27 09:54:13 +00:00
Linus Nielsen Feltzing
e3b2bc8102 Removed .stack section declaration
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@732 a1c6a512-1295-4272-9138-f99709370657
2002-05-27 09:33:15 +00:00
Linus Nielsen Feltzing
c7c81c6303 Stack allocation lameness fixed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@730 a1c6a512-1295-4272-9138-f99709370657
2002-05-27 09:24:38 +00:00
Linus Nielsen Feltzing
f690971d67 Bad pool area allocation fixed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@729 a1c6a512-1295-4272-9138-f99709370657
2002-05-27 09:23:08 +00:00
Björn Stenberg
881cd23652 Fixed possible race condition
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@728 a1c6a512-1295-4272-9138-f99709370657
2002-05-27 09:13:56 +00:00
Björn Stenberg
3d25f7825a Now supports multiple concurrent opendir()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@727 a1c6a512-1295-4272-9138-f99709370657
2002-05-27 09:13:24 +00:00
Daniel Stenberg
5f482edaf3 realloc takes a void * as first argument
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@722 a1c6a512-1295-4272-9138-f99709370657
2002-05-27 07:25:30 +00:00
Björn Stenberg
ff351c1fcc Added lcd_double_height()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@715 a1c6a512-1295-4272-9138-f99709370657
2002-05-26 20:54:52 +00:00
Björn Stenberg
a057e5cce9 .S files should be compiled with gcc, not gas
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@706 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 16:20:49 +00:00
Björn Stenberg
13f8775f72 Added proper includes and #ifdefs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@705 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 16:20:10 +00:00
Björn Stenberg
92597ea7e0 Corrected brain damage
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@703 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 15:55:32 +00:00
Björn Stenberg
50a33f06cf Clear 16 bytes per row
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@701 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 15:47:55 +00:00
Björn Stenberg
0e0f3cc26d MP3 buffer and heap setup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@698 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 15:37:26 +00:00
Björn Stenberg
3c2607790d Using linker symbols for mp3 buffer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@697 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 15:27:55 +00:00
Björn Stenberg
6eb771721c Fixed interrupt display and led flash
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@696 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 15:22:33 +00:00
Björn Stenberg
1ac4600e5b First version
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@695 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 12:22:14 +00:00
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
Felix Arends
fa16227b25 fixed lcd_bitmap code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@373 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 16:08:21 +00:00
Daniel Stenberg
d31188fc6e corrected the load-file path
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@362 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 10:12:28 +00:00
Daniel Stenberg
2877995956 lcd_puts() uses the new fontheight table now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@361 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 09:59:15 +00:00
Daniel Stenberg
0b81b35b7a Added lcd_fontsize() that returns the size of a given font
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@360 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 09:56:38 +00:00
Felix Arends
dc64ef99d1 removed WIN32 compiler directive
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@358 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 09:46:34 +00:00
Felix Arends
0f3001a1d6 applied c standard to memory allocation so this will compile with win32 simulator as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@355 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 09:27:21 +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
Felix Arends
3d2999c911 Win32 Simulator compability:
needed to include windows.h for memcpy operations.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@352 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 21:17:27 +00:00
Felix Arends
ced58d3fef again, a little win32 simulator compability fix
(included io.h)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@351 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 21:16:22 +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
0b9953ebca removing #define CRT_DISPLAY ;)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@347 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 20:16:44 +00:00
Stuart Martin
a4f0f49a35 defaulting #define CRT_DISPLAY to off
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@346 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 19:44:55 +00:00
Stuart Martin
f2c1255922 added #ifdef CRT_DISPLAY to provide a printf version of debug()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@345 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 19:43:54 +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
Stuart Martin
4786f16a7d additional #defines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@341 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 19:25:34 +00:00
Stuart Martin
614acaa531 functions for panic functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@340 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 19:23:44 +00:00
Stuart Martin
e6ce5d5485 header for panic functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@339 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 19:23:08 +00:00
Stuart Martin
b09b1a091b functions for high level disk operations
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@338 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 19:22:25 +00:00
Stuart Martin
ba19af2b12 high level disk operations
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@337 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 19:21:53 +00:00
Stuart Martin
8101b95879 header for track info
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@336 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 19:19:17 +00:00
Stuart Martin
a5b5ef4b77 functions for user settings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@335 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 19:17:52 +00:00
Stuart Martin
0aa7cb26ca header for user settings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@334 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 19:17:03 +00:00
Stuart Martin
16cd64236e functions for playlist manipulation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@333 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 19:16:15 +00:00
Stuart Martin
9db78d37b8 header for playlists
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@332 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 19:14:19 +00:00
Daniel Stenberg
ef476e3a09 don't defined the dirent struct if DIRENT_DEFINED is defined...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@329 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 13:18:59 +00:00
Daniel Stenberg
ad9bdf6e38 fixed to use our file api
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@325 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 12:42:37 +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
6a199bf125 Removed queue handling stuff
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@316 a1c6a512-1295-4272-9138-f99709370657
2002-04-29 14:27:46 +00:00
Linus Nielsen Feltzing
bd2561dcbb Added queue handling stuff - NOT INTERRUPT SAFE
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@315 a1c6a512-1295-4272-9138-f99709370657
2002-04-29 14:25:44 +00:00
Linus Nielsen Feltzing
40c1c2251a Removed some TABS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@314 a1c6a512-1295-4272-9138-f99709370657
2002-04-29 14:23:21 +00:00