Michael Sevakis
c7954a0bec
Clean up the debug menu serial number display code a bit and save a few bytes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12725 a1c6a512-1295-4272-9138-f99709370657
2007-03-11 15:33:59 +00:00
Michael Sevakis
89a38d4273
iAudio X5: Enable reading of DS2411 serial number. See it under System|Debug|View HW info.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12723 a1c6a512-1295-4272-9138-f99709370657
2007-03-11 13:59:31 +00:00
Jens Arnold
8d0cd9f303
Some more M5 adjustments.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12616 a1c6a512-1295-4272-9138-f99709370657
2007-03-05 01:31:26 +00:00
Jens Arnold
8876018d25
Bring up the M5 port to a working stage: Extended numerous explicit checks for IAUDIO_X5 to also check for IAUDIO_M5, moved code around the target tree, added preliminary background for the sim.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12610 a1c6a512-1295-4272-9138-f99709370657
2007-03-05 00:04:00 +00:00
Barry Wardell
38b64f7b4b
Get rid of C99 style variable declaration. Also, add one more use of #define instead of inl/outl that I missed last time.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12591 a1c6a512-1295-4272-9138-f99709370657
2007-03-04 16:06:54 +00:00
Barry Wardell
169ebdbda7
Some more replacing of inl/outl with register #define's (doesn't change end-result binary). Add lots more #define's based on the ipodlinux wiki and some extrapolation.
...
Also add PortalPlayer SoC version to the HW info debug screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12575 a1c6a512-1295-4272-9138-f99709370657
2007-03-03 23:37:17 +00:00
Jonathan Gordon
8ca99d3288
Code Police: Remove tabs throught apps/ . Hopefully no actual code
...
change
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12504 a1c6a512-1295-4272-9138-f99709370657
2007-02-27 11:09:09 +00:00
Dave Chapman
d39b6ea1dc
Ooops #2 - fix sim builds. The dbg_save_roms function will work on all PP targets apart from the Sansa. Using CPU_PP prevents attempted compilation in the sim.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12469 a1c6a512-1295-4272-9138-f99709370657
2007-02-23 23:44:59 +00:00
Dave Chapman
9467eeafe3
Ooops.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12468 a1c6a512-1295-4272-9138-f99709370657
2007-02-23 23:25:50 +00:00
Dave Chapman
fda1498696
Remap flash ROM to 0x20000000 on the ipods and H10s, and implement dbg_save_roms() in the debug menu for those targets to dump the content to a file.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12467 a1c6a512-1295-4272-9138-f99709370657
2007-02-23 23:22:03 +00:00
Jonathan Gordon
9a6f419775
CONFIG_CHARGING
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12384 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 05:32:06 +00:00
Jonathan Gordon
8ff3a653bd
Explicilty set CONFIG_ defines to 0 which are not used.. because doing
...
#if defined(BLAA) && BLAA == something defeats the point of Wundef
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12378 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 02:04:47 +00:00
Daniel Stenberg
20a5926d2e
build with -Wundef to make sure we have spelled the defines right in #if lines
...
and have the proper includes included etc
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12360 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 21:54:17 +00:00
Steve Bavin
608e53d10f
Remove H300 GPOODx debugging; it was using the wrong port addresses anyway
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12206 a1c6a512-1295-4272-9138-f99709370657
2007-02-05 13:08:08 +00:00
Jens Arnold
67eb154146
Removed 'mode' parameter from creat(). It wasn't pure posix anyway, it was ignored on target and mixed into 'oflags' in the simulator. * Simplified io.c a bit by defining a dummy O_BINARY for OSes which don't have that.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12179 a1c6a512-1295-4272-9138-f99709370657
2007-02-01 23:08:15 +00:00
Steve Bavin
338d94f466
FS#4770 - Add USB charging for the H300 series
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12169 a1c6a512-1295-4272-9138-f99709370657
2007-02-01 10:47:22 +00:00
Jonathan Gordon
228d62dd18
Split the system status variables out of global_settings and put them into a new struct global_status. Use status_save() if these need
...
saving.
Added car_adapter_mode to the nvram settings, so nvram settings will be reset.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12101 a1c6a512-1295-4272-9138-f99709370657
2007-01-24 02:19:22 +00:00
Jonathan Gordon
f8c68c7912
Simple cpu boost tracker for LOGF builds. Shows the last 64 cpu_boost() calls from the debug menu
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12087 a1c6a512-1295-4272-9138-f99709370657
2007-01-22 10:41:25 +00:00
Steve Bavin
991b2eefe9
Remove another tagcache reference from the UI
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11982 a1c6a512-1295-4272-9138-f99709370657
2007-01-11 09:18:05 +00:00
Steve Gotthardt
93b047fffe
Updated buttonlights for the Gigabeat port. Added LCD controller off and on for extra power savings - thanks to Greg White. Incorporated feedback from Gary Allen. Added 'battery charging' mode: shows leds during charging. Added 'follow' mode that turns off leds when backlight goes off. Flicker mode and new solid mode only show during disk access. Access settings from Info/debug menu for now.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11945 a1c6a512-1295-4272-9138-f99709370657
2007-01-08 08:53:36 +00:00
Steve Gotthardt
c07814fce1
Revamped the backlight state machine and added buttonlight controls. Go to the Info/debug menu and test out the new modes for buttonlights on the Gigabeat - ON, OFF, Faint, and flicker - flickers on touchpad and disk reads.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11935 a1c6a512-1295-4272-9138-f99709370657
2007-01-07 06:38:57 +00:00
Greg White
922c0d6d33
Fix simulator build
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11910 a1c6a512-1295-4272-9138-f99709370657
2007-01-04 12:13:56 +00:00
Greg White
82c7757633
Add option to toggle LCD popwer off, gigabeat only
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11907 a1c6a512-1295-4272-9138-f99709370657
2007-01-04 11:44:32 +00:00
Jonathan Gordon
acf73af2e8
Go back to the old button code for the debug ports screen so its usable
...
again. (FS#6087, the first comment)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11847 a1c6a512-1295-4272-9138-f99709370657
2006-12-27 07:20:42 +00:00
Brandon Low
da7d05d5ad
Make debug menu compile without priority scheduling and with multicore
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11838 a1c6a512-1295-4272-9138-f99709370657
2006-12-25 15:44:35 +00:00
Jonathan Gordon
d152b6492a
update the runtime screen and move it to the inf menu instead of debug
...
menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11817 a1c6a512-1295-4272-9138-f99709370657
2006-12-19 12:26:03 +00:00
Jens Arnold
314f3b58f1
More static'ing, and a few fixes resulting from that.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11737 a1c6a512-1295-4272-9138-f99709370657
2006-12-12 22:22:21 +00:00
Miika Pekkarinen
c5d57f0aae
Removed the cpu boost tracking debug feature for now because of
...
different kind of problems. Better implementation can be done later.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11665 a1c6a512-1295-4272-9138-f99709370657
2006-12-05 20:01:48 +00:00
Jens Arnold
31ffd7b154
Completed target tree move of the ata driver code. Some code cleanup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11655 a1c6a512-1295-4272-9138-f99709370657
2006-12-03 22:13:44 +00:00
Daniel Ankers
844d22f277
Allow GPIO debug screen on Sansa. Also remove a warning from the NAND driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11593 a1c6a512-1295-4272-9138-f99709370657
2006-11-25 15:57:07 +00:00
Daniel Ankers
242cbd5cd7
Change if CONFIG_CPU==PP50XX to ifdef CPU_PP where appropriate
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11569 a1c6a512-1295-4272-9138-f99709370657
2006-11-22 00:41:30 +00:00
Jonathan Gordon
6288523cfe
* Move checkbox to plugin api (core never uses it)
...
* replace the last of the scrollbar() calls with gui_scrollbar_draw()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11552 a1c6a512-1295-4272-9138-f99709370657
2006-11-19 14:11:42 +00:00
Michael Sevakis
cc50c149e9
H100/General: HAL for S/PDIF and refinement/bufixes in optical output powering/source selection.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11523 a1c6a512-1295-4272-9138-f99709370657
2006-11-13 23:21:54 +00:00
Jens Arnold
780f79e7a4
Removed the Gmini 120 and Gmini SP code. These ports are dead, unfortunately.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11504 a1c6a512-1295-4272-9138-f99709370657
2006-11-10 20:26:01 +00:00
Steve Bavin
3ad89d26d0
Restore CPU default frequency when boosting cancelled in debug menu
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11411 a1c6a512-1295-4272-9138-f99709370657
2006-11-01 11:12:21 +00:00
Michael Sevakis
9e8fe0e4c6
General: changed local adc to voltage conversions in several places to use battery_voltage. Added battery_read_info function for unfiltered battery information. x5: removed adc_read as a distinct function. Removed adc tick task. adc_init is empty inline. Adjusted battery scale, voltage to level array and read 10 bits from the ADC for battery since 255 levels is not enough for true centivolt resolution.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11396 a1c6a512-1295-4272-9138-f99709370657
2006-10-30 11:33:38 +00:00
Jens Arnold
85c9a05c56
H300: Don't read the button ADC as long as no button is pressed, utilising the PCF50606 accessory detect feature. Ported from X5.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11383 a1c6a512-1295-4272-9138-f99709370657
2006-10-29 13:48:57 +00:00
Michael Sevakis
c4a0d45d36
Cleanup of new button reading code. Moved functions for enabling of scanning and the decision to scan or not to button_read_device.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11377 a1c6a512-1295-4272-9138-f99709370657
2006-10-28 23:10:45 +00:00
Michael Sevakis
1d4a9c6366
Stop reading buttons if one is not down. Don't read remote keys if not plugged. Good for another few points of boost and 4fps full-screen unboosted. The button scan enabling seems stable and I've been using it without any difficulties but if the interrupts hiccup it could leave them unresponsive. Clearing the GPI0 interrupts before enabling them seems to prevent any difficulties. If there's problems there I'll just leave the remote reading bypass only and 50% of the benefits will still be realized.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11357 a1c6a512-1295-4272-9138-f99709370657
2006-10-27 05:31:28 +00:00
Barry Wardell
d4dfe957f2
Oops. Missed part of FS#6235 in the last commmit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11356 a1c6a512-1295-4272-9138-f99709370657
2006-10-27 02:22:48 +00:00
Barry Wardell
e52d9610b5
Accept FS#6235. We should be using the *_ATTR defines instead of __attribute__
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11355 a1c6a512-1295-4272-9138-f99709370657
2006-10-27 02:09:35 +00:00
Daniel Ankers
6dfd6bd8c1
Enable I/O ports debug menu for 3G iPods
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11346 a1c6a512-1295-4272-9138-f99709370657
2006-10-25 18:34:59 +00:00
Jonathan Gordon
710ccb7b48
ifdef all the tagcache code, allows rombox to be compiled again, Thanks Austin Appel
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11338 a1c6a512-1295-4272-9138-f99709370657
2006-10-25 10:17:57 +00:00
Barry Wardell
73c0cfa632
Make the UI simulator compile on OSX again. dbg_flash_id() really shouldn't be compiled for the sim anyway.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11328 a1c6a512-1295-4272-9138-f99709370657
2006-10-25 00:54:06 +00:00
Jens Arnold
450f619dcf
Ondios: Slightly more verbose MMC info.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11225 a1c6a512-1295-4272-9138-f99709370657
2006-10-15 11:51:56 +00:00
Steve Bavin
73e2f7bd6b
Minor simplification #2 ; replace unneeded variable filebufused with a macro
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11201 a1c6a512-1295-4272-9138-f99709370657
2006-10-12 16:51:22 +00:00
Steve Bavin
d49c810ec9
Add CPU boost tracker to see where boosts are coming from
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11125 a1c6a512-1295-4272-9138-f99709370657
2006-10-05 10:07:03 +00:00
Steve Bavin
5db6bb1caf
Oops
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11121 a1c6a512-1295-4272-9138-f99709370657
2006-10-04 07:42:45 +00:00
Steve Bavin
2c2b50a458
Add (some of the) debug menu to sims
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11120 a1c6a512-1295-4272-9138-f99709370657
2006-10-04 07:29:50 +00:00
Barry Wardell
b692fb11b3
Add support for H10 remote. Remote buttons have the same keymappings as their counterparts on the H10 itself, with vol-/vol+ being the same as scroll up/down.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11093 a1c6a512-1295-4272-9138-f99709370657
2006-09-29 15:59:08 +00:00