Commit graph

663 commits

Author SHA1 Message Date
Daniel Stenberg
11d9ecbc10 killed a warning
properly indented some code


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3389 a1c6a512-1295-4272-9138-f99709370657
2003-03-05 22:59:36 +00:00
Daniel Stenberg
9b628edc49 Henrik Backe modified the check for cygwin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3387 a1c6a512-1295-4272-9138-f99709370657
2003-03-05 22:49:29 +00:00
Daniel Stenberg
7d2f8e7063 Set a mode that makes sense as the Rockbox code doesn't use modes...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3386 a1c6a512-1295-4272-9138-f99709370657
2003-03-05 22:48:34 +00:00
Daniel Stenberg
ed87c774f8 Henrik Backe's patch to end files with newlines to prevent compiler
warnings.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3385 a1c6a512-1295-4272-9138-f99709370657
2003-03-05 22:47:26 +00:00
Daniel Stenberg
a5bfaa9e98 Henrik Backe's fixes to enable this to build using cygwin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3384 a1c6a512-1295-4272-9138-f99709370657
2003-03-05 22:45:14 +00:00
Daniel Stenberg
3aeb55f385 no one ever uses libmad, remove it from our CVS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3382 a1c6a512-1295-4272-9138-f99709370657
2003-03-04 15:52:56 +00:00
Björn Stenberg
e15b8f4414 Red build pill
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3359 a1c6a512-1295-4272-9138-f99709370657
2003-02-27 15:44:26 +00:00
Björn Stenberg
0d5ea771c8 Fix red sim build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3358 a1c6a512-1295-4272-9138-f99709370657
2003-02-27 15:20:14 +00:00
Daniel Stenberg
4953375219 non-cygwin builds need the sprintf.c file
remove credits.raw in the clean target


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3294 a1c6a512-1295-4272-9138-f99709370657
2003-02-19 22:06:41 +00:00
Daniel Stenberg
3a25735aa1 Henrik Backe's fixes to enable the simulator to build with cygwin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3293 a1c6a512-1295-4272-9138-f99709370657
2003-02-19 14:20:16 +00:00
Daniel Stenberg
a865102010 fix to not use the redefined calls within the redefined calls themselves,
as Mike Holden reported


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3275 a1c6a512-1295-4272-9138-f99709370657
2003-02-15 17:41:10 +00:00
Daniel Stenberg
2a9cb93831 fake the firmware's file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3270 a1c6a512-1295-4272-9138-f99709370657
2003-02-15 00:02:37 +00:00
Daniel Stenberg
353da9ba48 don't build ctype
don't use firmware/include in the include path


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3269 a1c6a512-1295-4272-9138-f99709370657
2003-02-15 00:02:12 +00:00
Daniel Stenberg
a62fd981b2 added the missing write()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3268 a1c6a512-1295-4272-9138-f99709370657
2003-02-14 23:52:18 +00:00
Daniel Stenberg
603975b4a2 this compiles better
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3267 a1c6a512-1295-4272-9138-f99709370657
2003-02-14 23:50:17 +00:00
Felix Arends
2362fa918e remove warnings from mingw build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3265 a1c6a512-1295-4272-9138-f99709370657
2003-02-14 23:12:55 +00:00
Felix Arends
e3403ecd9f this fixes the win32 simulator compilation
the simulator does not use the firmare\include path, instead it uses standard header files
those header files that do not exist in the SDK are placed in the win32 directory (dir.h, sprintf.h)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3264 a1c6a512-1295-4272-9138-f99709370657
2003-02-14 20:51:10 +00:00
Björn Stenberg
c4d8d970f6 The power-saving SLEEP patch by Simon Elén.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3259 a1c6a512-1295-4272-9138-f99709370657
2003-02-14 09:44:34 +00:00
Daniel Stenberg
f22ac91142 fixes the warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3225 a1c6a512-1295-4272-9138-f99709370657
2003-02-07 10:31:28 +00:00
Daniel Stenberg
3d84988597 use the new paths
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3223 a1c6a512-1295-4272-9138-f99709370657
2003-02-07 10:21:50 +00:00
Daniel Stenberg
83131fa6e7 use new path
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3220 a1c6a512-1295-4272-9138-f99709370657
2003-02-07 10:10:17 +00:00
Daniel Stenberg
e35bbe3e2d updated path to kernel.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3216 a1c6a512-1295-4272-9138-f99709370657
2003-02-07 09:45:39 +00:00
Daniel Stenberg
ae26233817 build and work with the new include path(s)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3214 a1c6a512-1295-4272-9138-f99709370657
2003-02-07 09:42:57 +00:00
Felix Arends
95d229e0f6 new kernel.h file (was not found inside include path before),
applied Daniel's changes to the x11 simulator


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3211 a1c6a512-1295-4272-9138-f99709370657
2003-02-05 17:48:55 +00:00
Daniel Stenberg
f8ee440c9e include the original kernel.h from the new location
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3210 a1c6a512-1295-4272-9138-f99709370657
2003-02-05 11:58:20 +00:00
Felix Arends
65702adc0c working makefile for win32 sim
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3195 a1c6a512-1295-4272-9138-f99709370657
2003-01-30 15:53:17 +00:00
Björn Stenberg
2ba4fedd64 Added close() and proper creat() to x11 emulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3179 a1c6a512-1295-4272-9138-f99709370657
2003-01-28 23:14:41 +00:00
Daniel Stenberg
a9b04beba4 get_time() for sim
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3172 a1c6a512-1295-4272-9138-f99709370657
2003-01-27 14:40:02 +00:00
Mats Lidell
74cc9e41fa Remove use of rockbox-mode.el in local variables list.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3157 a1c6a512-1295-4272-9138-f99709370657
2003-01-24 10:56:06 +00:00
Kjell Ericson
4bea14d6bf Printing keyboard shortcuts at startup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3139 a1c6a512-1295-4272-9138-f99709370657
2003-01-21 08:46:14 +00:00
Kjell Ericson
0ca9ccbe63 Default window zoom for Recorder simulator is 2.
You can change window zoom with the command line flags "--player_zoom" and "--recorder_zoom". Or you can set the environment variable RECORDER_ZOOM or PLAYER_ZOOM.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3131 a1c6a512-1295-4272-9138-f99709370657
2003-01-20 09:39:38 +00:00
Daniel Stenberg
8c5e3f833b added stub functions for the rename
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3126 a1c6a512-1295-4272-9138-f99709370657
2003-01-17 16:50:36 +00:00
Daniel Stenberg
37b0c075cf keyboard.c was missing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3125 a1c6a512-1295-4272-9138-f99709370657
2003-01-17 15:52:10 +00:00
Björn Stenberg
7d80ba0131 Added rename() to simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3090 a1c6a512-1295-4272-9138-f99709370657
2003-01-15 11:38:03 +00:00
Kjell Ericson
1cb806110a Implementing Rocklatin character set for Rockbox player.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3055 a1c6a512-1295-4272-9138-f99709370657
2003-01-10 10:03:07 +00:00
Kjell Ericson
ea3d4d5a00 Implementing Rocklatin for Rockbox player.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3054 a1c6a512-1295-4272-9138-f99709370657
2003-01-10 10:02:27 +00:00
Björn Stenberg
c78e1b07fe The much-anticipated queue patch by Hardeep Sidhu. Queue a file by holding down PLAY on it while playing other music.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3040 a1c6a512-1295-4272-9138-f99709370657
2003-01-09 00:55:00 +00:00
Linus Nielsen Feltzing
f1f7b6150a ...and the usual simulator corrections
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2940 a1c6a512-1295-4272-9138-f99709370657
2002-12-05 13:16:23 +00:00
Björn Stenberg
c8cb6ffcc0 Added virtual keyboard for text input, loosely based on John Wood's code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2928 a1c6a512-1295-4272-9138-f99709370657
2002-12-04 15:04:43 +00:00
Linus Nielsen Feltzing
f4704d50c1 Attempt to fix the win32 simulator build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2920 a1c6a512-1295-4272-9138-f99709370657
2002-12-03 23:08:14 +00:00
Linus Nielsen Feltzing
4a66327583 Some simulator corrections
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2919 a1c6a512-1295-4272-9138-f99709370657
2002-12-03 22:49:48 +00:00
Daniel Stenberg
5a7548afba Added dummy fat_size() to make it link
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2838 a1c6a512-1295-4272-9138-f99709370657
2002-11-12 19:38:01 +00:00
Björn Stenberg
6fb512aba5 Added disk space to Info menu item. (Players press + to see it.)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2837 a1c6a512-1295-4272-9138-f99709370657
2002-11-12 11:32:26 +00:00
Daniel Stenberg
740dc63186 somewhat kludgey work-around to prevent the <io.h>'s version of the mkdir()
proto to ruin our compile


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2804 a1c6a512-1295-4272-9138-f99709370657
2002-11-04 22:33:00 +00:00
Kjell Ericson
54d5e2cb27 Added a 5 pixel border around the content. Looks better (that's all).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2800 a1c6a512-1295-4272-9138-f99709370657
2002-11-01 13:38:21 +00:00
Kjell Ericson
b3e41c711b Changed the battery icon so it doesn't clear the inner part of the icon.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2798 a1c6a512-1295-4272-9138-f99709370657
2002-11-01 08:10:33 +00:00
Mats Lidell
0d79fa127d Icons created.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2792 a1c6a512-1295-4272-9138-f99709370657
2002-10-31 17:34:07 +00:00
Mats Lidell
097bd10680 Adjusted position of second icon line.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2791 a1c6a512-1295-4272-9138-f99709370657
2002-10-31 17:33:41 +00:00
Daniel Stenberg
26507c1bf2 add 'errno' here, since it makes the mingw32 build work fine again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2787 a1c6a512-1295-4272-9138-f99709370657
2002-10-31 08:05:47 +00:00
Daniel Stenberg
864cff709f added printf() proto
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2778 a1c6a512-1295-4272-9138-f99709370657
2002-10-29 13:20:12 +00:00
Kjell Ericson
dae8deaf1f The lcd_clear_display() didn't work.
Added some debug-stuff.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2772 a1c6a512-1295-4272-9138-f99709370657
2002-10-29 10:43:30 +00:00
Kjell Ericson
8857d47b5a A try to fix a compilation error for the Win32 recorder simulator. (not tested).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2767 a1c6a512-1295-4272-9138-f99709370657
2002-10-28 20:45:37 +00:00
Kjell Ericson
fe026b944d Definitions of "struct coordinate" and "struct rectangle" and definitions
of the drawing functions needed for the simulators.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2766 a1c6a512-1295-4272-9138-f99709370657
2002-10-28 20:18:17 +00:00
Kjell Ericson
f7a4b2b0da Changed XPoint to "struct coordinate".
New lcd_update for the player simulator.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2764 a1c6a512-1295-4272-9138-f99709370657
2002-10-28 20:08:40 +00:00
Kjell Ericson
cacb758a47 New file font-player.c is added.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2763 a1c6a512-1295-4272-9138-f99709370657
2002-10-28 20:07:37 +00:00
Kjell Ericson
f9a912d850 Using the structures "rectangle" and "points" when drawing (Win32 doesn't have XPoint).
Added the funtion drawrectangles() that is used for the player simulation.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2762 a1c6a512-1295-4272-9138-f99709370657
2002-10-28 20:04:53 +00:00
Kjell Ericson
dbab14de1f Added command line parameter "--old_lcd" that will simulate the old LCD of
the player.
Made the screen a bit larger too.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2761 a1c6a512-1295-4272-9138-f99709370657
2002-10-28 20:02:30 +00:00
Kjell Ericson
3262207223 Updated for better player simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2760 a1c6a512-1295-4272-9138-f99709370657
2002-10-28 20:00:19 +00:00
Kjell Ericson
a901c3a433 Removed warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2741 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 20:46:10 +00:00
Kjell Ericson
08cbf69e0e Removed warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2739 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 20:32:23 +00:00
Kjell Ericson
f179453524 The font for player-simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2738 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 20:28:09 +00:00
Kjell Ericson
ccfa84853a Many functions have been changed.
The font will now be drawn in a more hardware-like style.
The "select arrow" is now looking bad, but will be fixed by Mats Lidell and
me later.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2735 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 20:20:09 +00:00
Kjell Ericson
fe10eb3a9f Almost totaly rewritten.
Most icons are still missing, but will be redrawn in some days.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2734 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 20:17:47 +00:00
Kjell Ericson
d19b9edfa4 Added stubs that shall not be in the player simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2733 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 20:16:14 +00:00
Kjell Ericson
d317ddb333 The font will be shown in another way in player-simulator so the sysfont.c
and font.c will be recorder-only.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2732 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 20:15:23 +00:00
Kjell Ericson
cfa206bfed Doubled the height/width for player.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2731 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 20:14:01 +00:00
Kjell Ericson
93b5f92c53 The window zooming is now depending on LCD_WIDTH and LCD_HEIGHT.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2730 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 20:12:55 +00:00
Felix Arends
57dcf0bb78 working win32sim makefile (for player)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2722 a1c6a512-1295-4272-9138-f99709370657
2002-10-18 15:22:20 +00:00
Björn Stenberg
5cb429ec60 Added mpeg_set_pitch() stub to simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2721 a1c6a512-1295-4272-9138-f99709370657
2002-10-18 14:03:11 +00:00
Mats Lidell
ac59dceeea Use lcd-player.c in simulator. (Not tested but better?!)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2720 a1c6a512-1295-4272-9138-f99709370657
2002-10-18 13:46:58 +00:00
Mats Lidell
f4f9997404 Use lcd-player.c in simulator. (Not tested)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2719 a1c6a512-1295-4272-9138-f99709370657
2002-10-18 13:27:55 +00:00
Mats Lidell
073ca0a8bc Use lcd-player.c in simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2716 a1c6a512-1295-4272-9138-f99709370657
2002-10-18 09:21:29 +00:00
Mats Lidell
786d2c3cb3 Rewritten based on lcd-player.c.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2715 a1c6a512-1295-4272-9138-f99709370657
2002-10-18 09:20:48 +00:00
Mats Lidell
a99c565d72 Moved lcd player code to lcd-playersim.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2714 a1c6a512-1295-4272-9138-f99709370657
2002-10-18 09:20:14 +00:00
Mats Lidell
d4efbada61 Player don't use dynamic fonts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2713 a1c6a512-1295-4272-9138-f99709370657
2002-10-18 09:19:10 +00:00
Kjell Ericson
feae991575 Changed Logf to printf while debugging.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2708 a1c6a512-1295-4272-9138-f99709370657
2002-10-17 18:42:47 +00:00
Kjell Ericson
65de9c9167 Moved volume-icon a bit. More examine will be done later in order to look at
the other icons. They seem to be too large for a real player screen.
The problem of the flickering screen is residing here somewhere...


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2707 a1c6a512-1295-4272-9138-f99709370657
2002-10-17 18:40:57 +00:00
Kjell Ericson
fdb7b41771 The simulated version shall not have a BITMAP_LCD any more (fucked up the screen).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2706 a1c6a512-1295-4272-9138-f99709370657
2002-10-17 18:38:32 +00:00
Kjell Ericson
5fddbf488a Drawing the same kind of frame for both recorder and player.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2705 a1c6a512-1295-4272-9138-f99709370657
2002-10-17 18:37:15 +00:00
Mats Lidell
c4a09adf29 Scroll works for wps and menus. Still much cleanup to do.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2704 a1c6a512-1295-4272-9138-f99709370657
2002-10-17 15:15:04 +00:00
Felix Arends
1e95013f3c what did that #ifdef do there?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2690 a1c6a512-1295-4272-9138-f99709370657
2002-10-16 16:54:37 +00:00
Felix Arends
61a32e9ea3 we dont need this file any longer!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2687 a1c6a512-1295-4272-9138-f99709370657
2002-10-16 16:45:38 +00:00
Felix Arends
879fabdb1d finally up-to-date: the win32 simulator (at least for the recorder)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2685 a1c6a512-1295-4272-9138-f99709370657
2002-10-16 16:26:09 +00:00
Kjell Ericson
fae212043b Using expose-event instead of resizerequest-event in order to be able to
zoom the window.
Note that when you shrink the window, you must make it a bit larger again in
order to get it redrawn.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2676 a1c6a512-1295-4272-9138-f99709370657
2002-10-16 08:44:43 +00:00
Kjell Ericson
c54ff705a0 First attempt to adjust the drawing routines to be able to zoom the window.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2675 a1c6a512-1295-4272-9138-f99709370657
2002-10-16 08:43:13 +00:00
Kjell Ericson
c72a17742b Updated version to 0.2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2674 a1c6a512-1295-4272-9138-f99709370657
2002-10-16 08:41:25 +00:00
Mats Lidell
ac2b1b9a89 Icons were flipped.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2666 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 13:25:07 +00:00
Daniel Stenberg
87b66a8895 less crap makes better code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2659 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 12:44:56 +00:00
Linus Nielsen Feltzing
0a4b247080 The player firmware now autodetects the LCD type. No need for two player versions anymore
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2658 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 12:25:57 +00:00
Daniel Stenberg
6e0a75c596 better rtc_read() simulation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2657 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 12:24:09 +00:00
Daniel Stenberg
28e10a9849 set the DOCSDIR variable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2648 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 08:09:47 +00:00
Daniel Stenberg
b3438e8b68 added a silly stub for oscillograph to remove an #ifdef in the actual code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2642 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 07:58:16 +00:00
Daniel Stenberg
0ab96fdf70 make credits.c use the generated list of names properly as already done
in apps/Makefile


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2641 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 07:51:25 +00:00
Daniel Stenberg
de5578a0f8 Added cube.c to build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2628 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 07:19:08 +00:00
Daniel Stenberg
5fcce4da58 Now the X11 simulator sets the BUTTON_REL bit properly and thus generates
button release events, much in the same way the actual target behaves.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2606 a1c6a512-1295-4272-9138-f99709370657
2002-10-14 08:09:29 +00:00
Daniel Stenberg
ea60436cd8 slow down the button check function, this makes the cube look sane in the
simulator


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2605 a1c6a512-1295-4272-9138-f99709370657
2002-10-13 14:16:44 +00:00
Daniel Stenberg
752c8ecdc0 removed showtext.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2600 a1c6a512-1295-4272-9138-f99709370657
2002-10-12 13:31:22 +00:00
Daniel Stenberg
5d3515f366 set HAVE_RTC when building Recorder simulators
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2589 a1c6a512-1295-4272-9138-f99709370657
2002-10-11 20:17:08 +00:00
Daniel Stenberg
d4d3a5df94 rtc_read() and rtc_write() added, and if we now set HAVE_RTC when building
the recorder simulator, we get a clock in the status bar! ;-)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2586 a1c6a512-1295-4272-9138-f99709370657
2002-10-11 18:48:22 +00:00
Mats Lidell
2aab7cc4b5 Player simulator uses lcd-playersim for display.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2581 a1c6a512-1295-4272-9138-f99709370657
2002-10-11 11:13:03 +00:00
Mats Lidell
d5fd94d693 Player simulator stuff for patterns added.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2580 a1c6a512-1295-4272-9138-f99709370657
2002-10-11 11:12:00 +00:00
Mats Lidell
36e935f1b7 Created.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2579 a1c6a512-1295-4272-9138-f99709370657
2002-10-11 11:10:52 +00:00
Markus Braun
88098be7e3 Enable status bar in usb mode.
Moved usb_display_info() to screens.c
Added functions queue_wait_w_tmo() and usb_wait_for_disconnect_w_tmo().


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2574 a1c6a512-1295-4272-9138-f99709370657
2002-10-11 08:56:23 +00:00
Mats Lidell
645250065b Added icons for repeat and repeat 1.
Moved icons on the first status row around a little. (Subject to
change when the real fonts are there but looks better now.)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2512 a1c6a512-1295-4272-9138-f99709370657
2002-10-05 23:59:54 +00:00
Mats Lidell
90d7b78793 Added icons for repeat and repeat 1.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2511 a1c6a512-1295-4272-9138-f99709370657
2002-10-05 23:57:07 +00:00
Mats Lidell
f7310b7eb1 Created.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2510 a1c6a512-1295-4272-9138-f99709370657
2002-10-05 23:56:03 +00:00
Daniel Stenberg
badee43656 Frédéric Dang Ngoc pointed out a bug in the lcd_update_rect() for X11.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2495 a1c6a512-1295-4272-9138-f99709370657
2002-10-04 07:41:33 +00:00
Björn Stenberg
0e6088fc9c Changed .eq file format to simple 'setting: value' model.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2478 a1c6a512-1295-4272-9138-f99709370657
2002-10-02 16:33:26 +00:00
Daniel Stenberg
c43b36c70c backlight when charging now is for players and simulators too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2466 a1c6a512-1295-4272-9138-f99709370657
2002-10-01 11:12:57 +00:00
Daniel Stenberg
b95fe1afc6 Mark A. Hillebrand's patch that offers a new setting that if enabled, keeps
the backlight on all the time while the charger is connected.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2464 a1c6a512-1295-4272-9138-f99709370657
2002-10-01 10:59:36 +00:00
Daniel Stenberg
58deeff5be viewer added to the build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2453 a1c6a512-1295-4272-9138-f99709370657
2002-09-30 19:06:29 +00:00
Linus Nielsen Feltzing
bb572c4412 Philip Pertermanns peak meter
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2436 a1c6a512-1295-4272-9138-f99709370657
2002-09-27 09:31:31 +00:00
Daniel Stenberg
8050404848 lang build fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2417 a1c6a512-1295-4272-9138-f99709370657
2002-09-25 14:15:07 +00:00
Daniel Stenberg
a738726bb5 build the language stuff correctly and an improved clean target
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2416 a1c6a512-1295-4272-9138-f99709370657
2002-09-25 14:11:47 +00:00
Björn Stenberg
a4c3b03f15 Removed lcd_getfontsize(). Removed font parameters to lcd_putsxy and lcd_getstringsize.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2403 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 18:04:15 +00:00
Björn Stenberg
b1b8bd4dd1 Moved on_screen, f2_screen, f3_screen and handle_usb (renamed usb_screen) to a new file: screens.c.
typedef Menu replaced with a bool.
All code now calls usb_screen() for usb handling.
Nearly all code now deals with USB connect/disconnect properly.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2401 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 17:22:12 +00:00
Daniel Stenberg
35d6da6b19 language.c stuff
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2391 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 12:43:52 +00:00
Daniel Stenberg
e998b895f9 added the language.c apps file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2390 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 12:41:41 +00:00
Björn Stenberg
d4e2ee56ef Fixed win32 build problems.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2371 a1c6a512-1295-4272-9138-f99709370657
2002-09-23 11:23:13 +00:00
Björn Stenberg
86f9a8410b Split lcd driver into lcd-player and lcd-recorder. Player simulator still needs fixing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2370 a1c6a512-1295-4272-9138-f99709370657
2002-09-23 11:17:52 +00:00
Björn Stenberg
bed3d3f7e0 New full ISO-8859-1 system font.
Added font loading from dir browser.
Changed default font location to /.rockbox/default.fnt.
Code-policed font code.
Removed old font tools.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2347 a1c6a512-1295-4272-9138-f99709370657
2002-09-20 08:07:51 +00:00
Björn Stenberg
3c28705da5 Win32 lang build fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2328 a1c6a512-1295-4272-9138-f99709370657
2002-09-18 15:06:45 +00:00
Björn Stenberg
505eca76e6 New language/string handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2327 a1c6a512-1295-4272-9138-f99709370657
2002-09-18 14:08:05 +00:00
Björn Stenberg
808519ed69 Fix reds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2319 a1c6a512-1295-4272-9138-f99709370657
2002-09-17 21:54:47 +00:00
Daniel Stenberg
f2f4d794f6 chartables.c is gone
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2286 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 06:43:28 +00:00
Daniel Stenberg
c455e7bd53 minor corrections
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2279 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 06:06:26 +00:00
Robert Hak
11b67af481 Bill Napier's patch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2278 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 21:33:33 +00:00
Daniel Stenberg
93b231c693 Greg Haerr's new loadable font. No more #ifdef font-style, removed old
propfont and loadable font code. New font file format.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2269 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 13:33:59 +00:00
Robert Hak
2625ebb202 added snake ref
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2262 a1c6a512-1295-4272-9138-f99709370657
2002-09-10 21:21:29 +00:00
Robert Hak
c633d42212 snakes reference added
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2261 a1c6a512-1295-4272-9138-f99709370657
2002-09-10 20:56:31 +00:00
Daniel Stenberg
c25e97f161 lcd_update_rect() added. *please* verify this someone who can actually
run this code. It can still be improved a bit.

Also, I code-policed the source somewhat, this is crowded with C++ comments
and weirdo indents.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2256 a1c6a512-1295-4272-9138-f99709370657
2002-09-10 07:19:40 +00:00
Daniel Stenberg
cd864070e4 added lcd_update_rect() simulator-style
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2255 a1c6a512-1295-4272-9138-f99709370657
2002-09-10 07:07:44 +00:00
Daniel Stenberg
14b91cca74 clean off heaps of unused code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2238 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 13:28:29 +00:00
Robert Hak
7d4c693281 fixed the sim makefile, needed to remove boxes.c and blank.c calls
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2222 a1c6a512-1295-4272-9138-f99709370657
2002-09-07 07:36:24 +00:00
Björn Stenberg
84d4812492 Fixed red win32 build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2217 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 23:05:34 +00:00
Justin Heiner
ba349223bf wps-display.c
* Made 'Remaining Time' count correctly when doing FF/REW.
    * Fixed bug in player_progressbar that caused Illegal Instruction
      if the FF/Play went past the end of the song.
wps.c
    * Removed 'if(lastbutton!=BUTTON_LEFT)' from track changes.
      It was causing tracks to not change unless button was pressed
      numerous times quickly :-)
    * For player, changed BUTTON_STOP to BUTTON_STOP | BUTTON_REL.
      Since stop is also the key to turn the device off, we don't want
      it to go to the dir browser unless the stop button is released.
