Commit graph

361 commits

Author SHA1 Message Date
Jens Arnold
4f6375ca17 H1x0: Made the cursor movement button combos usable. Perhaps it would be better to use an Ondio-like mode mechanism instead, or move the accept function to a long press of SELECT.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7223 a1c6a512-1295-4272-9138-f99709370657
2005-07-22 12:42:50 +00:00
Miika Pekkarinen
e9919342c5 Initial attempt to support peak meter on iriver. It still has some
strange behaviour and readings might not be correct.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7182 a1c6a512-1295-4272-9138-f99709370657
2005-07-17 19:29:02 +00:00
Jens Arnold
f894a4c269 4-shades greyscale graphics core for iriver H1x0. 4-grey rockbox logo and light grey background in splash() boxes. Simplified the splash() box creation as the new graphics core does clipping. Adapted screendump feature and added flexible preprocessing to construct the bmp header. Rockboy now uses 4-grey mode as well. 4-grey support for win32 simulator. Fixed win32 player sim to not use double bitmap conversion via a recorder-like framebuffer, and correctly display double-height text. X11 simulator temporarily adapted. The display won't be distorted, but it still shows b&w only.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7046 a1c6a512-1295-4272-9138-f99709370657
2005-07-06 22:58:02 +00:00
Daniel Stenberg
01377e2e57 Hristo Kovachev's keypad fixes for the H300 build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6912 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 12:47:24 +00:00
Jens Arnold
7e11acbce9 Second part of graphics api rework. Bitmap drawing and text output converted; some code cleanup and more optimisations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6906 a1c6a512-1295-4272-9138-f99709370657
2005-06-28 23:15:47 +00:00
Linus Nielsen Feltzing
a26b153ec9 Made the FM frequency setting wrap around
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6869 a1c6a512-1295-4272-9138-f99709370657
2005-06-26 12:15:40 +00:00
Jens Arnold
934941294b Core functions taking advantage of the new, optimised lcd_hline() and lcd_vline() functions. Some cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6859 a1c6a512-1295-4272-9138-f99709370657
2005-06-25 00:28:09 +00:00
Jens Arnold
24a1f94cd7 Fixed yellow FM builds, and changed the function type names according to the rockbox coding style.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6858 a1c6a512-1295-4272-9138-f99709370657
2005-06-24 23:06:06 +00:00
Jens Arnold
04daef17a1 First part of graphics api rework. Special functions, parameter handling, pixel functions, lines and filled primitives done for black & white core, main display.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6856 a1c6a512-1295-4272-9138-f99709370657
2005-06-24 22:33:21 +00:00
Jens Arnold
97a8049389 New feature for units that can be powered or charged from USB (Recorder fm/v2, Ondios): USB power mode, based on patch #1110332 by Pieter Bos. This way you can save battery power or even charge the battery (fm/v2) while using your unit near a PC. Hold MODE (Ondio) or F1 (fm/v2) while plugging USB to enter that mode. A tiny USB plug icon will be displayed is the status bar (overridden by the regular power plug icon in case of fm/v2 when the charger is connected).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6836 a1c6a512-1295-4272-9138-f99709370657
2005-06-23 02:18:29 +00:00
Daniel Stenberg
a7de2e28d3 use the 160 pixels wide logo for wider LCDs too (for now at least)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6720 a1c6a512-1295-4272-9138-f99709370657
2005-06-15 11:48:50 +00:00
Linus Nielsen Feltzing
4dd5134a1f Killed some warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6587 a1c6a512-1295-4272-9138-f99709370657
2005-06-06 01:08:18 +00:00
Jens Arnold
5690f78fb2 Multiple choice LED configuration instead of HAVE_LED. Removes erroneous MMC icon display on iriver, and saves some code on Ondio. Removed invert_led() as it is no longer used.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6568 a1c6a512-1295-4272-9138-f99709370657
2005-06-04 23:15:52 +00:00
Jens Arnold
031e4b8738 New recording feature: Don't split every 24 hours if timesplit is off, but only split when the filesize approaches the 2GB limit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6562 a1c6a512-1295-4272-9138-f99709370657
2005-06-04 12:14:46 +00:00
Jens Arnold
d9b66127ac Recording screen rework: (1) Fixed irregular LED blinking on pause/ armed trigger. All redraw & LED intervals are now generated by the peakmeter_draw_get_button() delay alone, avoiding interference of different frequencies. (2) This also fixes irregular update intervals of the whole recording screen. (3) Code cleanup, smaller binary size. (4) Fixed gain limits (symmetric analog gain increase used mic gain limit, and so did the right analog gain decrease).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6559 a1c6a512-1295-4272-9138-f99709370657
2005-06-04 10:19:45 +00:00
Jens Arnold
9d14b73989 Bugfix: The peakmeter drew too much cpu power when recording, occasionally causing the recording buffer to wrap before the first save finished (when fsinfo didn't contain a next-free-cluster hint so that an exhaustive search was necessary).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6558 a1c6a512-1295-4272-9138-f99709370657
2005-06-04 09:48:03 +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
Jens Arnold
e387a2238e Proper indentation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6525 a1c6a512-1295-4272-9138-f99709370657
2005-05-26 20:02:12 +00:00
Daniel Stenberg
1188f933aa Made it build warning-free on the sim. This could not have worked in the sim
previously. Made readshort() and readlong() static.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6444 a1c6a512-1295-4272-9138-f99709370657
2005-05-08 22:11:15 +00:00
Daniel Stenberg
113a58dca6 include autoconf for the endian defines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6422 a1c6a512-1295-4272-9138-f99709370657
2005-05-07 23:08:14 +00:00
Daniel Stenberg
b8a23f9e49 Fixed makefiles for autoconf.g include.
Fixed build output look in several Makefiles
Fixed code to include autoconf.h
Fixed code to use ROCKBOX_*_ENDIAN instead of previous attempts.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6421 a1c6a512-1295-4272-9138-f99709370657
2005-05-07 22:41:17 +00:00
Jens Arnold
b4861738c9 Bugfix: debug_fm_detection was defined twice. Removed it, since it only had a meaning for the Samsung tuner chip and is thus no longer needed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6411 a1c6a512-1295-4272-9138-f99709370657
2005-05-07 01:09:09 +00:00
Jens Arnold
4e2cee1ece Bugfix: The recording screen must not touch the LED if the LED is only simulated to avoid confusion (Ondio FM).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6392 a1c6a512-1295-4272-9138-f99709370657
2005-05-01 20:10:39 +00:00
Thom Johansen
7de0b0ecae Removed 'static' keyword from non-static variables.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6356 a1c6a512-1295-4272-9138-f99709370657
2005-04-26 00:10:15 +00:00
Linus Nielsen Feltzing
de4ef019b9 Long policy again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6346 a1c6a512-1295-4272-9138-f99709370657
2005-04-25 09:49:08 +00:00
Linus Nielsen Feltzing
c27d51c553 Long policy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6345 a1c6a512-1295-4272-9138-f99709370657
2005-04-25 09:21:22 +00:00
Linus Nielsen Feltzing
e2ae4f3b4b New BMP reader by Tomas Salfischberger
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6341 a1c6a512-1295-4272-9138-f99709370657
2005-04-25 07:58:16 +00:00
Linus Nielsen Feltzing
250678bb05 New BMP reader by Tomas Salfischberger
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6340 a1c6a512-1295-4272-9138-f99709370657
2005-04-25 07:42:10 +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
Jens Arnold
c194fab162 FM preset menu: store current preset immediately after leaving.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6265 a1c6a512-1295-4272-9138-f99709370657
2005-04-10 20:26:19 +00:00
Jens Arnold
cef15c6efc FM preset menu: Set cursor to the current preset on enter. Added a generic function to the menu system which allows for setting the position.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6264 a1c6a512-1295-4272-9138-f99709370657
2005-04-10 17:36:55 +00:00
Jens Arnold
cf986e8d44 Triggered recording fixes: (1) Made it compile for Ondio FM recorder (no led, button assigment). (2) Disabled trigger settings and peakmeter trigger handling for devices without recording. Saves > 2 KB of code on Ondio SP. (3) Const policed, saves some more code size. (4) Some code cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6248 a1c6a512-1295-4272-9138-f99709370657
2005-04-04 20:16:01 +00:00
Linus Nielsen Feltzing
e1f70587ce More audio code restructuring, mostly renaming functions so far
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6247 a1c6a512-1295-4272-9138-f99709370657
2005-04-04 12:36:06 +00:00
Linus Nielsen Feltzing
8a237a829e More audio code restructuring, mostly renaming functions so far
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6246 a1c6a512-1295-4272-9138-f99709370657
2005-04-04 12:06:29 +00:00
Linus Nielsen Feltzing
68482bbed2 Patch #868645 by Philipp Pertermann, volume triggered recording for the Archos recording devices
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6243 a1c6a512-1295-4272-9138-f99709370657
2005-04-04 09:12:12 +00:00
Linus Nielsen Feltzing
d2041832cd Forgot to include sound.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6241 a1c6a512-1295-4272-9138-f99709370657
2005-04-01 14:09:41 +00:00
Linus Nielsen Feltzing
674eaca5ef Moved the mpeg_sound_xxx() functions to sound.c and renamed them to sound_xxx()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6240 a1c6a512-1295-4272-9138-f99709370657
2005-04-01 13:41:03 +00:00
Jens Arnold
59483d6768 Bugfix: Stop running recording when leaving the radio screen with the radio running (FM recorder: ON, Ondio: long OFF)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6156 a1c6a512-1295-4272-9138-f99709370657
2005-03-06 18:03:01 +00:00
Jörg Hohensohn
f5e7a76bf0 Ondio activity icon changed to MMC/flash symbol (thanks Jens)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6099 a1c6a512-1295-4272-9138-f99709370657
2005-03-01 22:55:52 +00:00
Daniel Stenberg
6610f8e9bb fprintf() => fdprintf()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6032 a1c6a512-1295-4272-9138-f99709370657
2005-02-22 12:48:36 +00:00
Jörg Hohensohn
c76fbf7162 Ondio: disk indication in the status bar, to compensate for lacking LED
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6012 a1c6a512-1295-4272-9138-f99709370657
2005-02-19 00:34:15 +00:00
Jean-Philippe Bernardy
4ff0c8e4c8 long policy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5971 a1c6a512-1295-4272-9138-f99709370657
2005-02-16 11:04:35 +00:00
Jean-Philippe Bernardy
b1c138ea1a Recording keys assignments for gmini 120
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5855 a1c6a512-1295-4272-9138-f99709370657
2005-02-08 15:38:01 +00:00
Jens Arnold
0b31a007bb Keyboard rework & fixes: (1) Separator line no longr wraps at the right border. (2) More compact & straightfoward calculation of cursor position & string part. (3) Code cleanup. (4) Also spell the string when characters are deleted.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5822 a1c6a512-1295-4272-9138-f99709370657
2005-02-07 00:56:26 +00:00
Daniel Stenberg
db32fb131e make this build on systems with no HW codec (iriver/gmini)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5745 a1c6a512-1295-4272-9138-f99709370657
2005-02-02 21:49:19 +00:00
Daniel Stenberg
1aa4dcb58e initial iriver keypad support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5744 a1c6a512-1295-4272-9138-f99709370657
2005-02-02 21:48:47 +00:00
Jens Arnold
2116bba296 New function for formatting large-range values for output, both printed and voiced. This replaces num2max5(). It is currently used for the total/free space display in the info menu, for the recorded number of bytes (recorders) and the MMC debug info (Ondios).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5721 a1c6a512-1295-4272-9138-f99709370657
2005-01-31 00:39:20 +00:00
Jens Arnold
9d42e2b396 Renamed the config variable for the battery display type to battery_display to get it out of the way for the upcoming battery_type setting for the Ondio. Also seems more logical.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5711 a1c6a512-1295-4272-9138-f99709370657
2005-01-30 13:48:44 +00:00
Jens Arnold
0ff13c0b0d Enabled logo display for gmini.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5661 a1c6a512-1295-4272-9138-f99709370657
2005-01-25 23:55:42 +00:00
Jens Arnold
259e354889 Added button definitions for gmini build. Prettified formatting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5638 a1c6a512-1295-4272-9138-f99709370657
2005-01-23 01:01:14 +00:00