Commit graph

175 commits

Author SHA1 Message Date
Jens Arnold
c652218d14 Fix remaining CONFIG_TUNER checks.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12385 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 08:46:12 +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
Jens Arnold
6b0fdae0f6 Removed unused 'mode' parameter from mkdir() for consistency with creat().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12183 a1c6a512-1295-4272-9138-f99709370657
2007-02-03 10:28:55 +00:00
Jens Arnold
67eb154146 Removed 'mode' parameter from creat(). It wasn't pure posix anyway, it was ignored on target and mixed into 'oflags' in the simulator. * Simplified io.c a bit by defining a dummy O_BINARY for OSes which don't have that.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12179 a1c6a512-1295-4272-9138-f99709370657
2007-02-01 23:08:15 +00:00
Miika Pekkarinen
0dd7ea2d71 Support building tagcache db natively on PC using the core of the
Rockbox tagcache database engine. Only host endian support at the
moment and no command line parameters. Mainly for developers for
debugging at the moment.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11497 a1c6a512-1295-4272-9138-f99709370657
2006-11-10 08:03:33 +00:00
Jens Arnold
a796260a6b Next step of Makefile tuning: * Use 'make' internal commands for printing messages. Saves build time especially on cygwin. * SILENT variable used in more places. * Bitmap build system uses one Makefille less.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11369 a1c6a512-1295-4272-9138-f99709370657
2006-10-27 21:48:06 +00:00
Jens Arnold
d1ce4e779e Consistent style of 'make' messages. Always use ranlib after ar.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11322 a1c6a512-1295-4272-9138-f99709370657
2006-10-23 22:33:39 +00:00
Barry Wardell
64f949f295 Allow UI simulator to be build on OS (Slightly updated version of FS5767)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11094 a1c6a512-1295-4272-9138-f99709370657
2006-09-29 16:15:11 +00:00
Steve Bavin
8c9d5f35f0 Improve simulator use of multiple codecs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11083 a1c6a512-1295-4272-9138-f99709370657
2006-09-28 08:46:28 +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
Miika Pekkarinen
d70bd0e03d FS#5884 Fix simulator file delete/rename with dircache.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10757 a1c6a512-1295-4272-9138-f99709370657
2006-08-26 14:19:18 +00:00
Linus Nielsen Feltzing
c849219370 Moved the X5 button driver to the target tree
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10339 a1c6a512-1295-4272-9138-f99709370657
2006-07-27 13:27:31 +00:00
Jens Arnold
9051afa8a0 Contrast setting cleanup: * Only include contrast setting for targets where it's used. * Make lcd_default_contrast() a stub for simulators.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10317 a1c6a512-1295-4272-9138-f99709370657
2006-07-25 11:15:50 +00:00
Hardeep Sidhu
25377dbd7d Simulator: two codecs may be loaded at same time if voice is enabled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10130 a1c6a512-1295-4272-9138-f99709370657
2006-06-17 09:42:16 +00:00
Dan Everton
5f40aac300 Don't pass NULL to dlclose. Stops the simulator crashing if there's a problem loading a plugin or codec.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9003 a1c6a512-1295-4272-9138-f99709370657
2006-03-11 16:16:15 +00:00
Jens Arnold
38b7547ef4 Simulators: Fix pointer size vs. int size problems (64bit hosts) in plugin loader and codec loader.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8880 a1c6a512-1295-4272-9138-f99709370657
2006-03-02 01:08:38 +00:00
Linus Nielsen Feltzing
37b15d3833 Protect against text-mode files in Windows by using open() instead of creat()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8781 a1c6a512-1295-4272-9138-f99709370657
2006-02-22 14:41:45 +00:00
Jens Arnold
3e496e3ecf Reworked player simulator icons to fit the changed charcell scale factor and look more like the actual icons. Adapted player sim display sizes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8745 a1c6a512-1295-4272-9138-f99709370657
2006-02-20 00:31:10 +00:00
Dan Everton
1064f019b8 Fix permissions of directories created in the sim.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8726 a1c6a512-1295-4272-9138-f99709370657
2006-02-18 13:26:09 +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
Dan Everton
b585e87b45 Refactor SDL sim source so drawing routines are written once. Split bitmap, remote, and charcell LCD in to their own files. Add zoom support, use --zoom factor (e.g. --zoom 2 for two times zoom) to use it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8645 a1c6a512-1295-4272-9138-f99709370657
2006-02-09 21:49:28 +00:00
Linus Nielsen Feltzing
e7c7d9b051 Bah, O_BINARY is of course Win32 only
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8564 a1c6a512-1295-4272-9138-f99709370657
2006-02-04 20:35:46 +00:00
Linus Nielsen Feltzing
8599b07113 Fixed the codec loading problem in the Win32 SDL simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8563 a1c6a512-1295-4272-9138-f99709370657
2006-02-04 20:13:06 +00:00
Linus Nielsen Feltzing
fc72c53758 Patch #1417462 by Dan Everton - Improved SDL simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8546 a1c6a512-1295-4272-9138-f99709370657
2006-02-03 15:19:58 +00:00
Linus Nielsen Feltzing
60e8f4f988 First steps towards SDL sim for windows
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8449 a1c6a512-1295-4272-9138-f99709370657
2006-01-25 12:15:25 +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
Jens Arnold
b8749fdf21 New codec loader, using the same mechanism as the new plugin loader. API version numbering restarted for the new system. Uses the target ID from configure, so don't change that too often. * Fixed sim_plugin_load_ram() to truncate the tempfile. * Reduced plugin buffer size to 512KB for iriver and iPod.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8362 a1c6a512-1295-4272-9138-f99709370657
2006-01-18 00:05:14 +00:00
Jens Arnold
a79027743a Model & version check for simulator plugins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8356 a1c6a512-1295-4272-9138-f99709370657
2006-01-16 23:20:58 +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
Daniel Stenberg
ee76cc3716 silence picky gcc4 warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8097 a1c6a512-1295-4272-9138-f99709370657
2005-11-28 09:36:26 +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
3be6cf1574 16bit colour support (H300) for the win32 simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7898 a1c6a512-1295-4272-9138-f99709370657
2005-11-15 23:37:21 +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
Linus Nielsen Feltzing
d3fde76fc7 FM radio simulation working again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7332 a1c6a512-1295-4272-9138-f99709370657
2005-08-16 06:50:25 +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
Magnus Holmgren
30b8378b68 Win32 needs the mode bits for open too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7200 a1c6a512-1295-4272-9138-f99709370657
2005-07-19 18:18:37 +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
Daniel Stenberg
9872813c7d introducing H1x0 style grayscale support in the X11 sim
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7137 a1c6a512-1295-4272-9138-f99709370657
2005-07-14 10:02:04 +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
Miika Pekkarinen
645a2e16ed Fixed a simulator crash while trying to play a song. Fixed crossfade
when selecting a new track to play. Most likely fixed a bug which
caused playback to stop on track change.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7094 a1c6a512-1295-4272-9138-f99709370657
2005-07-10 16:33:03 +00:00
Jens Arnold
22c15b78c8 Simulator stub for remote lcd flip.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6740 a1c6a512-1295-4272-9138-f99709370657
2005-06-17 22:03:56 +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
Daniel Stenberg
ac31e6af87 Remote LCD support added to the x11 simulator, take 1. The win32 simulator
still builds, but shows no remote LCD yet.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6510 a1c6a512-1295-4272-9138-f99709370657
2005-05-23 16:23:25 +00:00