Commit graph

269 commits

Author SHA1 Message Date
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
Jens Arnold
8ca1831a5e Adjusted MMC debug info.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6530 a1c6a512-1295-4272-9138-f99709370657
2005-05-27 21:47:50 +00:00
Jens Arnold
d89b75bbc0 Removed dead code; some minor optimisations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6427 a1c6a512-1295-4272-9138-f99709370657
2005-05-08 12:16:46 +00:00
Jens Arnold
b4861738c9 Bugfix: debug_fm_detection was defined twice. Removed it, since it only had a meaning for the Samsung tuner chip and is thus no longer needed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6411 a1c6a512-1295-4272-9138-f99709370657
2005-05-07 01:09:09 +00:00
Jens Arnold
4ddb32008a Bugfix: ata_device is a char in ata.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6409 a1c6a512-1295-4272-9138-f99709370657
2005-05-06 21:55:34 +00:00
Jens Arnold
a7f7781dca MMC driver does now handle block sizes != 512 bytes, which is necessary to support cards > 1 GB. Changed error handling to use the same method as other parts of rockbox, allowing to trace the call chain. Long policy, code cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6366 a1c6a512-1295-4272-9138-f99709370657
2005-04-28 01:11:21 +00:00
Linus Nielsen Feltzing
267eb077a7 New API for buffered PCM playback
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6284 a1c6a512-1295-4272-9138-f99709370657
2005-04-14 11:51:31 +00:00
Linus Nielsen Feltzing
43bf39edb7 First lame attempt to show correct battery level on the iRiver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6258 a1c6a512-1295-4272-9138-f99709370657
2005-04-06 23:53:19 +00:00
Linus Nielsen Feltzing
d34865a530 mp3buf renamed to audiobuf
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6252 a1c6a512-1295-4272-9138-f99709370657
2005-04-05 11:33:58 +00:00
Linus Nielsen Feltzing
8a237a829e More audio code restructuring, mostly renaming functions so far
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6246 a1c6a512-1295-4272-9138-f99709370657
2005-04-04 12:06:29 +00:00
Linus Nielsen Feltzing
7eeb40b649 iRiver: More DMA debug output
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6235 a1c6a512-1295-4272-9138-f99709370657
2005-03-31 06:49:59 +00:00
Michiel Van Der Kolk
9d2531a637 Re-do previous patch, again. xshock's patch undid this.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6229 a1c6a512-1295-4272-9138-f99709370657
2005-03-28 00:47:09 +00:00
Michiel Van Der Kolk
451dd48adc Sound api improvements, rockboy sound, contributed by xshock.
Playback of sound currently only works in boost mode, needs fixing.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6226 a1c6a512-1295-4272-9138-f99709370657
2005-03-28 00:00:24 +00:00
Jörg Hohensohn
3644fa2824 patch # 1159539 from GvB: V1 charging cleanup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6224 a1c6a512-1295-4272-9138-f99709370657
2005-03-23 20:53:37 +00:00
Linus Nielsen Feltzing
1bba84ff98 Audio test is only for iriver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6213 a1c6a512-1295-4272-9138-f99709370657
2005-03-18 12:47:06 +00:00
Linus Nielsen Feltzing
70161bfeaf PCM playback test code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6212 a1c6a512-1295-4272-9138-f99709370657
2005-03-18 11:40:09 +00:00
Linus Nielsen Feltzing
c71db259dc Use BUTTON_PLAY on Gmini
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6162 a1c6a512-1295-4272-9138-f99709370657
2005-03-07 13:02:06 +00:00
Linus Nielsen Feltzing
213d34ed1d Dedicated CPU frequency debug screen for CPU's with PLL
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6161 a1c6a512-1295-4272-9138-f99709370657
2005-03-07 10:51:43 +00:00
Jörg Hohensohn
2584896920 More aggressive Recorder V1 charging (patch #1116884 from Jerry Van Baren)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6105 a1c6a512-1295-4272-9138-f99709370657
2005-03-03 07:25:43 +00:00
Jens Arnold
78520e6244 Fixed some warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6098 a1c6a512-1295-4272-9138-f99709370657
2005-03-01 21:53:34 +00:00
Linus Nielsen Feltzing
aceef07c87 Debug interface for the CPU frequency adjustment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6097 a1c6a512-1295-4272-9138-f99709370657
2005-03-01 14:40:27 +00:00
Jean-Philippe Bernardy
234489a449 gmini: updated to new interface for ddma
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6055 a1c6a512-1295-4272-9138-f99709370657
2005-02-25 09:19:44 +00:00
Jens Arnold
b3017c8701 Fixed calculation of MMC sector count. Display sector count instead of (rough) size info for debugging.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5937 a1c6a512-1295-4272-9138-f99709370657
2005-02-12 23:09:00 +00:00
Linus Nielsen Feltzing
6805475fb9 iRiver: Added dbg_ports()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5910 a1c6a512-1295-4272-9138-f99709370657
2005-02-11 13:16:09 +00:00
Jean-Philippe Bernardy
ed7c635bfc Support for flash chip identification on the gmini
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5853 a1c6a512-1295-4272-9138-f99709370657
2005-02-08 15:12:25 +00:00
Jens Arnold
404fd12aae MMC driver now panics on out-of-bound accesses.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5768 a1c6a512-1295-4272-9138-f99709370657
2005-02-04 00:58:47 +00:00
Daniel Stenberg
1d395ae8a9 made lots of code conditional on SH or MAS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5750 a1c6a512-1295-4272-9138-f99709370657
2005-02-02 21:57:40 +00:00
Jens Arnold
2116bba296 New function for formatting large-range values for output, both printed and voiced. This replaces num2max5(). It is currently used for the total/free space display in the info menu, for the recorded number of bytes (recorders) and the MMC debug info (Ondios).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5721 a1c6a512-1295-4272-9138-f99709370657
2005-01-31 00:39:20 +00:00
Jens Arnold
6baa55a8eb Fixed yellow builds (int->long)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5646 a1c6a512-1295-4272-9138-f99709370657
2005-01-24 01:39:24 +00:00
Jörg Hohensohn
575c9049f6 behave for multi-volume
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5520 a1c6a512-1295-4272-9138-f99709370657
2004-12-29 22:37:31 +00:00
Jens Arnold
303b4abfc5 Button driver overhaul: (1) Unified the button driver functions as much as possible (2) Proper #defines for FM recorder button ADC channels (3) Got rid of old port B #defines only valid for recorder (4) button filtering for all models (5) RoLo with ON after panic should now work for FM/V2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5472 a1c6a512-1295-4272-9138-f99709370657
2004-12-01 00:33:18 +00:00
Jörg Hohensohn
099ef226b6 for Ondio: ATA info taken out of debug screens
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5325 a1c6a512-1295-4272-9138-f99709370657
2004-10-22 20:44:26 +00:00
Jens Arnold
dcd4883072 Debug menu->View runtime: Ignore release events
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5293 a1c6a512-1295-4272-9138-f99709370657
2004-10-16 07:49:57 +00:00
Jens Arnold
f5bdf6952c First part of MMC hotswap handling; removed unnecessary MMC thread
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5241 a1c6a512-1295-4272-9138-f99709370657
2004-10-10 00:35:19 +00:00
Jens Arnold
8886adb9df Fix: MMC transfer speed was not displayed due to wrong line numbers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5196 a1c6a512-1295-4272-9138-f99709370657
2004-10-07 01:23:44 +00:00
Jens Arnold
6f9a7eb2c7 Enhanced MMC handling: Driver cleanup, timeout calculation fixed, allowed voltage check, maintain disk activity info (fixes immediate shutdown at end of playback). MMC debug menu item populated.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5193 a1c6a512-1295-4272-9138-f99709370657
2004-10-06 20:43:12 +00:00
Jens Arnold
4c428e077c Fixed Ondio USB polarity debug display
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5148 a1c6a512-1295-4272-9138-f99709370657
2004-10-01 20:21:17 +00:00
Jens Arnold
eaa1f73c6d Added MAS3539F support (Ondio SP)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5129 a1c6a512-1295-4272-9138-f99709370657
2004-09-29 19:51:41 +00:00
Jörg Hohensohn
593cc00447 a hell of a commit: changed several HAVE_xx configuration flags into multiple choice values (keypad, tuner, CPU, h/w codec)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5126 a1c6a512-1295-4272-9138-f99709370657
2004-09-28 22:13:26 +00:00
Jens Arnold
90cbd3b06d First working MMC driver (very preliminary, and read-only), and some adaptions of the debug menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5123 a1c6a512-1295-4272-9138-f99709370657
2004-09-28 06:23:57 +00:00
Henrik Backe
d00bebae0a Fixed broken reset runtime confirmation dialouge
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5112 a1c6a512-1295-4272-9138-f99709370657
2004-09-23 19:38:59 +00:00
Björn Stenberg
6c33c51a4c Redesigned the button handling. The code now uses symbolic function defines instead of checking for specific buttons. This makes it easier to add support for new devices with different button layouts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5091 a1c6a512-1295-4272-9138-f99709370657
2004-09-19 21:58:37 +00:00
Jörg Hohensohn
24c7c04899 adjustment for the Ondio: button driver has an Odio part, for now it has a Player layout. Some fixes in the app code were necessary to remove dependencies of LCD, keypad, this wasn't independent everywhere.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5055 a1c6a512-1295-4272-9138-f99709370657
2004-09-10 10:51:54 +00:00
Jens Arnold
06cb237af6 New debug feature: Use the SH1 user break controller to catch illegal memory accesses
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5026 a1c6a512-1295-4272-9138-f99709370657
2004-08-30 19:52:45 +00:00
Jens Arnold
8fb336148f Const policed pointer arguments to functions, part 3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4999 a1c6a512-1295-4272-9138-f99709370657
2004-08-18 01:09:31 +00:00
Jens Arnold
12bc9f0ca3 MAS register addresses are 8 bit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4991 a1c6a512-1295-4272-9138-f99709370657
2004-08-06 21:21:39 +00:00
Jens Arnold
0830339e2f More const policeing step 5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4984 a1c6a512-1295-4272-9138-f99709370657
2004-08-03 20:52:31 +00:00
Linus Nielsen Feltzing
ade5d7b848 First step in revamping the USB event handling, paving the way for the upcoming SYS_POWER_OFF event
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4951 a1c6a512-1295-4272-9138-f99709370657
2004-07-26 16:06:59 +00:00
Jörg Hohensohn
b1403ee024 New way of defining menus and options allows to declare them static const, which saves the code to runtime-assemble them. Rockbox just got 6 KB smaller.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4931 a1c6a512-1295-4272-9138-f99709370657
2004-07-23 23:01:20 +00:00
Linus Nielsen Feltzing
e2e06a7c41 Removed the sound debugging screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4920 a1c6a512-1295-4272-9138-f99709370657
2004-07-23 08:58:06 +00:00
Jörg Hohensohn
5846aab654 fixed the flash ID query, prevent this code to eventually run from ROM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4895 a1c6a512-1295-4272-9138-f99709370657
2004-07-19 21:21:34 +00:00
Linus Nielsen Feltzing
2441061764 Removed progressbar() and slidebar()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4854 a1c6a512-1295-4272-9138-f99709370657
2004-07-08 13:14:44 +00:00
Linus Nielsen Feltzing
a8dab4c08a New screen dump feature for recorders
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4817 a1c6a512-1295-4272-9138-f99709370657
2004-06-30 13:31:14 +00:00
Linus Nielsen Feltzing
ef1698e648 Added cluster size to the disk debug screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4469 a1c6a512-1295-4272-9138-f99709370657
2004-04-06 00:17:02 +00:00
Linus Nielsen Feltzing
cbd992b440 Ooops, I broke the player builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4459 a1c6a512-1295-4272-9138-f99709370657
2004-03-31 12:05:08 +00:00
Linus Nielsen Feltzing
ad32414928 New sound test code. Now it sets up the MDB as the original firmware does.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4450 a1c6a512-1295-4272-9138-f99709370657
2004-03-29 11:20:42 +00:00
Linus Nielsen Feltzing
b81a3c54a4 We now start monitoring USB earlier, and can enter USB mode from the debug partition viewer. This fixes bug #799491.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4438 a1c6a512-1295-4272-9138-f99709370657
2004-03-25 12:29:34 +00:00
Linus Nielsen Feltzing
3a7d397f20 Added Super Bass switch to the sound test debug screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4434 a1c6a512-1295-4272-9138-f99709370657
2004-03-23 07:10:03 +00:00
Linus Nielsen Feltzing
f1f7bbe98a Test debug code for the sound quality discussion
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4430 a1c6a512-1295-4272-9138-f99709370657
2004-03-22 11:48:13 +00:00
Linus Nielsen Feltzing
77936e6ec5 First shot at a nice little button bar at the bottom of the recorder LCD. Enable Button Bar in the Display settings. Only the dir browser uses it at the moment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4391 a1c6a512-1295-4272-9138-f99709370657
2004-03-16 13:44:56 +00:00
Jörg Hohensohn
4f36ea8fbf First step of the voice-UI: the menus can talk. You need a "voicefont" file in .rockbox to use this.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4381 a1c6a512-1295-4272-9138-f99709370657
2004-03-14 21:33:53 +00:00
Linus Nielsen Feltzing
10b92c44b3 First step towards context sensitive and configurable menus, by Brent Coutts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4370 a1c6a512-1295-4272-9138-f99709370657
2004-03-12 10:20:33 +00:00
Linus Nielsen Feltzing
50c2261756 Squeezed the disk timing info to fit the Player LCD
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4322 a1c6a512-1295-4272-9138-f99709370657
2004-03-01 09:42:47 +00:00
Linus Nielsen Feltzing
ae6e33e921 Oh, those yellow builds...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4306 a1c6a512-1295-4272-9138-f99709370657
2004-02-16 12:21:07 +00:00
Linus Nielsen Feltzing
f3ad619c27 New disk debugging options for timing information
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4305 a1c6a512-1295-4272-9138-f99709370657
2004-02-16 12:04:55 +00:00
Linus Nielsen Feltzing
0579667f37 radio.h was mistakenly included for all targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4295 a1c6a512-1295-4272-9138-f99709370657
2004-02-05 10:59:51 +00:00
Linus Nielsen Feltzing
04f9cc7993 Added a debug option for the FM radio detection
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4293 a1c6a512-1295-4272-9138-f99709370657
2004-02-04 09:53:22 +00:00
Björn Stenberg
ef1ecade52 Fixed typo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4233 a1c6a512-1295-4272-9138-f99709370657
2004-01-14 15:10:17 +00:00
Björn Stenberg
218754ad2c Added display of acoustic management, power management and read look-ahead.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4232 a1c6a512-1295-4272-9138-f99709370657
2004-01-14 15:08:55 +00:00
Daniel Stenberg
8e43ccbec6 Initial suppport for building Rockbox for Neo. The Neo has a different
key layout so we need to check for this.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4138 a1c6a512-1295-4272-9138-f99709370657
2003-12-12 13:34:27 +00:00
Björn Stenberg
577e571958 Removed startup_io test code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4045 a1c6a512-1295-4272-9138-f99709370657
2003-11-20 00:01:13 +00:00
Jörg Hohensohn
d8b31814c7 HW info: removed the V2 boot ROM crap, now gives boot ROM CRC or says no boot ROM in case of flash mirror
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3995 a1c6a512-1295-4272-9138-f99709370657
2003-10-29 22:10:13 +00:00
Björn Stenberg
fb067481a8 Runtime display bug fix by Craig Sather (patch #766552)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3974 a1c6a512-1295-4272-9138-f99709370657
2003-10-17 13:54:48 +00:00
Björn Stenberg
8abc9d471a Fixed silly typo.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3923 a1c6a512-1295-4272-9138-f99709370657
2003-08-05 13:41:00 +00:00
Björn Stenberg
ee192fb49f Add ata master/slave display to hw_info debug menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3922 a1c6a512-1295-4272-9138-f99709370657
2003-08-05 13:39:38 +00:00
Jörg Hohensohn
f80505c9d0 Diagnostic code added, to find init problems (charging, etc.) when flashed: the whole I/O space is saved on startup, can be dumped to a file via debug menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3912 a1c6a512-1295-4272-9138-f99709370657
2003-08-02 12:53:57 +00:00
Hardeep Sidhu
9513236c94 Fixed compiler warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3911 a1c6a512-1295-4272-9138-f99709370657
2003-08-01 16:05:40 +00:00
Jörg Hohensohn
b2188822b1 the HW info screen got another line, giving a CRC16 across the boot ROM (and version, if CRC recognised)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3910 a1c6a512-1295-4272-9138-f99709370657
2003-08-01 08:00:54 +00:00
Jörg Hohensohn
09d1a73d35 Flash info now also for Player
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3690 a1c6a512-1295-4272-9138-f99709370657
2003-05-20 21:30:53 +00:00
Linus Nielsen Feltzing
5a5c869e03 Removed frequency info from Debug HW Info, and added a Save ROM Contents item to the debug menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3681 a1c6a512-1295-4272-9138-f99709370657
2003-05-17 21:24:13 +00:00
Jörg Hohensohn
ceba6f863e Flash Manufacturer/ID in Debug->View HW Info, if this gives valid info you have an in-system programmable Flash (pre-study for Rockbox in Flash)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3679 a1c6a512-1295-4272-9138-f99709370657
2003-05-17 20:40:30 +00:00
Linus Nielsen Feltzing
0a74476ad0 The I/O port screen didn't update
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3523 a1c6a512-1295-4272-9138-f99709370657
2003-04-09 23:17:35 +00:00
Hardeep Sidhu
9354c9c988 Spinup time was not accessible in disk info debug
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3461 a1c6a512-1295-4272-9138-f99709370657
2003-03-17 19:27:45 +00:00
Uwe Freese
5e44a56b65 disable charge control for FM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3239 a1c6a512-1295-4272-9138-f99709370657
2003-02-12 22:21:07 +00:00
Uwe Freese
4bc287d34a battery level 100% when trickle chg, only 1% per minute change allowed, ignore 25 min. after charge start/stop, get rid of old lazyness table (I hope this makes the battery display less confusing to the user, charging algo. is not affected\!)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3017 a1c6a512-1295-4272-9138-f99709370657
2002-12-18 18:55:50 +00:00
Uwe Freese
c83374b69f show charge_state in debug menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3001 a1c6a512-1295-4272-9138-f99709370657
2002-12-15 18:10:19 +00:00
Uwe Freese
5f02797b2e added trickle charge
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2982 a1c6a512-1295-4272-9138-f99709370657
2002-12-14 12:10:29 +00:00
Björn Stenberg
b17fe5a727 Added recalculation of free disk space. Press PLAY in Debug->Disk Info->Free to run it. Takes ~30 sec on my 40GB Toshiba.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2968 a1c6a512-1295-4272-9138-f99709370657
2002-12-09 15:39:32 +00:00
Linus Nielsen Feltzing
d29248d992 More fine-tuned buffer handling, and better debug info
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2948 a1c6a512-1295-4272-9138-f99709370657
2002-12-05 14:11:48 +00:00
Linus Nielsen Feltzing
b8ff5f8971 Added MP3 buffer margin setting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2939 a1c6a512-1295-4272-9138-f99709370657
2002-12-05 13:09:51 +00:00
Björn Stenberg
b070dd55be Added disk spinup clocking
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2927 a1c6a512-1295-4272-9138-f99709370657
2002-12-04 14:58:48 +00:00
Björn Stenberg
040816d173 Fixed build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2914 a1c6a512-1295-4272-9138-f99709370657
2002-12-03 14:33:20 +00:00
Björn Stenberg
f09c5f4c63 Finally, merged the improved power code from Uwe Freese:
- The battery level (percentage) is more realistic and considers if the charger is on.
- It considers the "lazyness" a battery shows when the charging has just turned on or off (see below). But this is not perfect by now.
- The battery level is good enough to estimate the remaining running time and the remaining charging time. And so the info screen now shows this info.
- The maximum time of a charging cycle is now dynamically calculated out of the battery level (percentage) and is not a fixed value.
- A minimum of 60 minutes is waited after a charging cycle stops before another one starts.
- Added another screen in the battery debug screen (press down three times).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2913 a1c6a512-1295-4272-9138-f99709370657
2002-12-03 14:18:51 +00:00
Björn Stenberg
45d32cec5b Added 'Disk info' to debug menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2908 a1c6a512-1295-4272-9138-f99709370657
2002-12-03 13:12:55 +00:00
Björn Stenberg
ae22de285e Added two simple battery runtime meters (current + top). 'Current' resets automatically when the charger cable is connected, or manually by pressing PLAY in the viewer. We are now officially out of RTC space.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2897 a1c6a512-1295-4272-9138-f99709370657
2002-12-02 16:07:56 +00:00
Linus Nielsen Feltzing
fd0cc3b2b1 Phil Pertermann's dB peak meter patch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2774 a1c6a512-1295-4272-9138-f99709370657
2002-10-29 12:09:15 +00:00
Linus Nielsen Feltzing
875bf5ef01 Player build broke
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2647 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 08:08:35 +00:00
Linus Nielsen Feltzing
bf303de4dd More debug info
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2632 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 07:23:18 +00:00
Linus Nielsen Feltzing
46a94bea27 More well-behaved debug screens
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2625 a1c6a512-1295-4272-9138-f99709370657
2002-10-14 14:25:25 +00:00
Linus Nielsen Feltzing
2f74eaae81 Added dbg_mpeg_thread()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2624 a1c6a512-1295-4272-9138-f99709370657
2002-10-14 14:13:48 +00:00
Björn Stenberg
4d55c2f4b7 Partition debug screen added, and jumped to when no fat32 partition is found at boot.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2558 a1c6a512-1295-4272-9138-f99709370657
2002-10-10 12:01:58 +00:00
Linus Nielsen Feltzing
07083fbc83 More HW info
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2540 a1c6a512-1295-4272-9138-f99709370657
2002-10-09 06:36:32 +00:00
Linus Nielsen Feltzing
1e972b53e5 Even more HW info
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2528 a1c6a512-1295-4272-9138-f99709370657
2002-10-08 12:08:30 +00:00
Linus Nielsen Feltzing
3cfc6ec252 More HW info
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2526 a1c6a512-1295-4272-9138-f99709370657
2002-10-08 11:15:00 +00:00
Linus Nielsen Feltzing
91b26f269a New debug screen - HW info
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2525 a1c6a512-1295-4272-9138-f99709370657
2002-10-08 10:52:46 +00:00
Björn Stenberg
b1b8bd4dd1 Moved on_screen, f2_screen, f3_screen and handle_usb (renamed usb_screen) to a new file: screens.c.
typedef Menu replaced with a bool.
All code now calls usb_screen() for usb handling.
Nearly all code now deals with USB connect/disconnect properly.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2401 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 17:22:12 +00:00