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