Commit graph

5274 commits

Author SHA1 Message Date
Jörg Hohensohn
91f9350cbd moved and renamed fmradio_set/get_status to power.c, where it now additionally serves well for tuner power enable on OndioFM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5296 a1c6a512-1295-4272-9138-f99709370657
2004-10-17 08:53:18 +00:00
Jens Arnold
79afbafa66 Plugin rework 2: (most) Compile-time keyboard configuration, for Ondio adaption. (all) Now using the default event handler, standard placement is now in switch() default case. (calendar, chip8) Fixed usb handling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5295 a1c6a512-1295-4272-9138-f99709370657
2004-10-17 00:54:09 +00:00
Jens Arnold
7c2496d35a Fixes: (1) Use correct margins (2) Don't voice the 'Off' setting if voice UI is disabled
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5294 a1c6a512-1295-4272-9138-f99709370657
2004-10-16 07:52:16 +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
3ccbb165c1 Fixed return value
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5292 a1c6a512-1295-4272-9138-f99709370657
2004-10-16 07:18:59 +00:00
Jens Arnold
cc8cff2ec0 Plugin rework 1: (most) Compile-time keyboard configuration, for Ondio adaption. (all) Now using the default event handler, standard placement is now in switch() default case. (snow) Made USB aware. (video) Added contrast setting to Ondio version.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5291 a1c6a512-1295-4272-9138-f99709370657
2004-10-16 00:07:43 +00:00
Jörg Hohensohn
4a5df8e8d1 oops, I broke the player build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5290 a1c6a512-1295-4272-9138-f99709370657
2004-10-15 22:10:55 +00:00
Jörg Hohensohn
8f8fbac1fd Philips tuner prepared, new middle layer to abstract which tuner is used
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5289 a1c6a512-1295-4272-9138-f99709370657
2004-10-15 21:41:46 +00:00
Jens Arnold
566eae2e11 Logarithmic scroll speed setting: speed doubles every 3 steps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5288 a1c6a512-1295-4272-9138-f99709370657
2004-10-15 20:30:29 +00:00
Jens Arnold
672305f0a1 Another small adjustment for Ondio: Don't adjust initial battery level for non-existing HD activity
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5287 a1c6a512-1295-4272-9138-f99709370657
2004-10-15 18:52:54 +00:00
Jens Arnold
c4f96930f0 Adjusted power thread to Ondio: no charging, no car adapter mode, different current values for runtime estimation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5286 a1c6a512-1295-4272-9138-f99709370657
2004-10-15 18:18:15 +00:00
Linus Nielsen Feltzing
a5117f0bb6 Ported interrupt vector handling to Coldfire
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5285 a1c6a512-1295-4272-9138-f99709370657
2004-10-15 11:33:58 +00:00
Linus Nielsen Feltzing
82fb2ace77 Cleaned up and started porting to Coldfire
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5284 a1c6a512-1295-4272-9138-f99709370657
2004-10-15 11:32:58 +00:00
Linus Nielsen Feltzing
688b4ddec6 iRiver: the backlight blink loop is now done in C, using two threads, as a test of the threading code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5283 a1c6a512-1295-4272-9138-f99709370657
2004-10-15 02:16:31 +00:00
Linus Nielsen Feltzing
de85b67f25 main.c now compiles on iriver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5282 a1c6a512-1295-4272-9138-f99709370657
2004-10-15 02:15:26 +00:00
Linus Nielsen Feltzing
435737aa77 stacksymbols adapted to Coldfire
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5281 a1c6a512-1295-4272-9138-f99709370657
2004-10-15 02:14:45 +00:00
Linus Nielsen Feltzing
7b91ec6b19 Threading ported to Coldfire
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5280 a1c6a512-1295-4272-9138-f99709370657
2004-10-15 02:13:43 +00:00
Linus Nielsen Feltzing
29644eb8f8 Coldfire: Set up DRAM controller, copy data/iram sections and call main()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5279 a1c6a512-1295-4272-9138-f99709370657
2004-10-15 02:10:30 +00:00
Linus Nielsen Feltzing
9088b06bf5 Increased the maximum viewers limit to 16
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5278 a1c6a512-1295-4272-9138-f99709370657
2004-10-14 23:49:24 +00:00
Jens Arnold
ab232fc65a Disabling all timers on rolo fixes the problems with roloed Archos firmware on Ondio. It's probably a good idea to do this for all models
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5277 a1c6a512-1295-4272-9138-f99709370657
2004-10-14 23:40:58 +00:00
Jens Arnold
64a17574e3 Fix: Doing the port function setting first in usb_enable() fixes the instability with cold-started rockbox on Ondio (PA5 was high after the first usb_enable(false); with the old init order
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5276 a1c6a512-1295-4272-9138-f99709370657
2004-10-14 21:58:33 +00:00
Björn Stenberg
6239cdd898 Avoid TREE_RUN trailing release event
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5275 a1c6a512-1295-4272-9138-f99709370657
2004-10-14 07:59:00 +00:00
Jörg Hohensohn
fb0739bdf0 cleaned out parts of bpb which we don't use
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5274 a1c6a512-1295-4272-9138-f99709370657
2004-10-14 07:52:08 +00:00
Björn Stenberg
87ab7a07a6 Proper fix for TREE_RUN trailing release event
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5273 a1c6a512-1295-4272-9138-f99709370657
2004-10-14 07:48:49 +00:00
Jens Arnold
ba0a797b16 No hard-coded minimum capacity any more
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5272 a1c6a512-1295-4272-9138-f99709370657
2004-10-14 00:57:23 +00:00
Jens Arnold
2a0d541a38 BUG FIX: Corrected the speed kludge for Ondio video playback. The previous solution changed the frame time directly in the file header structure, causing the changed value to be saved together with resume position, therefore destroying sync for any further playback.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5271 a1c6a512-1295-4272-9138-f99709370657
2004-10-13 23:59:15 +00:00
Jens Arnold
0fc34c773f Disabled charger detection and ide_power_enable() for Ondio; some cleanup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5270 a1c6a512-1295-4272-9138-f99709370657
2004-10-13 23:21:57 +00:00
Daniel Stenberg
dd4ce34e00 song db generation tool embryo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5269 a1c6a512-1295-4272-9138-f99709370657
2004-10-13 13:39:15 +00:00
Linus Nielsen Feltzing
5e54aa956f MACH, MACL and SR are no longer part of the SH1 thread context
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5268 a1c6a512-1295-4272-9138-f99709370657
2004-10-13 11:32:26 +00:00
Linus Nielsen Feltzing
b03ff1e172 Fake power off in clean_shutdown() on Ondio players, to make the user releases the OFF button
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5267 a1c6a512-1295-4272-9138-f99709370657
2004-10-13 09:08:32 +00:00
Jörg Hohensohn
65dad074c7 fix for menu button quirk
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5266 a1c6a512-1295-4272-9138-f99709370657
2004-10-13 07:37:28 +00:00
Jens Arnold
c9e772645f metronome.rock now uses default_event_handler_ex(). Adapted and enabled for Ondio.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5265 a1c6a512-1295-4272-9138-f99709370657
2004-10-12 23:45:25 +00:00
Jens Arnold
9db31cf886 grayscale.rock, jpeg.rock and video.rock now use default_event_handler_ex(). Adapted and enabled them for Ondio.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5264 a1c6a512-1295-4272-9138-f99709370657
2004-10-12 22:49:51 +00:00
Jens Arnold
0dc52d5c36 Extended default_event_handler() that calls a callback function prior to actually handling the event.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5263 a1c6a512-1295-4272-9138-f99709370657
2004-10-12 22:45:01 +00:00
Jörg Hohensohn
a7aa17ac1b for slow MMC device (Ondio): load voice file piecewise, as needed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5262 a1c6a512-1295-4272-9138-f99709370657
2004-10-12 16:43:22 +00:00
Jens Arnold
749187c4fd Corrected storage capacity ranges
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5261 a1c6a512-1295-4272-9138-f99709370657
2004-10-12 15:30:26 +00:00
Linus Nielsen Feltzing
df3d5ae059 Now the FM, V2 and Ondio players use the new SYS_POWEROFF event. Now you can safely turn off the player by holding OFF.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5260 a1c6a512-1295-4272-9138-f99709370657
2004-10-12 11:20:59 +00:00
Linus Nielsen Feltzing
0b3ea1bfcb Now the FM, V2 and Ondio players use the new SYS_POWEROFF event. Now you can safely turn off the player by holding OFF.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5259 a1c6a512-1295-4272-9138-f99709370657
2004-10-12 11:00:19 +00:00
Linus Nielsen Feltzing
2e9412025b The Poweroff menu entry is only for Players
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5258 a1c6a512-1295-4272-9138-f99709370657
2004-10-12 10:59:04 +00:00
Linus Nielsen Feltzing
86264666f6 SYS_xxx events now don't share bits with regular events. New event: SYS_POWEROFF.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5257 a1c6a512-1295-4272-9138-f99709370657
2004-10-12 10:58:11 +00:00
Jens Arnold
4690ddd87a Bus controller inits are valid for all models. Corrected WCR1 init according to the datasheet (dontcare bits shall be written as 1)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5256 a1c6a512-1295-4272-9138-f99709370657
2004-10-12 09:09:16 +00:00
Linus Nielsen Feltzing
ae815a0272 Removed the backlight control from the charging screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5255 a1c6a512-1295-4272-9138-f99709370657
2004-10-12 08:42:11 +00:00
Jens Arnold
7f6b640b1e Request to remove MMC before acknowledging USB (Ondio)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5254 a1c6a512-1295-4272-9138-f99709370657
2004-10-12 00:02:51 +00:00
Jens Arnold
1acc38f9d9 Disabled S/PDIF out for models where S/PDIF output is not physically available. Should reduce possible interference. If you have modded your FM/V2 to have such an output, define HAVE_SPDIF_OUT in the corresponding config-xxx.h file to re-enable it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5253 a1c6a512-1295-4272-9138-f99709370657
2004-10-11 22:53:49 +00:00
Daniel Stenberg
c8d4a6f244 we have no *.txt files in plugins/ (any more)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5252 a1c6a512-1295-4272-9138-f99709370657
2004-10-11 12:37:19 +00:00
Björn Stenberg
ef8703c9fe Ondio also needs RUN to be on release, since we use repeat for context menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5251 a1c6a512-1295-4272-9138-f99709370657
2004-10-11 09:25:53 +00:00
Björn Stenberg
75ed8946f0 Ignore leftover release events when starting secondary file browser.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5250 a1c6a512-1295-4272-9138-f99709370657
2004-10-11 09:25:05 +00:00
Linus Nielsen Feltzing
72d2535a49 Stepping backwards over non-existing files now works. Thanks to Christian Marg for pinpointing the problem.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5249 a1c6a512-1295-4272-9138-f99709370657
2004-10-11 07:55:45 +00:00
Jens Arnold
6a4ed54e96 Properly initialize the bus controller for Ondio as well. Fixes coldstart from flash on Ondio SP, both classic and RomBox
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5248 a1c6a512-1295-4272-9138-f99709370657
2004-10-10 22:37:56 +00:00
Jens Arnold
5789ee9928 MMC hotswap handling in USB mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5247 a1c6a512-1295-4272-9138-f99709370657
2004-10-10 19:51:11 +00:00