summaryrefslogtreecommitdiffstats
path: root/firmware
AgeCommit message (Collapse)AuthorFilesLines
2004-02-25The cli()/sti() functions are not safe. We should have removed them long ago.Linus Nielsen Feltzing6-44/+39
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4314 a1c6a512-1295-4272-9138-f99709370657
2004-02-17fixed compiling errorsLinus Nielsen Feltzing1-0/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4310 a1c6a512-1295-4272-9138-f99709370657
2004-02-17set_features() is now called from ata_power_on()Linus Nielsen Feltzing1-2/+6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4309 a1c6a512-1295-4272-9138-f99709370657
2004-02-16Silly me, I forgot to remove my debugging codeLinus Nielsen Feltzing1-2/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4308 a1c6a512-1295-4272-9138-f99709370657
2004-02-16Bug 1: The STANDBY mode is now explicitly disabled, since it could be set to ↵Linus Nielsen Feltzing1-1/+9
30s at powerup. Bug 2: set_features() wasn't called in ata_power_on(). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4307 a1c6a512-1295-4272-9138-f99709370657
2004-02-15Assembly code for copy_read_sectors() disabled: Tests with Trent showed that ↵Jörg Hohensohn1-0/+3
this is to blame for file system corruptions, even waitstates didn't fix it. No idea why, sorry... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4304 a1c6a512-1295-4272-9138-f99709370657
2004-02-11Empty file/dir names are now rejected by open() and mkdir()Linus Nielsen Feltzing2-6/+20
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4303 a1c6a512-1295-4272-9138-f99709370657
2004-02-09Assembly code for copy_read_sectors() reworked: I've spread the ATA reads ↵Jörg Hohensohn1-20/+39
apart by filling independent instructions inbetween, this is also slightly faster because of no pipeline stall. Hopefully this fixes the problem Kargatron had with it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4302 a1c6a512-1295-4272-9138-f99709370657
2004-02-05Better charging feedback for FM/V2 devicesLinus Nielsen Feltzing3-6/+34
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4296 a1c6a512-1295-4272-9138-f99709370657
2004-01-30hope I killed that warning nowJörg Hohensohn1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4288 a1c6a512-1295-4272-9138-f99709370657
2004-01-30inconsistent argument type for backlight_set_timeout() fixedJörg Hohensohn2-3/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4287 a1c6a512-1295-4272-9138-f99709370657
2004-01-30mp3 playback "engine" now in plugin API, rocks can make soundJörg Hohensohn2-1/+8
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4285 a1c6a512-1295-4272-9138-f99709370657
2004-01-28preparation for running directly from flash ROMJörg Hohensohn2-0/+23
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4283 a1c6a512-1295-4272-9138-f99709370657
2004-01-27no code change, I just forgot to take my template disassembly out (a big ↵Jörg Hohensohn1-53/+2
comment block) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4282 a1c6a512-1295-4272-9138-f99709370657
2004-01-27Assembler optimized copy_read_sectors() gives another speedup of factor 1.4 ↵Jörg Hohensohn1-7/+103
for aligned and 1.2 for misaligned. Including my previous change the file reading is now nearly twice as fast compared to when I started this. -> Less disk uptime, longer battery life. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4281 a1c6a512-1295-4272-9138-f99709370657
2004-01-26Really squeezed lcd_write_data() with tricky assembler optimization. Now it ↵Jörg Hohensohn1-6/+110
does 114 fps when playing video from memory (way more than the ~75 fps needed, I need to slow down the video player), leaving headroom for audio. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4278 a1c6a512-1295-4272-9138-f99709370657
2004-01-26Oops. Wrong arguments to memset(). Thanks to Mike Wilson for pointing that out.Linus Nielsen Feltzing1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4274 a1c6a512-1295-4272-9138-f99709370657
2004-01-21New feature: NOw you can store the recorded files in either /recordings (the ↵Linus Nielsen Feltzing2-2/+4
directory will be created automatically) or in the current directory. New feature: A "Create directory" menu option (untested in the simulator). Bug fix: The ON+Play menu could do nasty things if you pressed ON+Play in an empty dir. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4268 a1c6a512-1295-4272-9138-f99709370657
2004-01-20Reverted to the old ADC driver, since it appeared to cause fake OFF ↵Linus Nielsen Feltzing1-37/+48
keypresses (weird indeed, since the OFF key doesn't use the ADC on the plain Recorder). However, I did fix the batch convert, since it caused fake keypresses at boot time. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4260 a1c6a512-1295-4272-9138-f99709370657
2004-01-16warning + obsolete variable removedJörg Hohensohn1-2/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4248 a1c6a512-1295-4272-9138-f99709370657
2004-01-16Optimized the sector read loop as much as C allows. I measured an overall ↵Jörg Hohensohn1-15/+34
speed improvement for file reading of 12.5% for 16-bit aligned and 35% for misaligned. I took the rest of ata_read_sectors() out of IRAM, it's sufficient if only the copy loop stays there. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4247 a1c6a512-1295-4272-9138-f99709370657
2004-01-15Ooops. Forgot to clear the newly allocated cluster in mkdir()Linus Nielsen Feltzing1-4/+21
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4242 a1c6a512-1295-4272-9138-f99709370657
2004-01-15Second bug in mkdir() :-)Linus Nielsen Feltzing2-1/+7
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4241 a1c6a512-1295-4272-9138-f99709370657
2004-01-15Added mpeg_next_track(), which returns a pointer to the id3 struct of theDaniel Stenberg2-0/+13
upcoming song (if available). Now we just need a WPS patch to make it possibly to display info based on this! git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4240 a1c6a512-1295-4272-9138-f99709370657
2004-01-15First mkdir() bug killed :-)Linus Nielsen Feltzing1-0/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4239 a1c6a512-1295-4272-9138-f99709370657
2004-01-15Implemented the mkdir() function in the FAT32 driverLinus Nielsen Feltzing5-18/+172
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4238 a1c6a512-1295-4272-9138-f99709370657
2004-01-14Added acoustic management, power management and read look-ahead.Björn Stenberg1-1/+44
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4230 a1c6a512-1295-4272-9138-f99709370657
2004-01-13Craig Sather's patch #849405:Daniel Stenberg1-10/+25
This patch fixes two bugs associated with lcd_puts and scrolling on the recorder. 1 - Unlike the implementation in the player code, on the recorder a call to lcd_puts does not stop the scrolling text from a previous lcd_puts_scroll call, so the new line gets overwritten by the old scrolling text. More discussion and details can be found at: http://rockbox.haxx.se/mail/archive/rockbox-archive-2003-11/0531.shtml 2 - When the function lcd_puts_scroll_style is called with an x offset greater than 0, the scrolling text is placed at an offset of 2x instead of x. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4226 a1c6a512-1295-4272-9138-f99709370657
2004-01-13Slightly improved VBR fixer, now uses the same template header throughout ↵Linus Nielsen Feltzing1-8/+19
the entire file git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4225 a1c6a512-1295-4272-9138-f99709370657
2004-01-13mpeg_stop() now clears the paused flag in the simulatorLinus Nielsen Feltzing1-0/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4224 a1c6a512-1295-4272-9138-f99709370657
2004-01-13Increased the mp3 buffer for the simulator, to avoid crash when running the ↵Linus Nielsen Feltzing1-1/+1
Xing header generator git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4223 a1c6a512-1295-4272-9138-f99709370657
2004-01-13Faster, simplified A/D driver. The previous batch convert in init_adc() ↵Linus Nielsen Feltzing1-48/+37
produced garbage because of the fast conversion time, causing fake keypresses that made ask_resume() return prematurely. This should fix the intermittent resume problem reported by many users. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4222 a1c6a512-1295-4272-9138-f99709370657
2004-01-10next round of playback function split: everything in place, working and ↵Jörg Hohensohn4-188/+256
used; except for the playtime git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4218 a1c6a512-1295-4272-9138-f99709370657
2004-01-09Removed mallocBjörn Stenberg1-4/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4216 a1c6a512-1295-4272-9138-f99709370657
2004-01-09The Unicode parser now handles unterminated strings, plus it tries to guess ↵Linus Nielsen Feltzing1-2/+22
the byte order when the BOM is missing (a violation of the spec, btw) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4215 a1c6a512-1295-4272-9138-f99709370657
2004-01-08ancient experimental test code not used for 2+ years, removedDaniel Stenberg6-323/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4212 a1c6a512-1295-4272-9138-f99709370657
2004-01-08prehistoric stuff never usedDaniel Stenberg2-957/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4211 a1c6a512-1295-4272-9138-f99709370657
2004-01-08malloc is not used in RockboxDaniel Stenberg4-475/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4210 a1c6a512-1295-4272-9138-f99709370657
2004-01-08not usedDaniel Stenberg9-1792/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4209 a1c6a512-1295-4272-9138-f99709370657
2004-01-08Fixed the newly introduced hang when leaving the recording screenLinus Nielsen Feltzing1-0/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4202 a1c6a512-1295-4272-9138-f99709370657
2004-01-08add newline at end of file as older gcc compilers warn about thisDaniel Stenberg1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4200 a1c6a512-1295-4272-9138-f99709370657
2004-01-06typo: one create_thread() too many, caused crashJörg Hohensohn1-3/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4196 a1c6a512-1295-4272-9138-f99709370657
2004-01-05still trying to fix the sim (blindfolded)Jörg Hohensohn1-0/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4195 a1c6a512-1295-4272-9138-f99709370657
2004-01-05fixes the red builds, I hopeJörg Hohensohn1-49/+53
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4193 a1c6a512-1295-4272-9138-f99709370657
2004-01-05Moved the low-level playback functionality into a new, separate module ↵Jörg Hohensohn4-912/+1056
"mp3_playback". This e.g. allows to export a memory playback API to the plugins, opens the door to games with sound, UI sounds, etc. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4192 a1c6a512-1295-4272-9138-f99709370657
2004-01-04Got rid of the reset parameter to xxx_unsynched()Linus Nielsen Feltzing1-12/+8
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4189 a1c6a512-1295-4272-9138-f99709370657
2004-01-04ID3v2.3 treats the global unsynch flag in a silly way, so we have to unsynch ↵Linus Nielsen Feltzing1-26/+79
the whole tag before we can parse the individual frames. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4188 a1c6a512-1295-4272-9138-f99709370657
2004-01-01nicer handling of button_flip(), swap stored value, too, and avoid race ↵Jörg Hohensohn1-11/+21
condition git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4184 a1c6a512-1295-4272-9138-f99709370657
2003-12-31New recording feature: Prerecord up to 30 seconds before you press the Play ↵Linus Nielsen Feltzing2-184/+405
key. Especially useful for FM radio recording. Also fixed a bug which didn't apply the recording settings correctly in the Radio screen. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4183 a1c6a512-1295-4272-9138-f99709370657
2003-12-28Fixed yellow and red buildsLinus Nielsen Feltzing1-0/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4182 a1c6a512-1295-4272-9138-f99709370657