summaryrefslogtreecommitdiff
path: root/firmware/drivers (follow)
Commit message (Collapse)AuthorAge
* Simplified the recorder scrolling code a littleLinus Nielsen Feltzing2004-07-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4860 a1c6a512-1295-4272-9138-f99709370657
* Enabled assembler optimized disk reading and writing (approx. 2 times as fast)Jens Arnold2004-07-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4825 a1c6a512-1295-4272-9138-f99709370657
* New screen dump feature for recordersLinus Nielsen Feltzing2004-06-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4817 a1c6a512-1295-4272-9138-f99709370657
* Patch #881887 by Gerald Vanbaren. The red LED is now ON when recording and ↵Linus Nielsen Feltzing2004-06-22
| | | | | | blinking when waiting to record (and when paused). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4790 a1c6a512-1295-4272-9138-f99709370657
* Added reset_poweroff_timer(), which can be used to prevent idle poweroff. ↵Linus Nielsen Feltzing2004-06-22
| | | | | | This is also available in the plugin API. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4787 a1c6a512-1295-4272-9138-f99709370657
* remove C++/C99 commentDaniel Stenberg2004-06-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4753 a1c6a512-1295-4272-9138-f99709370657
* Disabled automatic disk spindown (by the drive). Updated comments regarding ↵Jens Arnold2004-06-11
| | | | | | timing git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4733 a1c6a512-1295-4272-9138-f99709370657
* Fixed a warningJens Arnold2004-05-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4625 a1c6a512-1295-4272-9138-f99709370657
* TABs again...Jens Arnold2004-05-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4624 a1c6a512-1295-4272-9138-f99709370657
* Fixed lcd_putsxyofs() for the new lcd_bitmap()Jens Arnold2004-05-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4623 a1c6a512-1295-4272-9138-f99709370657
* Some TAB characters slipped in...Jens Arnold2004-05-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4621 a1c6a512-1295-4272-9138-f99709370657
* Fixed lcd_bitmap() to use the bitmap format generated by bmp2rb correctly. ↵Jens Arnold2004-05-14
| | | | | | Now it works for height > 8. Adapted font transposing & changed some other places to take advantage of that. bounce.c was (apart from fonts) the only routine that used the old format correctly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4620 a1c6a512-1295-4272-9138-f99709370657
* Corrected the charset for old lcd of players after an incorrect changeKjell Ericson2004-05-11
| | | | | | | before. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4605 a1c6a512-1295-4272-9138-f99709370657
* Fully assembler optimized lcd driver (another 10% real-world speedup on ↵Jens Arnold2004-05-10
| | | | | | recorder), replaces lcd.c git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4602 a1c6a512-1295-4272-9138-f99709370657
* Faster LCD transfer routines (+35% for the player, +8% for the recorder)Jens Arnold2004-05-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4577 a1c6a512-1295-4272-9138-f99709370657
* Fixed player sim warningJens Arnold2004-04-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4538 a1c6a512-1295-4272-9138-f99709370657
* Unified usage of lcd transfer codeJens Arnold2004-04-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4536 a1c6a512-1295-4272-9138-f99709370657
* New function: rmdir(). Also some changes in the fat code, to track the ↵Linus Nielsen Feltzing2004-04-16
| | | | | | parent directory in opendir(), to be able to delete directories git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4509 a1c6a512-1295-4272-9138-f99709370657
* Added some missing character substitutions, prompted by Eric Lassauge.Björn Stenberg2004-04-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4474 a1c6a512-1295-4272-9138-f99709370657
* Added cluster size to the disk debug screenLinus Nielsen Feltzing2004-04-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4469 a1c6a512-1295-4272-9138-f99709370657
* patch #922836 by Jens: way faster disk writing, in assembler. The code is ↵Jörg Hohensohn2004-04-01
| | | | | | in, but yet disabled by #define PREFER_C_WRITING unless it's proven safe for all disks. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4460 a1c6a512-1295-4272-9138-f99709370657
* No need to turn on the backlight for remote button presses.Björn Stenberg2004-03-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4432 a1c6a512-1295-4272-9138-f99709370657
* A hip shot trying to make the Red LED Death situation a little betterLinus Nielsen Feltzing2004-03-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4409 a1c6a512-1295-4272-9138-f99709370657
* - no second ata_hard_reset() call, saves ~2.5 seconds flash boot time ↵Jörg Hohensohn2004-03-10
| | | | | | | | | (please test) - Jens' new assembler code in copy_read_sectors(), but still disabled git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4358 a1c6a512-1295-4272-9138-f99709370657
* Reverted the STANDBY fix from 2004-02-15, rev 1.106Linus Nielsen Feltzing2004-03-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4352 a1c6a512-1295-4272-9138-f99709370657
* Removed compiler warningLinus Nielsen Feltzing2004-03-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4335 a1c6a512-1295-4272-9138-f99709370657
* Made set_irq_level() an inline function, and optimized it by removing the ↵Linus Nielsen Feltzing2004-03-02
| | | | | | bit shifts git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4330 a1c6a512-1295-4272-9138-f99709370657
* Removed the interrupt disabling in lcd_write_data()Linus Nielsen Feltzing2004-03-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4329 a1c6a512-1295-4272-9138-f99709370657
* Now sets the highest possible PIO mode in set_features()Linus Nielsen Feltzing2004-03-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4328 a1c6a512-1295-4272-9138-f99709370657
* The cli()/sti() functions are not safe. We should have removed them long ago.Linus Nielsen Feltzing2004-02-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4314 a1c6a512-1295-4272-9138-f99709370657
* fixed compiling errorsLinus Nielsen Feltzing2004-02-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4310 a1c6a512-1295-4272-9138-f99709370657
* set_features() is now called from ata_power_on()Linus Nielsen Feltzing2004-02-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4309 a1c6a512-1295-4272-9138-f99709370657
* Silly me, I forgot to remove my debugging codeLinus Nielsen Feltzing2004-02-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4308 a1c6a512-1295-4272-9138-f99709370657
* Bug 1: The STANDBY mode is now explicitly disabled, since it could be set to ↵Linus Nielsen Feltzing2004-02-16
| | | | | | 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
* Assembly code for copy_read_sectors() disabled: Tests with Trent showed that ↵Jörg Hohensohn2004-02-15
| | | | | | 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
* Assembly code for copy_read_sectors() reworked: I've spread the ATA reads ↵Jörg Hohensohn2004-02-09
| | | | | | 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
* Better charging feedback for FM/V2 devicesLinus Nielsen Feltzing2004-02-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4296 a1c6a512-1295-4272-9138-f99709370657
* no code change, I just forgot to take my template disassembly out (a big ↵Jörg Hohensohn2004-01-27
| | | | | | comment block) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4282 a1c6a512-1295-4272-9138-f99709370657
* Assembler optimized copy_read_sectors() gives another speedup of factor 1.4 ↵Jörg Hohensohn2004-01-27
| | | | | | 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
* Really squeezed lcd_write_data() with tricky assembler optimization. Now it ↵Jörg Hohensohn2004-01-26
| | | | | | 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
* Oops. Wrong arguments to memset(). Thanks to Mike Wilson for pointing that out.Linus Nielsen Feltzing2004-01-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4274 a1c6a512-1295-4272-9138-f99709370657
* Reverted to the old ADC driver, since it appeared to cause fake OFF ↵Linus Nielsen Feltzing2004-01-20
| | | | | | 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
* warning + obsolete variable removedJörg Hohensohn2004-01-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4248 a1c6a512-1295-4272-9138-f99709370657
* Optimized the sector read loop as much as C allows. I measured an overall ↵Jörg Hohensohn2004-01-16
| | | | | | 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
* Ooops. Forgot to clear the newly allocated cluster in mkdir()Linus Nielsen Feltzing2004-01-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4242 a1c6a512-1295-4272-9138-f99709370657
* Second bug in mkdir() :-)Linus Nielsen Feltzing2004-01-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4241 a1c6a512-1295-4272-9138-f99709370657
* Implemented the mkdir() function in the FAT32 driverLinus Nielsen Feltzing2004-01-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4238 a1c6a512-1295-4272-9138-f99709370657
* Added acoustic management, power management and read look-ahead.Björn Stenberg2004-01-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4230 a1c6a512-1295-4272-9138-f99709370657
* Craig Sather's patch #849405:Daniel Stenberg2004-01-13
| | | | | | | | | | | | | | | | | 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
* Faster, simplified A/D driver. The previous batch convert in init_adc() ↵Linus Nielsen Feltzing2004-01-13
| | | | | | 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