Commit graph

252 commits

Author SHA1 Message Date
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
Jens Arnold
bccfae0a58 Fixed crash with early USB. The USB screen already uses some of the new GUI code, so we have to init before. Fixed problem with gui_syncstatusbar_init() drawing the status bar(s) right away.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8030 a1c6a512-1295-4272-9138-f99709370657
2005-11-21 18:39:18 +00:00
Kevin Ferrare
0d9c7b5bcb Applied Stephan Wezel's patch for the new wps %wd/%we tags (disable/enable statusbar in wps mode independantly from the global setting)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8015 a1c6a512-1295-4272-9138-f99709370657
2005-11-20 22:13:52 +00:00
Miika Pekkarinen
354a00627e User now receives a message if initial directory cache initialization
fails.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7988 a1c6a512-1295-4272-9138-f99709370657
2005-11-19 09:47:31 +00:00
Linus Nielsen Feltzing
e16ebf1a50 Moved the power_init() call to main(), removed unfinished inits for the H300
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7964 a1c6a512-1295-4272-9138-f99709370657
2005-11-18 14:55:51 +00:00
Christi Scarborough
4c0b83f5e9 Remote WPS support (and some WPS bugfixes) by Stephan Wezel
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7934 a1c6a512-1295-4272-9138-f99709370657
2005-11-17 20:14:59 +00:00
Andy
e6e5496535 iRiver: Initial support for wav-recording in recording menu. Supports mic/line-in (and radio), monitor mode, time-splitting (and byte-splitting), pause/resume etc. Things todo: Prerecording, peakmeter (should be simple), frequency other than 44.1 kHz, etc..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7818 a1c6a512-1295-4272-9138-f99709370657
2005-11-12 04:00:56 +00:00
Linus Nielsen Feltzing
219944f6a3 That was *not* supposed to be committed :-)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7798 a1c6a512-1295-4272-9138-f99709370657
2005-11-08 23:51:36 +00:00
Linus Nielsen Feltzing
1b4cb9ecb7 Removed a redundant comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7797 a1c6a512-1295-4272-9138-f99709370657
2005-11-08 23:50:24 +00:00
Magnus Holmgren
62634a323e iriver: audio_init really needs to be called after playlist and tree init; delay initial application of buffer margin and crossfade to solve the settings dependency. This should fix the problem with large values in 'Max files in dir browser'.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7633 a1c6a512-1295-4272-9138-f99709370657
2005-10-16 08:01:02 +00:00
Miika Pekkarinen
ab78b04680 Implemented directory caching. No more waiting for disk to spin up while
browsing when cache is enabled (system -> disk -> enable directory
cache). Cache building on boot is transparent except the first boot.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7588 a1c6a512-1295-4272-9138-f99709370657
2005-10-07 17:38:05 +00:00
Linus Nielsen Feltzing
60895bc107 Patch #1272052 by Henrik Backe - Move credits to a plugin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7450 a1c6a512-1295-4272-9138-f99709370657
2005-09-02 05:39:09 +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
Miika Pekkarinen
159c52dd36 Initial voice ui support for software codec platforms. Added also a
beep when changing tracks.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7360 a1c6a512-1295-4272-9138-f99709370657
2005-08-20 11:13:19 +00:00
Miika Pekkarinen
f090dc3829 Crossfade (and pcm buffer size) length is now configurable.
Implemented anti-skip buffer setting for iriver also. Settings block
bumped up, PLEASE SAVE YOUR SETTINGS BEFORE UPGRADING.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7210 a1c6a512-1295-4272-9138-f99709370657
2005-07-21 11:44:00 +00:00
Daniel Stenberg
771ed79f73 make pcmbuf_init() an empty macro on targets with HW codec
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7146 a1c6a512-1295-4272-9138-f99709370657
2005-07-14 21:32:56 +00:00
Miika Pekkarinen
cd20166895 Call pcmbuf_init() on simulator too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7144 a1c6a512-1295-4272-9138-f99709370657
2005-07-14 21:07:05 +00:00
Miika Pekkarinen
20b3897474 Separated buffering stuff from pcm_playback to pcmbuf. Renamed some
function calls (audiobuffer -> pcmbuf etc.).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7131 a1c6a512-1295-4272-9138-f99709370657
2005-07-13 12:48:22 +00:00
Jens Arnold
7c7dd43ccf Fixed a long-standing bug in the charging screen. The charging screen froze when OFF was pressed. The intention was to powerdown, but this cannot work on archos, so the charging screen must not react on OFF. Made the charging screen react on the ON press instead of the release for better feedback. Bootbox uses SYS_POWEROFF for powering down.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7104 a1c6a512-1295-4272-9138-f99709370657
2005-07-11 19:14:26 +00:00
Linus Nielsen Feltzing
52d5b30700 Wrong iriver model check
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7084 a1c6a512-1295-4272-9138-f99709370657
2005-07-09 08:05:04 +00:00
Jens Arnold
3a5bd7acb6 Enabled scrolling on the remote LCD in the simulator. Some small shortcuts in the H1x0 remote LCD driver and the recorder LCD driver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7057 a1c6a512-1295-4272-9138-f99709370657
2005-07-07 21:03:58 +00:00
Michiel Van Der Kolk
d6ab723584 moved rundb_init back to main, it has to be inited after audio_init, also, it has nothing to do with tree (though tagdb does have to do with tree)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7014 a1c6a512-1295-4272-9138-f99709370657
2005-07-04 22:10:42 +00:00
Jens Arnold
8102f3da27 New option to enable/disable the runtime database. Moved the runtimedb init to a more appropriate place and added proper USB handling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6984 a1c6a512-1295-4272-9138-f99709370657
2005-07-02 10:50:42 +00:00
Michiel Van Der Kolk
10b2069aed Fixed a warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6971 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 18:01:23 +00:00
Michiel Van Der Kolk
c735ed7914 First runtime database support, self repairing, only playcount works for now,
which is still rather crude; playcount gets increased even if the song started playback but was skipped... track rating should be trivial to add, autorating also works since its based on playcount.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6969 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 17:29:44 +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
Jörg Hohensohn
1b4e3091c8 no if(!usb_detect()) check around the autorock execution since we have early usb detection
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6797 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 06:11:51 +00:00
Jens Arnold
6514435d3b Iriver: Properly apply sound settings on startup. Moved some inits to more appropriate places.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6774 a1c6a512-1295-4272-9138-f99709370657
2005-06-20 10:04:16 +00:00
Andy
e5d08722f8 Iriver: First attempt at recording. Use Info->Debug->PCM recording to test recording of wav-files. Seams to work fine except occasional 100 ms noise at pos 100 ms (not later) so initialization or synch problem..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6763 a1c6a512-1295-4272-9138-f99709370657
2005-06-19 03:05:53 +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
27abc2a641 (1) Early USB detection on boot, before trying to mount the partitions. Cleaner & quicker; removes the need for the extra USB check at the top of ask_resume() which caused a deadlock in screenshot mode (see patch #1110332). On Ondio, this allows to leave an MMC in the slot when booting with USB connected for instant access. (2) Ondio: Track MMC status, only ask to remove the card if required. Probe MMC status if unknown.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6488 a1c6a512-1295-4272-9138-f99709370657
2005-05-17 22:10:51 +00:00
Jens Arnold
fe1ce9d842 Hotswap: Better placement for switching the MMC monitor off/on.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6480 a1c6a512-1295-4272-9138-f99709370657
2005-05-16 15:21:09 +00:00
Jens Arnold
15d7077c3a Hotswap: Avoid mount race at startup and after returning from USB mode.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6479 a1c6a512-1295-4272-9138-f99709370657
2005-05-16 13:25:02 +00:00
Christian Gmeiner
7c1879bdd0 IRiver: (1)Setting some remote lcd settings via menu (2) added driver to main.c (3) updated english.lang
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6291 a1c6a512-1295-4272-9138-f99709370657
2005-04-15 12:08:49 +00:00
Linus Nielsen Feltzing
3d2178148b Moved the car adapter mode handling to apps/, now every thread gets SYS_CHARGER_CONNECTED and SYS_CHARGER_DISCONNECTED events
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6255 a1c6a512-1295-4272-9138-f99709370657
2005-04-06 11:12:22 +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
9253d4d5de iRiver: call pcm_init() instead of uda1380_init()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6236 a1c6a512-1295-4272-9138-f99709370657
2005-03-31 06:50:34 +00:00
Henrik Backe
c1a951f524 Fixed link error for Archos Players/Recorders
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6232 a1c6a512-1295-4272-9138-f99709370657
2005-03-28 13:00:22 +00:00
Michiel Van Der Kolk
451dd48adc Sound api improvements, rockboy sound, contributed by xshock.
Playback of sound currently only works in boost mode, needs fixing.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6226 a1c6a512-1295-4272-9138-f99709370657
2005-03-28 00:00:24 +00:00
Linus Nielsen Feltzing
e7b993f1f6 main() now sets the default CPU frequency
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6208 a1c6a512-1295-4272-9138-f99709370657
2005-03-18 11:38:15 +00:00
Daniel Stenberg
8ef88a1815 Build Rockbox for iRiver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5759 a1c6a512-1295-4272-9138-f99709370657
2005-02-03 08:36:43 +00:00
Jens Arnold
3c348df5ca Changed several places to use button_clear_queue() to empty the button queue. Added the ability to empty the (system's) button queue to the X11 simulatr.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5665 a1c6a512-1295-4272-9138-f99709370657
2005-01-26 22:48:25 +00:00
Jens Arnold
0f04029293 New way of handling the builtin language strings. Now the string pointers are no longer stored as initialised data, but calculated by walking one long string containing all language strings separated by \0. While this doesn't need more RAM, it fixes the problem that loading incomplete .lng files after complete ones did not reset the missing strings to the default, and it also decreases the binary size by >1700 bytes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5608 a1c6a512-1295-4272-9138-f99709370657
2005-01-19 21:43:15 +00:00
Jens Arnold
76b257fd40 New channel configuration setting, allowing fine-grained control of the stereo width. This replaces the 'stereo narrow' and 'stereo wide' modes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5559 a1c6a512-1295-4272-9138-f99709370657
2005-01-12 00:24:15 +00:00
Jörg Hohensohn
7ee03d0493 killed a warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5519 a1c6a512-1295-4272-9138-f99709370657
2004-12-29 22:33:32 +00:00
Jörg Hohensohn
1a5962f2be Shared mounting code, also more general. It will mount multiple HD partitions, too, once HAVE_MULTIVOLUME is enabled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5518 a1c6a512-1295-4272-9138-f99709370657
2004-12-29 22:10:24 +00:00
Jörg Hohensohn
da84857631 prepared to mount multiple partitions into one logical file system (most useful for Ondio, internal memory + external MMC)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5514 a1c6a512-1295-4272-9138-f99709370657
2004-12-28 22:16:07 +00:00
Jens Arnold
7197edd8e2 Player: Do not display charging screen on coldstart with charger connected if HD is powered. This is to suppress the charging screen for very old players which cannot control HD power, and relies on proper probing in the bootloader.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5488 a1c6a512-1295-4272-9138-f99709370657
2004-12-16 22:31:26 +00:00
Jens Arnold
67b17e118f Show rockbox logo again after leaving the charging screen, to provide better visual feedback
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5455 a1c6a512-1295-4272-9138-f99709370657
2004-11-21 09:29:51 +00:00
Björn Stenberg
e34567932e Fixed iriver simulator build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5392 a1c6a512-1295-4272-9138-f99709370657
2004-11-09 19:55:28 +00:00
Jörg Hohensohn
ef8d508d5a tuner cleanup + improvements:
- use sleep and powerdown for those who can
- philips station search works now


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5306 a1c6a512-1295-4272-9138-f99709370657
2004-10-19 08:20:38 +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
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
Jens Arnold
ccfa4cd97a Removed car adapter mode for Ondio, and changed the misleading config option HAVE_BATTERIES to the more appropriate HAVE_CHARGING
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5242 a1c6a512-1295-4272-9138-f99709370657
2004-10-10 01:25:32 +00:00
Jens Arnold
fb56ee6113 Moved Ondio main menu hack in order to properly browse fonts, langs, rocks and .wps files. This does only work after filetype_init()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5151 a1c6a512-1295-4272-9138-f99709370657
2004-10-02 12:10:16 +00:00
Jens Arnold
36056003b9 Adjusted temporary Ondio hack for new capabilities
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5130 a1c6a512-1295-4272-9138-f99709370657
2004-09-29 21:41:10 +00:00
Jens Arnold
c12e87d881 The config sector number is now calculated from the lowest partition start sector. Needed for disks with sectors_per_track < 63, e.g. flash cards.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5124 a1c6a512-1295-4272-9138-f99709370657
2004-09-28 18:09:10 +00:00
Jens Arnold
2d875f83e6 Disabled all code for the serial remote on Ondio, since the serial port is needed for MMC access.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5097 a1c6a512-1295-4272-9138-f99709370657
2004-09-20 22:15:35 +00:00
Björn Stenberg
6c33c51a4c Redesigned the button handling. The code now uses symbolic function defines instead of checking for specific buttons. This makes it easier to add support for new devices with different button layouts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5091 a1c6a512-1295-4272-9138-f99709370657
2004-09-19 21:58:37 +00:00
Jörg Hohensohn
82e9438e2e oh, I need to commit this Ondio hack, else nobody can test with the automated build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5080 a1c6a512-1295-4272-9138-f99709370657
2004-09-16 08:02:07 +00:00
Jens Arnold
abe77a1a2a More const policeing step 1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4978 a1c6a512-1295-4272-9138-f99709370657
2004-08-01 21:50:57 +00:00
Linus Nielsen Feltzing
d659282f6d Removed some obsolete stuff
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4937 a1c6a512-1295-4272-9138-f99709370657
2004-07-24 17:57:02 +00:00
Linus Nielsen Feltzing
7bade1a24f Bass boost removed in favour of some new sound settings: Super bass and five new MDB parameters: strength, harmonics, center, shape and enable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4839 a1c6a512-1295-4272-9138-f99709370657
2004-07-06 12:17:14 +00:00
Linus Nielsen Feltzing
15124aa7c2 Now handles an empty disk better. This solves bug report #984690.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4832 a1c6a512-1295-4272-9138-f99709370657
2004-07-05 22:13:20 +00:00
Jörg Hohensohn
6ff6d21d13 settings_load() is now split in RTC and HD part, so RTC settings get loaded early (car adapter mode)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4776 a1c6a512-1295-4272-9138-f99709370657
2004-06-19 15:50:02 +00:00
Linus Nielsen Feltzing
e85acf10c8 The USB monitoring started before the ATA thread, leading to badness when Rockbox was started from flash with the USB cable inserted
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4685 a1c6a512-1295-4272-9138-f99709370657
2004-05-21 21:49:04 +00:00
Linus Nielsen Feltzing
b81a3c54a4 We now start monitoring USB earlier, and can enter USB mode from the debug partition viewer. This fixes bug #799491.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4438 a1c6a512-1295-4272-9138-f99709370657
2004-03-25 12:29:34 +00:00
Jörg Hohensohn
4f36ea8fbf First step of the voice-UI: the menus can talk. You need a "voicefont" file in .rockbox to use this.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4381 a1c6a512-1295-4272-9138-f99709370657
2004-03-14 21:33:53 +00:00
Jörg Hohensohn
f993365447 Moved the low-level playback functionality into a new, separate module "mp3_playback". This e.g. allows to export a memory playback API to the plugins, opens the door to games with sound, UI sounds, etc.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4192 a1c6a512-1295-4272-9138-f99709370657
2004-01-05 20:42:51 +00:00
Daniel Stenberg
7df25eb23c kill an "unused variable" compiler warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4153 a1c6a512-1295-4272-9138-f99709370657
2003-12-15 11:45:14 +00:00
Daniel Stenberg
8e43ccbec6 Initial suppport for building Rockbox for Neo. The Neo has a different
key layout so we need to check for this.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4138 a1c6a512-1295-4272-9138-f99709370657
2003-12-12 13:34:27 +00:00
Jörg Hohensohn
44298163ba No more spinning disk while charging flashed FM+V2 (you need the new bootloader to utilize it). ToDo: remove now false voltage reading from charging screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4095 a1c6a512-1295-4272-9138-f99709370657
2003-12-03 01:03:54 +00:00
Björn Stenberg
577e571958 Removed startup_io test code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4045 a1c6a512-1295-4272-9138-f99709370657
2003-11-20 00:01:13 +00:00
Linus Nielsen Feltzing
53ee344743 Slightly more correct initialization of the power/charging code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3940 a1c6a512-1295-4272-9138-f99709370657
2003-08-25 08:57:49 +00:00
Jörg Hohensohn
f80505c9d0 Diagnostic code added, to find init problems (charging, etc.) when flashed: the whole I/O space is saved on startup, can be dumped to a file via debug menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3912 a1c6a512-1295-4272-9138-f99709370657
2003-08-02 12:53:57 +00:00
Jörg Hohensohn
c4725df5e9 no more startup-rolo of ajbrec.ajz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3902 a1c6a512-1295-4272-9138-f99709370657
2003-07-29 20:41:10 +00:00
Jörg Hohensohn
020352c266 call power_init() before the charging screen may open, thus before ata_init(). No settings loaded yet, I hope this is not harmful.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3845 a1c6a512-1295-4272-9138-f99709370657
2003-07-18 21:58:28 +00:00
Jörg Hohensohn
5dd17b1857 A very basic charging screen, probably buggy, the pro's would make it much nicer, but it's a starting point.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3841 a1c6a512-1295-4272-9138-f99709370657
2003-07-17 20:29:51 +00:00
Jörg Hohensohn
c47f8c042c detect cold start (from flash) and look for archos.mod/ajbrec.ajz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3808 a1c6a512-1295-4272-9138-f99709370657
2003-07-03 22:13:39 +00:00
Linus Nielsen Feltzing
fe6cf2d0e4 Fixed simulator core dump (forgot to call playlist_init)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3683 a1c6a512-1295-4272-9138-f99709370657
2003-05-17 22:25:52 +00:00
Linus Nielsen Feltzing
67bea32c08 Moved the power_init() call to after the mpeg_init() call, this is supposed to solve the startup voltage bug
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3678 a1c6a512-1295-4272-9138-f99709370657
2003-05-17 20:38:38 +00:00
Daniel Stenberg
b85f10319c call tree_init(); in the simulator as well as otherwise we always get
the dreaded "DIR BUFFER IS FULL" error


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3671 a1c6a512-1295-4272-9138-f99709370657
2003-05-14 06:38:17 +00:00
Linus Nielsen Feltzing
20d031f9c7 Configurable dir browser file buffer size. No more 400-file limit. No more whining.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3661 a1c6a512-1295-4272-9138-f99709370657
2003-05-09 16:01:21 +00:00
Björn Stenberg
7bb746b4fe Changed to runtime playlist initialization
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3602 a1c6a512-1295-4272-9138-f99709370657
2003-04-24 17:31:36 +00:00
Björn Stenberg
c4d8d970f6 The power-saving SLEEP patch by Simon Elén.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3259 a1c6a512-1295-4272-9138-f99709370657
2003-02-14 09:44:34 +00:00
Linus Nielsen Feltzing
ba24555aa4 Fixed simulator build error
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3254 a1c6a512-1295-4272-9138-f99709370657
2003-02-14 03:09:27 +00:00
Linus Nielsen Feltzing
ebe0752469 Correct saving of channel config (patch by Remo Hofer)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3252 a1c6a512-1295-4272-9138-f99709370657
2003-02-14 01:49:50 +00:00
Kjell Ericson
9b986524c0 Moving the keyboard buffer empty routine to pure simulator code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3077 a1c6a512-1295-4272-9138-f99709370657
2003-01-13 12:54:59 +00:00
Kjell Ericson
b8342ff072 Starting the mpeg_thread for the simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3050 a1c6a512-1295-4272-9138-f99709370657
2003-01-10 09:19:56 +00:00
Kjell Ericson
fd9f864de2 The player simulator now has it own font_init()-function. We shall therefor call it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2758 a1c6a512-1295-4272-9138-f99709370657
2002-10-28 19:52:22 +00:00
Kjell Ericson
e12e55e53a Fonts are only for recorder.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2737 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 20:22:22 +00:00
Björn Stenberg
4d55c2f4b7 Partition debug screen added, and jumped to when no fat32 partition is found at boot.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2558 a1c6a512-1295-4272-9138-f99709370657
2002-10-10 12:01:58 +00:00
Björn Stenberg
be862227e1 No longer loads /.rockbox/default.*. Only selected files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2541 a1c6a512-1295-4272-9138-f99709370657
2002-10-09 08:03:24 +00:00
Björn Stenberg
dea31222b8 Added persistence of last .wps, .fnt and .lng file played in /.rockbox
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2535 a1c6a512-1295-4272-9138-f99709370657
2002-10-08 15:42:40 +00:00
Daniel Stenberg
5b662ff3de load ".rockbox/default.lng" at startup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2409 a1c6a512-1295-4272-9138-f99709370657
2002-09-25 11:42:10 +00:00
Björn Stenberg
996d4b4cf0 Fixed default font name misspelling. Again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2352 a1c6a512-1295-4272-9138-f99709370657
2002-09-20 11:07:08 +00:00
Björn Stenberg
28141dcaf6 Fixed default font name misspelling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2350 a1c6a512-1295-4272-9138-f99709370657
2002-09-20 10:54:44 +00:00
Björn Stenberg
bed3d3f7e0 New full ISO-8859-1 system font.
Added font loading from dir browser.
Changed default font location to /.rockbox/default.fnt.
Code-policed font code.
Removed old font tools.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2347 a1c6a512-1295-4272-9138-f99709370657
2002-09-20 08:07:51 +00:00
Daniel Stenberg
93b231c693 Greg Haerr's new loadable font. No more #ifdef font-style, removed old
propfont and loadable font code. New font file format.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2269 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 13:33:59 +00:00
Daniel Stenberg
085e774675 reverted Felix Arends' mistake
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1786 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 14:14:37 +00:00
Felix Arends
9ed9765bfe windows makefile for firmware
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1784 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 14:08:50 +00:00
Linus Nielsen Feltzing
b3bda03db0 Added Balance setting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1744 a1c6a512-1295-4272-9138-f99709370657
2002-08-14 21:30:06 +00:00
Björn Stenberg
ebb14ca5f9 Gained about 128 KB buffer space by removing malloc() and the heap
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1726 a1c6a512-1295-4272-9138-f99709370657
2002-08-13 23:13:01 +00:00
Björn Stenberg
cd7691de22 Enabled saving settings to disk on player
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1717 a1c6a512-1295-4272-9138-f99709370657
2002-08-13 17:16:09 +00:00
Björn Stenberg
18239b831d Remote control support added
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1685 a1c6a512-1295-4272-9138-f99709370657
2002-08-12 12:44:18 +00:00
Björn Stenberg
cd225736f9 First version of loadable fonts patch by Alex Gitelman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1666 a1c6a512-1295-4272-9138-f99709370657
2002-08-11 09:17:47 +00:00
Björn Stenberg
5853ef3738 Ignore partition types, just try to mount all partitions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1648 a1c6a512-1295-4272-9138-f99709370657
2002-08-09 15:23:32 +00:00
Björn Stenberg
b47e64ed6a Changed #ifdef from ARCHOS_RECORDER to HAVE_*
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1625 a1c6a512-1295-4272-9138-f99709370657
2002-08-08 20:44:25 +00:00
Heikki Hannikainen
6eb4254dfa Added battery charger for the recorder and a power management debugger.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1547 a1c6a512-1295-4272-9138-f99709370657
2002-08-06 10:52:51 +00:00
Linus Nielsen Feltzing
82f0b79a9b Removed powermgmt.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1544 a1c6a512-1295-4272-9138-f99709370657
2002-08-06 08:21:42 +00:00
Linus Nielsen Feltzing
76759e0c56 Now calls rtc_init()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1543 a1c6a512-1295-4272-9138-f99709370657
2002-08-06 08:14:08 +00:00
Linus Nielsen Feltzing
95b56673e8 Removed the boot count
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1482 a1c6a512-1295-4272-9138-f99709370657
2002-07-28 15:56:58 +00:00
Linus Nielsen Feltzing
d731cdd0db Automatic Volume Control for Recorder by Heikki Hannikainen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1447 a1c6a512-1295-4272-9138-f99709370657
2002-07-25 15:55:22 +00:00
Linus Nielsen Feltzing
97f94b4fac Added status_init() call
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1407 a1c6a512-1295-4272-9138-f99709370657
2002-07-22 22:44:03 +00:00
Linus Nielsen Feltzing
c132c48677 Loudness, Superbass and sorting patch by Heikki Hannikainen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1401 a1c6a512-1295-4272-9138-f99709370657
2002-07-22 16:39:17 +00:00
Björn Stenberg
761cd95f23 Allow LBA-less partitions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1364 a1c6a512-1295-4272-9138-f99709370657
2002-07-16 08:48:16 +00:00
Björn Stenberg
22771c2cba Trying to mount as raw disk if no partition is found
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1354 a1c6a512-1295-4272-9138-f99709370657
2002-07-15 19:55:32 +00:00
Linus Nielsen Feltzing
693a9db2a9 The partition search now stops when it finds a FAT32 partition
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1352 a1c6a512-1295-4272-9138-f99709370657
2002-07-15 18:52:35 +00:00
Björn Stenberg
de943a5bd1 Added searching for FAT32 partition
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1351 a1c6a512-1295-4272-9138-f99709370657
2002-07-15 15:06:45 +00:00
Björn Stenberg
6b25f79af0 Settings are now saved in RTC RAM on Recorder (Heikki Hannikainen).
Introduced debug menu (Heikki Hannikainen).
Cleaned up settings API.
Added scroll_speed init.
Moved dbg_ports() and dbg_rtc() from firmware/debug.c to apps/debug_menu.c
Made panic buffer static.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1347 a1c6a512-1295-4272-9138-f99709370657
2002-07-15 11:02:12 +00:00
Linus Nielsen Feltzing
6d2e492bd4 Added i2c_init()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1313 a1c6a512-1295-4272-9138-f99709370657
2002-07-02 21:40:12 +00:00
Linus Nielsen Feltzing
71ef31a2a9 Corrected ATA debug option
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1310 a1c6a512-1295-4272-9138-f99709370657
2002-07-02 18:01:31 +00:00
Linus Nielsen Feltzing
4b54559920 Added FAT debug option
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1309 a1c6a512-1295-4272-9138-f99709370657
2002-07-02 17:59:10 +00:00
Linus Nielsen Feltzing
2d3a676409 Removed debug display code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1293 a1c6a512-1295-4272-9138-f99709370657
2002-07-01 21:50:07 +00:00
Linus Nielsen Feltzing
7d3c31b1a9 Added adc_init() call
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1277 a1c6a512-1295-4272-9138-f99709370657
2002-06-30 20:25:37 +00:00
Linus Nielsen Feltzing
6c77cc3576 Now enables USB monitoring
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1265 a1c6a512-1295-4272-9138-f99709370657
2002-06-30 13:24:29 +00:00
Linus Nielsen Feltzing
811fc3a67e Now uses the global_settings in the mpeg_init() call
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1250 a1c6a512-1295-4272-9138-f99709370657
2002-06-28 15:09:11 +00:00
Björn Stenberg
a3ef95dcea Init global_settings in simulator too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1218 a1c6a512-1295-4272-9138-f99709370657
2002-06-27 00:57:33 +00:00
Björn Stenberg
f80d8a704d Moved settings.c/h to apps/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1215 a1c6a512-1295-4272-9138-f99709370657
2002-06-27 00:20:00 +00:00
Linus Nielsen Feltzing
9b3a3be79b Added backlight init
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1155 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 13:51:40 +00:00
Linus Nielsen Feltzing
31e2097013 Added settings initialization
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1114 a1c6a512-1295-4272-9138-f99709370657
2002-06-20 08:59:54 +00:00
Daniel Stenberg
6682c03de5 make init() a void always, this should heal the build again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@984 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 18:00:32 +00:00
Felix Arends
e096c86b09 included threads.h so that init_threads is defined.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@979 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 15:31:35 +00:00
Daniel Stenberg
75e09a80db now that show_logo() doesn't mess with the disk we call it as early as
possible before most initing but after the LCD init


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@950 a1c6a512-1295-4272-9138-f99709370657
2002-06-11 08:24:33 +00:00
Linus Nielsen Feltzing
8c00b4c6fb Initializations done in the correct order
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@943 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 14:44:15 +00:00
Björn Stenberg
f6a296929e lcd_init() for player too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@941 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 13:44:29 +00:00
Björn Stenberg
ad9829aa68 Added simulator init
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@933 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 12:42:23 +00:00
Björn Stenberg
6ea157d078 Everyone wants a logo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@851 a1c6a512-1295-4272-9138-f99709370657
2002-05-31 09:37:16 +00:00
Björn Stenberg
6573d6d4b4 Partition table is no longer global
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@831 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 19:41:35 +00:00
Björn Stenberg
4afa709e95 Moved show_logo() to after malloc_init
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@820 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 12:17:18 +00:00
Robert Hak
3c3bcf4e43 we now show the splash screen from the menu on a delay
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@815 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 08:26:22 +00:00
Daniel Stenberg
7b719114a1 APPSVERSION is defined in a stand-alone header file, and main.c sets
a global variable accordingly. Keep the header file clean, we want to
be able to machine-generate it.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@785 a1c6a512-1295-4272-9138-f99709370657
2002-05-29 10:05:27 +00:00
Linus Nielsen Feltzing
0f60775ecd Added system_init call
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@784 a1c6a512-1295-4272-9138-f99709370657
2002-05-29 09:14:38 +00:00
Björn Stenberg
6c890966a4 Show splash during init, no delay
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@781 a1c6a512-1295-4272-9138-f99709370657
2002-05-29 09:12:21 +00:00
Björn Stenberg
f43b27a934 Don't call debug_init() unless in debug mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@733 a1c6a512-1295-4272-9138-f99709370657
2002-05-27 09:53:28 +00:00
Daniel Stenberg
cd676e1d0f dmalloc and bmalloc are not intended for the simulator builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@719 a1c6a512-1295-4272-9138-f99709370657
2002-05-27 06:56:35 +00:00
Björn Stenberg
3ed2874669 Proper declaration of show_splash and main_menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@702 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 15:51:39 +00:00
Björn Stenberg
88f7fb02bd Added linker pool symbols and mpeg_init()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@700 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 15:40:14 +00:00
Björn Stenberg
55c7da2c2c Added return code handling and integrated app_main()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@642 a1c6a512-1295-4272-9138-f99709370657
2002-05-21 14:28:10 +00:00