Commit graph

232 commits

Author SHA1 Message Date
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
Barry Wardell
d9fe5a77b0 Adjust PP5020 I/O Ports debug menu so that it will fit on the H10 5GB screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11092 a1c6a512-1295-4272-9138-f99709370657
2006-09-29 12:20:04 +00:00
Barry Wardell
5a79b4e015 Add ADC to I/O ports debug menu on H10. Fix battery level reading empty when starting up on H10. Calibrated battery for H10 20GB.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11036 a1c6a512-1295-4272-9138-f99709370657
2006-09-23 17:47:54 +00:00
Peter D'Hoye
1f760b8db4 battery_viewer: prevent div by zero if power_history highest and lowest values are identical
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10961 a1c6a512-1295-4272-9138-f99709370657
2006-09-16 19:35:28 +00:00
Miika Pekkarinen
610190a04e Fixed the errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10959 a1c6a512-1295-4272-9138-f99709370657
2006-09-16 16:33:42 +00:00
Miika Pekkarinen
a85044bf9e New scheduler, with priorities for swcodec platforms. Frequent task
switching should be more efficient and tasks are stored in linked
lists to eliminate unnecessary task switching to improve performance.
Audio should no longer skip on swcodec targets caused by too CPU
hungry UI thread or background threads.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10958 a1c6a512-1295-4272-9138-f99709370657
2006-09-16 16:18:11 +00:00
Miika Pekkarinen
8aa6180e92 Fixed the errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10854 a1c6a512-1295-4272-9138-f99709370657
2006-09-02 08:14:52 +00:00
Miika Pekkarinen
3686228f9d Cleanup threads.c by moving declarations inside structs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10853 a1c6a512-1295-4272-9138-f99709370657
2006-09-02 07:56:52 +00:00
Daniel Ankers
c1e454508e Save a few bytes on non-Portalplayer builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10831 a1c6a512-1295-4272-9138-f99709370657
2006-08-31 20:19:18 +00:00
Daniel Ankers
5076c84723 Oops - fix warnings for Player
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10682 a1c6a512-1295-4272-9138-f99709370657
2006-08-21 17:49:57 +00:00
Daniel Ankers
0aec12f3fd Threading changes in preparation for multiple core support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10681 a1c6a512-1295-4272-9138-f99709370657
2006-08-21 17:35:35 +00:00
Marcoen Hirschberg
f59a37d3e8 fix gigabeat simulator build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10674 a1c6a512-1295-4272-9138-f99709370657
2006-08-21 12:21:16 +00:00
Peter D'Hoye
3b44ec9b0a Oops... small changes catch most errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10618 a1c6a512-1295-4272-9138-f99709370657
2006-08-16 18:57:34 +00:00
Peter D'Hoye
6a8f06f6cb Show a splash on successful eeprom write to let the user know something happened and it went well
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10617 a1c6a512-1295-4272-9138-f99709370657
2006-08-16 18:56:08 +00:00
Hristo Kovachev
1dc62dfc6b Okay, use µs instead of us
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10607 a1c6a512-1295-4272-9138-f99709370657
2006-08-16 09:15:40 +00:00
Hristo Kovachev
340de14c0e Fix the stupid text editor's silliness and use "us" for microsec
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10605 a1c6a512-1295-4272-9138-f99709370657
2006-08-16 07:02:46 +00:00
Jonathan Gordon
475be662a7 put the timeouts back the way they were (sorry amiconn)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10603 a1c6a512-1295-4272-9138-f99709370657
2006-08-16 04:27:33 +00:00
Peter D'Hoye
c4a59a290b eeprom driver for the h3x0 series, cleaned up the h1x0 series driver a bit, added debug entry for h3x0 that allows to write to the eeprom
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10597 a1c6a512-1295-4272-9138-f99709370657
2006-08-15 22:54:06 +00:00
Linus Nielsen Feltzing
6d97f6d949 Removed a warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10585 a1c6a512-1295-4272-9138-f99709370657
2006-08-15 12:56:26 +00:00
Linus Nielsen Feltzing
224c0a13eb Finally, the new button action system is here, thanks to Jonathan Gordon. Some button mappings have changed and other things may break. Comments should go to the forum, http://forums.rockbox.org/index.php?topic=5829.0 or the mailing list.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10582 a1c6a512-1295-4272-9138-f99709370657
2006-08-15 12:27:07 +00:00
Rani Hod
d159ae54b6 support for more detailed FM radio debug info and for X5 flash debug
info.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10530 a1c6a512-1295-4272-9138-f99709370657
2006-08-11 17:39:34 +00:00
Peter D'Hoye
5375e26e51 eeprom dump in debug screen: fix return value check
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10467 a1c6a512-1295-4272-9138-f99709370657
2006-08-06 21:48:59 +00:00
Miika Pekkarinen
954b732654 Initial support and use for EEPROM memory on H120 & H140 players when
Rockbox firmware has been flashed over original firmware (not yet
possible to do). Dircache & tagcache serialization for fast bootup
without the need to scan disk when Rockbox is in flash.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10464 a1c6a512-1295-4272-9138-f99709370657
2006-08-05 20:19:10 +00:00
Miika Pekkarinen
cb8c795415 Support importing runtimedb data from ascii files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10260 a1c6a512-1295-4272-9138-f99709370657
2006-07-20 12:19:31 +00:00
Jens Arnold
0dd1f8ec11 Work-in-progress rework of charging status reading & display: * Changed several charging related HAVE_* macros into one multi-value CONFIG_CHARGING. * Always use proper macros for charging states. * Battery symbol charging animation now starts from current level on all targets with charging. Two-colour animation kept for non-b&w targets. Round down fill level while charging as before, but round to nearest pixel value for discharging on all targets. * Charging anim fixed on player. * Some code cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10080 a1c6a512-1295-4272-9138-f99709370657
2006-06-06 22:23:52 +00:00
Jens Arnold
e1beea86d2 Moved the free diskspace scan into 'Rockbox Info'. Idea based on patch #4800 by Manuel Dejonghe.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9985 a1c6a512-1295-4272-9138-f99709370657
2006-05-25 13:34:51 +00:00
Jens Arnold
073f1978e2 H1x0: Add SPDIF power control and frequency measurement to the SPDIF monitor.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9919 a1c6a512-1295-4272-9138-f99709370657
2006-05-12 01:10:18 +00:00
Jens Arnold
1d08533377 Ipod: Move the HW revision to 'View HW info' where it belongs, and make both the HW revision and port debug work on mini (didn't fit the LCD).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9887 a1c6a512-1295-4272-9138-f99709370657
2006-05-07 22:56:44 +00:00
Jens Arnold
106f7738a0 We don't need 2 different CRC functions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9886 a1c6a512-1295-4272-9138-f99709370657
2006-05-07 22:19:29 +00:00
Brandon Low
75de60b9e8 Reduce instructions in debug audio thread loop slightly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9807 a1c6a512-1295-4272-9138-f99709370657
2006-04-25 20:32:38 +00:00