Commit graph

317 commits

Author SHA1 Message Date
Jens Arnold
bef4c24f39 H10 ADC values are 10 bit, hence we need 3 hex digits.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14431 a1c6a512-1295-4272-9138-f99709370657
2007-08-22 20:43:47 +00:00
Peter D'Hoye
f94c5c6b3b H10: make all ADC values fit on the debug screen of the 5GB
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14416 a1c6a512-1295-4272-9138-f99709370657
2007-08-21 21:57:00 +00:00
Jens Arnold
1d1d9a8491 Switch to using millivolt for battery voltage and other internal voltages. * Fix debug voltage history display. * Some code cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14364 a1c6a512-1295-4272-9138-f99709370657
2007-08-15 23:57:27 +00:00
Jens Arnold
7d80ebd3a3 I supposed to show DEV_EN on PP502x....
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14167 a1c6a512-1295-4272-9138-f99709370657
2007-08-03 20:03:40 +00:00
Jens Arnold
e3ec22b607 Updated & added some PP register debug stuff.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14166 a1c6a512-1295-4272-9138-f99709370657
2007-08-03 19:20:29 +00:00
Jens Arnold
604e44d0e2 iPod 1st..3rd gen: Fix CPU scaling instability on PP5002 * Add some new info to pp5002.h and sort it by port address.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14053 a1c6a512-1295-4272-9138-f99709370657
2007-07-29 07:50:34 +00:00
Jens Arnold
794c968430 Make 'View HW Info' work on PP5002 targets and move clock estimation there. * Shorter way to write the wait for userabort.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14031 a1c6a512-1295-4272-9138-f99709370657
2007-07-27 22:34:15 +00:00
Jens Arnold
9382e55415 Preparations for iPod G1 and G2. Does not even compile properly yet. * Sorted target cases in configure by menu number.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14016 a1c6a512-1295-4272-9138-f99709370657
2007-07-26 22:42:31 +00:00
Dave Chapman
ebc076bc15 Remove the hack which read the ipod hardware revision from flash in the bootloader and passed it to Rockbox via a fixed address in SDRAM. Rockbox now remaps flash and so can just read the value itself. Also clean up the debug menu a little - only display the hw revision for ipods, and add the lcd_type variable to indicate the type of LCD (0 or 1) for ipod Color/Photo.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13986 a1c6a512-1295-4272-9138-f99709370657
2007-07-25 13:12:38 +00:00
Michael Sevakis
ea0d2cf7d6 Some rewriting of the e200 ata driver. No more panicing. Faster card multiplexing. Some calculated yielding (further tuneable if needed). Hopefully more reliable in general. Easy revert if rebellious.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13976 a1c6a512-1295-4272-9138-f99709370657
2007-07-25 06:15:07 +00:00
Jonathan Gordon
f7675a244b remove the need for action_signalscreenchange().
Fixes problems with targets where the ACTION_STD_CANCEL event is a combo


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13956 a1c6a512-1295-4272-9138-f99709370657
2007-07-22 06:05:53 +00:00
Jens Arnold
66bb96b4f3 Make the audio thread debug screen leavable on H10 (and potentially other targets where ACTION_STD_CANCEL is a two-part acion).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13933 a1c6a512-1295-4272-9138-f99709370657
2007-07-19 23:40:28 +00:00
Michael Sevakis
e9d62762e5 Fix yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13909 a1c6a512-1295-4272-9138-f99709370657
2007-07-15 18:40:15 +00:00
Michael Sevakis
a16035d3dd Hopefully get the rest of the quirks out of the debug menus and save some size too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13908 a1c6a512-1295-4272-9138-f99709370657
2007-07-15 18:25:39 +00:00
Michael Sevakis
dc051248be e200: Tuner driver needs to yield alot and also be mutexed. FM debug screen got broken again and was ignoring cancellation and not drawing the lines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13896 a1c6a512-1295-4272-9138-f99709370657
2007-07-14 22:00:50 +00:00
Jonathan Gordon
e2014a9794 unused param
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13890 a1c6a512-1295-4272-9138-f99709370657
2007-07-14 15:11:44 +00:00
Jonathan Gordon
7d04c81887 minor update to the debug screens to handle dynamic screens a bit better. And so there is no need to manually call the callback before enetering dbg_list()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13889 a1c6a512-1295-4272-9138-f99709370657
2007-07-14 15:08:46 +00:00
Jonathan Gordon
b41cde58bf fix radio screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13887 a1c6a512-1295-4272-9138-f99709370657
2007-07-14 14:58:28 +00:00
Jonathan Gordon
4259eb1ed9 make the radio debug screen auto-update
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13886 a1c6a512-1295-4272-9138-f99709370657
2007-07-14 14:52:06 +00:00
Robert Keevil
227a733e42 Fix typo in the debug disk info screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13882 a1c6a512-1295-4272-9138-f99709370657
2007-07-14 12:32:37 +00:00
Michael Sevakis
7d759f6b9c Do some planned radio interface cleanup since adding in the LV24020LP.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13880 a1c6a512-1295-4272-9138-f99709370657
2007-07-14 11:20:31 +00:00
Jonathan Gordon
5890f60137 Fix radio screen, and use the actual card type name for the title in the disk screen on ondio and sansa
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13877 a1c6a512-1295-4272-9138-f99709370657
2007-07-14 08:55:47 +00:00
Jonathan Gordon
d7dd23939a convert the disk info debug screen to a list.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13863 a1c6a512-1295-4272-9138-f99709370657
2007-07-12 09:58:54 +00:00
Jonathan Gordon
ed4df23e98 convert the tagcache, database and radio debug screens to nice lists
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13853 a1c6a512-1295-4272-9138-f99709370657
2007-07-11 13:27:15 +00:00
Jonathan Gordon
f115804694 make the debug menu nice and fast
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13852 a1c6a512-1295-4272-9138-f99709370657
2007-07-11 07:54:10 +00:00
Jens Arnold
85568d6040 iPod G3: Clock setup register display and CPU clock estimation in debug menu. * Fix clock being set to only half of what it should be (introduced with clock setup changes for PP502x).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13844 a1c6a512-1295-4272-9138-f99709370657
2007-07-10 20:47:01 +00:00
Jens Arnold
1cf80c3c95 Improved clock estimation in debug menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13811 a1c6a512-1295-4272-9138-f99709370657
2007-07-07 05:59:35 +00:00
Jens Arnold
7b861eca95 More PP502x clock setup rework. This should fix the freezes on PP5020 once and for all. Enabled clock scaling for H10. * CPUFREQ_MAX changed to 78MHz * To be cleaned up soon.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13767 a1c6a512-1295-4272-9138-f99709370657
2007-07-03 00:42:42 +00:00
Jens Arnold
fe23dc8f15 Improved CPU clock setup for PP502x. PP5020 and PP5022 are not register compatible here, so define the PP5022 targets properly, and introduce a CPU_PP502x macro for easier family check. Improves stability on PP5020 (less freezing, tested with Mini G1) and reduces clock change penalty (500us on PP5020; uses the relock bit on PP5022).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13763 a1c6a512-1295-4272-9138-f99709370657
2007-07-02 05:16:40 +00:00
Michael Sevakis
1167e3c72f Accept FS#7134 - Sansa: external sd card support by Antonius Hellmann with some tweaks. All testers have given the green light. (Now for the RED ?? ;).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13741 a1c6a512-1295-4272-9138-f99709370657
2007-06-30 02:08:27 +00:00
Michael Sevakis
7fb0f71668 Gigabeat: Replace generic i2c driver with one that uses the CPU's builtin controller. Add some clocking registers to 'View I/O ports'.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13720 a1c6a512-1295-4272-9138-f99709370657
2007-06-26 02:11:30 +00:00
Michael Sevakis
2d48d0ffa6 Straighten out some audio path APIs and misc. audio stuff. Having recording is not a prerequisite to having input/output source selection which is probably most useful when adding a audio input features like FM to a new port without forcing recording to be implemented first.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13599 a1c6a512-1295-4272-9138-f99709370657
2007-06-08 23:42:04 +00:00
Jonathan Gordon
3823486a58 Add a mode the lists which doesnt show the selection marker.
Useful for the debug menus where users shouldn't think pressing select would do anything.



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13588 a1c6a512-1295-4272-9138-f99709370657
2007-06-07 12:14:31 +00:00
Michael Sevakis
21a4a87ca2 Accept FS#7178 - Sansa e200 FM tuner support by Ivan Zupan. Do the needed integration work into recording and the AS3514 audio driver. Do a little AS3514 fiq_record tweak to have it all work nicely from the start.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13573 a1c6a512-1295-4272-9138-f99709370657
2007-06-06 19:23:48 +00:00
Steve Bavin
21d538b98e Fix for unlikely, but possible, division-by-zero
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13385 a1c6a512-1295-4272-9138-f99709370657
2007-05-14 09:56:55 +00:00
Dave Chapman
f02cba8096 Code cleaning - remove some unnecessary defined(SIMULATOR) checks
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13369 a1c6a512-1295-4272-9138-f99709370657
2007-05-10 13:16:08 +00:00
Karl Kurbjun
173b611921 Basic gigabeat buttonlight support outside of debug menu FS#7112. Also disables USB PLL and the USB device clock (uneeded to connect to computer) - May offer some power savings. Changed how some pins are initialized.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13346 a1c6a512-1295-4272-9138-f99709370657
2007-05-07 19:34:34 +00:00
Jonathan Gordon
507345000d these should be static
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13288 a1c6a512-1295-4272-9138-f99709370657
2007-04-29 23:26:26 +00:00
Jonathan Gordon
39a6b5d643 Stop using the old menu API in the debug menu (using the new api causes massive bin increase, so fake the old api with existing code instead) (onplay.c and plugins are the only parts using th eold api now)
Fix a bug where the menu title was sometimes shown in the system font


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13286 a1c6a512-1295-4272-9138-f99709370657
2007-04-29 15:31:43 +00:00
Karl Kurbjun
335de0b043 Clean up that warning and pull out an unneeded #ifdef
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13226 a1c6a512-1295-4272-9138-f99709370657
2007-04-21 05:07:18 +00:00
Karl Kurbjun
8a1fd8c686 Commit FS#6929 - Gigabeat bootloader improvements by Barry Wardell and myself. This build fixes the problems seen with the latest builds on the Gigabeat X. Added View IO Ports under the Debug menu for the Gigabeat. Make sure you grab the latest bootloader from the Wiki as the old bootloader will not work properly with new builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13225 a1c6a512-1295-4272-9138-f99709370657
2007-04-21 04:48:20 +00:00
Jens Arnold
8636e6949e Moved SH1 system code to target tree. * First shot at hwcompat cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13114 a1c6a512-1295-4272-9138-f99709370657
2007-04-11 23:51:00 +00:00
Jens Arnold
d6e822cab9 Get rid of some old archos debug cruft (USB polarity, PR polarity and ATA address are all derived from the hw mask, and master/slave isn't displayed on other targets either). * Get rid of all the USB*STYLE macros (except USB_IPODSTYLE).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13112 a1c6a512-1295-4272-9138-f99709370657
2007-04-11 21:26:58 +00:00
Jonathan Gordon
21b415df56 Give all menus using the old API a nice title and icons (except plugins)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13068 a1c6a512-1295-4272-9138-f99709370657
2007-04-08 05:52:47 +00:00
Jens Arnold
f9b90e9103 Now charcell displays require lcd_update() for updating the main lcd content like bitmap displays.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13050 a1c6a512-1295-4272-9138-f99709370657
2007-04-06 22:55:00 +00:00
Jonathan Gordon
78585318b5 count was set wrong for the parititons screen. imo this is a bug in the list code, but quick fix untill a proper one
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13031 a1c6a512-1295-4272-9138-f99709370657
2007-04-05 05:18:47 +00:00
Jonathan Gordon
d88db1fc12 Fix sim warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13030 a1c6a512-1295-4272-9138-f99709370657
2007-04-05 05:01:38 +00:00
Jonathan Gordon
cd41bfa52e Make the partitions debug screen use the list also.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13029 a1c6a512-1295-4272-9138-f99709370657
2007-04-05 04:52:53 +00:00
Miika Pekkarinen
b4a2d6a06a Killing of threads enabled also for logf debug builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12947 a1c6a512-1295-4272-9138-f99709370657
2007-03-28 07:33:40 +00:00
Miika Pekkarinen
a289324e30 Ability to kill threads in debug screen by pressing select.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12945 a1c6a512-1295-4272-9138-f99709370657
2007-03-28 06:36:34 +00:00