summaryrefslogtreecommitdiffstats
path: root/uisimulator
AgeCommit message (Collapse)AuthorFilesLines
2005-12-11Fix red sim builds - add rtc_read_datetime and rtc_write_datetime functions ↵Dave Chapman1-24/+23
for the simulator git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8218 a1c6a512-1295-4272-9138-f99709370657
2005-12-04Simplified yield() in the Win32 simulator. Now only hogs the CPU during ↵Magnus Holmgren1-15/+1
playback, and playback doesn't stutter that much. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8143 a1c6a512-1295-4272-9138-f99709370657
2005-11-28silence picky gcc4 warningsDaniel Stenberg3-4/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8097 a1c6a512-1295-4272-9138-f99709370657
2005-11-26Win32 simulator: Fixed tick timer simulation for windows implementations ↵Jens Arnold1-1/+3
with low timer resolution (Win9x, wine). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8068 a1c6a512-1295-4272-9138-f99709370657
2005-11-22Added iPod Nano to win32 simulator.Jens Arnold2-0/+10
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8048 a1c6a512-1295-4272-9138-f99709370657
2005-11-22added the stubs for the hold buttons on H300 simulatorKevin Ferrare2-2/+8
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8047 a1c6a512-1295-4272-9138-f99709370657
2005-11-22Added multi-screen support for quickscreen (mostly rewritten from scratch) ↵Kevin Ferrare1-2/+1
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-22Properly added as binary. Replaced H300 image with smaller 8bit version.Jens Arnold2-0/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8037 a1c6a512-1295-4272-9138-f99709370657
2005-11-22Removed for proper binary readdition.Jens Arnold2-0/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8036 a1c6a512-1295-4272-9138-f99709370657
2005-11-22Win32 simulator now supports iPod Color. Fixed screendump() to correctly ↵Jens Arnold4-3/+24
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-21Backlight handling: * Added 'Caption Backlight' and 'Backlight On When ↵Jens Arnold7-33/+139
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-17Win32 simulator: * Use a 16 bit display bitmap for 16bit target simulation. ↵Jens Arnold2-114/+13
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-17repaired the h300 x11 sim buildDaniel Stenberg1-4/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7922 a1c6a512-1295-4272-9138-f99709370657
2005-11-1516bit colour support (H300) for the win32 simulator.Jens Arnold5-12/+110
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7898 a1c6a512-1295-4272-9138-f99709370657
2005-11-14Placeholder definition for iPod keypadDave Chapman1-0/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7855 a1c6a512-1295-4272-9138-f99709370657
2005-11-14Define framebuffer for 16-bit displaysDave Chapman1-0/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7854 a1c6a512-1295-4272-9138-f99709370657
2005-10-23X11 simulator: * Correctly redraw the window when it was destroyed by ↵Jens Arnold2-44/+40
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-23X11 simulator: Fixed margins and scaling (window zoom) for all simulated ↵Jens Arnold3-37/+17
targets. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7654 a1c6a512-1295-4272-9138-f99709370657
2005-09-07Properly stop the audio in the win32 simulated playbackLinus Nielsen Feltzing1-0/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7492 a1c6a512-1295-4272-9138-f99709370657
2005-08-29Renamed CONFIG_HWCODEC and MASNONE to the more appropriate CONFIG_CODEC and ↵Jens Arnold2-3/+3
SWCODEC, respectively. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7416 a1c6a512-1295-4272-9138-f99709370657
2005-08-21Sim build fixLinus Nielsen Feltzing2-2/+10
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7373 a1c6a512-1295-4272-9138-f99709370657
2005-08-20Initial voice ui support for software codec platforms. Added also aMiika Pekkarinen1-0/+2
beep when changing tracks. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7360 a1c6a512-1295-4272-9138-f99709370657
2005-08-19This code wasn't used at all.Jens Arnold2-38/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7358 a1c6a512-1295-4272-9138-f99709370657
2005-08-16Enlarged the buffer for DEBUGF()Linus Nielsen Feltzing1-3/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7333 a1c6a512-1295-4272-9138-f99709370657
2005-08-16FM radio simulation working againLinus Nielsen Feltzing1-16/+46
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7332 a1c6a512-1295-4272-9138-f99709370657
2005-08-07Woah, that was not supposed to happenStepan Moskovchenko1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7289 a1c6a512-1295-4272-9138-f99709370657
2005-08-07Fix error/warning, change pitch bend to 9 bitsStepan Moskovchenko1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7288 a1c6a512-1295-4272-9138-f99709370657
2005-07-22Fixed the simulator.Miika Pekkarinen1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7219 a1c6a512-1295-4272-9138-f99709370657
2005-07-22More accurate playback position calculation.Miika Pekkarinen1-0/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7218 a1c6a512-1295-4272-9138-f99709370657
2005-07-21Fixed the simulator.Miika Pekkarinen1-0/+7
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7212 a1c6a512-1295-4272-9138-f99709370657
2005-07-21Crossfade (and pcm buffer size) length is now configurable.Miika Pekkarinen1-5/+0
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-21Check the correct thread handle.Jens Arnold1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7209 a1c6a512-1295-4272-9138-f99709370657
2005-07-20Don't hog the CPU, but keep sound playback working. (This might need some ↵Magnus Holmgren1-4/+16
tweaking...) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7206 a1c6a512-1295-4272-9138-f99709370657
2005-07-19Sound playback for the Win32 simulator, based on WaveOut. Not yet enabled by ↵Magnus Holmgren4-0/+190
default (edit autoconf.h). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7203 a1c6a512-1295-4272-9138-f99709370657
2005-07-19Made Win32 thread management similar to the X11 one (previously yield() ↵Magnus Holmgren5-22/+27
could make a thread stop, seemingly forever). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7202 a1c6a512-1295-4272-9138-f99709370657
2005-07-19Win32 needs the mode bits for open too.Magnus Holmgren1-4/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7200 a1c6a512-1295-4272-9138-f99709370657
2005-07-15check for/use sys/soundcard.h instead (since it works for cygwin too)Daniel Stenberg1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7162 a1c6a512-1295-4272-9138-f99709370657
2005-07-15Enable crossfade for simulator.Miika Pekkarinen1-1/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7151 a1c6a512-1295-4272-9138-f99709370657
2005-07-14Win32 sim: better bitmap initialisation.Jens Arnold1-2/+8
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7148 a1c6a512-1295-4272-9138-f99709370657
2005-07-14First take at PCM playback in the X11 sim on Linux.Daniel Stenberg5-2/+139
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7147 a1c6a512-1295-4272-9138-f99709370657
2005-07-14brought back drawdots() and drawrectangles() since the player sim needs themDaniel Stenberg1-0/+33
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7138 a1c6a512-1295-4272-9138-f99709370657
2005-07-14introducing H1x0 style grayscale support in the X11 simDaniel Stenberg5-311/+96
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7137 a1c6a512-1295-4272-9138-f99709370657
2005-07-13Win32 simulators: Fixed button repeat handling when releasing buttons.Jens Arnold1-45/+45
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7134 a1c6a512-1295-4272-9138-f99709370657
2005-07-13Separated buffering stuff from pcm_playback to pcmbuf. Renamed someMiika Pekkarinen1-0/+29
function calls (audiobuffer -> pcmbuf etc.). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7131 a1c6a512-1295-4272-9138-f99709370657
2005-07-12Removed picky warningsLinus Nielsen Feltzing2-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7116 a1c6a512-1295-4272-9138-f99709370657
2005-07-10Fixed a simulator crash while trying to play a song. Fixed crossfadeMiika Pekkarinen1-0/+72
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-08Simulator fixes: H120 Win32 simulator build working. H120 X11 simulator uses ↵Jens Arnold3-3/+3
correct LCD background colour. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7075 a1c6a512-1295-4272-9138-f99709370657
2005-07-08Remote LCD support for the Win32 H1x0 simulator.Jens Arnold5-15/+120
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7061 a1c6a512-1295-4272-9138-f99709370657
2005-07-064-shades greyscale graphics core for iriver H1x0. 4-grey rockbox logo and ↵Jens Arnold4-93/+132
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-06-25Core functions taking advantage of the new, optimised lcd_hline() and ↵Jens Arnold1-8/+6
lcd_vline() functions. Some cleanup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6859 a1c6a512-1295-4272-9138-f99709370657