Miika Pekkarinen
75e1fd718f
Fixed the logf builds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12816 a1c6a512-1295-4272-9138-f99709370657
2007-03-17 09:38:25 +00:00
Jens Arnold
79c8a8cbbe
Let GCC check arguments of some more printf-style functions, also for plugins and codecs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12815 a1c6a512-1295-4272-9138-f99709370657
2007-03-17 09:02:53 +00:00
Jens Arnold
2c7b127dd7
Set CONFIG_RTC to 0 for non-RTC targets, and check with #if to profit from -Wundef. No code change.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12811 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 23:47:03 +00:00
Jens Arnold
85a226d4e7
Rename some macros to account for the recently added M5 port. No code changes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12809 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 23:02:39 +00:00
Barry Wardell
b8a5adfcdb
Partition type 0x84 is "OS/2 hidden C: drive"
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12805 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 14:41:55 +00:00
Michael Sevakis
a2ee6a6681
FM Radio mishmash: Make a quieter screen for the SWCODEC targets esp. for the benefit of x5; I wasn't sure if it was good to alter timeouts for HW codec. Simplify things and prepare for eventual scanning and tuning changes (which should help quiet x5 down even more). Make things behave themselves better in general. Enable SWCODEC FM Recording menu and screen for sim as a bonus.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12804 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 14:40:40 +00:00
Barry Wardell
14ed3ca8d8
In preparation for use with sansapatcher, change portalplayer bootloaders to read firmwares in mi4 format.
...
When loading the OF:
1) first try to load from a hidden disk partition
2) try loading /System/OF.mi4
3) finally fall back to loading /System/OF.bin which is what the old bootloader used.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12802 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 14:28:00 +00:00
Barry Wardell
1146418494
Fix problem where power_off() on the H10 returns before the device is actually powered off.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12801 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 13:52:16 +00:00
Linus Nielsen Feltzing
0379588361
Jan 1 1980 was a tuesday
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12789 a1c6a512-1295-4272-9138-f99709370657
2007-03-15 22:25:04 +00:00
Barry Wardell
73106a2a69
Fix problem where power_off() on the Sansa returns before the device is actually powered off.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12788 a1c6a512-1295-4272-9138-f99709370657
2007-03-15 22:17:09 +00:00
Jens Arnold
39e1b59c48
Fixed backlight voltage for M5. Now the backlight is as bright as in the original firmware.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12787 a1c6a512-1295-4272-9138-f99709370657
2007-03-15 19:08:24 +00:00
Michael Sevakis
6c8772d6db
x5/M5: Finally get rid of filter selection aberrations when switching to 88.2kHz sampling rate which affected both the DAC and ADC. Turning off the DAC and ADC before changing the internal codec frequency seems to cure the remaining glitch of the filters not being correctly selected by the TLV320. Some FIFO reset changes that help keep it stable as well. Supporting 88.2KHz on iAudio has been a tricky ordeal. Also made sure to ok the HW tone controls on iRiver. :)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12757 a1c6a512-1295-4272-9138-f99709370657
2007-03-14 10:06:57 +00:00
Michael Sevakis
abf41e3481
H100 Series: Fix FS#6810 - Distortion on Bass/Treble usage. Coldfire PCM needed a refinement in the init sequence for the UDA1380 after audio init changes. Apparently it doesn't like its registers altered before the Coldfire I2S is properly initialized.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12752 a1c6a512-1295-4272-9138-f99709370657
2007-03-13 15:05:46 +00:00
Barry Wardell
7f4f9aead7
Improved ADC driver for AS3514 (used in PP5024 - ie. Sansa e200) based off datasheet.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12745 a1c6a512-1295-4272-9138-f99709370657
2007-03-13 01:50:13 +00:00
Barry Wardell
9e56b15e80
Fix typo. We only need to keep bit 6 set on HPH_OUT_L. Setting it on HPH_OUT_R does something completely different and probably not wanted.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12743 a1c6a512-1295-4272-9138-f99709370657
2007-03-12 23:48:00 +00:00
Barry Wardell
2370998a87
Disable bootloader messages in the H10 and Sansa bootloaders unless the PLAY (on H10) or RIGHT (on Sansa) button is being held. Messages are still displayed if an error occurs. This has already been implemented for iPod bootloaders, but still needs implementing for the other bootloaders.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12742 a1c6a512-1295-4272-9138-f99709370657
2007-03-12 22:12:20 +00:00
Nils Wallménius
62dbd97e90
Sorted and updated FILES for both apps and firmware, included features.txt preparing for the lang v2 cleanup, should fix FS# 6805 unless Lear's previous committ got it
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12741 a1c6a512-1295-4272-9138-f99709370657
2007-03-12 21:31:06 +00:00
Magnus Holmgren
9fe79f183f
Add missing files (for Archos and iRiver M5) to the source archive.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12739 a1c6a512-1295-4272-9138-f99709370657
2007-03-12 17:42:12 +00:00
Jens Arnold
1b3fc39a65
Make private function static on variable CPU frequency targets. Kill it on fixed frequency targets, regaining 1/3 of the waste on archos...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12731 a1c6a512-1295-4272-9138-f99709370657
2007-03-11 22:27:35 +00:00
Daniel Ankers
e814bb66b3
Enable balance control on Sansa
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12730 a1c6a512-1295-4272-9138-f99709370657
2007-03-11 21:57:46 +00:00
Daniel Ankers
7293da9303
Oops, missed a file from r12727
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12728 a1c6a512-1295-4272-9138-f99709370657
2007-03-11 17:58:14 +00:00
Daniel Ankers
dfad406aa1
Sound for Sansa E200 - based on work by myself, Rene Peinthor, Barry Wardell and Christian Gmeiner from the AS3514 datasheet.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12727 a1c6a512-1295-4272-9138-f99709370657
2007-03-11 17:38:08 +00:00
Michael Sevakis
e21d217205
Squeeze the serial number code down a few more bytes and call it a day. Will try to reduce by a significant amount later.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12726 a1c6a512-1295-4272-9138-f99709370657
2007-03-11 16:01:01 +00:00
Michael Sevakis
94c4724420
Fix a late error that only let it read at default CPU frequency. Disable interrupts during ds2411 read since it's timing sensitive.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12724 a1c6a512-1295-4272-9138-f99709370657
2007-03-11 14:33:16 +00:00
Michael Sevakis
89a38d4273
iAudio X5: Enable reading of DS2411 serial number. See it under System|Debug|View HW info.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12723 a1c6a512-1295-4272-9138-f99709370657
2007-03-11 13:59:31 +00:00
Miika Pekkarinen
2eefb5acb8
Optimized the gui list code performance, including automatic frame dropping and cpu boosting when button events are getting queued. Improved scrollwheel acceleration code is needed to notice a real change.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12721 a1c6a512-1295-4272-9138-f99709370657
2007-03-11 10:52:36 +00:00
Michael Sevakis
c2d2106fd7
Audio Init: Just can't stand that heirarchy. Add one level of abstraction. Might come in handy anyhow. Use sound.h instead of the conditional includes for audio hardware headers. If someone doesn't like that, yell at my evil twin. :)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12718 a1c6a512-1295-4272-9138-f99709370657
2007-03-11 06:21:43 +00:00
Michael Sevakis
c5cd27f5d1
Pop a stub in there for the e200 until playback is ready. Move it to the proper place at that time.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12717 a1c6a512-1295-4272-9138-f99709370657
2007-03-11 05:48:58 +00:00
Michael Sevakis
5d63776a24
Reenable aynchronous audio init stage. Really just single stage with aynchronous enabling of outputs. Keeps audio_init last so prior init steps can use the audiobuffer in any desired way. Audio will be fully initialized by the time the UI is entered. Playback of voice or audio will be delayed properly until audio hardware is ready.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12714 a1c6a512-1295-4272-9138-f99709370657
2007-03-11 05:04:48 +00:00
Barry Wardell
3631f11fea
Fix red builds and make udelay actually work as it should again.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12703 a1c6a512-1295-4272-9138-f99709370657
2007-03-10 12:41:52 +00:00
Barry Wardell
de061e8a30
Make udelay() wrap-safe.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12702 a1c6a512-1295-4272-9138-f99709370657
2007-03-10 12:28:25 +00:00
Michael Sevakis
68f9e1ad57
Guess there were more changes to it.:) Odd that mine built until a make clean.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12694 a1c6a512-1295-4272-9138-f99709370657
2007-03-09 12:51:25 +00:00
Michael Sevakis
98cd3e8868
Install the single stage synchronous audio initialization I cooked up awhile back.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12693 a1c6a512-1295-4272-9138-f99709370657
2007-03-09 12:30:14 +00:00
Michael Sevakis
7e0201558b
Back to green?
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12690 a1c6a512-1295-4272-9138-f99709370657
2007-03-09 08:17:05 +00:00
Michael Sevakis
178afc9caf
As usual I left experimental stuff in a file. Forgot to add that set_irq_level_and_block thread is per core now too.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12689 a1c6a512-1295-4272-9138-f99709370657
2007-03-09 08:09:48 +00:00
Michael Sevakis
dee43ece20
Put an end to priority inversion in the ata driver. Gave up trying to have fully atomic dual use mutexes so just replaced the ata driver locking with spins. Maybe I'll have better luck later. Things should run smoothly with database updates and such happening in the background.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12688 a1c6a512-1295-4272-9138-f99709370657
2007-03-09 08:03:18 +00:00
Thom Johansen
99b2742cd0
Use the new DSP callback functionality in firmware/sound.c to deal with SWCODEC stereo width and channel configuration instead of the old more spread out #ifdef based approach. Rename the DSP functions involved for more consistent naming.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12677 a1c6a512-1295-4272-9138-f99709370657
2007-03-07 19:11:16 +00:00
Thom Johansen
2d7bb99c52
Hack around the lack of a hardware prescaler on a number of WM codecs. Bass and treble controls should work on DAPs using these chips now, but will be prone to distort when boosting bass. Gut out UDA1380 code(!!) and switch to high bass cutoff and low treble cutoff in WM8975 driver.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12673 a1c6a512-1295-4272-9138-f99709370657
2007-03-07 15:00:29 +00:00
Michael Sevakis
633f388002
Coldfire targets: Shuffle IRQ levels around to have all interaction between low level audio function calls and DMA be atomic. Make recording and playback independently startable and stoppable so one can be running and not interfere with the other. All tests I can do at the moment check out ok (play, record, play+record, FM radio on iRivers, S/PDIF on H120 (w/running optical on/off), and on-the-fly samplerate changes). Recording tested for well over an hour run and no problems.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12658 a1c6a512-1295-4272-9138-f99709370657
2007-03-07 06:23:02 +00:00
Michael Sevakis
b425de71df
Fix problem with recording screen creep and bag a bigfoot. Voice clips aren't long enough now to untrigger the thread boost that was supposed to be applied to the codec thread. The voice thread was needlessly boosting the codec thread and leaving it boosted which explains the encoders' ability to flood the output buffer when everything else was stopped in its tracks. Check which thread is calling pcmbuf_under_watermark and only initiate the boost when it's the codec thread. Always return the codec thread to its usual priority in pcmbuf_play_stop.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12649 a1c6a512-1295-4272-9138-f99709370657
2007-03-06 20:32:13 +00:00
Jens Arnold
611737bde8
Add extra filtering to the X5 and M5 button drivers to prevent erratic button events (ported from H300).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12627 a1c6a512-1295-4272-9138-f99709370657
2007-03-05 20:14:41 +00:00
Michael Sevakis
3d4d5175b0
Forgot that too...hrmph.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12621 a1c6a512-1295-4272-9138-f99709370657
2007-03-05 08:34:30 +00:00
Linus Nielsen Feltzing
e06faa0480
Use a larger font cache on the targets that can afford the (quite small) RAM usage
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12620 a1c6a512-1295-4272-9138-f99709370657
2007-03-05 08:32:35 +00:00
Michael Sevakis
8867d00141
More catching up on old work. Refine audio interface setup on Coldfire. Stop the funky glitching on the iAudio stuff when starting recording esp. at 88.2kHz. (probably due to the bidi interface). iRivers don't seem to care what you do. TLV320 still seems to have a little trouble selecting it's filters correctly for 88.2kHz or it could be some odd phasing effect. Get rid of the horrible reset parameter in pcm_apply_settings as it can decide for itself.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12618 a1c6a512-1295-4272-9138-f99709370657
2007-03-05 08:14:27 +00:00
Jens Arnold
8d0cd9f303
Some more M5 adjustments.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12616 a1c6a512-1295-4272-9138-f99709370657
2007-03-05 01:31:26 +00:00
Jens Arnold
1d232401fd
Forget to commit this one deleted file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12611 a1c6a512-1295-4272-9138-f99709370657
2007-03-05 00:13:46 +00:00
Jens Arnold
8876018d25
Bring up the M5 port to a working stage: Extended numerous explicit checks for IAUDIO_X5 to also check for IAUDIO_M5, moved code around the target tree, added preliminary background for the sim.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12610 a1c6a512-1295-4272-9138-f99709370657
2007-03-05 00:04:00 +00:00
Daniel Ankers
ee07215d50
Fix RoLo on PortalPlayer targets
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12609 a1c6a512-1295-4272-9138-f99709370657
2007-03-04 23:53:38 +00:00
Michael Sevakis
198772a6b2
iRiver H100 series: Catching up on old work. Use a better way to keep playback going when switching optical output. Doesn't mess with the DMA peripheral requests to do it like before but just writes a sample to the FIFO. Would really like to reformulate interrupt scheme on Coldfire to allow DMA interrupts to be blocked specifically but not normally.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12605 a1c6a512-1295-4272-9138-f99709370657
2007-03-04 21:43:35 +00:00
Daniel Ankers
82f9056988
Dual core support for PP502x players (iPod G4 and later, iriver h10, Sansa - iPod G3 will be coming soon.) This allows threads to be run on either core provided that all communications between the cores is done using uncached memory. There should be no significant change in battery life from doing this. Documentation (on the RockboxKernel wiki page) will follow shortly.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12601 a1c6a512-1295-4272-9138-f99709370657
2007-03-04 20:06:41 +00:00
Barry Wardell
38b64f7b4b
Get rid of C99 style variable declaration. Also, add one more use of #define instead of inl/outl that I missed last time.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12591 a1c6a512-1295-4272-9138-f99709370657
2007-03-04 16:06:54 +00:00
Jens Arnold
b4994a08ca
Added new iAudio M5 target, including some adjustments to make the bootloader compile (with a small change against the committed tools/tonfigure, and it won't actually work yet).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12588 a1c6a512-1295-4272-9138-f99709370657
2007-03-04 14:09:21 +00:00
Barry Wardell
169ebdbda7
Some more replacing of inl/outl with register #define's (doesn't change end-result binary). Add lots more #define's based on the ipodlinux wiki and some extrapolation.
...
Also add PortalPlayer SoC version to the HW info debug screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12575 a1c6a512-1295-4272-9138-f99709370657
2007-03-03 23:37:17 +00:00
Barry Wardell
8b061252c4
Replace some inl/outl with register #define's instead. Also tidy up pp5020.h so that it's in increasing address order.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12574 a1c6a512-1295-4272-9138-f99709370657
2007-03-03 17:25:20 +00:00
Robert Kukla
ae08eeb4ff
remove runtime detection of h1x0 series RTC MOD, but leave driver code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12554 a1c6a512-1295-4272-9138-f99709370657
2007-03-03 00:11:20 +00:00
Robert Kukla
79a2a936a2
remove numerical genre and use genre_string consistently:
...
- fix spurious display of "blues" genre for missing genre tag
- simplify code/use less code
- numerical->string conversion only once instead of at every use
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12552 a1c6a512-1295-4272-9138-f99709370657
2007-03-02 21:49:42 +00:00
Jens Arnold
2187e815e2
Fix SH1 debug builds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12551 a1c6a512-1295-4272-9138-f99709370657
2007-03-02 20:03:41 +00:00
Linus Nielsen Feltzing
8448d3b6be
H300 bootloader: init the ISP1362 chip, and set the CPU to idle mode while charging, to save power
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12547 a1c6a512-1295-4272-9138-f99709370657
2007-03-02 13:04:57 +00:00
Linus Nielsen Feltzing
ff17905d7c
H300 bootloader: (Work in progress) Boot Rockbox on RTC alarm, add charging screen, move to a separate source file, backlight is on during USB mode (again)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12546 a1c6a512-1295-4272-9138-f99709370657
2007-03-02 11:28:23 +00:00
Jonathan Gordon
9fae76d939
Use the browse button for A-B instead of quickscreen button. Files are
...
still accessable through the Rockbox Menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12545 a1c6a512-1295-4272-9138-f99709370657
2007-03-02 00:37:03 +00:00
Jonathan Gordon
3391ede940
enable A-B mode on the X5. Uses the quickscreen button to set points
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12543 a1c6a512-1295-4272-9138-f99709370657
2007-03-02 00:16:41 +00:00
Linus Nielsen Feltzing
a2eb38a8c5
H100: Disable RTC support by default, for now
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12533 a1c6a512-1295-4272-9138-f99709370657
2007-03-01 12:47:33 +00:00
Jens Arnold
509a96dd51
Hook up .cue file detection via a callback klugde on HWCODEC, to make cue sheet support actually work.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12526 a1c6a512-1295-4272-9138-f99709370657
2007-03-01 00:26:24 +00:00
Thom Johansen
d70dc25edf
Fix sim builds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12523 a1c6a512-1295-4272-9138-f99709370657
2007-02-28 22:22:12 +00:00
Thom Johansen
8fd6d658a1
Add wake on alarm support for Ipods. Rename HAVE_ALARM_MOD to HAVE_ALARM_RTC since it's not always a mod. Make Ipod PCF driver keep other flags in OOCC1 that have been set instead of overwriting them.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12522 a1c6a512-1295-4272-9138-f99709370657
2007-02-28 21:55:11 +00:00
Robert Kukla
50b5ee4781
FS#6419 - driver for H1x0 series RTC Mod with runtime detection
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12520 a1c6a512-1295-4272-9138-f99709370657
2007-02-28 13:20:36 +00:00
Daniel Ankers
b856636f85
Improved RoLo support for PortalPlayer - handles the COP correctly
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12511 a1c6a512-1295-4272-9138-f99709370657
2007-02-27 22:55:12 +00:00
Dave Chapman
e7469e2f43
Correct the (C) info
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12510 a1c6a512-1295-4272-9138-f99709370657
2007-02-27 21:22:29 +00:00
Jens Arnold
93712c97ee
WM8711/8721/8731 have no tone controls, so enable the software tone controls for the respective targets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12499 a1c6a512-1295-4272-9138-f99709370657
2007-02-26 18:36:58 +00:00
Marcoen Hirschberg
58011f9504
disable LCD poweroff for now until problems with the remote control and headphone detection are fixed (and it doesn't seem to save any battery anyway)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12494 a1c6a512-1295-4272-9138-f99709370657
2007-02-26 10:15:02 +00:00
Thom Johansen
a7fabf0741
Add software based bass/treble controls for targets which have no such functionality in hardware (currently only X5). They can also be used on any other SWCODEC target by adding #define HAVE_SW_TONE_CONTROLS in the relevant config-*.h file. Also remove some now unneeded zero checks when using get_replaygain_int(). Comments on sound quality are welcome as some parameters can still be fine-tuned.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12489 a1c6a512-1295-4272-9138-f99709370657
2007-02-26 00:41:26 +00:00
Michael Sevakis
1915c10994
Turns out I don't have a magic DAP. :( I didn't get the problem because I RoLod it. Clean the useless macros from thread_init and leave it for spawned threads.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12488 a1c6a512-1295-4272-9138-f99709370657
2007-02-26 00:04:25 +00:00
Michael Sevakis
306aa7552a
Well, it seems that caused problems for others but my magic bug correcting DAPs don't experience trouble after a full update. Revert to setting the macsr in system_init. Watch your ears when using EQ on the 25 Feb 21:43 build...so I hear.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12487 a1c6a512-1295-4272-9138-f99709370657
2007-02-25 22:59:39 +00:00
Jens Arnold
7d718a8064
X5: Move the remote tick to target tree.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12486 a1c6a512-1295-4272-9138-f99709370657
2007-02-25 22:36:04 +00:00
Jens Arnold
d528e54b61
Move target specific parts of the H100 remote LCD driver to target tree.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12485 a1c6a512-1295-4272-9138-f99709370657
2007-02-25 22:09:14 +00:00
Dave Chapman
e812ec5440
Add new target/arm/ipod/video/ directory to source tarballs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12484 a1c6a512-1295-4272-9138-f99709370657
2007-02-25 21:43:53 +00:00
Michael Sevakis
2c9cbc12e1
Add CPU-model-specific init to newborn threads. Add default %macsr for each thread created on coldfire (EMAC_FRACTIONAL | EMAC_SATURATE).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12483 a1c6a512-1295-4272-9138-f99709370657
2007-02-25 21:43:10 +00:00
Miika Pekkarinen
fcf8145fee
Fixed database export crashing with long tags. And failing without DB loaded to RAM due to the recently added new tags in DB, thus reaching the fd limit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12481 a1c6a512-1295-4272-9138-f99709370657
2007-02-25 19:01:32 +00:00
Nils Wallménius
e53e67014f
Remove unused code, make comments c-style, make one private function static
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12480 a1c6a512-1295-4272-9138-f99709370657
2007-02-25 15:44:55 +00:00
Jens Arnold
2906c36df3
Moved ipod LCD code to target tree.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12479 a1c6a512-1295-4272-9138-f99709370657
2007-02-25 13:11:02 +00:00
Peter D'Hoye
3036a2a2e2
Use the correct constant to avoid confusion
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12476 a1c6a512-1295-4272-9138-f99709370657
2007-02-24 21:40:00 +00:00
Peter D'Hoye
e26124b327
Better short filename generation. Fixes FS#6648.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12475 a1c6a512-1295-4272-9138-f99709370657
2007-02-24 21:06:28 +00:00
Michael Sevakis
d4e904bf35
SWCODEC: Dsp speed optimizations. Changes for more modularity. Removal of some usless stuff. Some assembly routines for Coldfire with speed in mind over size for the outputs but the channel modes remain compact. Miscellaneous coldfire asm updates to accomodate the changes. Codec API structure version has to increase so do a full update.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12472 a1c6a512-1295-4272-9138-f99709370657
2007-02-24 17:06:36 +00:00
Dave Chapman
fda1498696
Remap flash ROM to 0x20000000 on the ipods and H10s, and implement dbg_save_roms() in the debug menu for those targets to dump the content to a file.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12467 a1c6a512-1295-4272-9138-f99709370657
2007-02-23 23:22:03 +00:00
Thom Johansen
af743c2bd6
Remove unneeded zero checks from convert_gain() and get_replaygain_int(). These functions return correct results without them.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12459 a1c6a512-1295-4272-9138-f99709370657
2007-02-23 12:22:17 +00:00
Linus Nielsen Feltzing
9744433752
Move the MPARK init to system_init()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12452 a1c6a512-1295-4272-9138-f99709370657
2007-02-22 14:54:13 +00:00
Linus Nielsen Feltzing
6c3db6e65f
Correct LCD DMA init on the H300
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12450 a1c6a512-1295-4272-9138-f99709370657
2007-02-22 11:57:11 +00:00
Linus Nielsen Feltzing
d83cb9d055
Keep the vectors when linking with --gc-sections
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12445 a1c6a512-1295-4272-9138-f99709370657
2007-02-22 00:01:20 +00:00
Barry Wardell
f05b9e3bd5
Get rid of some outl/inl in favour of #define.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12442 a1c6a512-1295-4272-9138-f99709370657
2007-02-21 22:25:14 +00:00
Jens Arnold
51223e5395
Introduced LCD_FBHEIGHT in addition to the already existing LCD_FBWIDTH to ease framebuffer handling a bit. Added equivalent definitions for the remote LCD.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12419 a1c6a512-1295-4272-9138-f99709370657
2007-02-20 19:31:34 +00:00
Barry Wardell
e9a183573b
Battery reading support for Sansa. Still needs calibration of voltage->percent mappings and remaining time. Thanks to Rene Peinthor for doing most of the work.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12417 a1c6a512-1295-4272-9138-f99709370657
2007-02-20 15:55:38 +00:00
Barry Wardell
45c187ce1d
FS#6674: HAVE_XXX souldn't be defined with a value.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12415 a1c6a512-1295-4272-9138-f99709370657
2007-02-20 14:57:14 +00:00
Linus Nielsen Feltzing
bd6a0f15f0
Prepare the bootloader command file for --gc-sections
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12412 a1c6a512-1295-4272-9138-f99709370657
2007-02-20 11:06:01 +00:00
Barry Wardell
e3a55f2bdc
FS#6675: Add lcd_yuv_blit() for the Sansa. Thanks to Rene Peinthor. This makes mpegplayer run on the Sansa. Button detection in mpegplayer doesn't work because it is done in the audio thread and that thread locks up because we don't have audio support yet. So for now it's necessary to do a hardware power off to quit mpegplayer.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12404 a1c6a512-1295-4272-9138-f99709370657
2007-02-19 21:22:32 +00:00
Jens Arnold
b85e1b9235
Tiny size optimisation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12396 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 19:28:29 +00:00
Jens Arnold
3a37f46fc9
Fix CONFIG_BACKLIGHT warnings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12393 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 10:07:27 +00:00
Daniel Stenberg
526fa530eb
set I2C type properly
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12389 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 09:15:26 +00:00
Jens Arnold
4dfb9738ab
Fix LCD_PIXELFORMAT warnings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12387 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 08:57:18 +00:00
Jens Arnold
c652218d14
Fix remaining CONFIG_TUNER checks.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12385 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 08:46:12 +00:00
Jonathan Gordon
9a6f419775
CONFIG_CHARGING
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12384 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 05:32:06 +00:00
Jonathan Gordon
bd47d48c21
Do the CONFIG_LED define
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12383 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 05:07:19 +00:00
Jonathan Gordon
ac61951452
Do the CONFIG_USBOTG define correctly
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12382 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 04:57:28 +00:00
Jonathan Gordon
00d249ab67
fix the player build
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12381 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 03:25:40 +00:00
Jonathan Gordon
ec73eb0be1
really fix red builds this time
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12380 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 02:34:36 +00:00
Jonathan Gordon
8ff3a653bd
Explicilty set CONFIG_ defines to 0 which are not used.. because doing
...
#if defined(BLAA) && BLAA == something defeats the point of Wundef
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12378 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 02:04:47 +00:00
Jonathan Gordon
1083de8e7d
CONFIG_USBOTG fixes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12377 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 01:17:06 +00:00
Jonathan Gordon
c2f05592ee
more CONFIG_LED fixes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12376 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 01:10:42 +00:00
Barry Wardell
87e9944b90
Should be LCD_H10_20GB, not LCD_H10
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12371 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 23:49:07 +00:00
Magnus Holmgren
2067fcc695
Fix most (all?) CONFIG_LED warnings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12370 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 23:22:37 +00:00
Magnus Holmgren
1916576728
Keep delay loop from being optimized away.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12367 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 23:06:50 +00:00
Daniel Stenberg
fa2d49a5b9
set I2C type properly
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12363 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 22:55:33 +00:00
Daniel Stenberg
20a5926d2e
build with -Wundef to make sure we have spelled the defines right in #if lines
...
and have the proper includes included etc
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12360 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 21:54:17 +00:00
Daniel Stenberg
5d45ec90e0
another attempt
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12359 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 21:47:12 +00:00
Daniel Stenberg
0db847071f
repair the condition
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12358 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 21:31:17 +00:00
Daniel Stenberg
64a0fb8fd9
avoid using #if on undefined symbols, in preparation for -Wundef
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12357 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 21:15:06 +00:00
Linus Nielsen Feltzing
ab0752c9c0
Correct spelling of CONFIG_CODEC, fixes FS#6668
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12356 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 20:49:54 +00:00
Jens Arnold
471d881979
ARM targets: Making a few functions non-static allows us to get rid of -ffunction-sections, significantly decreasing binary size and making things run a bit faster because static functions are no longer long_call.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12349 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 11:19:14 +00:00
Miika Pekkarinen
6dbe772eb7
FS#6651 - Improved id3 comment extraction.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12344 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 08:46:32 +00:00
Dave Chapman
139fb1af20
Move dr_controller_setup() to usb_init_device() and add a call to dr_controller_stop() if we detect USB disconnection. This seems to improve reliability when connecting to Mac OS X - Rockbox previously killed its USB stack since the introduction of the new USB detection code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12342 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 01:32:39 +00:00
Barry Wardell
620c62e262
Fix 3g builds
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12341 a1c6a512-1295-4272-9138-f99709370657
2007-02-16 22:28:07 +00:00
Barry Wardell
3a6d4791d7
No functional changes, just reorganising code:
...
1) Move ARC OTG USB (used in PP502x) driver code into it's own file, drivers/arcotg_udc.c. Hopefully in the future we will be able to adapt more of the Linux driver and add it to this file.
2) Rename mx31.h to arcotg_udc.h to reflect the file the code came from. It's also a more accurate name for the USB controller.
3) Get rid of one more inl()/outl() in usb-pp.c and use the relevant #define instead.
4) Add dr_controller_stop(). Not used yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12340 a1c6a512-1295-4272-9138-f99709370657
2007-02-16 22:13:21 +00:00
Michael Sevakis
12a1e108a8
Fix errors I hope.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12333 a1c6a512-1295-4272-9138-f99709370657
2007-02-16 09:03:37 +00:00
Michael Sevakis
ec1f4829cd
SWCODEC Recording: Improve buffer handling by 1) Lowering watermark for flushing 2) Flushing down to a low watermark instead of a fixed number of chunks 3) Allowing in-process automatic flushes to be interrupted so file splits and stops can be marked in a timely manner (especially important when approaching 2GB limit) 4) Flush small amounts if buffer is filled during a split to protect integrity of streams 5) Boost both pcmrec and codec threads then thread priority boost is needed so that encoder doesn't fail to run and keep up with incoming data
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12332 a1c6a512-1295-4272-9138-f99709370657
2007-02-16 08:52:06 +00:00
Linus Nielsen Feltzing
aa8761fccc
Shave a few bytes off the binary size, especially on hwcodec targets
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12323 a1c6a512-1295-4272-9138-f99709370657
2007-02-15 22:55:22 +00:00
Miika Pekkarinen
7a395a23bf
Start using the new endian conversion system outside tagcache also to simplify code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12309 a1c6a512-1295-4272-9138-f99709370657
2007-02-14 19:20:13 +00:00
Nicolas Pennequin
9f4bd8712f
Cuesheet support by Jonathan Gordon and me (FS #6460 ).
...
Everytime an audio file is loaded, a cue file with the same name is searched for. A setting
allows to disable this (default is off). Cuesheet files can also be viewed in the file browser.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12304 a1c6a512-1295-4272-9138-f99709370657
2007-02-14 14:40:24 +00:00
Jens Arnold
19417db99a
Use the correct swap functions for live conversion, and fix 64 bit sims.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12302 a1c6a512-1295-4272-9138-f99709370657
2007-02-14 07:46:11 +00:00
Adam Gashlin
b73960d3b9
Adding SPC codec (FS #6542 )
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12298 a1c6a512-1295-4272-9138-f99709370657
2007-02-14 03:34:55 +00:00
Miika Pekkarinen
9b9539c8d3
Make database endianess independent.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12297 a1c6a512-1295-4272-9138-f99709370657
2007-02-13 21:51:18 +00:00
Karl Kurbjun
b0810520be
Gigabeat Cradle USB Support
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12284 a1c6a512-1295-4272-9138-f99709370657
2007-02-12 07:05:15 +00:00
Dave Chapman
d64ed22add
FS #6646 from Ben Keroack - move the recently added AFMT_SPEEX to the end of the enum. The values here are used for the %fc WPS tag, so new codecs MUST be added at the end. Also add a comment to that effect.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12275 a1c6a512-1295-4272-9138-f99709370657
2007-02-11 22:31:08 +00:00
Miika Pekkarinen
4e9766477b
FS#6638 - Album artist and comment patch for WPS and tagcache. Export
...
your database before updating because initialization is needed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12255 a1c6a512-1295-4272-9138-f99709370657
2007-02-10 12:09:28 +00:00
Dan Everton
5158751263
Minor whitespace and formatting fixes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12253 a1c6a512-1295-4272-9138-f99709370657
2007-02-10 09:55:06 +00:00
Michael Sevakis
e8fe1f596f
SWCODEC Encoders: Better declarations of chunk flags. Mark constants as unsigned long to match structure variable type.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12252 a1c6a512-1295-4272-9138-f99709370657
2007-02-10 07:19:32 +00:00
Dan Everton
05985069e6
Remove accidental inclusion of album art patch fragment.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12247 a1c6a512-1295-4272-9138-f99709370657
2007-02-09 23:07:51 +00:00
Dan Everton
ebc58c9f06
Add Speex playback support. Patch from FS #5607 thanks to Frederik Vestre.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12241 a1c6a512-1295-4272-9138-f99709370657
2007-02-09 10:06:53 +00:00
Marcoen Hirschberg
e645e2dcf2
Fix the delay loops. Without scaling the CPU is always at 300MHz.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12229 a1c6a512-1295-4272-9138-f99709370657
2007-02-08 10:21:37 +00:00
Marcoen Hirschberg
6dd8fbe25d
disable CPU scaling again because it actually made the power consumption worse.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12228 a1c6a512-1295-4272-9138-f99709370657
2007-02-08 09:41:43 +00:00
Michael Sevakis
eed62f1657
Change the radio screen and recording screen to use the global_status structure for state. I guess global_status had been added already and I missed it. :D
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12222 a1c6a512-1295-4272-9138-f99709370657
2007-02-07 04:24:21 +00:00
Tom Ross
70ebc8feb1
Correct a deceptive comment. Clarify that this config file is only for the 4g grayscale iPod.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12220 a1c6a512-1295-4272-9138-f99709370657
2007-02-07 02:18:14 +00:00
Thom Johansen
5f48e1590f
Optimise EQ coef calculation routines for both speed and size. Move now unneeded fsqrt function to plugin fixed point library in case it'll be needed. Move all fixed point helper macros to dsp.h. Added FRACMUL_SHL macro to facilitate high-precision shifting of 64 bit multiplies and remove rounding from macsr in main thread to make this work as intended.
...
Tested quite thorougly, but as always, be careful with your ears.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12203 a1c6a512-1295-4272-9138-f99709370657
2007-02-05 01:01:15 +00:00
Linus Nielsen Feltzing
1eff300f18
New PLL calculations to make sure that PLLDIV != 0. This seems to solve the problem with the troublesome H140 batch from OutletMP3.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12201 a1c6a512-1295-4272-9138-f99709370657
2007-02-05 00:01:29 +00:00
Dave Chapman
4da04b77e2
Fix USB detection on ipods and other portalplayer targets - Rockbox now correctly distinguishes between a USB connection to a computer and a connection to a USB AC charger. Based on the experimental USB code in FS #6494 by Barry Wardell. Closes FS #4724 .
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12198 a1c6a512-1295-4272-9138-f99709370657
2007-02-04 21:46:01 +00:00
Barry Wardell
7174e88b19
Fix setting time on Sansa used to set the day to one day later than it
...
should.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12196 a1c6a512-1295-4272-9138-f99709370657
2007-02-04 20:43:25 +00:00
Daniel Ankers
88b3f39d73
Enable FAT16 support for Sansa E200
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12195 a1c6a512-1295-4272-9138-f99709370657
2007-02-04 15:42:55 +00:00
Daniel Ankers
67ec6177a7
Work around a bug in the Sansa flash driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12187 a1c6a512-1295-4272-9138-f99709370657
2007-02-04 03:20:36 +00:00
Barry Wardell
a7af649766
Backlight support for Sansa, including brightness. Thanks to Rene
...
Peinthor and FS#6608.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12186 a1c6a512-1295-4272-9138-f99709370657
2007-02-03 13:39:20 +00:00
Barry Wardell
1a2dddc346
RTC support for Sansa.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12185 a1c6a512-1295-4272-9138-f99709370657
2007-02-03 13:10:17 +00:00
Jens Arnold
6b0fdae0f6
Removed unused 'mode' parameter from mkdir() for consistency with creat().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12183 a1c6a512-1295-4272-9138-f99709370657
2007-02-03 10:28:55 +00:00
Linus Nielsen Feltzing
bc76a42eca
Corrected the comments regarding USB charging
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12181 a1c6a512-1295-4272-9138-f99709370657
2007-02-02 15:47:28 +00:00
Jens Arnold
67eb154146
Removed 'mode' parameter from creat(). It wasn't pure posix anyway, it was ignored on target and mixed into 'oflags' in the simulator. * Simplified io.c a bit by defining a dummy O_BINARY for OSes which don't have that.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12179 a1c6a512-1295-4272-9138-f99709370657
2007-02-01 23:08:15 +00:00
Daniel Ankers
fa7dd74cf5
Increase disk thread stack on the Sansa in line with the changes in r12093. Fixes the recent Sansa crashes. Thanks to Rene Peinthor
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12177 a1c6a512-1295-4272-9138-f99709370657
2007-02-01 20:22:19 +00:00
Steve Bavin
74db69e240
Fix dircache on simulators
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12175 a1c6a512-1295-4272-9138-f99709370657
2007-02-01 17:15:50 +00:00
Steve Bavin
338d94f466
FS#4770 - Add USB charging for the H300 series
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12169 a1c6a512-1295-4272-9138-f99709370657
2007-02-01 10:47:22 +00:00
Barry Wardell
003e084a7a
Power off on the Sansa more in line with how the OF does it (just change the relevant bit rather than the whole byte).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12166 a1c6a512-1295-4272-9138-f99709370657
2007-01-31 19:30:32 +00:00
Barry Wardell
83c831deae
Add power off for the Sansa. Thanks to Antonius Hellmann for figuring out how using the Sansa emulator in FS #6524 .
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12165 a1c6a512-1295-4272-9138-f99709370657
2007-01-31 17:10:01 +00:00
Michael Sevakis
0d094bd86d
Finish putting all the code and data that depends upon HAVE_PRIORITY_SCHEDULING into the #ifdef blocks
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12163 a1c6a512-1295-4272-9138-f99709370657
2007-01-31 06:43:31 +00:00
Linus Nielsen Feltzing
ca91b679a5
Reverting the FAT32 driver change - it seems to have introduced a bug
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12152 a1c6a512-1295-4272-9138-f99709370657
2007-01-29 23:35:21 +00:00
Linus Nielsen Feltzing
0f03e3af31
Changed fat_getnext():
...
1) Fixed a bug where really long filenames could be messed up if they spanned 3 sectors
2) Now uses 2 buffers instead of 3, without copying the buffers with memcpy()
3) Can now use aligned sector reads, first step towards iPod 5.5G 80GB
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12151 a1c6a512-1295-4272-9138-f99709370657
2007-01-29 22:26:16 +00:00
Nils Wallménius
942e4d8d58
Do not change backlight timeout and disk spindown timeout when battery is low
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12137 a1c6a512-1295-4272-9138-f99709370657
2007-01-28 20:38:11 +00:00
Barry Wardell
84b509dc43
FS#6554. Move bootloader code into a common file. Only PortalPlayer devices (iPods, H10, Sansa) are affected for the moment. Someone with access to (and no fear of bricking) an X5, H100, H300 and Gigabeat should try to adapt those bootloaders to also use the code in common.c. The (non-working) patch in the tracker would be a good place to start with this.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12136 a1c6a512-1295-4272-9138-f99709370657
2007-01-28 18:42:11 +00:00
Daniel Ankers
3a3b261077
Fix red builds
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12131 a1c6a512-1295-4272-9138-f99709370657
2007-01-27 20:48:48 +00:00
Daniel Ankers
df8446a72b
Oops - fix PortalPlayer builds
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12129 a1c6a512-1295-4272-9138-f99709370657
2007-01-27 20:39:09 +00:00
Daniel Ankers
ec0a362ea2
More PortalPlayer I2C unification work
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12128 a1c6a512-1295-4272-9138-f99709370657
2007-01-27 20:09:57 +00:00
Daniel Ankers
e80470e958
Fix a bug in the Sansa flash driver. Other bugs remain, as it does not pass the stress test yet.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12127 a1c6a512-1295-4272-9138-f99709370657
2007-01-27 18:57:57 +00:00
Daniel Ankers
e9a2caee2b
Unify I2C driver for all PortalPlayer targets
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12126 a1c6a512-1295-4272-9138-f99709370657
2007-01-27 17:17:52 +00:00
Barry Wardell
adc349891e
Clean up PP5002 I2C code (no functional changes):
...
Move into target tree.
Use #defines instead of inb/outb.
Also restore comments in PP5020 I2C code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12124 a1c6a512-1295-4272-9138-f99709370657
2007-01-27 15:20:30 +00:00
Barry Wardell
5e765b2ea2
Clean up PP5020 I2C code (no functional changes):
...
Move into target tree.
Use #defines instead of inb/outb.
Whitespace cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12123 a1c6a512-1295-4272-9138-f99709370657
2007-01-27 14:22:24 +00:00
Adam Gashlin
5d20c9d121
adding NSF (NES music) codec
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12112 a1c6a512-1295-4272-9138-f99709370657
2007-01-25 18:06:17 +00:00
Jens Arnold
5d51784faa
Assembler optimised ATA transfer loops for ARM targets. Only used for PP5020/5021/5022 targets atm. PP5002 seems to have problems with it not directly related to the asm code itself, and the gigabeat doesn't profit from it, probably because the CPU isn't the bottleneck even without optimisation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12099 a1c6a512-1295-4272-9138-f99709370657
2007-01-24 00:12:08 +00:00
Nils Wallménius
1b85f60ae0
Permanently enable powering down the disk when it's sleeping for supported targets (iriver h1xx, h3xx and h10, iaudio x5, gigabeat and archos recorders)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12094 a1c6a512-1295-4272-9138-f99709370657
2007-01-23 15:43:37 +00:00
Jonathan Gordon
b2e50906a4
Settings are now stored in /.rockbox/config.cfg instead of the hidden sector. (FS #6557 )
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12093 a1c6a512-1295-4272-9138-f99709370657
2007-01-23 13:40:44 +00:00
Jonathan Gordon
32dc7da2e2
Fix broken builds
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12088 a1c6a512-1295-4272-9138-f99709370657
2007-01-22 10:58:40 +00:00
Jonathan Gordon
f8c68c7912
Simple cpu boost tracker for LOGF builds. Shows the last 64 cpu_boost() calls from the debug menu
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12087 a1c6a512-1295-4272-9138-f99709370657
2007-01-22 10:41:25 +00:00
Jens Arnold
a3a303e440
The code police strikes back, and some minor optimisations.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12086 a1c6a512-1295-4272-9138-f99709370657
2007-01-21 10:10:23 +00:00
Steve Gotthardt
f97d24ff66
Retimed the i2c delay loops since we can be boosted or not
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12084 a1c6a512-1295-4272-9138-f99709370657
2007-01-20 22:16:01 +00:00
Barry Wardell
041e5dceca
On the H10 when we power the disk on again after spindown and poweroff we need to give it a little while to turn back on before we should try to access it. This should fix problems with disk accesses when coming from a disk poweroff state (related discussion in FS#6421).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12081 a1c6a512-1295-4272-9138-f99709370657
2007-01-20 01:21:47 +00:00
Nils Wallménius
faba818e1d
Comment out an unused function and make another one static to save a few bytes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12073 a1c6a512-1295-4272-9138-f99709370657
2007-01-19 15:55:11 +00:00
Jens Arnold
4012aaeb1d
iPod G3: Touching the wheel now resets the poweroff timer the same way as on the other iPods.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12071 a1c6a512-1295-4272-9138-f99709370657
2007-01-19 07:33:23 +00:00
Jens Arnold
11b06f0423
iPods: Touching the wheel now resets the poweroff timer, so the iPod no longer shuts down unexpectedly while operating the wheel only, e.g. in the text viewer.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12068 a1c6a512-1295-4272-9138-f99709370657
2007-01-18 22:10:29 +00:00
Marcoen Hirschberg
487e6a1d22
remove duplicate code and fix comments
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12066 a1c6a512-1295-4272-9138-f99709370657
2007-01-18 15:05:06 +00:00
Marcoen Hirschberg
b01da58c55
the gigabeat supports all frequencies but 64kHz
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12065 a1c6a512-1295-4272-9138-f99709370657
2007-01-18 13:48:06 +00:00
Greg White
186623e709
Move mono DRMODE optimizations from Gigabeat to all 16-bit targets
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12062 a1c6a512-1295-4272-9138-f99709370657
2007-01-18 02:29:58 +00:00
Dave Chapman
2e194c123b
Prevent sysfont.h being regenerated during every build.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12058 a1c6a512-1295-4272-9138-f99709370657
2007-01-18 00:46:52 +00:00
Marcoen Hirschberg
c45ae3edf2
fix backlight on hold key setting
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12055 a1c6a512-1295-4272-9138-f99709370657
2007-01-17 20:24:06 +00:00
Marcoen Hirschberg
c64684887a
re-enable CPU scaling (between 100 and 300MHz again) with a new implementation
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12047 a1c6a512-1295-4272-9138-f99709370657
2007-01-17 18:15:50 +00:00
Marcoen Hirschberg
7fe65c91fc
remove unused variable (fixes warning)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12045 a1c6a512-1295-4272-9138-f99709370657
2007-01-17 13:37:57 +00:00
Barry Wardell
3f8d732ac9
sysfont.h is only needed by devices with bitmap displays.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12042 a1c6a512-1295-4272-9138-f99709370657
2007-01-17 12:34:56 +00:00
Barry Wardell
f4709d0c7c
Make the build system create a sysfont.h which includes font information for the system font. Available #defines are: SYSFONT_NAME, SYSFONT_FACENAME, SYSFONT_WIDTH, SYSFONT_HEIGHT, SYSFONT_SIZE, SYSFONT_ASCENT, SYSFONT_DESCENT, SYSFONT_FIRST_CHAR, SYSFONT_LAST_CHAR, SYSFONT_DEFAULT_CHAR, SYSFONT_PROPORTIONAL, SYSFONT_COPYRIGHT, SYSFONT_BITS_SIZE.
...
Also fix a small bug in the iPod bootloader printf() code and use printf() for PortalPlayer bootloaders too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12041 a1c6a512-1295-4272-9138-f99709370657
2007-01-17 12:20:38 +00:00
Jonathan Gordon
b0d1bb891e
increase the dircache thread size to hopefully stop it StkOv'ing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12040 a1c6a512-1295-4272-9138-f99709370657
2007-01-17 10:25:11 +00:00
Steve Gotthardt
ac9d4ee7aa
Backing out the CPU boost for now. Found several issues from screen lines to crashing during wav play and running oscilliscope, etc
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12037 a1c6a512-1295-4272-9138-f99709370657
2007-01-17 03:04:31 +00:00
Greg White
708431da88
Back off CPU scaling to 300/200 due to reports of crashes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12034 a1c6a512-1295-4272-9138-f99709370657
2007-01-17 01:47:05 +00:00
Greg White
285aa1b0a6
Unroll loops
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12029 a1c6a512-1295-4272-9138-f99709370657
2007-01-16 20:38:25 +00:00
Marcoen Hirschberg
2b7873b4de
fix comment
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12024 a1c6a512-1295-4272-9138-f99709370657
2007-01-16 16:05:57 +00:00
Marcoen Hirschberg
6309eabc64
add cpu frequency scaling to the gigabeat. default/normal: 100MHz, boosted: 300MHz
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12023 a1c6a512-1295-4272-9138-f99709370657
2007-01-16 15:49:29 +00:00
Greg White
0fedaa205c
Fix inversevid mono drawing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12022 a1c6a512-1295-4272-9138-f99709370657
2007-01-16 14:58:25 +00:00
Greg White
9980b4ed6c
Merge various drawmodes; revert to C for common code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12021 a1c6a512-1295-4272-9138-f99709370657
2007-01-16 13:56:38 +00:00
Steve Gotthardt
cd05dbc7f4
Changed pausing so entire chunk is finished and keeps I2S engine aligned
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12020 a1c6a512-1295-4272-9138-f99709370657
2007-01-16 03:36:32 +00:00
Greg White
2127071653
Turn off USB host and NAND flash controller
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12019 a1c6a512-1295-4272-9138-f99709370657
2007-01-15 22:49:55 +00:00
Greg White
e07b30d9e2
Remove bogus variables to fix warnings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12016 a1c6a512-1295-4272-9138-f99709370657
2007-01-15 13:16:28 +00:00
Greg White
69bb436223
Optimize transparent blit; optimize DRMODE_SOLID for mono bitmaps
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12015 a1c6a512-1295-4272-9138-f99709370657
2007-01-15 13:07:47 +00:00
Greg White
7f4ca01b3d
Update battery capacity and discharge tables to reflect current battery benchmarks
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12010 a1c6a512-1295-4272-9138-f99709370657
2007-01-14 14:12:48 +00:00
Dave Chapman
d64e626387
Start of work on a port to the Archos 'AV300' (AV320/340/380) - a working UI simulator (but with a dummy background image for now) and the beginnings of the target-specific firmare code. Port is temporarily using a 2bpp LCD buffer format - the AV300 has a 320x240 colour (YCbCr-based) LCD which will need a new framebuffer format and drawing routines, but the LCD is also capable of various paletted bitmap modes, one of which has an identical framebuffer format to the greyscale ipods. Buttons (and hence the button mappings) are identical to the Archos Recorder, with the exception that the PLAY button on the Recorder is replaced by pressing the joystick on the AV300 (which I call BUTTON_SELECT). The initial port will begin by being strictly HWCODEC, but will evolve to be a hybrid SWCODEC/HWCODEC platform - it has a MAS3587F but also a main CPU (54MHz arm7tdmi plus DSP) capable of software decoding of at least some formats.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12008 a1c6a512-1295-4272-9138-f99709370657
2007-01-14 13:48:09 +00:00
Jens Arnold
72f1027b3e
Enabled zero crossing detection for volume changes in the WM8721/WM8731 driver (iPod G3, iPod Mini G1/G2, Iriver H10).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12006 a1c6a512-1295-4272-9138-f99709370657
2007-01-14 12:38:40 +00:00
Greg White
382b7a4f86
Skip scroll check when LCD is disabled
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12004 a1c6a512-1295-4272-9138-f99709370657
2007-01-14 03:30:11 +00:00
Greg White
b26f4720c8
Idle CPU directly; minor cleanup
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12002 a1c6a512-1295-4272-9138-f99709370657
2007-01-14 03:28:31 +00:00
Steve Gotthardt
d4afc4b9b9
Added zero crossing check before changing volume to avoid noise during volume changes. Removed extra volume sets. Added delay for vref to settle per app notes to reduce start up clicks.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12001 a1c6a512-1295-4272-9138-f99709370657
2007-01-13 23:57:19 +00:00
Daniel Ankers
1010b76c72
ARM optimised memcpy/memmove from glibc. This should give increased performance on all ARM targets, especially iPod 5G
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12000 a1c6a512-1295-4272-9138-f99709370657
2007-01-13 23:57:14 +00:00
Greg White
355be5010a
Setup LCD ourselves; move LCD buffer and TTB to free up 1.7MB of memory
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11994 a1c6a512-1295-4272-9138-f99709370657
2007-01-13 02:24:15 +00:00
Miika Pekkarinen
35b0c3f24f
Updated bootloader for H120/H140 and entirely disabled flashing code for H100 until somebody tests it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11993 a1c6a512-1295-4272-9138-f99709370657
2007-01-12 20:45:37 +00:00
Miika Pekkarinen
73cd9f3b63
Turn backlight ON at boot unless bootloader has already done that.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11992 a1c6a512-1295-4272-9138-f99709370657
2007-01-12 20:26:23 +00:00
Miika Pekkarinen
0ea4d3197e
Prepare core support for the iriver bootloader supporting ROM images
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11991 a1c6a512-1295-4272-9138-f99709370657
2007-01-12 18:34:00 +00:00
Steve Bavin
12ef310466
Fix lockup of simulator at startup if dircache enabled
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11990 a1c6a512-1295-4272-9138-f99709370657
2007-01-12 11:10:04 +00:00
Greg White
a175b21fdb
Reduce initial fade delay; remove bogus debug from lcd-meg-fx.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11985 a1c6a512-1295-4272-9138-f99709370657
2007-01-11 10:40:26 +00:00
Greg White
05e2d47c9f
Minor MMU fixes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11984 a1c6a512-1295-4272-9138-f99709370657
2007-01-11 10:28:33 +00:00
Greg White
ffb50d07af
Add initial backlight delay to stop backlight from fading during boot; switch to IDLE instead of yield()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11983 a1c6a512-1295-4272-9138-f99709370657
2007-01-11 10:24:21 +00:00
Björn Stenberg
08b1e490e1
Removed second test
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11969 a1c6a512-1295-4272-9138-f99709370657
2007-01-09 23:38:42 +00:00
Björn Stenberg
dea7d35c0f
More testing...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11968 a1c6a512-1295-4272-9138-f99709370657
2007-01-09 23:34:29 +00:00
Linus Nielsen Feltzing
e2022a26d0
Removed executable flag
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11967 a1c6a512-1295-4272-9138-f99709370657
2007-01-09 23:29:07 +00:00
Björn Stenberg
95ce54b743
Removed test text
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11965 a1c6a512-1295-4272-9138-f99709370657
2007-01-09 22:51:25 +00:00
Björn Stenberg
83bdb3ec2c
Test commit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11964 a1c6a512-1295-4272-9138-f99709370657
2007-01-09 22:48:46 +00:00
Björn Stenberg
4e08e7b0a4
Test commit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11963 a1c6a512-1295-4272-9138-f99709370657
2007-01-09 22:47:38 +00:00
Björn Stenberg
577867e93d
Test commit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11962 a1c6a512-1295-4272-9138-f99709370657
2007-01-09 22:36:38 +00:00
Björn Stenberg
6090232c7a
Test commit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11961 a1c6a512-1295-4272-9138-f99709370657
2007-01-09 22:34:05 +00:00
Björn Stenberg
c4807d3924
Test commit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11960 a1c6a512-1295-4272-9138-f99709370657
2007-01-09 22:00:08 +00:00
Björn Stenberg
4318f59b40
Test commit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11959 a1c6a512-1295-4272-9138-f99709370657
2007-01-09 21:57:43 +00:00
Björn Stenberg
bfcc9ea6a2
Test commit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11958 a1c6a512-1295-4272-9138-f99709370657
2007-01-09 21:51:17 +00:00
Björn Stenberg
872482ad58
Reverted test
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11957 a1c6a512-1295-4272-9138-f99709370657
2007-01-09 21:13:57 +00:00
Björn Stenberg
283da1c2de
Test commit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11955 a1c6a512-1295-4272-9138-f99709370657
2007-01-09 19:18:19 +00:00
Miika Pekkarinen
ee4caec3c2
Fixed the rombox generation for SH1.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11950 a1c6a512-1295-4272-9138-f99709370657
2007-01-08 19:19:23 +00:00
Miika Pekkarinen
a9121491cc
Add a check to verify ATA driver has been initialised in ata_sleepnow().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11949 a1c6a512-1295-4272-9138-f99709370657
2007-01-08 18:26:03 +00:00
Miika Pekkarinen
52bb5e1e63
Hxxx battery voltage level for forced shutdown was little too low.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11948 a1c6a512-1295-4272-9138-f99709370657
2007-01-08 18:23:38 +00:00
Miika Pekkarinen
b1af4e6cc8
Enable ROM file generation for H120/H140.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11947 a1c6a512-1295-4272-9138-f99709370657
2007-01-08 18:21:12 +00:00
Steve Gotthardt
93b047fffe
Updated buttonlights for the Gigabeat port. Added LCD controller off and on for extra power savings - thanks to Greg White. Incorporated feedback from Gary Allen. Added 'battery charging' mode: shows leds during charging. Added 'follow' mode that turns off leds when backlight goes off. Flicker mode and new solid mode only show during disk access. Access settings from Info/debug menu for now.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11945 a1c6a512-1295-4272-9138-f99709370657
2007-01-08 08:53:36 +00:00
Greg White
5693622cd4
Make lcd_enable more tolerant of multiple calls
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11943 a1c6a512-1295-4272-9138-f99709370657
2007-01-08 02:31:12 +00:00
Dominik Riebeling
8cce37f161
"Trash Metal" should be "Thrash Metal". Reported as FS#6503, checked against Winamp.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11942 a1c6a512-1295-4272-9138-f99709370657
2007-01-07 23:10:21 +00:00
Jens Arnold
2f428871ea
Allow one more thread on swcodec to make mpegplayer work on targets with remote LCD and voice file present.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11937 a1c6a512-1295-4272-9138-f99709370657
2007-01-07 11:59:59 +00:00
Steve Gotthardt
a0c3f81d10
Added header include to suppress compiler warning
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11936 a1c6a512-1295-4272-9138-f99709370657
2007-01-07 06:56:24 +00:00
Steve Gotthardt
c07814fce1
Revamped the backlight state machine and added buttonlight controls. Go to the Info/debug menu and test out the new modes for buttonlights on the Gigabeat - ON, OFF, Faint, and flicker - flickers on touchpad and disk reads.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11935 a1c6a512-1295-4272-9138-f99709370657
2007-01-07 06:38:57 +00:00
Greg White
45bef7d914
Fix range for cache cleans
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11928 a1c6a512-1295-4272-9138-f99709370657
2007-01-06 02:48:26 +00:00
Greg White
ebcd762fb2
Read byte by byte rather than DMA for unaligned transfer
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11927 a1c6a512-1295-4272-9138-f99709370657
2007-01-06 01:26:36 +00:00
Steve Gotthardt
ccfa883d78
The i2c driver did not conform with i2c spec and was missing the restart. Some of the commands worked, but not every time.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11915 a1c6a512-1295-4272-9138-f99709370657
2007-01-05 08:50:09 +00:00
Greg White
5668505d6b
Switch DMA wait loop to idle CPU
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11914 a1c6a512-1295-4272-9138-f99709370657
2007-01-05 04:17:25 +00:00
Greg White
922c0d6d33
Fix simulator build
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11910 a1c6a512-1295-4272-9138-f99709370657
2007-01-04 12:13:56 +00:00
Greg White
ae5cf68e48
Created
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11909 a1c6a512-1295-4272-9138-f99709370657
2007-01-04 11:56:49 +00:00
Greg White
fbc1612a51
Move invalidate_icache macro to function in GB target tree, GB only
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11908 a1c6a512-1295-4272-9138-f99709370657
2007-01-04 11:45:06 +00:00
Greg White
9d0faed29c
Use DMA for Blit to screen/clear
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11906 a1c6a512-1295-4272-9138-f99709370657
2007-01-04 11:43:33 +00:00
Greg White
dd7b75bd2c
Flush DMA buffers for DMA
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11905 a1c6a512-1295-4272-9138-f99709370657
2007-01-04 11:36:25 +00:00
Greg White
6eb81e2dc8
ATA reads now use DMA
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11904 a1c6a512-1295-4272-9138-f99709370657
2007-01-04 11:35:09 +00:00
Greg White
0b4f3d9cfa
Move system specific reboot
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11903 a1c6a512-1295-4272-9138-f99709370657
2007-01-04 11:33:13 +00:00