Commit graph

156 commits

Author SHA1 Message Date
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