settings_menu.c
    * Changed the minimum disk spindown time to 3 seconds, due to
      reported problems if set below that.
makefile.vc6
    * Fixed the VC makefile to work with both Recorder & Player again.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2159 a1c6a512-1295-4272-9138-f99709370657
2002-09-04 01:51:09 +00:00
Björn Stenberg
62794583ef Updated win32 Makefile
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2150 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 10:13:46 +00:00
Linus Nielsen Feltzing
3d641c92a5 Added lcd_putc()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2148 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 09:39:52 +00:00
Linus Nielsen Feltzing
7f22b84793 Now handles both player/ and recorder/ directories
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2146 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 08:30:15 +00:00
Linus Nielsen Feltzing
644e4ce792 Added lcd_define_pattern()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2145 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 08:29:03 +00:00
Björn Stenberg
6131a3cc0d Moved display portions of wps.c into new file: wps-display.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2079 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 11:04:41 +00:00
Björn Stenberg
1f4e4d339c Reverted back to monospace again. Let's not rock the boat until people can change it themselves (i.e. loadable fonts).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2032 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 11:54:41 +00:00
Björn Stenberg
af406a1f6d Made LCD_PROPFONTS default on recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2016 a1c6a512-1295-4272-9138-f99709370657
2002-08-27 22:49:13 +00:00
Björn Stenberg
457b8a0a67 Added configurable disk spindown. The disk will also now not spin down while you are running around in the dir browser or pressing buttons in the wps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1987 a1c6a512-1295-4272-9138-f99709370657
2002-08-26 13:21:14 +00:00
Björn Stenberg
354d3d9527 Removed beep-on-keypress
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1979 a1c6a512-1295-4272-9138-f99709370657
2002-08-26 09:41:54 +00:00
Björn Stenberg
e67958ba86 Adapted wormlet to code standard and added it to simulators.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1978 a1c6a512-1295-4272-9138-f99709370657
2002-08-26 09:21:59 +00:00
Daniel Stenberg
7c3dd40ed2 menu fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1954 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 13:01:36 +00:00
Felix Arends
d841ca9797 removed backlight-win32.c as it is not needed any more
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1928 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 17:59:20 +00:00
Felix Arends
b1819f64de this makefile works at least for the recorder, we will have to talk about a recorder fix.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1927 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 17:58:24 +00:00
Björn Stenberg
b1d5124434 simulate_usb ignores key releases
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1898 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 18:11:06 +00:00
Daniel Stenberg
42564a1b99 USB display for simulator purpose
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1892 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 17:24:42 +00:00
Björn Stenberg
9af59727b3 Added button release events
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1885 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 14:13:53 +00:00
Daniel Stenberg
de87a894dc darned compiler couldn't see I made a mistake so I had to correct it myself
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1878 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 11:29:54 +00:00
Daniel Stenberg
e33b439216 matsl's simulator icons added
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1877 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 11:24:51 +00:00
Mats Lidell
da11a22e3c Created.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1862 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 10:52:16 +00:00
Mats Lidell
6866cef936 Added icons for charcell simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1857 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 10:43:31 +00:00
Mats Lidell
89d2285e00 Created.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1856 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 10:37:34 +00:00
Robert Hak
52e0e21fde don't package hacking
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1853 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 10:32:34 +00:00
Robert Hak
9d317c0d1e correction of what file to read
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1852 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 10:32:00 +00:00
Robert Hak
52407c3e4e added reference to docs dir
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1845 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 10:20:46 +00:00
Björn Stenberg
6224cdb166 Added resume. Works in dirs and playlists, shuffled or not. Resumes mid-song, but press pause on players before you shutdown so they get a chance to store the position on disk. Recorders use RTC ram. Todo: Time display is wrong after mid-track resume and ffd/rew is not handled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1787 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 14:41:47 +00:00
Björn Stenberg
c9d98ca927 Added delayed write for settings. Doesn't write until someone else accesses the disk.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1762 a1c6a512-1295-4272-9138-f99709370657
2002-08-15 12:42:37 +00:00
Daniel Stenberg
5e38c071cb added tags target
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1754 a1c6a512-1295-4272-9138-f99709370657
2002-08-15 10:04:53 +00:00
Björn Stenberg
3f88797671 Corrective brain surgery
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1721 a1c6a512-1295-4272-9138-f99709370657
2002-08-13 17:42:51 +00:00
Björn Stenberg
6919465647 Added stubs.c to win32 sim build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1720 a1c6a512-1295-4272-9138-f99709370657
2002-08-13 17:35:53 +00:00
Björn Stenberg
cd7691de22 Enabled saving settings to disk on player
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1717 a1c6a512-1295-4272-9138-f99709370657
2002-08-13 17:16:09 +00:00
Robert Hak
8b05a002af i fix, now sleep
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1709 a1c6a512-1295-4272-9138-f99709370657
2002-08-13 09:46:25 +00:00
Robert Hak
e7a6a8267d cleaned up
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1708 a1c6a512-1295-4272-9138-f99709370657
2002-08-13 09:32:56 +00:00
Robert Hak
4db2ded56f similarities in the two branches joined
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1707 a1c6a512-1295-4272-9138-f99709370657
2002-08-13 09:19:21 +00:00
Robert Hak
c15b405e98 im stupid, this shouldn't have been removed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1703 a1c6a512-1295-4272-9138-f99709370657
2002-08-13 08:55:58 +00:00
Robert Hak
37985d94b9 removed ref to stubs.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1700 a1c6a512-1295-4272-9138-f99709370657
2002-08-13 08:32:15 +00:00
Robert Hak
d06cd2ee16 we don't need this anymore
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1699 a1c6a512-1295-4272-9138-f99709370657
2002-08-13 08:31:01 +00:00
Björn Stenberg
b2a866434e Repaired win32 build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1677 a1c6a512-1295-4272-9138-f99709370657
2002-08-11 23:20:14 +00:00
Björn Stenberg
102665958a Removed warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1676 a1c6a512-1295-4272-9138-f99709370657
2002-08-11 22:08:23 +00:00
Robert Hak
7c38da34e3 added blank
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1671 a1c6a512-1295-4272-9138-f99709370657
2002-08-11 12:02:15 +00:00
Björn Stenberg
cd225736f9 First version of loadable fonts patch by Alex Gitelman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1666 a1c6a512-1295-4272-9138-f99709370657
2002-08-11 09:17:47 +00:00
Daniel Stenberg
2ed1052a6d fix window sizes to match the screen size, enlarged the player sim font
to use the 12x16 one


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1635 a1c6a512-1295-4272-9138-f99709370657
2002-08-09 09:13:40 +00:00
Felix Arends
aed65abdc5 buttons can be pressed again now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1607 a1c6a512-1295-4272-9138-f99709370657
2002-08-08 09:14:38 +00:00
Felix Arends
d823f22cc0 win32 up to date
included powermgmt.cpp


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1597 a1c6a512-1295-4272-9138-f99709370657
2002-08-07 15:55:40 +00:00
Heikki Hannikainen
7232940fd5 fix compiling (battery_level again)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1591 a1c6a512-1295-4272-9138-f99709370657
2002-08-07 11:45:42 +00:00
Heikki Hannikainen
96deb72425 fix compiling after battery_level changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1588 a1c6a512-1295-4272-9138-f99709370657
2002-08-07 11:28:04 +00:00
Daniel Stenberg
9dbd5eddd0 make lcd_framebuffer extern, as it is now exported from the lcd driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1584 a1c6a512-1295-4272-9138-f99709370657
2002-08-07 11:10:06 +00:00
Markus Braun
de8fbf00a8 Added status bar to file browser and wps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1582 a1c6a512-1295-4272-9138-f99709370657
2002-08-07 10:35:26 +00:00
Daniel Stenberg
999e2127af fix obvious errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1581 a1c6a512-1295-4272-9138-f99709370657
2002-08-07 09:21:39 +00:00
Daniel Stenberg
4681e09aac Unix coder playing win32 programmer, added button_get_w_tmo() and it what
do you know, it might just work. There was no win32 programmer in sight.
How hard can it be? ;-P


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1580 a1c6a512-1295-4272-9138-f99709370657
2002-08-07 09:17:21 +00:00
Daniel Stenberg
a398aa49dd healing the X11 simulator (button_get_w_tmo wise), please bear with me as I
haven't tested this fix but it compiles nicely ;-)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1579 a1c6a512-1295-4272-9138-f99709370657
2002-08-07 08:43:55 +00:00
Daniel Stenberg
e4b8c04788 disable LCD_PROPFONTS in the default build, as the actual firmware build
has it disabled


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1564 a1c6a512-1295-4272-9138-f99709370657
2002-08-06 18:09:23 +00:00
Daniel Stenberg
93c1b40b8d there is no XK_Enter!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1538 a1c6a512-1295-4272-9138-f99709370657
2002-08-05 15:40:49 +00:00
Daniel Stenberg
b3a80fbe30 George Styles added a few keys for running the simulator on without numerical
keypad


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1535 a1c6a512-1295-4272-9138-f99709370657
2002-08-05 14:11:40 +00:00
Daniel Stenberg
c3cf79bd88 remove compiler warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1531 a1c6a512-1295-4272-9138-f99709370657
2002-08-04 14:10:49 +00:00
Daniel Stenberg
fae7cdbca1 corrected the win32/Makefile names
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1530 a1c6a512-1295-4272-9138-f99709370657
2002-08-04 14:09:00 +00:00
Daniel Stenberg
c67ae33dc3 use the Makefile.vc6 instead
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1529 a1c6a512-1295-4272-9138-f99709370657
2002-08-04 14:08:33 +00:00
Daniel Stenberg
a32af77ec0 remove compiler warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1528 a1c6a512-1295-4272-9138-f99709370657
2002-08-02 14:00:52 +00:00
Daniel Stenberg
81e7c72792 clean works now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1525 a1c6a512-1295-4272-9138-f99709370657
2002-08-02 12:54:46 +00:00
Daniel Stenberg
714d6ffa2b Mingw compile adjustments. Mostly from Bill Napier.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1521 a1c6a512-1295-4272-9138-f99709370657
2002-08-02 12:17:54 +00:00
Daniel Stenberg
75eeb11c1e This is the new makefile for building the win32-simulator, cross-compiled
using mingw.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1520 a1c6a512-1295-4272-9138-f99709370657
2002-08-02 12:17:10 +00:00
Daniel Stenberg
7c928dc0b3 This file is history, the VC++ Makfile is now Makefile.vc6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1519 a1c6a512-1295-4272-9138-f99709370657
2002-08-02 12:16:27 +00:00
Daniel Stenberg
ac9ebdebc5 This is the VC++ makefile renamed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1518 a1c6a512-1295-4272-9138-f99709370657
2002-08-02 12:15:38 +00:00
Felix Arends
4f26c288ca win32simulator fix, __attribute__ defined for win32
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1516 a1c6a512-1295-4272-9138-f99709370657
2002-08-02 09:42:48 +00:00
Felix Arends
8da338e9f0 latest fix for win32 simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1495 a1c6a512-1295-4272-9138-f99709370657
2002-07-30 10:55:26 +00:00
Linus Nielsen Feltzing
52f54830da Added set_release() and set_repeat()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1467 a1c6a512-1295-4272-9138-f99709370657
2002-07-27 19:51:31 +00:00
Linus Nielsen Feltzing
2d758f282e Added status.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1410 a1c6a512-1295-4272-9138-f99709370657
2002-07-22 22:59:47 +00:00
Felix Arends
7a91f2671c added power.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1391 a1c6a512-1295-4272-9138-f99709370657
2002-07-20 15:19:29 +00:00
Felix Arends
2b79949c94 defined APPSVERSION for win32 simulator and defined strncasecmp
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1390 a1c6a512-1295-4272-9138-f99709370657
2002-07-20 15:07:38 +00:00
Björn Stenberg
2534097fc8 battery_level() already had a stub
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1367 a1c6a512-1295-4272-9138-f99709370657
2002-07-16 11:11:00 +00:00
Björn Stenberg
1812eae051 Added stub for battery_level()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1365 a1c6a512-1295-4272-9138-f99709370657
2002-07-16 10:54:37 +00:00
Björn Stenberg
6d55a71e0e Added build timestamp in version string
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1349 a1c6a512-1295-4272-9138-f99709370657
2002-07-15 13:19:00 +00:00
Felix Arends
9b41dae061 relative paths in .vcproj file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1306 a1c6a512-1295-4272-9138-f99709370657
2002-07-02 16:49:06 +00:00
Felix Arends
43f733b85b made get_button a little slower to get a more realistic control
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1305 a1c6a512-1295-4272-9138-f99709370657
2002-07-02 16:26:59 +00:00
Felix Arends
c9b642b821 everything up-to-date
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1304 a1c6a512-1295-4272-9138-f99709370657
2002-07-02 16:11:02 +00:00
Linus Nielsen Feltzing
adbce88570 Now uses firmware/mpeg.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1269 a1c6a512-1295-4272-9138-f99709370657
2002-06-30 14:37:40 +00:00
Felix Arends
f888c252ed win32 simulator up-to-date
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1249 a1c6a512-1295-4272-9138-f99709370657
2002-06-28 14:57:03 +00:00
Felix Arends
2949df78a0 un-broke win32sim build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1223 a1c6a512-1295-4272-9138-f99709370657
2002-06-27 04:11:00 +00:00
Björn Stenberg
b45491df8f Added backlight_time stub
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1219 a1c6a512-1295-4272-9138-f99709370657
2002-06-27 01:00:00 +00:00
Björn Stenberg
706d6ee882 Moved settings.c/h to apps/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1216 a1c6a512-1295-4272-9138-f99709370657
2002-06-27 00:25:19 +00:00
Björn Stenberg
2d98ae3d03 Removed play.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1214 a1c6a512-1295-4272-9138-f99709370657
2002-06-27 00:06:14 +00:00
Björn Stenberg
2dd9b33977 Added mpeg_next() and mpeg_prev()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1206 a1c6a512-1295-4272-9138-f99709370657
2002-06-26 21:29:07 +00:00
Felix Arends
70f9cccdcd adjusted for auto cvs compile
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1200 a1c6a512-1295-4272-9138-f99709370657
2002-06-26 14:28:57 +00:00
Felix Arends
41455bd76a resource was not compiled correctly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1198 a1c6a512-1295-4272-9138-f99709370657
2002-06-26 14:05:08 +00:00
Felix Arends
64bde94ecf Finally, again a working version of the win32 simulator. I re-wrote the makefile, it is much more compact now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1191 a1c6a512-1295-4272-9138-f99709370657
2002-06-25 21:01:08 +00:00
Björn Stenberg
bb9aaf5065 A step towards WPS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1184 a1c6a512-1295-4272-9138-f99709370657
2002-06-25 13:26:04 +00:00
Björn Stenberg
d39904e29d Some X servers send KP_Begin for keypad 5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1177 a1c6a512-1295-4272-9138-f99709370657
2002-06-25 11:05:30 +00:00
Robert Hak
627334ba9a added settings_menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1163 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 21:41:01 +00:00
Daniel Stenberg
5bee7a490f added backkight_on(), we should have this change background colour or
something but right now it does nothing


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1157 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 14:10:48 +00:00
Robert Hak
bb5579e838 added screensaver and games menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1141 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 08:49:20 +00:00
Daniel Stenberg
e6578c9532 removed experimental LCD define again, added by accident
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1122 a1c6a512-1295-4272-9138-f99709370657
2002-06-20 09:46:37 +00:00
Daniel Stenberg
6dc046a54c added settings.c to the simulator build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1121 a1c6a512-1295-4272-9138-f99709370657
2002-06-20 09:42:51 +00:00
Felix Arends
bef203cd88 1.1 compability
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1100 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 20:10:53 +00:00
Daniel Stenberg
0c7ebc4c96 builds properly with the new "libc headers"
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1038 a1c6a512-1295-4272-9138-f99709370657
2002-06-17 13:33:47 +00:00
Robert Hak
3aa90e49cd added boxes, sokoban, bounce, removed screensaver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1023 a1c6a512-1295-4272-9138-f99709370657
2002-06-16 23:36:08 +00:00
Daniel Stenberg
c1ea15f4f9 added bounce.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1014 a1c6a512-1295-4272-9138-f99709370657
2002-06-15 13:31:53 +00:00
Felix Arends
07079466b3 defined current_tick variable and repaired broken build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1008 a1c6a512-1295-4272-9138-f99709370657
2002-06-15 10:58:14 +00:00
Daniel Stenberg
973b1a8274 current_tick simulation added
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1005 a1c6a512-1295-4272-9138-f99709370657
2002-06-14 12:44:51 +00:00
Daniel Stenberg
3f0bf03677 removed yield() define, we have a proper yield() implementation now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1004 a1c6a512-1295-4272-9138-f99709370657
2002-06-14 12:40:00 +00:00
Daniel Stenberg
50c1ff2b2f removed sleep.c, the sleep() code was moved into thread.c as the
functionality is so closely related


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1003 a1c6a512-1295-4272-9138-f99709370657
2002-06-14 12:34:51 +00:00
Daniel Stenberg
5fbeb6de75 Fixed the threading to work as I wanted it:
We only execute one thread at a time, and we do this by using a mytex that
the executing thread locks. sleep() returns the mutex, sleep and then gets
it again, yeild() makes the same as sleep but immediately.
This makes threading in the simulator behave closer to how it works on target
and it makes it necessary to use yield() or sleep() for other threads to
get to execute.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1002 a1c6a512-1295-4272-9138-f99709370657
2002-06-14 12:33:51 +00:00
Daniel Stenberg
a902aa15c0 kill warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1001 a1c6a512-1295-4272-9138-f99709370657
2002-06-14 11:06:58 +00:00
Daniel Stenberg
ed6c7e4e03 warning hunt and kill session
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1000 a1c6a512-1295-4272-9138-f99709370657
2002-06-14 11:00:13 +00:00
Daniel Stenberg
7a8d95d8ff go bananas, now we complain on *lots* of details
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@999 a1c6a512-1295-4272-9138-f99709370657
2002-06-14 10:41:08 +00:00
Felix Arends
0053ec0c72 Threading is working on uisw32 as well now, code is up-to-date, makefile is up-to-date
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@981 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 15:39:39 +00:00
Björn Stenberg
f4a2941b3c Added win32/uisw32.rc
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@948 a1c6a512-1295-4272-9138-f99709370657
2002-06-11 07:44:03 +00:00
Daniel Stenberg
604cce76cf add thread functionality, powered by pthreads
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@928 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 10:17:54 +00:00
Daniel Stenberg
4bf52eae14 works with playlist code, now stubs mpeg_play() to be able to show some
better debug output


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@893 a1c6a512-1295-4272-9138-f99709370657
2002-06-04 21:45:51 +00:00
Daniel Stenberg
e2f9196edf clarified and added details about the X11 simulator build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@888 a1c6a512-1295-4272-9138-f99709370657
2002-06-04 20:06:40 +00:00
Robert Hak
1fac0e66fd the sim should not take args off the command line
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@883 a1c6a512-1295-4272-9138-f99709370657
2002-06-04 08:55:49 +00:00
Felix Arends
647661c3bb Player compatible code, interface still needs some changes for player
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@874 a1c6a512-1295-4272-9138-f99709370657
2002-06-01 20:56:38 +00:00
Daniel Stenberg
a895626516 updated the build instruction since we now support building the simulator
using the tools/configure approach


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@843 a1c6a512-1295-4272-9138-f99709370657
2002-05-31 07:48:30 +00:00
Daniel Stenberg
f7da8db834 supports OBJDIR etc to make it possible to have the configure script generate
a Makefile for simulator builds


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@842 a1c6a512-1295-4272-9138-f99709370657
2002-05-31 07:23:07 +00:00
Daniel Stenberg
b66890fc52 include the 8bit bitmap instead of the previos 24bit one (that is no longer
in CVS)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@837 a1c6a512-1295-4272-9138-f99709370657
2002-05-31 05:53:43 +00:00
Daniel Stenberg
90f2806656 removed the no longer used code for simulating the player LCD
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@827 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 14:12:31 +00:00