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
Kjell Ericson
3262207223
Updated for better player simulator.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2760 a1c6a512-1295-4272-9138-f99709370657
2002-10-28 20:00:19 +00:00
Kjell Ericson
08cbf69e0e
Removed warnings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2739 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 20:32:23 +00:00
Kjell Ericson
d19b9edfa4
Added stubs that shall not be in the player simulator.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2733 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 20:16:14 +00:00
Björn Stenberg
5cb429ec60
Added mpeg_set_pitch() stub to simulator.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2721 a1c6a512-1295-4272-9138-f99709370657
2002-10-18 14:03:11 +00:00
Mats Lidell
a99c565d72
Moved lcd player code to lcd-playersim.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2714 a1c6a512-1295-4272-9138-f99709370657
2002-10-18 09:20:14 +00:00
Mats Lidell
ac2b1b9a89
Icons were flipped.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2666 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 13:25:07 +00:00
Linus Nielsen Feltzing
0a4b247080
The player firmware now autodetects the LCD type. No need for two player versions anymore
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2658 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 12:25:57 +00:00
Daniel Stenberg
6e0a75c596
better rtc_read() simulation
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2657 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 12:24:09 +00:00
Daniel Stenberg
b3438e8b68
added a silly stub for oscillograph to remove an #ifdef in the actual code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2642 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 07:58:16 +00:00
Daniel Stenberg
d4d3a5df94
rtc_read() and rtc_write() added, and if we now set HAVE_RTC when building
...
the recorder simulator, we get a clock in the status bar! ;-)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2586 a1c6a512-1295-4272-9138-f99709370657
2002-10-11 18:48:22 +00:00
Mats Lidell
d5fd94d693
Player simulator stuff for patterns added.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2580 a1c6a512-1295-4272-9138-f99709370657
2002-10-11 11:12:00 +00:00
Markus Braun
88098be7e3
Enable status bar in usb mode.
...
Moved usb_display_info() to screens.c
Added functions queue_wait_w_tmo() and usb_wait_for_disconnect_w_tmo().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2574 a1c6a512-1295-4272-9138-f99709370657
2002-10-11 08:56:23 +00:00
Daniel Stenberg
c43b36c70c
backlight when charging now is for players and simulators too
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2466 a1c6a512-1295-4272-9138-f99709370657
2002-10-01 11:12:57 +00:00
Daniel Stenberg
b95fe1afc6
Mark A. Hillebrand's patch that offers a new setting that if enabled, keeps
...
the backlight on all the time while the charger is connected.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2464 a1c6a512-1295-4272-9138-f99709370657
2002-10-01 10:59:36 +00:00
Björn Stenberg
a4c3b03f15
Removed lcd_getfontsize(). Removed font parameters to lcd_putsxy and lcd_getstringsize.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2403 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 18:04:15 +00:00
Björn Stenberg
d4e2ee56ef
Fixed win32 build problems.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2371 a1c6a512-1295-4272-9138-f99709370657
2002-09-23 11:23:13 +00:00
Björn Stenberg
86f9a8410b
Split lcd driver into lcd-player and lcd-recorder. Player simulator still needs fixing.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2370 a1c6a512-1295-4272-9138-f99709370657
2002-09-23 11:17:52 +00:00
Linus Nielsen Feltzing
3d641c92a5
Added lcd_putc()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2148 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 09:39:52 +00:00
Linus Nielsen Feltzing
644e4ce792
Added lcd_define_pattern()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2145 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 08:29:03 +00:00
Björn Stenberg
457b8a0a67
Added configurable disk spindown. The disk will also now not spin down while you are running around in the dir browser or pressing buttons in the wps.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1987 a1c6a512-1295-4272-9138-f99709370657
2002-08-26 13:21:14 +00:00
Daniel Stenberg
7c3dd40ed2
menu fix
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1954 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 13:01:36 +00:00
Björn Stenberg
b1d5124434
simulate_usb ignores key releases
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1898 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 18:11:06 +00:00
Daniel Stenberg
42564a1b99
USB display for simulator purpose
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1892 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 17:24:42 +00:00
Björn Stenberg
6224cdb166
Added resume. Works in dirs and playlists, shuffled or not. Resumes mid-song, but press pause on players before you shutdown so they get a chance to store the position on disk. Recorders use RTC ram. Todo: Time display is wrong after mid-track resume and ffd/rew is not handled.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1787 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 14:41:47 +00:00
Björn Stenberg
c9d98ca927
Added delayed write for settings. Doesn't write until someone else accesses the disk.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1762 a1c6a512-1295-4272-9138-f99709370657
2002-08-15 12:42:37 +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
Robert Hak
c15b405e98
im stupid, this shouldn't have been removed
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1703 a1c6a512-1295-4272-9138-f99709370657
2002-08-13 08:55:58 +00:00
Robert Hak
d06cd2ee16
we don't need this anymore
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1699 a1c6a512-1295-4272-9138-f99709370657
2002-08-13 08:31:01 +00:00
Björn Stenberg
2534097fc8
battery_level() already had a stub
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1367 a1c6a512-1295-4272-9138-f99709370657
2002-07-16 11:11:00 +00:00
Björn Stenberg
1812eae051
Added stub for battery_level()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1365 a1c6a512-1295-4272-9138-f99709370657
2002-07-16 10:54:37 +00:00