Commit graph

706 commits

Author SHA1 Message Date
Björn Stenberg
3f9c7c2ab5 Demystified code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1183 a1c6a512-1295-4272-9138-f99709370657
2002-06-25 12:04:23 +00:00
Björn Stenberg
ef15d9983a Made mp3entry a struct, not a type
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1182 a1c6a512-1295-4272-9138-f99709370657
2002-06-25 11:39:22 +00:00
Björn Stenberg
f224f0b8e8 Don't free static data :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1181 a1c6a512-1295-4272-9138-f99709370657
2002-06-25 11:29:38 +00:00
Linus Nielsen Feltzing
6dc368a133 dac_config() return the wrong error code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1180 a1c6a512-1295-4272-9138-f99709370657
2002-06-25 11:22:53 +00:00
Linus Nielsen Feltzing
6139982672 non-RTC code wrote to PAIOR instead of PADR
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1179 a1c6a512-1295-4272-9138-f99709370657
2002-06-25 11:15:33 +00:00
Jerome Kuptz
6fd0a531f6 Added the wps_display to global settings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1167 a1c6a512-1295-4272-9138-f99709370657
2002-06-25 08:40:53 +00:00
Alan Korr
c81f9b78ac remove tabs :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1160 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 17:03:06 +00:00
Felix Arends
dce52c7901 added debug function header file.
it defines macros that can be used for debugging purposes. IS_FUNCTION checks whether a function pointer is inside the memory (not in ROM).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1159 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 16:00:06 +00:00
Felix Arends
3bce07ff62 fixed propfonts bug which was related to illegal memory accesing of lcd_bitmap function called by lcd_clearrect.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1158 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 15:24:28 +00:00
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