Commit graph

80 commits

Author SHA1 Message Date
Nils Wallménius
f28da1a35a Enable a lot more features for simulators and add stubs where necessary, simulators should now work with identical lng and voice files as the respective target
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14299 a1c6a512-1295-4272-9138-f99709370657
2007-08-12 19:49:03 +00:00
Nils Wallménius
ff2a93f723 Remove the 'USB' menu item from the sim system menu, press the 'u' key to display the USB screen instead, will break binary lng files and voice files for the sims only
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14269 a1c6a512-1295-4272-9138-f99709370657
2007-08-10 14:10:50 +00:00
Steve Bavin
c0e6e20fb6 Oops. I should respect the simulator #ifdefs more.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13618 a1c6a512-1295-4272-9138-f99709370657
2007-06-11 09:04:50 +00:00
Steve Bavin
11fa3a871c Implement remove_thread for SDL simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12971 a1c6a512-1295-4272-9138-f99709370657
2007-03-30 16:02:42 +00:00
Michael Sevakis
c2d2106fd7 Audio Init: Just can't stand that heirarchy. Add one level of abstraction. Might come in handy anyhow. Use sound.h instead of the conditional includes for audio hardware headers. If someone doesn't like that, yell at my evil twin. :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12718 a1c6a512-1295-4272-9138-f99709370657
2007-03-11 06:21:43 +00:00
Michael Sevakis
6a384d2e67 Add audiohw_postinit() stub for the sims.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12716 a1c6a512-1295-4272-9138-f99709370657
2007-03-11 05:27:13 +00:00
Daniel Ankers
82f9056988 Dual core support for PP502x players (iPod G4 and later, iriver h10, Sansa - iPod G3 will be coming soon.) This allows threads to be run on either core provided that all communications between the cores is done using uncached memory. There should be no significant change in battery life from doing this. Documentation (on the RockboxKernel wiki page) will follow shortly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12601 a1c6a512-1295-4272-9138-f99709370657
2007-03-04 20:06:41 +00:00
Jonathan Gordon
5599d6806d Icons in the menus. Thanks midkay for them.
Any menus which dont yet show them are not converted to the new system.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12300 a1c6a512-1295-4272-9138-f99709370657
2007-02-14 06:58:30 +00:00
Steve Bavin
076ab8d206 Fixed settings persistence for simulators
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11082 a1c6a512-1295-4272-9138-f99709370657
2006-09-28 08:45:40 +00:00
Daniel Ankers
8300d8c194 Oops - fix warnings and add a simulator version of remove_thread_on_core()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10876 a1c6a512-1295-4272-9138-f99709370657
2006-09-03 21:00:19 +00:00
Dan Everton
3ba0060ac1 Backlight support for 8-bit targets in SDL sim. Redo sound handling. Still doesn't work right, but is closer to how the actual Rockbox system does it. Move some stub functions in to Win32 and X11 sims to keep them compiling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8686 a1c6a512-1295-4272-9138-f99709370657
2006-02-13 21:46:28 +00:00
Miika Pekkarinen
4503b96749 Fixed the red builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8417 a1c6a512-1295-4272-9138-f99709370657
2006-01-22 11:56:08 +00:00
Dave Chapman
060320b95c Fix red sim builds - add rtc_read_datetime and rtc_write_datetime functions for the simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8218 a1c6a512-1295-4272-9138-f99709370657
2005-12-11 02:00:28 +00:00
Kevin Ferrare
74b6af93b1 Added multi-screen support for quickscreen (mostly rewritten from scratch) and USB screen ; just looking at the hour makes me think it could be buggy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8039 a1c6a512-1295-4272-9138-f99709370657
2005-11-22 03:38:07 +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
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
e9c0e83154 Fixed the simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7219 a1c6a512-1295-4272-9138-f99709370657
2005-07-22 06:44:47 +00:00
Miika Pekkarinen
eab434c416 More accurate playback position calculation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7218 a1c6a512-1295-4272-9138-f99709370657
2005-07-22 06:32:55 +00:00
Miika Pekkarinen
3b6a9f3bad Fixed the simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7212 a1c6a512-1295-4272-9138-f99709370657
2005-07-21 12:25:30 +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
Miika Pekkarinen
05012ac9f7 Enable crossfade for simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7151 a1c6a512-1295-4272-9138-f99709370657
2005-07-15 07:15:39 +00:00
Daniel Stenberg
febb52fc03 First take at PCM playback in the X11 sim on Linux.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7147 a1c6a512-1295-4272-9138-f99709370657
2005-07-14 21:46:07 +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
c3b1eceff1 Added dummy function and simulator stub.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6537 a1c6a512-1295-4272-9138-f99709370657
2005-05-30 06:42:14 +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
Daniel Stenberg
22b7701fe7 Build cleanup and general fixes. fprintf() is now fdprintf(), the separation
between uisimulator files and firmware/apps files are better done.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6031 a1c6a512-1295-4272-9138-f99709370657
2005-02-22 12:19:12 +00:00
Linus Nielsen Feltzing
cdd236c036 Wrong filename for directory voice files in the simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5620 a1c6a512-1295-4272-9138-f99709370657
2005-01-20 22:32:09 +00:00
Jörg Hohensohn
c540e82ffb sim fix for ATA stubs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5516 a1c6a512-1295-4272-9138-f99709370657
2004-12-28 22:38:47 +00:00
Jens Arnold
d4e53976d9 Renamed has_new_lcd() to is_new_player(), and got rid of the alias
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5459 a1c6a512-1295-4272-9138-f99709370657
2004-11-22 21:20:54 +00:00
Linus Nielsen Feltzing
335190567c Removed annoying debug output
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5417 a1c6a512-1295-4272-9138-f99709370657
2004-11-17 12:45:07 +00:00
Jörg Hohensohn
687793ca67 oops, dear sims, please excuse
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5318 a1c6a512-1295-4272-9138-f99709370657
2004-10-21 19:07:46 +00:00
Jörg Hohensohn
b1403ee024 New way of defining menus and options allows to declare them static const, which saves the code to runtime-assemble them. Rockbox just got 6 KB smaller.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4931 a1c6a512-1295-4272-9138-f99709370657
2004-07-23 23:01:20 +00:00
Kjell Ericson
8586786d98 Added backlight_off to simulator stubs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4770 a1c6a512-1295-4272-9138-f99709370657
2004-06-18 10:05:46 +00:00
Jörg Hohensohn
e7b2ed9c3e remove_thread() stubbed for the simulator, but this is a "make it compile" hack. It should rather do the real thing, I just don't know how.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4572 a1c6a512-1295-4272-9138-f99709370657
2004-05-01 15:55:41 +00:00
Linus Nielsen Feltzing
7ddf0d673d Reworked the time get/set functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4522 a1c6a512-1295-4272-9138-f99709370657
2004-04-20 10:23:57 +00:00
Jörg Hohensohn
99483dee1c talkbox clip renamed to ".dirname.tbx", most people voted for a non-mp3 extension
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4485 a1c6a512-1295-4272-9138-f99709370657
2004-04-10 09:04:26 +00:00
Jörg Hohensohn
9568ca6055 my usual simulator postfix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4472 a1c6a512-1295-4272-9138-f99709370657
2004-04-06 07:21:55 +00:00
Jörg Hohensohn
c778aa6ac8 warning and simulator build fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4466 a1c6a512-1295-4272-9138-f99709370657
2004-04-04 20:34:28 +00:00
Jörg Hohensohn
5e4aa64009 my usual simulator postfix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4441 a1c6a512-1295-4272-9138-f99709370657
2004-03-27 00:42:32 +00:00
Jörg Hohensohn
5495d6ec2e another sim fix, I just _love_ to break these builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4417 a1c6a512-1295-4272-9138-f99709370657
2004-03-21 00:15:16 +00:00
Jörg Hohensohn
78f06b9a2c missing stub broke the sim build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4415 a1c6a512-1295-4272-9138-f99709370657
2004-03-19 22:41:36 +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
73681ff4ef inconsistent argument type for backlight_set_timeout() fixed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4287 a1c6a512-1295-4272-9138-f99709370657
2004-01-30 23:27:44 +00:00
Jörg Hohensohn
a5e1d06354 Upside Down option for display (and buttons) now wired into the display settings menu, persistence, simulator stubs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4168 a1c6a512-1295-4272-9138-f99709370657
2003-12-20 10:00:37 +00:00
Björn Stenberg
3f54121fde Added plugin loader. Moved games, demos and the text viewer to loadable plugins. Copy your *.rock files to /.rockbox/rocks/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3770 a1c6a512-1295-4272-9138-f99709370657
2003-06-29 16:43:15 +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
Daniel Stenberg
a9b04beba4 get_time() for sim
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3172 a1c6a512-1295-4272-9138-f99709370657
2003-01-27 14:40:02 +00:00
Linus Nielsen Feltzing
f1f7b6150a ...and the usual simulator corrections
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2940 a1c6a512-1295-4272-9138-f99709370657
2002-12-05 13:16:23 +00:00
Linus Nielsen Feltzing
4a66327583 Some simulator corrections
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2919 a1c6a512-1295-4272-9138-f99709370657
2002-12-03 22:49:48 +00:00