Commit graph

274 commits

Author SHA1 Message Date
Daniel Stenberg
741a7158e2 check for/use sys/soundcard.h instead (since it works for cygwin too)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7162 a1c6a512-1295-4272-9138-f99709370657
2005-07-15 21:12:18 +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
1c47599312 brought back drawdots() and drawrectangles() since the player sim needs them
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7138 a1c6a512-1295-4272-9138-f99709370657
2005-07-14 10:35:26 +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
Linus Nielsen Feltzing
a19acbdadd Removed picky warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7116 a1c6a512-1295-4272-9138-f99709370657
2005-07-12 10:05:13 +00:00
Jens Arnold
a5ef8f0c6f Simulator fixes: H120 Win32 simulator build working. H120 X11 simulator uses correct LCD background colour.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7075 a1c6a512-1295-4272-9138-f99709370657
2005-07-08 19:26:17 +00:00
Jens Arnold
f894a4c269 4-shades greyscale graphics core for iriver H1x0. 4-grey rockbox logo and light grey background in splash() boxes. Simplified the splash() box creation as the new graphics core does clipping. Adapted screendump feature and added flexible preprocessing to construct the bmp header. Rockboy now uses 4-grey mode as well. 4-grey support for win32 simulator. Fixed win32 player sim to not use double bitmap conversion via a recorder-like framebuffer, and correctly display double-height text. X11 simulator temporarily adapted. The display won't be distorted, but it still shows b&w only.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7046 a1c6a512-1295-4272-9138-f99709370657
2005-07-06 22:58:02 +00:00
Daniel Stenberg
f77547c147 make it build fine for H300 (keypads) as well
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6761 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 22:09:48 +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
Jens Arnold
441e512190 Simplification.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6456 a1c6a512-1295-4272-9138-f99709370657
2005-05-11 20:04:43 +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
Jens Arnold
3b8dcf5ebb X11 simulator: Always restore the x11 button autorepeat setting, regardless at which point exit() is called.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6216 a1c6a512-1295-4272-9138-f99709370657
2005-03-19 00:46:42 +00:00
Jens Arnold
74b731edc6 Major rework of the x11 simulator button handling. (1) Button repeat should always work correctly now, not sending a release before the repeat(s). Fixes e.g. calling the Ondio menu. (2) Button handling is done in the timer thread, not sleep()ing the main thread for extended times. Fixes slow performance of high-workload plugins (codec tests). (3) The x11 simulator now also contains the queue handling code. (4) The new code requires X11R6 because the multi-threading extension is used.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6215 a1c6a512-1295-4272-9138-f99709370657
2005-03-18 23:51:52 +00:00
Jens Arnold
31b28f523a Extensive code policing (indentation levels, tab characters).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6199 a1c6a512-1295-4272-9138-f99709370657
2005-03-18 00:03:22 +00:00
Jens Arnold
6c19c8529c X11 simulator improvements: Proper thread stopping and realtime ticks, based on patch #1048898.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6165 a1c6a512-1295-4272-9138-f99709370657
2005-03-07 20:04:05 +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
Michiel Van Der Kolk
abacb23796 dummy button_hold() function to fix iriver sim builds.
(needs to be fixed to actually work on sims later)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6117 a1c6a512-1295-4272-9138-f99709370657
2005-03-03 15:55:11 +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
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
Jens Arnold
b4527a3421 Simulators: Made the mp3 buffer size depend on the MEMORYSIZE setting for better simulation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5922 a1c6a512-1295-4272-9138-f99709370657
2005-02-11 23:56:38 +00:00
Jens Arnold
7999e75204 Fixed gmini X11 simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5898 a1c6a512-1295-4272-9138-f99709370657
2005-02-11 07:05:25 +00:00
Jens Arnold
df2e3b4080 I said 'correct'...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5897 a1c6a512-1295-4272-9138-f99709370657
2005-02-11 01:40:28 +00:00
Jens Arnold
9540759bab Print correct button assignments.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5896 a1c6a512-1295-4272-9138-f99709370657
2005-02-11 01:29:54 +00:00
Jean-Philippe Bernardy
5804664fe7 long policy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5845 a1c6a512-1295-4272-9138-f99709370657
2005-02-07 23:11:20 +00:00
Björn Stenberg
3662ad2ae3 Use internal strcasestr implementation, since not all compilers provide it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5700 a1c6a512-1295-4272-9138-f99709370657
2005-01-28 15:48:38 +00:00
Jens Arnold
3c348df5ca Changed several places to use button_clear_queue() to empty the button queue. Added the ability to empty the (system's) button queue to the X11 simulatr.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5665 a1c6a512-1295-4272-9138-f99709370657
2005-01-26 22:48:25 +00:00
Jens Arnold
424d505637 Eanbled building gmini simulator (Win32 & X11).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5639 a1c6a512-1295-4272-9138-f99709370657
2005-01-23 01:06:01 +00:00
Jens Arnold
57c129f34d Use the correct lcd code for iRiver simulator builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5589 a1c6a512-1295-4272-9138-f99709370657
2005-01-17 21:18:21 +00:00
Jens Arnold
e6f403f509 X11 sim: Button handling adapted to iRiver and reworked a bit. Removed tab chars.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5587 a1c6a512-1295-4272-9138-f99709370657
2005-01-17 21:14:34 +00:00
Björn Stenberg
5df90b4875 Added ID3 database support.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5576 a1c6a512-1295-4272-9138-f99709370657
2005-01-17 11:49:40 +00:00
Daniel Stenberg
107f2d174d minor correction
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5499 a1c6a512-1295-4272-9138-f99709370657
2004-12-20 09:20:13 +00:00
Daniel Stenberg
c9d41b4b94 Make the simulator builds acknowledge the plugins variable set in the configure
script.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5464 a1c6a512-1295-4272-9138-f99709370657
2004-11-24 16:45:08 +00:00
Linus Nielsen Feltzing
ba0348eb83 Another fix for bug #1016011 by Eric Lassauge
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5198 a1c6a512-1295-4272-9138-f99709370657
2004-10-07 06:02:39 +00:00
Linus Nielsen Feltzing
25c0d3ace9 Patch #1016011 by Eric Lassauge, fixes X11 simulator build in Cygwin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5176 a1c6a512-1295-4272-9138-f99709370657
2004-10-05 11:45:29 +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
Daniel Stenberg
fc1e925c16 Rearranged makefiles again to move platform-specific stuff from the Makefiles
to either the configure script or to be ifdefed in the sources.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5103 a1c6a512-1295-4272-9138-f99709370657
2004-09-22 08:58:50 +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
bbcd7406fa The Iriver display is blue
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5083 a1c6a512-1295-4272-9138-f99709370657
2004-09-16 20:03:03 +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
c90319e24b x11sim for cygwin: TARGET is defined with the .exe extension
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4971 a1c6a512-1295-4272-9138-f99709370657
2004-07-28 07:41:44 +00:00
Linus Nielsen Feltzing
da7177749a Removed annoying debug output
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4943 a1c6a512-1295-4272-9138-f99709370657
2004-07-24 23:54:59 +00:00
Linus Nielsen Feltzing
15d04fdb00 Somewhat better key combination handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4930 a1c6a512-1295-4272-9138-f99709370657
2004-07-23 21:38:43 +00:00
Linus Nielsen Feltzing
865effac7e Brushed up, made it more like the win32 makefile
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4928 a1c6a512-1295-4272-9138-f99709370657
2004-07-23 21:06:03 +00:00
Linus Nielsen Feltzing
ad5c0ed245 Forgot to remove all traces of the obsolete repeat mask functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4909 a1c6a512-1295-4272-9138-f99709370657
2004-07-21 08:29:22 +00:00
Linus Nielsen Feltzing
a754dd84b8 Added raw button reading functionality
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4907 a1c6a512-1295-4272-9138-f99709370657
2004-07-21 08:02:23 +00:00
Linus Nielsen Feltzing
64c53c6dc2 Removed some whitespace
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4850 a1c6a512-1295-4272-9138-f99709370657
2004-07-08 10:39:45 +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
50a4813e6a Fixed the FM sim build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4830 a1c6a512-1295-4272-9138-f99709370657
2004-07-05 20:56:27 +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