Commit graph

356 commits

Author SHA1 Message Date
Jonas Häggqvist
b24631c07f Fix crosscompiling the uisim with mingw32 by adding a definition of CLOSE
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15047 a1c6a512-1295-4272-9138-f99709370657
2007-10-09 17:51:02 +00:00
Nicolas Pennequin
ef9abe4385 Keep track of the number of opened files in the sim to enforce the same limit as on target.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15045 a1c6a512-1295-4272-9138-f99709370657
2007-10-09 15:15:00 +00:00
Jens Arnold
5128080328 FS #7752 by Catalin Patulea: Stop 'Rockbox Info' from crashing multivolume target simulators (Ondio, Sansa).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14684 a1c6a512-1295-4272-9138-f99709370657
2007-09-13 20:53:32 +00:00
Michael Sevakis
c4a7631eb9 UISIMULATOR: Do a graceful shutdown of all threads and avoid (mostly lockup) problems caused by not worrying about states. Have rockbox objects initialized only by rockbox threads save for the main 'gui' thread which is a needed exception.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14660 a1c6a512-1295-4272-9138-f99709370657
2007-09-10 03:49:12 +00:00
Michael Sevakis
0107dfc827 UISIMULATOR: Give the host OS some needed context switching hints (which _is_ supposed to work on Linux - but I can't tell on VMWare - and does on Windows). I guess I'll know for sure soon. Give sleep() even more genuine behavior. Add some button driver sync with the rockbox threads that should have been there for some time - this is basically interrupt-like processing as any thread not in the kernel pool should be considered. Make the screendump work again by posting the request. Perhaps help out shutting down for some users but not in the way I'd prefer - to think about.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14646 a1c6a512-1295-4272-9138-f99709370657
2007-09-09 01:59:07 +00:00
Michael Sevakis
f64ebb1c1f Sim I/O and threading that runs more like on target. Tweakable if any genuine slowness imitation is required for any one of them. One point of concern is the sim shutdown on an OS other than Linux just because terminating threads in a manner other than having the do it themselves is kind of dirty IMHO.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14639 a1c6a512-1295-4272-9138-f99709370657
2007-09-08 12:20:53 +00:00
Jens Arnold
8a177345ce Moved archos power handling into target tree. * Tuner power handling cleaned up a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14345 a1c6a512-1295-4272-9138-f99709370657
2007-08-14 22:06:23 +00:00
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
Michael Sevakis
680afafc23 Fix all the red this time?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13884 a1c6a512-1295-4272-9138-f99709370657
2007-07-14 13:41:59 +00:00
Michael Sevakis
7d759f6b9c Do some planned radio interface cleanup since adding in the LV24020LP.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13880 a1c6a512-1295-4272-9138-f99709370657
2007-07-14 11:20:31 +00:00
Michael Sevakis
979c2b7c66 Add lcd_sleep stub to sim too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13819 a1c6a512-1295-4272-9138-f99709370657
2007-07-08 13:13:25 +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
Michael Sevakis
d89eba1619 As ususual, fix the sim errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13574 a1c6a512-1295-4272-9138-f99709370657
2007-06-06 19:39:59 +00:00
Jens Arnold
49be3faf07 A bit more readable code. Also saves one buffer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13222 a1c6a512-1295-4272-9138-f99709370657
2007-04-20 17:35:05 +00:00
Daniel Stenberg
f6209cc959 a little extra poke to get the sim to build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13215 a1c6a512-1295-4272-9138-f99709370657
2007-04-20 11:58:39 +00:00
Jens Arnold
2fd7c3c828 Make the simulator work with unicode filenames on windows. This includes both file operations and console (debug) output. Note that the console window _must_ be configured to use a truetype font for proper unicode display.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13211 a1c6a512-1295-4272-9138-f99709370657
2007-04-19 20:17:24 +00:00
Peter D'Hoye
6be615615d Fix sim crashes on long filenames. Patch by Sean Morrisey with some minor changes by me. Fixes FS #6009
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13138 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 22:38:54 +00:00
Jens Arnold
d6cb716697 Declare struct sim_dirent the same way as rockbox core's struct dirent. Fixes file time reading for 64 bit sims.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13053 a1c6a512-1295-4272-9138-f99709370657
2007-04-07 00:14:16 +00:00
Peter D'Hoye
f0ed594aaa Fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13052 a1c6a512-1295-4272-9138-f99709370657
2007-04-06 23:54:21 +00:00
Peter D'Hoye
832e0dfb16 Fix file date and time reading in the simulator (used by the properties plugin)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13051 a1c6a512-1295-4272-9138-f99709370657
2007-04-06 23:33:33 +00:00
Jens Arnold
323d75d25f It's not necessary (anymore?) to map lcd_icon() to sim_lcd_icon() for the simulator. * Removed a stray lcd_icon() call from usb handling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13006 a1c6a512-1295-4272-9138-f99709370657
2007-04-03 18:06:13 +00:00
Jens Arnold
6f3c600bde Fix flickering battery icon in the player sim.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13003 a1c6a512-1295-4272-9138-f99709370657
2007-04-02 19:31:11 +00:00
Jens Arnold
54ea2e435e Charcell lcd driver: Preparations for switching to non-immediate LCD updates, using lcd_update() like on bitmap targets. * Added proper clipping. * Simplified simulator code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12979 a1c6a512-1295-4272-9138-f99709370657
2007-03-31 09:58:49 +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
Jens Arnold
ad4e3d6657 First step of charcell LCD code rework: * Make it fully unicode aware so that adding non-ISO8859-1 scripts becomes possible (limited by the LCD capabilities of course). * Make the API more similar to the bitmap LCD code's API. * Moved hardware dependent parts to target tree. * Simplified code. * Jumpscroll temporarily non-functional.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12916 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 07:52:13 +00:00
Jens Arnold
bd5c0ad7bb Cast some more to keep both 32 bit and 64 bit simulator platforms happy.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12819 a1c6a512-1295-4272-9138-f99709370657
2007-03-17 10:50:58 +00:00
Michael Sevakis
a2ee6a6681 FM Radio mishmash: Make a quieter screen for the SWCODEC targets esp. for the benefit of x5; I wasn't sure if it was good to alter timeouts for HW codec. Simplify things and prepare for eventual scanning and tuning changes (which should help quiet x5 down even more). Make things behave themselves better in general. Enable SWCODEC FM Recording menu and screen for sim as a bonus.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12804 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 14:40:40 +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
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
Daniel Stenberg
b8a23f9e49 Fixed makefiles for autoconf.g include.
Fixed build output look in several Makefiles
Fixed code to include autoconf.h
Fixed code to use ROCKBOX_*_ENDIAN instead of previous attempts.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6421 a1c6a512-1295-4272-9138-f99709370657
2005-05-07 22:41:17 +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
2dddde253f remove extra kludge we used to kill warnings on very old mingw cross-compile
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6178 a1c6a512-1295-4272-9138-f99709370657
2005-03-09 23:54:16 +00:00
Jens Arnold
bb9dfa0b02 Simulators: more efficient implementation of sim_filesize().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6175 a1c6a512-1295-4272-9138-f99709370657
2005-03-09 19:26:59 +00:00
Daniel Stenberg
db44dadcab attempt to kill two annoying win32 cross-compiler warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6169 a1c6a512-1295-4272-9138-f99709370657
2005-03-08 22:37:15 +00:00
Daniel Stenberg
0bf50f02cc adjusted to use the new Make include file to create the SRC variable from
the SOURCES file


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6155 a1c6a512-1295-4272-9138-f99709370657
2005-03-06 15:53:44 +00:00
Jens Arnold
576d029ece Simulator: sim_rename() must not use off_t in the argument for the same reason as sim_lseek(). Removed parentheses around system function names as the function name mangling is done differently with the new build system.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6145 a1c6a512-1295-4272-9138-f99709370657
2005-03-05 21:48:58 +00:00
Jens Arnold
399c081f93 Simulators: lseek() working again for systems with an off_t datatype differing from 'long' (cygwin/x11, maybe others). Removed unused sim_close().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6084 a1c6a512-1295-4272-9138-f99709370657
2005-02-28 18:32:57 +00:00
Jens Arnold
527e121757 Win32 simulator also needs open() option mangling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6050 a1c6a512-1295-4272-9138-f99709370657
2005-02-24 23:11:21 +00:00
Jens Arnold
78724269a5 Proper disk statistics for the win32 simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6042 a1c6a512-1295-4272-9138-f99709370657
2005-02-22 21:55:48 +00:00
Jens Arnold
cf208c50a2 Killed some simulator warnings; proper plugin error reporting for Win32 simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6039 a1c6a512-1295-4272-9138-f99709370657
2005-02-22 18:21:16 +00:00
Daniel Stenberg
ba454115ec file.h is not accessible for the simulated-functions files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6038 a1c6a512-1295-4272-9138-f99709370657
2005-02-22 13:02:56 +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
Daniel Stenberg
1ceb575c8a make the proto match the one used in rockbox
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6008 a1c6a512-1295-4272-9138-f99709370657
2005-02-18 15:43:20 +00:00
Daniel Stenberg
74826dd158 charcell code only on charcell sims
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6007 a1c6a512-1295-4272-9138-f99709370657
2005-02-18 15:43:02 +00:00
Daniel Stenberg
cdde25b597 Unified build system to use SOURCES for sim builds too, a single Makefile-look
made by configure and various related adjustments. This has not yet been tested
on cygwin.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6001 a1c6a512-1295-4272-9138-f99709370657
2005-02-18 13:47:17 +00:00
Björn Stenberg
99dbd7c5e9 Fixed red build...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5648 a1c6a512-1295-4272-9138-f99709370657
2005-01-24 07:37:07 +00:00
Björn Stenberg
3d53032176 Fixed yellow build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5647 a1c6a512-1295-4272-9138-f99709370657
2005-01-24 07:15:57 +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
91f9350cbd moved and renamed fmradio_set/get_status to power.c, where it now additionally serves well for tuner power enable on OndioFM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5296 a1c6a512-1295-4272-9138-f99709370657
2004-10-17 08:53:18 +00:00
Jörg Hohensohn
593cc00447 a hell of a commit: changed several HAVE_xx configuration flags into multiple choice values (keypad, tuner, CPU, h/w codec)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5126 a1c6a512-1295-4272-9138-f99709370657
2004-09-28 22:13:26 +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
Björn Stenberg
8b6950493b Moved LCD_WIDHT/HEIGHT from lcd driver to config file.
Simulators now use conig-xxx.h.
Added Iriver H100 to tools/configure.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5081 a1c6a512-1295-4272-9138-f99709370657
2004-09-16 14:36:08 +00:00
Jens Arnold
0ceaa5e365 Const policed pointer arguments to functions, part 2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4996 a1c6a512-1295-4272-9138-f99709370657
2004-08-17 01:45:48 +00:00
Linus Nielsen Feltzing
f4f4111536 Added possibility to select the priority of the ID3 tags
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4962 a1c6a512-1295-4272-9138-f99709370657
2004-07-27 14:10:48 +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
Linus Nielsen Feltzing
b9a5198ba7 Player LCD simulation no longer writes outside the frame buffer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4899 a1c6a512-1295-4272-9138-f99709370657
2004-07-20 11:42:27 +00:00
Linus Nielsen Feltzing
4242a34ad6 Patch #961687 by Eric Lassauge, MP3 playback using libmad in the X11 simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4849 a1c6a512-1295-4272-9138-f99709370657
2004-07-08 10:12:39 +00:00
Linus Nielsen Feltzing
b6f67a8c10 The win32 open() was called with the wrong flags
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4845 a1c6a512-1295-4272-9138-f99709370657
2004-07-08 05:50:20 +00:00
Linus Nielsen Feltzing
afd7421a4c Added FM radio simulation, with a good station at 99.4MHz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4823 a1c6a512-1295-4272-9138-f99709370657
2004-07-02 07:43:49 +00:00
Jörg Hohensohn
74eb64257a infrastructure for sorting by date+time, now we "only" need to decide on the UI
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4778 a1c6a512-1295-4272-9138-f99709370657
2004-06-20 16:34:29 +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
Daniel Stenberg
56e6335e8f Create files with proper permissons on unix/linux, make open() and creat()
warn and return -1 if the file name doesn't start with slash.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4746 a1c6a512-1295-4272-9138-f99709370657
2004-06-14 22:32:13 +00:00
Daniel Stenberg
36c9a958e4 translate from rockbox's open() options to the options used by the host
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4745 a1c6a512-1295-4272-9138-f99709370657
2004-06-14 22:22:49 +00:00
Hardeep Sidhu
fb26bfb662 Fixed VC++ build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4739 a1c6a512-1295-4272-9138-f99709370657
2004-06-14 07:00:50 +00:00
Linus Nielsen Feltzing
a6142ab7ab Finally, the archos directory sandbox works in the same way for both X11 and win32 simulators. Unfortunately, this breaks the VC++ compatibility. Also, the plugin API now supports DEBUGF. Last, but not least, we have a new plugin, vbrfix.rock.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4726 a1c6a512-1295-4272-9138-f99709370657
2004-06-10 13:29:52 +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
Jens Arnold
e8bb31ee13 Added missing newline
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4537 a1c6a512-1295-4272-9138-f99709370657
2004-04-21 09:44:07 +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
Daniel Stenberg
41cfe303a6 fixed lcd_blit for the (x11) sim
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4148 a1c6a512-1295-4272-9138-f99709370657
2003-12-15 10:25:51 +00:00
Björn Stenberg
f6ed970b11 Added FreeBSD support to uisimulator. Patch by Keith Hubbard
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3811 a1c6a512-1295-4272-9138-f99709370657
2003-07-04 08:30:01 +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
Kjell Ericson
ffefc5d5e1 A bit faster update of Player simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3730 a1c6a512-1295-4272-9138-f99709370657
2003-06-05 08:29:21 +00:00
Jörg Hohensohn
c6fb565dd9 most of UI sim patch 708460 from Magnus Holmgren, except the bitmap removal
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3571 a1c6a512-1295-4272-9138-f99709370657
2003-04-19 13:15:33 +00:00
Daniel Stenberg
3aeb55f385 no one ever uses libmad, remove it from our CVS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3382 a1c6a512-1295-4272-9138-f99709370657
2003-03-04 15:52:56 +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
Kjell Ericson
ea3d4d5a00 Implementing Rocklatin for Rockbox player.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3054 a1c6a512-1295-4272-9138-f99709370657
2003-01-10 10:02:27 +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
54d5e2cb27 Added a 5 pixel border around the content. Looks better (that's all).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2800 a1c6a512-1295-4272-9138-f99709370657
2002-11-01 13:38:21 +00:00
Kjell Ericson
b3e41c711b Changed the battery icon so it doesn't clear the inner part of the icon.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2798 a1c6a512-1295-4272-9138-f99709370657
2002-11-01 08:10:33 +00:00
Mats Lidell
0d79fa127d Icons created.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2792 a1c6a512-1295-4272-9138-f99709370657
2002-10-31 17:34:07 +00:00
Mats Lidell
097bd10680 Adjusted position of second icon line.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2791 a1c6a512-1295-4272-9138-f99709370657
2002-10-31 17:33:41 +00:00
Kjell Ericson
dae8deaf1f The lcd_clear_display() didn't work.
Added some debug-stuff.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2772 a1c6a512-1295-4272-9138-f99709370657
2002-10-29 10:43:30 +00:00
Kjell Ericson
fe026b944d Definitions of "struct coordinate" and "struct rectangle" and definitions
of the drawing functions needed for the simulators.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2766 a1c6a512-1295-4272-9138-f99709370657
2002-10-28 20:18:17 +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
a901c3a433 Removed warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2741 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 20:46:10 +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
f179453524 The font for player-simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2738 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 20:28:09 +00:00
Kjell Ericson
ccfa84853a Many functions have been changed.
The font will now be drawn in a more hardware-like style.
The "select arrow" is now looking bad, but will be fixed by Mats Lidell and
me later.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2735 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 20:20:09 +00:00
Kjell Ericson
fe10eb3a9f Almost totaly rewritten.
Most icons are still missing, but will be redrawn in some days.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2734 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 20:17:47 +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
786d2c3cb3 Rewritten based on lcd-player.c.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2715 a1c6a512-1295-4272-9138-f99709370657
2002-10-18 09:20:48 +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
Kjell Ericson
65de9c9167 Moved volume-icon a bit. More examine will be done later in order to look at
the other icons. They seem to be too large for a real player screen.
The problem of the flickering screen is residing here somewhere...


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2707 a1c6a512-1295-4272-9138-f99709370657
2002-10-17 18:40:57 +00:00
Mats Lidell
c4a09adf29 Scroll works for wps and menus. Still much cleanup to do.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2704 a1c6a512-1295-4272-9138-f99709370657
2002-10-17 15:15:04 +00:00
Felix Arends
1e95013f3c what did that #ifdef do there?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2690 a1c6a512-1295-4272-9138-f99709370657
2002-10-16 16:54:37 +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
Mats Lidell
36e935f1b7 Created.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2579 a1c6a512-1295-4272-9138-f99709370657
2002-10-11 11:10:52 +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
Mats Lidell
645250065b Added icons for repeat and repeat 1.
Moved icons on the first status row around a little. (Subject to
change when the real fonts are there but looks better now.)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2512 a1c6a512-1295-4272-9138-f99709370657
2002-10-05 23:59:54 +00:00
Mats Lidell
90d7b78793 Added icons for repeat and repeat 1.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2511 a1c6a512-1295-4272-9138-f99709370657
2002-10-05 23:57:07 +00:00
Mats Lidell
f7310b7eb1 Created.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2510 a1c6a512-1295-4272-9138-f99709370657
2002-10-05 23:56:03 +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
Mats Lidell
da11a22e3c Created.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1862 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 10:52:16 +00:00
Mats Lidell
89d2285e00 Created.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1856 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 10:37:34 +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
e7a6a8267d cleaned up
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1708 a1c6a512-1295-4272-9138-f99709370657
2002-08-13 09:32:56 +00:00
Robert Hak
4db2ded56f similarities in the two branches joined
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1707 a1c6a512-1295-4272-9138-f99709370657
2002-08-13 09:19:21 +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
Robert Hak
ece50cd3a5 stop the compiler bitching
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@725 a1c6a512-1295-4272-9138-f99709370657
2002-05-27 08:08:54 +00:00
Dave Chapman
eae6296b56 removed unused function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@583 a1c6a512-1295-4272-9138-f99709370657
2002-05-15 21:59:37 +00:00
Dave Chapman
379a39b440 fixed dithering bug
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@582 a1c6a512-1295-4272-9138-f99709370657
2002-05-15 21:54:22 +00:00
Dave Chapman
553c2567f4 added playback simulator if /dev/dsp is unavailable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@581 a1c6a512-1295-4272-9138-f99709370657
2002-05-15 07:27:48 +00:00