Commit graph

236 commits

Author SHA1 Message Date
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
Björn Stenberg
e324db6e1e Added init()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@626 a1c6a512-1295-4272-9138-f99709370657
2002-05-17 19:50:37 +00:00
Björn Stenberg
8218285c0b Initial revision
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@586 a1c6a512-1295-4272-9138-f99709370657
2002-05-16 12:53:40 +00:00