Commit graph

174 commits

Author SHA1 Message Date
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
Miika Pekkarinen
f090dc3829 Crossfade (and pcm buffer size) length is now configurable.
Implemented anti-skip buffer setting for iriver also. Settings block
bumped up, PLEASE SAVE YOUR SETTINGS BEFORE UPGRADING.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7210 a1c6a512-1295-4272-9138-f99709370657
2005-07-21 11:44:00 +00:00
Linus Nielsen Feltzing
3c82b84d52 iriver debug menu: S/PDIF analyzer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7190 a1c6a512-1295-4272-9138-f99709370657
2005-07-18 18:28:49 +00:00
Christian Gmeiner
c6ff1f5eb5 Added CPU_COLDFIRE define - one step closer to iAudio-port
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7186 a1c6a512-1295-4272-9138-f99709370657
2005-07-18 12:40:29 +00:00
Miika Pekkarinen
b0e78a4674 Fixed the errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7133 a1c6a512-1295-4272-9138-f99709370657
2005-07-13 13:13:10 +00:00
Linus Nielsen Feltzing
b6242daf4d Wrong model check in the debug menu. Now the recording test is back on the H120/H140 models.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7099 a1c6a512-1295-4272-9138-f99709370657
2005-07-11 12:09:01 +00:00
Jens Arnold
b1ecc8319d Archos devices: Removed MAS and RTC debug menu options. They are no longer used nowadays, so we can save the space.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7097 a1c6a512-1295-4272-9138-f99709370657
2005-07-10 23:38:13 +00:00
Daniel Stenberg
01377e2e57 Hristo Kovachev's keypad fixes for the H300 build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6912 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 12:47:24 +00:00
Jens Arnold
934941294b Core functions taking advantage of the new, optimised lcd_hline() and lcd_vline() functions. Some cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6859 a1c6a512-1295-4272-9138-f99709370657
2005-06-25 00:28:09 +00:00
Jens Arnold
04daef17a1 First part of graphics api rework. Special functions, parameter handling, pixel functions, lines and filled primitives done for black & white core, main display.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6856 a1c6a512-1295-4272-9138-f99709370657
2005-06-24 22:33:21 +00:00
Jens Arnold
7ec8aa2a2c Undid the variable font size handling in audio_debug since it now uses the system default font.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6832 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 22:38:52 +00:00
Linus Nielsen Feltzing
44bba0f2c0 Use system font for the audio thread debug screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6828 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 21:37:00 +00:00
Jonas Häggqvist
97a1cf80f7 Mind the line-height
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6826 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 21:30:34 +00:00
Linus Nielsen Feltzing
17098e1c08 More audio thread debug info
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6820 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 20:37:31 +00:00
Linus Nielsen Feltzing
fcc282c48a OOps, bad handling of tick_remove_task()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6806 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 14:09:07 +00:00
Linus Nielsen Feltzing
b5a0f70e5b New debug screen for sw codec audio thread
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6805 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 14:03:04 +00:00
Andy
e5d08722f8 Iriver: First attempt at recording. Use Info->Debug->PCM recording to test recording of wav-files. Seams to work fine except occasional 100 ms noise at pos 100 ms (not later) so initialization or synch problem..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6763 a1c6a512-1295-4272-9138-f99709370657
2005-06-19 03:05:53 +00:00
Jens Arnold
4c7da88618 Iriver UDA1380 volume and balance handling is now done in sound.c, similar to archos player; removed pcm_set_volume(). Implemented a dB-linear scale. Sorted & bumped plugin api. Removed audio test from the debug menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6741 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 01:25:47 +00:00
Linus Nielsen Feltzing
e00062208a Audio thread debug is only for bitmapped LCD
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6586 a1c6a512-1295-4272-9138-f99709370657
2005-06-06 01:06:22 +00:00
Linus Nielsen Feltzing
a29c31543d Audio thread debug is only for MAS at the moment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6585 a1c6a512-1295-4272-9138-f99709370657
2005-06-06 00:35:49 +00:00
Daniel Stenberg
c95319f6fd Added logfdump - that writes the internal logf log to .rockbox/logf.txt
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6545 a1c6a512-1295-4272-9138-f99709370657
2005-06-01 13:07:37 +00:00
Daniel Stenberg
edc07922eb (Optional) logf support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6538 a1c6a512-1295-4272-9138-f99709370657
2005-05-30 13:00:43 +00:00