Commit graph

195 commits

Author SHA1 Message Date
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
Miika Pekkarinen
29e04eff05 More comments to the dircache functions and a debug menu entry to
determine how long the disk scanning took.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8072 a1c6a512-1295-4272-9138-f99709370657
2005-11-26 20:47:10 +00:00
Miika Pekkarinen
8f280a30f3 Debug menu entry for the dircache.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8071 a1c6a512-1295-4272-9138-f99709370657
2005-11-26 20:22:19 +00:00
Kevin Ferrare
e991beed6d replaced all the splash calls by gui_sync_splash, added some missing remote key in the playlist viewer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7909 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 15:12:15 +00:00
Dave Chapman
0cdd21e9dc iPod: dummy implementation of dbg_flash_id()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7828 a1c6a512-1295-4272-9138-f99709370657
2005-11-12 15:56:43 +00:00
Andy
e6e5496535 iRiver: Initial support for wav-recording in recording menu. Supports mic/line-in (and radio), monitor mode, time-splitting (and byte-splitting), pause/resume etc. Things todo: Prerecording, peakmeter (should be simple), frequency other than 44.1 kHz, etc..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7818 a1c6a512-1295-4272-9138-f99709370657
2005-11-12 04:00:56 +00:00
Jens Arnold
fbcb699499 H300: Fix dbg_save_roms().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7801 a1c6a512-1295-4272-9138-f99709370657
2005-11-09 01:26:33 +00:00
Jens Arnold
f2314de0b1 Recorder v1: removed duplicate battery debug code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7745 a1c6a512-1295-4272-9138-f99709370657
2005-11-03 21:21:37 +00:00
Jens Arnold
5fd58dc0ef Debug menu: Added flash ID reading and ROM dump for H1x0. * #if(def) cleanup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7612 a1c6a512-1295-4272-9138-f99709370657
2005-10-10 19:43:07 +00:00
Jens Arnold
1f39f2e748 Ported the memory guard debug feature to coldfire, using the breakpoint logic. There are 3 shortcomings compared to SH1: (1) While the setting itself survives RoLo, it cannot be read back because the debug module programming model is write only. (2) system_reboot() from a 'Debug' exception doesn't work because the CPU enters emulation mode, and the only way leaving this mode is via an rte instruction. (3) (fixable) Catching write accesses to the flash doesn't actually do anything because the flash memory area is set write protected in CSMR2, so a write attempt stalls the bus. * Cosmetic changes in system.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7600 a1c6a512-1295-4272-9138-f99709370657
2005-10-08 20:09:07 +00:00
Jens Arnold
cfb073c452 Coldfire: New timer handling on CPU frequency change, adjusting the prescaler on the fly, for both tick and user timer. Precondition is that the higher frequencies are integer multiples of the base: now NORMAL is 45 MHz and MAX is 124 MHz. Removes the need for applications with longer timer periods (>= 10 ms) to boost the CPU all the time, e.g. the grayscale lib. Timer counts are now always based on the base frequency (CPU_FREQ). * Adjusted the RAM refresh timers to the new frequencies (all frequencies for H100) * All: Fixed the tick timer count being off by one.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7576 a1c6a512-1295-4272-9138-f99709370657
2005-10-03 09:24:36 +00:00
Jens Arnold
d6c054575b Renamed CONFIG_HWCODEC and MASNONE to the more appropriate CONFIG_CODEC and SWCODEC, respectively.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7416 a1c6a512-1295-4272-9138-f99709370657
2005-08-29 21:15:27 +00:00
Miika Pekkarinen
159c52dd36 Initial voice ui support for software codec platforms. Added also a
beep when changing tracks.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7360 a1c6a512-1295-4272-9138-f99709370657
2005-08-20 11:13:19 +00:00
Linus Nielsen Feltzing
57d8e8fe0c Some more cosmetic fixes for bitmap displays in the debug menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7348 a1c6a512-1295-4272-9138-f99709370657
2005-08-18 07:16:53 +00:00
Linus Nielsen Feltzing
f22eeee119 Use the system font in the debug screens
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7327 a1c6a512-1295-4272-9138-f99709370657
2005-08-14 08:43:05 +00:00