Jens Arnold
b4ada860b3
Allow building simulators on systems where errno is thread-local by using the system's implementation of errno.h for simulator builds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8871 a1c6a512-1295-4272-9138-f99709370657
2006-02-28 23:56:44 +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
Jens Arnold
237d3c4c4b
Adaptive button repeat: adapts repeat rate depending on the ability of the application to cope. Avoids afterscroll and similar effects. * Yield while scrolling through lists.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8738 a1c6a512-1295-4272-9138-f99709370657
2006-02-19 13:34:12 +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
Dave Chapman
436584f731
Add 4g grayscale support for the win32 sim
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8672 a1c6a512-1295-4272-9138-f99709370657
2006-02-13 01:13:04 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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