Commit graph

209 commits

Author SHA1 Message Date
Peter D'Hoye
1f760b8db4 battery_viewer: prevent div by zero if power_history highest and lowest values are identical
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10961 a1c6a512-1295-4272-9138-f99709370657
2006-09-16 19:35:28 +00:00
Miika Pekkarinen
610190a04e Fixed the errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10959 a1c6a512-1295-4272-9138-f99709370657
2006-09-16 16:33:42 +00:00
Miika Pekkarinen
a85044bf9e New scheduler, with priorities for swcodec platforms. Frequent task
switching should be more efficient and tasks are stored in linked
lists to eliminate unnecessary task switching to improve performance.
Audio should no longer skip on swcodec targets caused by too CPU
hungry UI thread or background threads.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10958 a1c6a512-1295-4272-9138-f99709370657
2006-09-16 16:18:11 +00:00
Miika Pekkarinen
8aa6180e92 Fixed the errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10854 a1c6a512-1295-4272-9138-f99709370657
2006-09-02 08:14:52 +00:00
Miika Pekkarinen
3686228f9d Cleanup threads.c by moving declarations inside structs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10853 a1c6a512-1295-4272-9138-f99709370657
2006-09-02 07:56:52 +00:00
Daniel Ankers
c1e454508e Save a few bytes on non-Portalplayer builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10831 a1c6a512-1295-4272-9138-f99709370657
2006-08-31 20:19:18 +00:00
Daniel Ankers
5076c84723 Oops - fix warnings for Player
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10682 a1c6a512-1295-4272-9138-f99709370657
2006-08-21 17:49:57 +00:00
Daniel Ankers
0aec12f3fd Threading changes in preparation for multiple core support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10681 a1c6a512-1295-4272-9138-f99709370657
2006-08-21 17:35:35 +00:00
Marcoen Hirschberg
f59a37d3e8 fix gigabeat simulator build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10674 a1c6a512-1295-4272-9138-f99709370657
2006-08-21 12:21:16 +00:00
Peter D'Hoye
3b44ec9b0a Oops... small changes catch most errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10618 a1c6a512-1295-4272-9138-f99709370657
2006-08-16 18:57:34 +00:00
Peter D'Hoye
6a8f06f6cb Show a splash on successful eeprom write to let the user know something happened and it went well
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10617 a1c6a512-1295-4272-9138-f99709370657
2006-08-16 18:56:08 +00:00
Hristo Kovachev
1dc62dfc6b Okay, use µs instead of us
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10607 a1c6a512-1295-4272-9138-f99709370657
2006-08-16 09:15:40 +00:00
Hristo Kovachev
340de14c0e Fix the stupid text editor's silliness and use "us" for microsec
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10605 a1c6a512-1295-4272-9138-f99709370657
2006-08-16 07:02:46 +00:00
Jonathan Gordon
475be662a7 put the timeouts back the way they were (sorry amiconn)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10603 a1c6a512-1295-4272-9138-f99709370657
2006-08-16 04:27:33 +00:00
Peter D'Hoye
c4a59a290b eeprom driver for the h3x0 series, cleaned up the h1x0 series driver a bit, added debug entry for h3x0 that allows to write to the eeprom
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10597 a1c6a512-1295-4272-9138-f99709370657
2006-08-15 22:54:06 +00:00
Linus Nielsen Feltzing
6d97f6d949 Removed a warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10585 a1c6a512-1295-4272-9138-f99709370657
2006-08-15 12:56:26 +00:00
Linus Nielsen Feltzing
224c0a13eb Finally, the new button action system is here, thanks to Jonathan Gordon. Some button mappings have changed and other things may break. Comments should go to the forum, http://forums.rockbox.org/index.php?topic=5829.0 or the mailing list.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10582 a1c6a512-1295-4272-9138-f99709370657
2006-08-15 12:27:07 +00:00
Rani Hod
d159ae54b6 support for more detailed FM radio debug info and for X5 flash debug
info.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10530 a1c6a512-1295-4272-9138-f99709370657
2006-08-11 17:39:34 +00:00
Peter D'Hoye
5375e26e51 eeprom dump in debug screen: fix return value check
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10467 a1c6a512-1295-4272-9138-f99709370657
2006-08-06 21:48:59 +00:00
Miika Pekkarinen
954b732654 Initial support and use for EEPROM memory on H120 & H140 players when
Rockbox firmware has been flashed over original firmware (not yet
possible to do). Dircache & tagcache serialization for fast bootup
without the need to scan disk when Rockbox is in flash.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10464 a1c6a512-1295-4272-9138-f99709370657
2006-08-05 20:19:10 +00:00
Miika Pekkarinen
cb8c795415 Support importing runtimedb data from ascii files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10260 a1c6a512-1295-4272-9138-f99709370657
2006-07-20 12:19:31 +00:00
Jens Arnold
0dd1f8ec11 Work-in-progress rework of charging status reading & display: * Changed several charging related HAVE_* macros into one multi-value CONFIG_CHARGING. * Always use proper macros for charging states. * Battery symbol charging animation now starts from current level on all targets with charging. Two-colour animation kept for non-b&w targets. Round down fill level while charging as before, but round to nearest pixel value for discharging on all targets. * Charging anim fixed on player. * Some code cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10080 a1c6a512-1295-4272-9138-f99709370657
2006-06-06 22:23:52 +00:00
Jens Arnold
e1beea86d2 Moved the free diskspace scan into 'Rockbox Info'. Idea based on patch #4800 by Manuel Dejonghe.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9985 a1c6a512-1295-4272-9138-f99709370657
2006-05-25 13:34:51 +00:00
Jens Arnold
073f1978e2 H1x0: Add SPDIF power control and frequency measurement to the SPDIF monitor.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9919 a1c6a512-1295-4272-9138-f99709370657
2006-05-12 01:10:18 +00:00
Jens Arnold
1d08533377 Ipod: Move the HW revision to 'View HW info' where it belongs, and make both the HW revision and port debug work on mini (didn't fit the LCD).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9887 a1c6a512-1295-4272-9138-f99709370657
2006-05-07 22:56:44 +00:00
Jens Arnold
106f7738a0 We don't need 2 different CRC functions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9886 a1c6a512-1295-4272-9138-f99709370657
2006-05-07 22:19:29 +00:00
Brandon Low
75de60b9e8 Reduce instructions in debug audio thread loop slightly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9807 a1c6a512-1295-4272-9138-f99709370657
2006-04-25 20:32:38 +00:00
Brandon Low
6c0908b416 Rework crossfade to properly follow pcmbuf chunks instaed of blindly inserting into the ring buffer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9780 a1c6a512-1295-4272-9138-f99709370657
2006-04-23 22:54:34 +00:00
Miika Pekkarinen
4142710a47 Much faster optimized version of tagcache commit. Added a few items to
the debug menu (still buggy) and fixed a problem with partial tagcache
updates.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9775 a1c6a512-1295-4272-9138-f99709370657
2006-04-23 18:47:26 +00:00
Jens Arnold
62aaf1d734 Use correct macros to check for iriver architecture.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9749 a1c6a512-1295-4272-9138-f99709370657
2006-04-20 21:05:04 +00:00
Brandon Low
bb2eecb496 comment a type change for audio debug
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9654 a1c6a512-1295-4272-9138-f99709370657
2006-04-14 04:46:05 +00:00
Brandon Low
72232bdc66 Fix bad rebuffering bug, and kill the track_count variable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9571 a1c6a512-1295-4272-9138-f99709370657
2006-04-09 02:15:35 +00:00
Jens Arnold
4ac150e8d3 Get rid of the redundant APPLE_* macros. * Fix wrong comments in lcd-ipod.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9561 a1c6a512-1295-4272-9138-f99709370657
2006-04-08 09:08:38 +00:00
Miika Pekkarinen
d9ef5980df Fixed the debug menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9262 a1c6a512-1295-4272-9138-f99709370657
2006-03-26 17:09:32 +00:00
Miika Pekkarinen
7c4e0c8730 Initial version of tagcache! There are still some bugs in the engine
and much more problems with the UI.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9256 a1c6a512-1295-4272-9138-f99709370657
2006-03-26 11:33:42 +00:00
Brandon Low
5650b70517 Fix some problems with using USB_POWERED as a charging state separate from charger_inserted
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9109 a1c6a512-1295-4272-9138-f99709370657
2006-03-19 01:01:03 +00:00
Linus Nielsen Feltzing
a6fb393507 Red build fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9108 a1c6a512-1295-4272-9138-f99709370657
2006-03-18 23:42:34 +00:00
Linus Nielsen Feltzing
9ffaa175a7 iAudio fixes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9107 a1c6a512-1295-4272-9138-f99709370657
2006-03-18 23:07:34 +00:00
Brandon Low
b7c7df788e Fix red builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9091 a1c6a512-1295-4272-9138-f99709370657
2006-03-18 09:34:58 +00:00
Brandon Low
d00d58896b Patch FS#4841 from Ralf Herz, debug more io ports on the PP5020 based ipods
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9088 a1c6a512-1295-4272-9138-f99709370657
2006-03-18 09:13:55 +00:00
Thom Johansen
310d191f06 I could have sworn i removed that before commiting...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9071 a1c6a512-1295-4272-9138-f99709370657
2006-03-17 02:04:46 +00:00
Thom Johansen
f6e856774c CPU boosting support for ipod nano and video. The rest of the targets
are either untested or do not work with the current code.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9070 a1c6a512-1295-4272-9138-f99709370657
2006-03-17 02:02:13 +00:00
Linus Nielsen Feltzing
00811840c9 Remote type autodetection on iriver, remote_type() returns REMOTETYPE_H100_LCD, REMOTETYPE_H300_LCD or REMOTETYPE_H300_NONLCD
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8721 a1c6a512-1295-4272-9138-f99709370657
2006-02-17 22:38:38 +00:00
Brandon Low
413da2a3d9 Rework PCM buffer
* Linked list instead of static array buffer pointers
* Variable sized chunks
* Improved mix handling
* Reduction in duplicated code
* Reduced IRAM usage w/o sacrificing performance
* Converted to almost entirely unsigned math
* Add pause function to reduce pcm_* exposure to playback.

This WILL break playback on the iPod until linuxstb makes a followup commit.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8612 a1c6a512-1295-4272-9138-f99709370657
2006-02-07 20:38:55 +00:00
Jens Arnold
1c044d06a6 Leave the port debug menu on button release to allow reading the cancel button input value.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8604 a1c6a512-1295-4272-9138-f99709370657
2006-02-07 11:20:50 +00:00
Dave Chapman
c4c7ff700c Disable dbg_flash_id menu for PP5002 devices
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8592 a1c6a512-1295-4272-9138-f99709370657
2006-02-05 21:21:31 +00:00
Dave Chapman
8cd8a950d2 iPod: Initial implementation of a debug i/o ports screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8500 a1c6a512-1295-4272-9138-f99709370657
2006-01-31 01:50:10 +00:00
Brandon Low
a452c7410d Start cleaning up some #ifdefs in charging code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8391 a1c6a512-1295-4272-9138-f99709370657
2006-01-19 19:39:51 +00:00
Dave Chapman
d83e929f3f Work-in-progress iriver iFP-7xx port by Tomasz Malesinski
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8342 a1c6a512-1295-4272-9138-f99709370657
2006-01-12 00:35:50 +00:00
Dave Chapman
7758763ef3 Little-endian targets: Correctly byte-swap the ATA identify_info data when converting from shorts to chars
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8239 a1c6a512-1295-4272-9138-f99709370657
2005-12-15 08:43:03 +00:00