summaryrefslogtreecommitdiff
path: root/firmware/drivers (follow)
Commit message (Collapse)AuthorAge
...
* 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
* nicer handling of button_flip(), swap stored value, too, and avoid race ↵Jörg Hohensohn2004-01-01
| | | | | | condition git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4184 a1c6a512-1295-4272-9138-f99709370657
* oops, optimized lcd_bitmap() too much, obey the clear flagJörg Hohensohn2003-12-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4178 a1c6a512-1295-4272-9138-f99709370657
* Screen buffer transposed, such that bytes in X-direction are consecutive. ↵Jörg Hohensohn2003-12-23
| | | | | | This enables my turbocharged lcd_write_data() for regular screen updates. Please check the X11 sim, Win32 works. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4177 a1c6a512-1295-4272-9138-f99709370657
* Upside Down option for display (and buttons) now wired into the display ↵Jörg Hohensohn2003-12-20
| | | | | | settings menu, persistence, simulator stubs git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4168 a1c6a512-1295-4272-9138-f99709370657
* Improved timing in soft_reset. This hopefully cures spontaneous Red Led freezes.Björn Stenberg2003-12-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4161 a1c6a512-1295-4272-9138-f99709370657
* xoffset is only when not building for a simulator (for now)Daniel Stenberg2003-12-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4151 a1c6a512-1295-4272-9138-f99709370657
* Ooops! I forgot to remove my debugging changesLinus Nielsen Feltzing2003-12-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4149 a1c6a512-1295-4272-9138-f99709370657
* Now correctly informs gcc that r0 is clobbered in lcd_write_data(). The ↵Linus Nielsen Feltzing2003-12-15
| | | | | | video LED bug is now dead and buried. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4147 a1c6a512-1295-4272-9138-f99709370657
* Fix for the LED problem in lcd_write_data(). The r0 register was not ↵Linus Nielsen Feltzing2003-12-15
| | | | | | preserved for each loop. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4144 a1c6a512-1295-4272-9138-f99709370657
* LCD flip (upside down) and a high-performance blit functionJörg Hohensohn2003-12-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4143 a1c6a512-1295-4272-9138-f99709370657
* adjustments for NeoDaniel Stenberg2003-12-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4130 a1c6a512-1295-4272-9138-f99709370657
* Added viewer for currently playing playlist. Accessed from Menu->Playlist ↵Hardeep Sidhu2003-12-10
| | | | | | Options->View Current Playlist. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4124 a1c6a512-1295-4272-9138-f99709370657
* Fix for the occasional problem on FMR devices, when the device can't be ↵Linus Nielsen Feltzing2003-12-04
| | | | | | turned off git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4105 a1c6a512-1295-4272-9138-f99709370657
* oops, a typo made the player build failJörg Hohensohn2003-12-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4097 a1c6a512-1295-4272-9138-f99709370657
* No more spinning disk while charging flashed FM+V2 (you need the new ↵Jörg Hohensohn2003-12-03
| | | | | | bootloader to utilize it). ToDo: remove now false voltage reading from charging screen. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4095 a1c6a512-1295-4272-9138-f99709370657
* a side effect in usb_enable() (writing back a "1" while reading a pulled-up ↵Jörg Hohensohn2003-11-07
| | | | | | input) masked a bug in power_init(), it would have turned off the disk with flash start. Became appearing while converting port access to and_b(), which touches only one byte. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4027 a1c6a512-1295-4272-9138-f99709370657
* The code police strikes backLinus Nielsen Feltzing2003-11-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4024 a1c6a512-1295-4272-9138-f99709370657
* set/clear port bits with atomic instructions instead of read-modify-write, ↵Jörg Hohensohn2003-11-06
| | | | | | saves time+space, allows port usage in ISR git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4022 a1c6a512-1295-4272-9138-f99709370657
* Patch #798050 by Leslie Donaldson, activates Line In on Player modelsLinus Nielsen Feltzing2003-11-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4008 a1c6a512-1295-4272-9138-f99709370657
* Patch #791531 by Barry McIntosh, fake time stamps for file creation/updates ↵Linus Nielsen Feltzing2003-11-03
| | | | | | on Players git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4005 a1c6a512-1295-4272-9138-f99709370657
* Killed a warning (and a bug I introduced in the last commit)Linus Nielsen Feltzing2003-10-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3994 a1c6a512-1295-4272-9138-f99709370657
* Better error reportingLinus Nielsen Feltzing2003-10-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3986 a1c6a512-1295-4272-9138-f99709370657
* cosmetic: moved my port inits to the "new" init functionJörg Hohensohn2003-10-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3982 a1c6a512-1295-4272-9138-f99709370657
* Removed reboot when DC connected. It serves no purpose and is confusing to ↵Björn Stenberg2003-09-19
| | | | | | users. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3956 a1c6a512-1295-4272-9138-f99709370657
* ATA io_address_detect() now doesn't probe any more, but uses the h/w mask. ↵Jörg Hohensohn2003-09-01
| | | | | | Probing failed for some flash users. I hope this works for everybody, we have to try to find out. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3946 a1c6a512-1295-4272-9138-f99709370657
* Slightly more correct initialization of the power/charging codeLinus Nielsen Feltzing2003-08-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3940 a1c6a512-1295-4272-9138-f99709370657
* Smarter jumpscroll.Mats Lidell2003-08-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3931 a1c6a512-1295-4272-9138-f99709370657
* ide_power_enable for simulator added.Mats Lidell2003-07-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3851 a1c6a512-1295-4272-9138-f99709370657
* Another go at the disk-full FAT driver fix. Now it skips the reserved ↵Linus Nielsen Feltzing2003-07-19
| | | | | | sectors at all times. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3847 a1c6a512-1295-4272-9138-f99709370657
* report sleeping disk while not initialized, needed for changing before ↵Jörg Hohensohn2003-07-18
| | | | | | ata_init() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3844 a1c6a512-1295-4272-9138-f99709370657
* Magnus Holmgren: Just realized one thing: doing AN0-3 last is slightly ↵Jörg Hohensohn2003-07-17
| | | | | | | | | better, as AN0 will then remain valid for the first execution of the tick task function. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3842 a1c6a512-1295-4272-9138-f99709370657
* one more missing init, prevented powering down the diskJörg Hohensohn2003-07-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3839 a1c6a512-1295-4272-9138-f99709370657
* Removed a compiler warningLinus Nielsen Feltzing2003-07-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3837 a1c6a512-1295-4272-9138-f99709370657
* Fixed a bug that included the reserved clusters 0 and 1 in the search for ↵Linus Nielsen Feltzing2003-07-16
| | | | | | available clusters. That could in some cases lead to a bogus disk-full error. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3836 a1c6a512-1295-4272-9138-f99709370657
* Patch 772577 by Magnus Holmgren: measure all ADC channels within adc_init(), ↵Jörg Hohensohn2003-07-16
| | | | | | so afterwards adc_read() can be used right away. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3834 a1c6a512-1295-4272-9138-f99709370657
* Initalize last_disk_activityBjörn Stenberg2003-07-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3830 a1c6a512-1295-4272-9138-f99709370657
* A more complete serial port setupLinus Nielsen Feltzing2003-07-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3829 a1c6a512-1295-4272-9138-f99709370657
* Fixed spindown bug: last_disk_activity was set 10 seconds into the future, ↵Björn Stenberg2003-07-10
| | | | | | which resulted in too long spindown delays. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3826 a1c6a512-1295-4272-9138-f99709370657
* Moved lcd default contrast knowledge from settings.c to lcd driver. Now ↵Björn Stenberg2003-07-09
| | | | | | lcd_init sets default contrast until settings are read. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3824 a1c6a512-1295-4272-9138-f99709370657
* Cold start fixes: master_slave_select() now checks for BSY as well as RDY ↵Björn Stenberg2003-07-09
| | | | | | (since disks are BSY during powerup). Also, wait_for_bsy() looks at ATA_STATUS instead of ATA_ALT_STATUS, since the address of ATA_ALT_STATUS is not determined until later. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3822 a1c6a512-1295-4272-9138-f99709370657