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
Thom Johansen
a4bfe37c6c
Optical S/PDIF recording and monitoring for Iriver H1x0. Removed unsupported recording options on Iriver. Sample rate displayed in recording screen reflects the real S/PDIF sample rate when doing S/PDIF recording. Testing would be appreciated. Thanks to Jens Arnold for fixing the DMA hang issue. Will reset settings!
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9916 a1c6a512-1295-4272-9138-f99709370657
2006-05-11 22:55:24 +00:00
Zakk Roberts
16a57e2e4f
Also add a config-specific 'Default' value, this should fix the sim builds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9680 a1c6a512-1295-4272-9138-f99709370657
2006-04-15 13:07:21 +00:00
Zakk Roberts
b61e263219
Move the battery min/max capacity to player config files and add an increment setting (amount of mAh to increase/decrease by in the settings menu) for more precise battery value tweaking/limiting per-model. This allows the proper range for iAudio X5 - 950mAh, or 2250mAh for the X5L.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9678 a1c6a512-1295-4272-9138-f99709370657
2006-04-15 12:31:33 +00:00
Zakk Roberts
2f943b054c
Enabled the quickscreen for iAudio X5. Globally, REC enters the menu and holding REC enters the quickscreen. Also moved the quickscreen #define to model config files, which simplifies the checking for it and makes checking more consistent. Cleaned up keymappings in quickscreen.h.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9590 a1c6a512-1295-4272-9138-f99709370657
2006-04-10 03:51:17 +00:00
Peter D'Hoye
769f18be1d
simulator stubs for iriver recording, iriver sims now have a recording screen (doesn't actually record!)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9403 a1c6a512-1295-4272-9138-f99709370657
2006-04-01 15:52:06 +00:00
Zakk Roberts
f639df3b8e
Clean up the LCD Settings menu for some targets: hide the Contrast and Invert options for color LCDs; the Flip Display option is now only available on supported targets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9300 a1c6a512-1295-4272-9138-f99709370657
2006-03-28 02:00:35 +00:00
Thom Johansen
3c7278f405
Reworked backlight fading by GPIO based PWM to work for other targets
...
than H1x0. iPod Nano and 5G backlight fading is enabled. To try for your
device, just define HAVE_BACKLIGHT_PWM_FADING in the relevant
config-xxxx.h file. NOTE: Will break your settings, so save a config
file first.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9121 a1c6a512-1295-4272-9138-f99709370657
2006-03-19 17:42:58 +00:00
Jens Arnold
13c63de2c1
Iriver: Properly working remote type detection regardless of hold switch positions.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9079 a1c6a512-1295-4272-9138-f99709370657
2006-03-17 18:45:06 +00:00
Miika Pekkarinen
451ee0b11c
Charging state reporting for iriver players. Values calibrated with
...
1900 mAh Ionity battery; might need recalibration with the stock
battery.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9030 a1c6a512-1295-4272-9138-f99709370657
2006-03-13 16:11:30 +00:00
Linus Nielsen Feltzing
00811840c9
Remote type autodetection on iriver, remote_type() returns REMOTETYPE_H100_LCD, REMOTETYPE_H300_LCD or REMOTETYPE_H300_NONLCD
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8721 a1c6a512-1295-4272-9138-f99709370657
2006-02-17 22:38:38 +00:00
Dave Chapman
8ad2df8275
Create an SDL sim for the iPod 4G Grayscale and also create an IPOD_ARCH define for all iPods.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8636 a1c6a512-1295-4272-9138-f99709370657
2006-02-09 00:48:53 +00:00
Brandon Low
8d5a6609a3
AB-repeat mode for software codecs. Accessible through menu as a repeat mode, with buttom mappings much like those on other rockbox targets for now.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8409 a1c6a512-1295-4272-9138-f99709370657
2006-01-21 23:43:57 +00:00
Jens Arnold
b8749fdf21
New codec loader, using the same mechanism as the new plugin loader. API version numbering restarted for the new system. Uses the target ID from configure, so don't change that too often. * Fixed sim_plugin_load_ram() to truncate the tempfile. * Reduced plugin buffer size to 512KB for iriver and iPod.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8362 a1c6a512-1295-4272-9138-f99709370657
2006-01-18 00:05:14 +00:00
Thom Johansen
887e3a1f67
Fix red sim build, HAVE_RECORDING is not to be defined for sims.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8082 a1c6a512-1295-4272-9138-f99709370657
2005-11-27 02:48:41 +00:00
Thom Johansen
63ce2338c2
Enable recording for H100 line. No idea why this wasn't enabled before.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8078 a1c6a512-1295-4272-9138-f99709370657
2005-11-27 01:16:00 +00:00
Linus Nielsen Feltzing
ec5366ac79
No S/PDIF playback on H300
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8076 a1c6a512-1295-4272-9138-f99709370657
2005-11-27 01:11:25 +00:00
Jens Arnold
b51f7dfc9b
Backlight handling: * Added 'Caption Backlight' and 'Backlight On When Charging' for the iriver remote LCD. * Enabled the backlight code for the simulator, and prepared backlight simulation. It's only a stub atm, writing messages to the console window. * Added tick task handling to the simulators for this to work. * Code cleanup in backlight.c, less dead code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8034 a1c6a512-1295-4272-9138-f99709370657
2005-11-21 23:55:39 +00:00
Miika Pekkarinen
b2a99528e3
Removed the separate #ifndef SIMULATOR defines.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7989 a1c6a512-1295-4272-9138-f99709370657
2005-11-19 10:09:06 +00:00
Miika Pekkarinen
93d8ca53c3
Fixed the simulator builds and added HAVE_REMOTE_LCD_TICKING define.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7987 a1c6a512-1295-4272-9138-f99709370657
2005-11-19 09:26:02 +00:00
Linus Nielsen Feltzing
f4c2b96daa
H300 has no ATA LED
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7961 a1c6a512-1295-4272-9138-f99709370657
2005-11-18 14:06:50 +00:00
Linus Nielsen Feltzing
73a35a1aa4
Reverted erroneous commit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7918 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 23:42:19 +00:00
Linus Nielsen Feltzing
df0e5effc5
Cleaned up bootloader linker control file and added the H300 target
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7916 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 23:15:59 +00:00
Linus Nielsen Feltzing
d29aef3d62
H300 backlight
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7885 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 22:12:50 +00:00
Linus Nielsen Feltzing
1550bdcea6
Unified the H100 and H300 startup
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7792 a1c6a512-1295-4272-9138-f99709370657
2005-11-08 22:52:53 +00:00
Jens Arnold
8051a0b724
Sound settings rework: * Put all fixed parameters (unit, decimals, step, min, max, default, set function) for the individual settings into one structure array. * Use the new individual sound setting functions where appropriate. * Added dummy sound setting functions and defined the codec type for the sims. Fixes wrong sound settings ranges in the simulators. * Code cleanup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7770 a1c6a512-1295-4272-9138-f99709370657
2005-11-06 23:12:11 +00:00
Dave Chapman
1561e8603e
Oops. Forgot to increase the codec size for H100.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7707 a1c6a512-1295-4272-9138-f99709370657
2005-10-31 21:11:16 +00:00
Jens Arnold
524b85fa92
H1x0: More precise tuning; corrected xtal frequency in comments + #defines.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7553 a1c6a512-1295-4272-9138-f99709370657
2005-09-24 09:06:31 +00:00
Henrik Backe
b2473d58ab
Fixed associate problem with file extensions (.info files matched .nfo extension)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7456 a1c6a512-1295-4272-9138-f99709370657
2005-09-02 15:05:35 +00:00
Jens Arnold
d6c054575b
Renamed CONFIG_HWCODEC and MASNONE to the more appropriate CONFIG_CODEC and SWCODEC, respectively.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7416 a1c6a512-1295-4272-9138-f99709370657
2005-08-29 21:15:27 +00:00
Linus Nielsen Feltzing
d3fde76fc7
FM radio simulation working again
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7332 a1c6a512-1295-4272-9138-f99709370657
2005-08-16 06:50:25 +00:00
Linus Nielsen Feltzing
ab543c71a9
Forgot that the simulator doesn't simulate the FM radio
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7320 a1c6a512-1295-4272-9138-f99709370657
2005-08-13 18:10:51 +00:00
Linus Nielsen Feltzing
8c7589bc96
Very lame, initial support for FM radio on the iriver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7318 a1c6a512-1295-4272-9138-f99709370657
2005-08-13 17:35:02 +00:00
Christian Gmeiner
4894a06a15
iAudio, iRiver: As both platforms use the same i2c interface i have renamed i2c-h100.c/h to i2c-coldfire.c/h. Also i have changed some stuff in config.h and config-xx.h. Hope everybody agrees with this patch, else we can unroll and improve it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7271 a1c6a512-1295-4272-9138-f99709370657
2005-07-31 17:31:33 +00:00
Linus Nielsen Feltzing
aa1042286a
Fixed RoLo for H100 targets
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7188 a1c6a512-1295-4272-9138-f99709370657
2005-07-18 15:50:06 +00:00
Linus Nielsen Feltzing
56fb177111
Inverted S/PDIF control on H110
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7111 a1c6a512-1295-4272-9138-f99709370657
2005-07-12 04:53:14 +00:00
Daniel Stenberg
8f895def2c
safety precaution to detect an envrionment running with the old setup
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7063 a1c6a512-1295-4272-9138-f99709370657
2005-07-08 06:53:21 +00:00
Daniel Stenberg
8493ccb285
Renamed the iriver h120 defines and configs to "h120"! Added initial support
...
for the h100 series.
Please re-run configure.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7062 a1c6a512-1295-4272-9138-f99709370657
2005-07-08 06:31:13 +00:00
Jens Arnold
1d5f07b0a6
Preparation for 4-grey LCD mode on H1x0.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7008 a1c6a512-1295-4272-9138-f99709370657
2005-07-04 06:25:31 +00:00
Linus Nielsen Feltzing
8782bc8392
New config option for optical out on iriver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6960 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 09:42:39 +00:00
Daniel Stenberg
a24017f4da
Moved the codec and plugin buffer sizes to the config-*.h files instead of
...
having it repeated in numerous files where they all had to be updated to the
same value if ever changed. This allows specific models to actually have its
own buffer sizes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6901 a1c6a512-1295-4272-9138-f99709370657
2005-06-27 21:23:03 +00:00
Jens Arnold
337f3a1b99
Make the simulator builds know about software poweroff, for more consistent behaviour to the targets. Changed some #if conditions to better reflect the hardware. Fixes iriver sim.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6833 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 23:24:45 +00:00
Linus Nielsen Feltzing
2f2b9eab4b
The iriver simulator now uses the correct LCD driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6793 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 01:14:21 +00:00
Jens Arnold
de1b915f79
Iriver: Sleep timer now powers off the box even when the charger is connected.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6733 a1c6a512-1295-4272-9138-f99709370657
2005-06-16 23:45:09 +00:00
Thom Johansen
08636e1e65
Added define for the UDA1380 codec chip.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6721 a1c6a512-1295-4272-9138-f99709370657
2005-06-15 11:53:20 +00:00
Linus Nielsen Feltzing
d7aee08b2d
Recording is not yet available on the iRiver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6579 a1c6a512-1295-4272-9138-f99709370657
2005-06-06 00:30:38 +00:00
Jonas Häggqvist
35745919c4
Define for remote keypad type
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6549 a1c6a512-1295-4272-9138-f99709370657
2005-06-02 11:08:55 +00:00
Linus Nielsen Feltzing
88f3a53b7e
iRiver remote LCD is only 128x64
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6542 a1c6a512-1295-4272-9138-f99709370657
2005-05-31 12:37:05 +00:00
Daniel Stenberg
ac31e6af87
Remote LCD support added to the x11 simulator, take 1. The win32 simulator
...
still builds, but shows no remote LCD yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6510 a1c6a512-1295-4272-9138-f99709370657
2005-05-23 16:23:25 +00:00
Christian Gmeiner
21aa3b135d
IRiver: show logo on startup at remote lcd
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6302 a1c6a512-1295-4272-9138-f99709370657
2005-04-15 14:34:58 +00:00