Dan Everton
ebc58c9f06
Add Speex playback support. Patch from FS #5607 thanks to Frederik Vestre.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12241 a1c6a512-1295-4272-9138-f99709370657
2007-02-09 10:06:53 +00:00
Marcoen Hirschberg
6dd8fbe25d
disable CPU scaling again because it actually made the power consumption worse.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12228 a1c6a512-1295-4272-9138-f99709370657
2007-02-08 09:41:43 +00:00
Michael Sevakis
eed62f1657
Change the radio screen and recording screen to use the global_status structure for state. I guess global_status had been added already and I missed it. :D
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12222 a1c6a512-1295-4272-9138-f99709370657
2007-02-07 04:24:21 +00:00
Tom Ross
70ebc8feb1
Correct a deceptive comment. Clarify that this config file is only for the 4g grayscale iPod.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12220 a1c6a512-1295-4272-9138-f99709370657
2007-02-07 02:18:14 +00:00
Dave Chapman
4da04b77e2
Fix USB detection on ipods and other portalplayer targets - Rockbox now correctly distinguishes between a USB connection to a computer and a connection to a USB AC charger. Based on the experimental USB code in FS #6494 by Barry Wardell. Closes FS #4724 .
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12198 a1c6a512-1295-4272-9138-f99709370657
2007-02-04 21:46:01 +00:00
Daniel Ankers
88b3f39d73
Enable FAT16 support for Sansa E200
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12195 a1c6a512-1295-4272-9138-f99709370657
2007-02-04 15:42:55 +00:00
Barry Wardell
a7af649766
Backlight support for Sansa, including brightness. Thanks to Rene
...
Peinthor and FS#6608.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12186 a1c6a512-1295-4272-9138-f99709370657
2007-02-03 13:39:20 +00:00
Barry Wardell
1a2dddc346
RTC support for Sansa.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12185 a1c6a512-1295-4272-9138-f99709370657
2007-02-03 13:10:17 +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
Linus Nielsen Feltzing
ca91b679a5
Reverting the FAT32 driver change - it seems to have introduced a bug
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12152 a1c6a512-1295-4272-9138-f99709370657
2007-01-29 23:35:21 +00:00
Linus Nielsen Feltzing
0f03e3af31
Changed fat_getnext():
...
1) Fixed a bug where really long filenames could be messed up if they spanned 3 sectors
2) Now uses 2 buffers instead of 3, without copying the buffers with memcpy()
3) Can now use aligned sector reads, first step towards iPod 5.5G 80GB
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12151 a1c6a512-1295-4272-9138-f99709370657
2007-01-29 22:26:16 +00:00
Barry Wardell
84b509dc43
FS#6554. Move bootloader code into a common file. Only PortalPlayer devices (iPods, H10, Sansa) are affected for the moment. Someone with access to (and no fear of bricking) an X5, H100, H300 and Gigabeat should try to adapt those bootloaders to also use the code in common.c. The (non-working) patch in the tracker would be a good place to start with this.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12136 a1c6a512-1295-4272-9138-f99709370657
2007-01-28 18:42:11 +00:00
Daniel Ankers
ec0a362ea2
More PortalPlayer I2C unification work
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12128 a1c6a512-1295-4272-9138-f99709370657
2007-01-27 20:09:57 +00:00
Barry Wardell
adc349891e
Clean up PP5002 I2C code (no functional changes):
...
Move into target tree.
Use #defines instead of inb/outb.
Also restore comments in PP5020 I2C code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12124 a1c6a512-1295-4272-9138-f99709370657
2007-01-27 15:20:30 +00:00
Barry Wardell
5e765b2ea2
Clean up PP5020 I2C code (no functional changes):
...
Move into target tree.
Use #defines instead of inb/outb.
Whitespace cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12123 a1c6a512-1295-4272-9138-f99709370657
2007-01-27 14:22:24 +00:00
Adam Gashlin
5d20c9d121
adding NSF (NES music) codec
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12112 a1c6a512-1295-4272-9138-f99709370657
2007-01-25 18:06:17 +00:00
Nils Wallménius
1b85f60ae0
Permanently enable powering down the disk when it's sleeping for supported targets (iriver h1xx, h3xx and h10, iaudio x5, gigabeat and archos recorders)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12094 a1c6a512-1295-4272-9138-f99709370657
2007-01-23 15:43:37 +00:00
Jonathan Gordon
32dc7da2e2
Fix broken builds
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12088 a1c6a512-1295-4272-9138-f99709370657
2007-01-22 10:58:40 +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
Marcoen Hirschberg
b01da58c55
the gigabeat supports all frequencies but 64kHz
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12065 a1c6a512-1295-4272-9138-f99709370657
2007-01-18 13:48:06 +00:00
Marcoen Hirschberg
c64684887a
re-enable CPU scaling (between 100 and 300MHz again) with a new implementation
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12047 a1c6a512-1295-4272-9138-f99709370657
2007-01-17 18:15:50 +00:00
Barry Wardell
3f8d732ac9
sysfont.h is only needed by devices with bitmap displays.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12042 a1c6a512-1295-4272-9138-f99709370657
2007-01-17 12:34:56 +00:00
Barry Wardell
f4709d0c7c
Make the build system create a sysfont.h which includes font information for the system font. Available #defines are: SYSFONT_NAME, SYSFONT_FACENAME, SYSFONT_WIDTH, SYSFONT_HEIGHT, SYSFONT_SIZE, SYSFONT_ASCENT, SYSFONT_DESCENT, SYSFONT_FIRST_CHAR, SYSFONT_LAST_CHAR, SYSFONT_DEFAULT_CHAR, SYSFONT_PROPORTIONAL, SYSFONT_COPYRIGHT, SYSFONT_BITS_SIZE.
...
Also fix a small bug in the iPod bootloader printf() code and use printf() for PortalPlayer bootloaders too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12041 a1c6a512-1295-4272-9138-f99709370657
2007-01-17 12:20:38 +00:00
Steve Gotthardt
ac9d4ee7aa
Backing out the CPU boost for now. Found several issues from screen lines to crashing during wav play and running oscilliscope, etc
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12037 a1c6a512-1295-4272-9138-f99709370657
2007-01-17 03:04:31 +00:00
Marcoen Hirschberg
6309eabc64
add cpu frequency scaling to the gigabeat. default/normal: 100MHz, boosted: 300MHz
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12023 a1c6a512-1295-4272-9138-f99709370657
2007-01-16 15:49:29 +00:00
Greg White
7f4ca01b3d
Update battery capacity and discharge tables to reflect current battery benchmarks
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12010 a1c6a512-1295-4272-9138-f99709370657
2007-01-14 14:12:48 +00:00
Dave Chapman
d64e626387
Start of work on a port to the Archos 'AV300' (AV320/340/380) - a working UI simulator (but with a dummy background image for now) and the beginnings of the target-specific firmare code. Port is temporarily using a 2bpp LCD buffer format - the AV300 has a 320x240 colour (YCbCr-based) LCD which will need a new framebuffer format and drawing routines, but the LCD is also capable of various paletted bitmap modes, one of which has an identical framebuffer format to the greyscale ipods. Buttons (and hence the button mappings) are identical to the Archos Recorder, with the exception that the PLAY button on the Recorder is replaced by pressing the joystick on the AV300 (which I call BUTTON_SELECT). The initial port will begin by being strictly HWCODEC, but will evolve to be a hybrid SWCODEC/HWCODEC platform - it has a MAS3587F but also a main CPU (54MHz arm7tdmi plus DSP) capable of software decoding of at least some formats.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12008 a1c6a512-1295-4272-9138-f99709370657
2007-01-14 13:48:09 +00:00
Greg White
355be5010a
Setup LCD ourselves; move LCD buffer and TTB to free up 1.7MB of memory
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11994 a1c6a512-1295-4272-9138-f99709370657
2007-01-13 02:24:15 +00:00
Miika Pekkarinen
35b0c3f24f
Updated bootloader for H120/H140 and entirely disabled flashing code for H100 until somebody tests it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11993 a1c6a512-1295-4272-9138-f99709370657
2007-01-12 20:45:37 +00:00
Miika Pekkarinen
0ea4d3197e
Prepare core support for the iriver bootloader supporting ROM images
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11991 a1c6a512-1295-4272-9138-f99709370657
2007-01-12 18:34:00 +00:00
Linus Nielsen Feltzing
e2022a26d0
Removed executable flag
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11967 a1c6a512-1295-4272-9138-f99709370657
2007-01-09 23:29:07 +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
Jens Arnold
2f428871ea
Allow one more thread on swcodec to make mpegplayer work on targets with remote LCD and voice file present.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11937 a1c6a512-1295-4272-9138-f99709370657
2007-01-07 11:59:59 +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
fbc1612a51
Move invalidate_icache macro to function in GB target tree, GB only
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11908 a1c6a512-1295-4272-9138-f99709370657
2007-01-04 11:45:06 +00:00
Greg White
9d0faed29c
Use DMA for Blit to screen/clear
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11906 a1c6a512-1295-4272-9138-f99709370657
2007-01-04 11:43:33 +00:00
Steve Gotthardt
6d101042c6
Added HAVE_BACKLIGHT_SET_FADING because the Gigabeat backlight works that way.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11898 a1c6a512-1295-4272-9138-f99709370657
2007-01-04 09:30:14 +00:00
Steve Gotthardt
e4e42707fe
Moved the HAVE_USB_POWER into the !Simulator section so that the simulator build would work.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11895 a1c6a512-1295-4272-9138-f99709370657
2007-01-04 05:00:51 +00:00
Dave Chapman
147693819d
Split the enable_fiq(fiq_handler) function into separate set_fiq_handler(fiq_handler) and enable_fiq(void) functions. This allows temporary disabling of the FIQ without knowing which fiq handler is in use.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11875 a1c6a512-1295-4272-9138-f99709370657
2007-01-01 12:09:45 +00:00
Jens Arnold
9d9b8c08de
Another modified-build simplification: Just uncomment the #define for an ATA power-off enabled player build. Read the warning though, and test before flashing such a build for the first time.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11874 a1c6a512-1295-4272-9138-f99709370657
2006-12-31 10:48:53 +00:00
Jens Arnold
68ae800d2d
Made building for backlight-modded Ondios a bit easier: Just uncomment the #defines
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11868 a1c6a512-1295-4272-9138-f99709370657
2006-12-30 22:01:21 +00:00
Marcoen Hirschberg
295367686e
merge a big part of the unofficial gigabeat cvs back. Includes working bootloader and rockbox with audio.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11850 a1c6a512-1295-4272-9138-f99709370657
2006-12-29 02:49:12 +00:00
Jonathan Gordon
7258b5e51a
Make AB mode uable on the ipods. In AB mode select is used to set/reset
...
the markers in he WPS. AB mode must be disblaed ot get into the browser.
This can allow the Ondio's to have AB mode but it makes rombox too
large.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11832 a1c6a512-1295-4272-9138-f99709370657
2006-12-22 05:19:56 +00:00
Barry Wardell
977c69f819
iPod 3G is also PortalPlayer so should use the common USB driver.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11824 a1c6a512-1295-4272-9138-f99709370657
2006-12-20 18:03:40 +00:00
Barry Wardell
4b54302b07
Combine USB code for all PortalPlayer targets since they most likely all use the same USB hardware. Add register defines for the USB hardware addresses, based off the Freescale i.MX31 datasheet. Use usb_init() from the iPod code, but modified to use the new register defines rather than oul/inl on the hardware addresses.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11823 a1c6a512-1295-4272-9138-f99709370657
2006-12-20 15:28:32 +00:00
Michael Sevakis
4b902679cc
Convert queues to use intptr_t for event data and return values as most of the time pointer are not passed and it should make some things a bit cleaner.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11818 a1c6a512-1295-4272-9138-f99709370657
2006-12-19 16:50:07 +00:00
Barry Wardell
2f16d4f1b3
Add working dual-boot bootloaders for H10 and Sansa, which allow booting the OF and Rockbox. Rolo also works.
...
Changes made:
Combine bootloader/h10.c and bootloader/e200.c into a common bootloader file (bootloader/main-pp.c) to be used by all mi4 based PortalPlayer targets. The file bootloader/main-pp.c is based off the old bootloader/h10.c with some minor changes to allow it to work on the Sansa too. This effectively adds a Sansa bootloader.
Define MODEL_NAME string in config-*.h for use in bootloader.
Split crt0-pp.S into separate files for bootloader and normal builds. Bootloader code is now in crt0-pp-bl.S while normal build code stays in crt0-pp.S.
Improvements to crt0-pp.S and crt0-pp-bl.S (mostly to make it more multiprocessor safe):
* Leave space in bootloader at 0xe0-0xeb since scramble writes over there when it creates the mi4 file (don't leave space for iPods since it's not needed and all code in crt0-pp-bl.S needs to fit before the boot_table at 0x100).
* Remove unused DEBUG and STUB code from crt0-pp.S.
* Make CPU wait for COP to be sleeping when we put the COP to sleep.
* Invalidate COP cache when COP wakes
* Flush CPU cache before waking COP
* Make sure only the CPU clears the BSS (not the COP)
* Make sure only the CPU sets up its own stack (not the COP)
Rolo works on H10, so enable it.
Make Sansa e200 use rockbox.e200 rather than PP5022.mi4 for 'Normal' builds. This makes updating rockbox simpler as we don't need to go through the firmware update procedure, but rather just put a new rockbox.e200 on the device. rockbox.e200 uses a simple 'add' checksum.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11815 a1c6a512-1295-4272-9138-f99709370657
2006-12-19 11:33:53 +00:00
Barry Wardell
df0dc2262e
FS#6096. Recording on PortalPlayer targets (H10, iPod Video, iPod 4g, iPod Color, iPod Nano).
...
* Fix failed compile of enc_config.c when HAVE_MPEG2_SAMPR is not defined.
* Fix bug in AIFF encoder header creation on little endian targets.
* Add recording screen keymaps for H10 and iPod.
* Move pcm_playback PP specific code to target tree.
* Add recording code to wmcodec drivers.
* Add pcm_record code.
Some problems still remain:
* Playback doesn't work after recording until Rockbox is restarted.
* Gain control not implemented.
* Only 16-bit/44KHz for now. The hardware should be capable of up to 24-bit/96KHz.
* Line-in recording not tested on H10.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11794 a1c6a512-1295-4272-9138-f99709370657
2006-12-18 01:52:21 +00:00
Magnus Holmgren
c0b2862956
Fix freeze/crash problems when scrolling very long strings (like filenames or tags).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11789 a1c6a512-1295-4272-9138-f99709370657
2006-12-17 15:40:13 +00:00
Michael Sevakis
36c940555c
SWCODEC recording: More cleanup of stuff after queue additions and audio driver unification.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11783 a1c6a512-1295-4272-9138-f99709370657
2006-12-17 11:03:19 +00:00