summaryrefslogtreecommitdiffstats
path: root/firmware
AgeCommit message (Collapse)AuthorFilesLines
2006-11-18Changed #ifdef USE_IRAM to #ifdef IRAM_STEAL. Also want to check if results ↵Michael Sevakis1-1/+1
are the same again since another person also built a red one successfully. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11545 a1c6a512-1295-4272-9138-f99709370657
2006-11-18SWCODEC/IRAM: Save voice IRAM when a plugin initializes its IRAM. Defines ↵Michael Sevakis2-0/+8
two macros for declaring and initializing IRAM. Plugins should use these instead. See mp3_encoder, doom, etc. for details. Further tweaks in buffer restoration after other use. Hiding of some interfaces that should only be used by buffer management. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11544 a1c6a512-1295-4272-9138-f99709370657
2006-11-15Fix FS#6322. Battery level gets updated again as it should.Barry Wardell1-0/+7
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11534 a1c6a512-1295-4272-9138-f99709370657
2006-11-14Removed anachronisms introduced with low battery shutdown patch.Michael Sevakis4-20/+18
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11524 a1c6a512-1295-4272-9138-f99709370657
2006-11-13H100/General: HAL for S/PDIF and refinement/bufixes in optical output ↵Michael Sevakis8-86/+157
powering/source selection. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11523 a1c6a512-1295-4272-9138-f99709370657
2006-11-13Backdrop support for greyscale targets. WPS backdrop is untested.Jens Arnold3-16/+215
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11520 a1c6a512-1295-4272-9138-f99709370657
2006-11-12Get rid of ages-old interdependency between ata.c and mas.cJens Arnold3-13/+8
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11519 a1c6a512-1295-4272-9138-f99709370657
2006-11-12Adjust scrollable lines to varying LCD sizes in the 2bit vertical packing ↵Jens Arnold1-1/+1
LCD driver. Doesn't change anything for current targets. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11518 a1c6a512-1295-4272-9138-f99709370657
2006-11-12Split 1 bit LCD code and move appropriate parts to target tree. Only archos ↵Jens Arnold4-228/+419
code is tested. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11517 a1c6a512-1295-4272-9138-f99709370657
2006-11-11Fix my warnings with explicit blocking on platforms w/o cpu_boost()Brandon Low1-0/+6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11511 a1c6a512-1295-4272-9138-f99709370657
2006-11-11Thread API enhancements.Brandon Low3-105/+139
1) block_thread -> block_thread + block_thread_w_tmo -- this call was always used in distinct ways so having one call with a conditional was ugly. 2) enhance Slasheri's scheduler controlled boost concept. now any thread may trigger a boost which will last until that thread next sleeps. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11509 a1c6a512-1295-4272-9138-f99709370657
2006-11-11Improved power management (FS#3001). Shutdown rockbox when the battery gets ↵Barry Wardell3-76/+322
to a level where the device doesn't function properly. Calculate remaining charging time while charging (rather than remaining running time). Show "Low Battery" and "Battery Empty" warnings. Also fixes FS#4786. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11507 a1c6a512-1295-4272-9138-f99709370657
2006-11-10Removed the Gmini 120 and Gmini SP code. These ports are dead, unfortunately.Jens Arnold1-1/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11505 a1c6a512-1295-4272-9138-f99709370657
2006-11-10Removed the Gmini 120 and Gmini SP code. These ports are dead, unfortunately.Jens Arnold25-1334/+30
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11504 a1c6a512-1295-4272-9138-f99709370657
2006-11-10Fix sim error(s) (as usual).Michael Sevakis1-0/+8
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11503 a1c6a512-1295-4272-9138-f99709370657
2006-11-10Coldfire targets: Got the rest of the coldfire code out of backlight.c. ↵Michael Sevakis11-82/+98
Straightened up related items in configs and split backlight_set_brightness between the normal and boot/sim builds like the other functions. Should really have done all that in the first place. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11502 a1c6a512-1295-4272-9138-f99709370657
2006-11-10Support building tagcache db natively on PC using the core of theMiika Pekkarinen9-24/+51
Rockbox tagcache database engine. Only host endian support at the moment and no command line parameters. Mainly for developers for debugging at the moment. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11497 a1c6a512-1295-4272-9138-f99709370657
2006-11-10Forgot to add new files for iFP move to target tree.Tomasz Malesinski10-7/+408
Fixed conifg-ifp7xx.h so that the simulator works. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11494 a1c6a512-1295-4272-9138-f99709370657
2006-11-10clean up some artifacts left behind from the hxxx move to target treeJonathan Gordon1-11/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11490 a1c6a512-1295-4272-9138-f99709370657
2006-11-10Removed the settings #defines from backlight.h since they are now in the ↵Michael Sevakis1-12/+0
players' config files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11489 a1c6a512-1295-4272-9138-f99709370657
2006-11-10H300/X5: Moved backlight brightness code to target tree. Created ↵Michael Sevakis7-23/+42
__backlight_set_brightness in backlight-(target).c. backlight_set_brightness range clamps and calls the backlight driver. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11488 a1c6a512-1295-4272-9138-f99709370657
2006-11-10H100/120: Split lcd driver into pixel format and device specific parts. ↵Michael Sevakis5-1096/+1117
Adjustment of contrast range to just a little less than white to a little more than black. Really only had to reset minimum. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11487 a1c6a512-1295-4272-9138-f99709370657
2006-11-09Target tree support for Iriver iFP.Tomasz Malesinski8-125/+18
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11485 a1c6a512-1295-4272-9138-f99709370657
2006-11-09Fixed H10 build.Tomasz Malesinski2-0/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11484 a1c6a512-1295-4272-9138-f99709370657
2006-11-09Added macros controlling what goes to IRAM on different targets.Tomasz Malesinski8-0/+24
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11483 a1c6a512-1295-4272-9138-f99709370657
2006-11-09X5: Changed IRAM splitting between core and codecs/plugins. (a) Codecs ↵Jens Arnold1-1/+1
benefit more from IRAM than the core. Further changes are required to actually make use of this. (b) This way, all core IRAM is DMA capable (wasn't the case before), so one less pitfall. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11482 a1c6a512-1295-4272-9138-f99709370657
2006-11-09Ondio: Better activity monitoring for 'ata' idle notification.Jens Arnold1-6/+8
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11481 a1c6a512-1295-4272-9138-f99709370657
2006-11-09Moved archos LCD aseembler code to target tree.Jens Arnold3-91/+246
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11478 a1c6a512-1295-4272-9138-f99709370657
2006-11-09Bah, Linus was right, trying to call the ata_idle callbacks on usb andJonathan Gordon2-11/+2
shutdown doesnt work. Threads with callbacks must handle these 2 events instead. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11477 a1c6a512-1295-4272-9138-f99709370657
2006-11-08Remove unnecessary dummy pcm_init for PNX0101 (iFP).Tomasz Malesinski1-4/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11473 a1c6a512-1295-4272-9138-f99709370657
2006-11-08Bugfix: X5 simulator now simulates the RTC.Jens Arnold1-3/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11472 a1c6a512-1295-4272-9138-f99709370657
2006-11-08Use HAVE_FLASHED_ROCKBOX when target is flashable. Currenly only used by the ↵Michael Sevakis4-15/+14
H100 series. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11470 a1c6a512-1295-4272-9138-f99709370657
2006-11-08Forgot to cvs add lcd-as-h100.S.Michael Sevakis1-0/+96
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11469 a1c6a512-1295-4272-9138-f99709370657
2006-11-08More exodus to the target tree for ColdFire and a bonus sorting of ↵Michael Sevakis8-440/+372
firmware/SOURCES. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11468 a1c6a512-1295-4272-9138-f99709370657
2006-11-08put back the PP5002 specific ATA code that got lost during the ipod target ↵Marcoen Hirschberg2-1/+52
tree move git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11467 a1c6a512-1295-4272-9138-f99709370657
2006-11-08Missed one hotswap ifdef...Jens Arnold1-2/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11466 a1c6a512-1295-4272-9138-f99709370657
2006-11-08Fix idle monitoring to not freeze the Ondio, and add it in a more elegant ↵Jens Arnold1-17/+20
way. Fixed hotswap ifdefing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11465 a1c6a512-1295-4272-9138-f99709370657
2006-11-08fixed once again.Jonathan Gordon1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11464 a1c6a512-1295-4272-9138-f99709370657
2006-11-08grr.. got lost in firmware/SOURCESJonathan Gordon1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11463 a1c6a512-1295-4272-9138-f99709370657
2006-11-08fix booboo in ata.c (SYS_POWEROFF falling into SYS_USB_CONNECTED)Jonathan Gordon4-3/+22
enable ata_idle callbacks in ata_mmc.c (calls the callbacks after 10s of real inactivity) fix builds git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11462 a1c6a512-1295-4272-9138-f99709370657
2006-11-08* changes to ata.c - idle callbacks are called after 2 sec of real idle,Jonathan Gordon6-91/+48
and shutdown and usb (it makes sense here). ata_sleep doesnt get broken by callbacks. * allow ata_sleep() at the end of buffering again * config block uses ata_idle instead of delayed sector when saving * remove delayed sector code from ata_mmc.c (idle callbacks are not yet implemented for ata_mmc.c tho) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11461 a1c6a512-1295-4272-9138-f99709370657
2006-11-07dont spin up the disk to call the callbacks.Jonathan Gordon1-14/+16
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11458 a1c6a512-1295-4272-9138-f99709370657
2006-11-06Archos recorders, Ondio FM: Set (unused) MAS SDO and S/PDIF out while ↵Jens Arnold1-0/+7
recording the same way as for playback (SDO disabled, S/PDIF enabled on recorder V1 only). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11456 a1c6a512-1295-4272-9138-f99709370657
2006-11-06AIFF is not (yet) a supported format on HWCODEC targets.Jens Arnold2-4/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11455 a1c6a512-1295-4272-9138-f99709370657
2006-11-06Fixed the errors on the sims.Michael Sevakis1-9/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11454 a1c6a512-1295-4272-9138-f99709370657
2006-11-06Forgot to use cvs add on a few new files in the fresh checkout I used. woops.Michael Sevakis7-0/+1555
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11453 a1c6a512-1295-4272-9138-f99709370657
2006-11-06Big Patch adds primarily: Samplerate and format selection to recording for ↵Michael Sevakis25-1414/+2053
SWCODEC. Supprort for samplerates changing in playback (just goes with the recording part inseparably). Samplerates to all encoders. Encoders can be configured individually on a menu specific to the encoder in the recording menu. File creation is delayed until flush time to reduce spinups when splitting. Misc: statusbar icons for numbers are individual digits to display any number. Audio buffer was rearranged to maximize memory available to recording and properly reinitialized when trashed. ColdFire PCM stuff moved to target tree to avoid a complicated mess when adding samplerate switching. Some needed API changes and to neaten up growing gap between hardware and software codecs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11452 a1c6a512-1295-4272-9138-f99709370657
2006-11-06adds ata_idle_notify system which allows callbacks in apps/ to be calledJonathan Gordon4-3/+150
when the hard disk is idle but spinning, and just before shutting down. on SWCODEC targets with > 8MB RAM the playback engine will try to refill the buffer if it is less than 75% full while the disk is spinning (temporarily disabled on the nano) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11451 a1c6a512-1295-4272-9138-f99709370657
2006-11-05fix typoMarcoen Hirschberg1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11435 a1c6a512-1295-4272-9138-f99709370657
2006-11-05implement the gigabeat backlight driverMarcoen Hirschberg2-4/+40
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11434 a1c6a512-1295-4272-9138-f99709370657