Jens Arnold
73a28d1e93
These files don't belong here.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8631 a1c6a512-1295-4272-9138-f99709370657
2006-02-08 13:56:00 +00:00
Jens Arnold
a57608cfb5
Correct LCD background colours for b&w and greyscale SDL sims (SDL takes RGB while Win32 takes BGR)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8630 a1c6a512-1295-4272-9138-f99709370657
2006-02-08 13:54:21 +00:00
Jens Arnold
fd428ddf8e
More SDL simulator LCD fixes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8628 a1c6a512-1295-4272-9138-f99709370657
2006-02-08 13:19:16 +00:00
Linus Nielsen Feltzing
b772a436fa
The SDL simulator didn't draw the pixels correctly on targets with gray/mono LCD, part 2
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8625 a1c6a512-1295-4272-9138-f99709370657
2006-02-08 13:03:23 +00:00
Linus Nielsen Feltzing
3903807e62
The SDL simulator didn't draw the pixels correctly on targets with gray/mono LCD
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8624 a1c6a512-1295-4272-9138-f99709370657
2006-02-08 12:43:14 +00:00
Linus Nielsen Feltzing
621bcc2294
The simulator should use the keypad period key, not the regular one
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8568 a1c6a512-1295-4272-9138-f99709370657
2006-02-04 23:15:15 +00:00
Linus Nielsen Feltzing
9394175091
Added iAudio X5 SDl sim image
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8566 a1c6a512-1295-4272-9138-f99709370657
2006-02-04 22:37:44 +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
3f66e8edff
Ooops :-)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8548 a1c6a512-1295-4272-9138-f99709370657
2006-02-03 16:01:16 +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
Linus Nielsen Feltzing
765e0f89d8
New kernel function, queue_delete(struct event_queue *q)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8424 a1c6a512-1295-4272-9138-f99709370657
2006-01-23 10:53:47 +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
Daniel Stenberg
acf7d5e89e
more iAudio x5 adjustments by Matt v.d. Westhuizen ( #1408980 )
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8386 a1c6a512-1295-4272-9138-f99709370657
2006-01-19 12:44:46 +00:00
Daniel Stenberg
cedba8830f
Matt v.d. Westhuizen's iAudio X5 keypad adjustments
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8366 a1c6a512-1295-4272-9138-f99709370657
2006-01-18 11:09:06 +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
bae4e2acdd
Use SDL's thread wrappers instead of pthreads to increase portability in the SDL sim. Patch by Andrew Pilley with some changes by me.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8347 a1c6a512-1295-4272-9138-f99709370657
2006-01-13 13:38:31 +00:00
Dave Chapman
b855a9aeb6
Add button definitions for the iPod clickwheel
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8346 a1c6a512-1295-4272-9138-f99709370657
2006-01-13 10:39:41 +00:00
Daniel Stenberg
130a0270bf
make the x5 sim pass
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8337 a1c6a512-1295-4272-9138-f99709370657
2006-01-11 16:08:48 +00:00
Linus Nielsen Feltzing
a5750f85f3
More distinct grayscales in the H1x0 SDl simulator
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8315 a1c6a512-1295-4272-9138-f99709370657
2006-01-09 12:46:08 +00:00
Dave Chapman
84e2528271
Fix RGB565SWAPPED lcd output
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8313 a1c6a512-1295-4272-9138-f99709370657
2006-01-09 11:53:45 +00:00
Daniel Stenberg
0e419987e4
SDL simulator brought by Nathan Hand and Nick Lanham. This is added as a third
...
simulator with the hope that once it works fine, we can remove the other two
and only have one unified simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8312 a1c6a512-1295-4272-9138-f99709370657
2006-01-09 11:22:36 +00:00
Dave Chapman
0dc63c1b71
Remove IPOD_NANO_PAD definition - the Nano's keypad has turned out to be identical to the other 4G models
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8262 a1c6a512-1295-4272-9138-f99709370657
2005-12-19 00:11:28 +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
Magnus Holmgren
11b2ade5c8
Simplified yield() in the Win32 simulator. Now only hogs the CPU during playback, and playback doesn't stutter that much.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8143 a1c6a512-1295-4272-9138-f99709370657
2005-12-04 12:18:01 +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
Jens Arnold
b715b71e40
Win32 simulator: Fixed tick timer simulation for windows implementations with low timer resolution (Win9x, wine).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8068 a1c6a512-1295-4272-9138-f99709370657
2005-11-26 11:22:33 +00:00
Jens Arnold
464b6a2c4c
Added iPod Nano to win32 simulator.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8048 a1c6a512-1295-4272-9138-f99709370657
2005-11-22 23:38:38 +00:00
Kevin Ferrare
a3766bf92e
added the stubs for the hold buttons on H300 simulator
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8047 a1c6a512-1295-4272-9138-f99709370657
2005-11-22 22:52:05 +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
f09b81f3d7
Properly added as binary. Replaced H300 image with smaller 8bit version.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8037 a1c6a512-1295-4272-9138-f99709370657
2005-11-22 01:25:45 +00:00
Jens Arnold
49a1b0b94b
Removed for proper binary readdition.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8036 a1c6a512-1295-4272-9138-f99709370657
2005-11-22 01:24:02 +00:00
Jens Arnold
49a0a945ac
Win32 simulator now supports iPod Color. Fixed screendump() to correctly work for iPod simulators on big endian machines. Removed duplicate button definitions.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8035 a1c6a512-1295-4272-9138-f99709370657
2005-11-22 01:15:31 +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
c6417b4a37
Win32 simulator: * Use a 16 bit display bitmap for 16bit target simulation. Simpler & faster this way. * Changed separate lcd_update() implementation into a simple call of lcd_update_rect() with the full rectangle.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7928 a1c6a512-1295-4272-9138-f99709370657
2005-11-17 17:25:56 +00:00
Daniel Stenberg
95c00323d3
repaired the h300 x11 sim build
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7922 a1c6a512-1295-4272-9138-f99709370657
2005-11-17 07:17:03 +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
Dave Chapman
f59df8bf3c
Placeholder definition for iPod keypad
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7855 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 02:11:42 +00:00
Dave Chapman
fca0113f72
Define framebuffer for 16-bit displays
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7854 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 02:11:26 +00:00
Jens Arnold
48be8e6a8b
X11 simulator: * Correctly redraw the window when it was destroyed by overlaying (X11 'Expose' event). * Simplified, corrected and unified redraw algorithm for main & remote bitmap display.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7655 a1c6a512-1295-4272-9138-f99709370657
2005-10-23 23:49:46 +00:00
Jens Arnold
fc03c8e3c9
X11 simulator: Fixed margins and scaling (window zoom) for all simulated targets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7654 a1c6a512-1295-4272-9138-f99709370657
2005-10-23 13:06:25 +00:00
Linus Nielsen Feltzing
51484e7d60
Properly stop the audio in the win32 simulated playback
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7492 a1c6a512-1295-4272-9138-f99709370657
2005-09-07 06:42:05 +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
Linus Nielsen Feltzing
a81f4c35c1
Sim build fix
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7373 a1c6a512-1295-4272-9138-f99709370657
2005-08-21 19:56:49 +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
Jens Arnold
6e4f07b508
This code wasn't used at all.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7358 a1c6a512-1295-4272-9138-f99709370657
2005-08-19 20:01:15 +00:00
Linus Nielsen Feltzing
1d28240330
Enlarged the buffer for DEBUGF()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7333 a1c6a512-1295-4272-9138-f99709370657
2005-08-16 08:32:43 +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
Stepan Moskovchenko
2be160af31
Woah, that was not supposed to happen
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7289 a1c6a512-1295-4272-9138-f99709370657
2005-08-07 22:26:42 +00:00
Stepan Moskovchenko
fb3e9a4073
Fix error/warning, change pitch bend to 9 bits
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7288 a1c6a512-1295-4272-9138-f99709370657
2005-08-07 22:20:40 +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
Jens Arnold
4bee507502
Check the correct thread handle.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7209 a1c6a512-1295-4272-9138-f99709370657
2005-07-21 10:19:50 +00:00
Magnus Holmgren
568430421b
Don't hog the CPU, but keep sound playback working. (This might need some tweaking...)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7206 a1c6a512-1295-4272-9138-f99709370657
2005-07-20 16:52:52 +00:00
Magnus Holmgren
2f9bb4ff27
Sound playback for the Win32 simulator, based on WaveOut. Not yet enabled by default (edit autoconf.h).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7203 a1c6a512-1295-4272-9138-f99709370657
2005-07-19 21:24:32 +00:00
Magnus Holmgren
d315dfb5b1
Made Win32 thread management similar to the X11 one (previously yield() could make a thread stop, seemingly forever).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7202 a1c6a512-1295-4272-9138-f99709370657
2005-07-19 20:43:21 +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
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
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
Jens Arnold
c19773c2b4
Win32 sim: better bitmap initialisation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7148 a1c6a512-1295-4272-9138-f99709370657
2005-07-14 22:15:10 +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
Jens Arnold
d36567d370
Win32 simulators: Fixed button repeat handling when releasing buttons.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7134 a1c6a512-1295-4272-9138-f99709370657
2005-07-13 20:04:43 +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
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
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
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
c28969d11f
Remote LCD support for the Win32 H1x0 simulator.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7061 a1c6a512-1295-4272-9138-f99709370657
2005-07-08 01:41:12 +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
Jens Arnold
934941294b
Core functions taking advantage of the new, optimised lcd_hline() and lcd_vline() functions. Some cleanup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6859 a1c6a512-1295-4272-9138-f99709370657
2005-06-25 00:28:09 +00:00
Jens Arnold
bd2bfe9993
Fix bug #1174245 : Win32 simulator didn't keep track of pressed keys properly.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6852 a1c6a512-1295-4272-9138-f99709370657
2005-06-24 09:19:45 +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
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
Dave Chapman
55afc7c2e8
Rename UI-v2.bmp to UI-recorderv2.bmp (Rec v2 win32 sim now builds)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6736 a1c6a512-1295-4272-9138-f99709370657
2005-06-17 08:16:48 +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
Jens Arnold
58d7d69a66
No second (explicit) call to build libcomsim.a
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6515 a1c6a512-1295-4272-9138-f99709370657
2005-05-24 05:33:33 +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
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
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
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
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
Jens Arnold
0231c61699
Win32 simulator performance optimisation: Invalidate onle the part of the window that actually changed in lcd_update() and lcd_update_rect().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6150 a1c6a512-1295-4272-9138-f99709370657
2005-03-06 13:28:40 +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
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
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
c90781b6e6
Added common simulator Makefile.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6076 a1c6a512-1295-4272-9138-f99709370657
2005-02-28 02:09:57 +00:00
Jens Arnold
dc838d26ff
Fix: really clear the button queue when it is meant to be cleared.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6074 a1c6a512-1295-4272-9138-f99709370657
2005-02-28 00:33:15 +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
fe732cd399
removed
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6033 a1c6a512-1295-4272-9138-f99709370657
2005-02-22 12:53:54 +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
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
74d55eeb1c
long policy
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5846 a1c6a512-1295-4272-9138-f99709370657
2005-02-07 23:32:36 +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
97a0ef02a4
Win32 simulator rework: (1) Better downscaling on resize & for the player lcd. (2) Pulling the window corners now calculates the diagonal. Jumpy resize should be finally gone. (4) Fixed roundoff error for size percentage display. (4) Simplifications & some code policeing.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5660 a1c6a512-1295-4272-9138-f99709370657
2005-01-25 23:47:28 +00:00
Jean-Philippe Bernardy
950677dd1a
more int -> long
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5657 a1c6a512-1295-4272-9138-f99709370657
2005-01-24 14:52:42 +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
Jens Arnold
2e41950fcf
Fixes: (1) Properly redraw display on window resize & putting into foreground. (2) No more jumpy resizing when pulling the window corners.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5640 a1c6a512-1295-4272-9138-f99709370657
2005-01-23 12:43:33 +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
c188e83edd
Win32 simulator: Fixed scaling on resize. Keep window title (model) on resize, only adding the percentage.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5637 a1c6a512-1295-4272-9138-f99709370657
2005-01-23 00:56:09 +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
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
Jens Arnold
b96333a114
Win32 sim: Added some alternative key-to-button mappings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5586 a1c6a512-1295-4272-9138-f99709370657
2005-01-17 21:12: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
Jens Arnold
5bc7e9a952
Added the new Win32 UI images to the tarball
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5572 a1c6a512-1295-4272-9138-f99709370657
2005-01-17 07:42:46 +00:00
Jens Arnold
c9aacb61f4
Win32 simulator: Button handling adapted to iRiver and reworked a bit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5569 a1c6a512-1295-4272-9138-f99709370657
2005-01-17 00:29:08 +00:00
Jens Arnold
9f700acd0b
Win32 simulator extensions, based on patch #1041560 by Eric Lassauge: Background pictures, LCD colours and dimensions depending on unit; build uses language selected in configure. Fixed vertical window size.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5568 a1c6a512-1295-4272-9138-f99709370657
2005-01-17 00:25:23 +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
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
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
Hardeep Sidhu
f7f411604e
Fixed VC6 simulator build
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5373 a1c6a512-1295-4272-9138-f99709370657
2004-11-02 17:14:46 +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
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
df956d9c18
Updated to use config.h instead of command-line -Ddefines.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5087 a1c6a512-1295-4272-9138-f99709370657
2004-09-17 08:45:39 +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
Daniel Stenberg
829a6e2f09
fixed URL
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5076 a1c6a512-1295-4272-9138-f99709370657
2004-09-15 08:47:11 +00:00
Jens Arnold
2f20b3e784
Const policed pointer arguments to functions, part 4
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5001 a1c6a512-1295-4272-9138-f99709370657
2004-08-18 19:59:06 +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