Commit graph

4166 commits

Author SHA1 Message Date
Jörg Hohensohn
fa3f60ff1c nicer handling of button_flip(), swap stored value, too, and avoid race condition
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4184 a1c6a512-1295-4272-9138-f99709370657
2004-01-01 18:33:52 +00:00
Linus Nielsen Feltzing
74976c1484 New recording feature: Prerecord up to 30 seconds before you press the Play key. Especially useful for FM radio recording. Also fixed a bug which didn't apply the recording settings correctly in the Radio screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4183 a1c6a512-1295-4272-9138-f99709370657
2003-12-31 03:13:29 +00:00
Linus Nielsen Feltzing
1c4ea83bba Fixed yellow and red builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4182 a1c6a512-1295-4272-9138-f99709370657
2003-12-28 14:53:13 +00:00
Linus Nielsen Feltzing
8941ad5c6a Patch #866595, a rock that displays a clock, both digital and analog, by Zakk Roberts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4181 a1c6a512-1295-4272-9138-f99709370657
2003-12-28 13:28:03 +00:00
Linus Nielsen Feltzing
fb5f458c27 Internal code cleanup - the header template is not taken from the stream if a template header is passed to create_xing_header()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4180 a1c6a512-1295-4272-9138-f99709370657
2003-12-28 03:40:41 +00:00
Linus Nielsen Feltzing
a9875a96d2 Internal code cleanup - the header template for the Xing header generation is read from the MAS instead of from the recorded file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4179 a1c6a512-1295-4272-9138-f99709370657
2003-12-28 03:37:23 +00:00
Jörg Hohensohn
8446cc461c oops, optimized lcd_bitmap() too much, obey the clear flag
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4178 a1c6a512-1295-4272-9138-f99709370657
2003-12-24 12:17:26 +00:00
Jörg Hohensohn
5040cc53ec Screen buffer transposed, such that bytes in X-direction are consecutive. This enables my turbocharged lcd_write_data() for regular screen updates. Please check the X11 sim, Win32 works.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4177 a1c6a512-1295-4272-9138-f99709370657
2003-12-23 23:41:45 +00:00
Jörg Hohensohn
2d720b2a79 I found several plugins to draw beyond screen boundary
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4176 a1c6a512-1295-4272-9138-f99709370657
2003-12-23 22:24:48 +00:00
Hardeep Sidhu
9aad0db9df Use rockbox random in win32 simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4175 a1c6a512-1295-4272-9138-f99709370657
2003-12-23 17:05:20 +00:00
Jörg Hohensohn
9eb03c1043 better USB handling, typo fixed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4174 a1c6a512-1295-4272-9138-f99709370657
2003-12-22 23:10:04 +00:00
Linus Nielsen Feltzing
c561e53948 Patch #863775 by Bluechip - fixes window size on win32 simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4173 a1c6a512-1295-4272-9138-f99709370657
2003-12-22 20:24:56 +00:00
Jörg Hohensohn
1707fd94fc icons for .ch8, .rvf
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4172 a1c6a512-1295-4272-9138-f99709370657
2003-12-22 09:48:18 +00:00
Jörg Hohensohn
d29d029569 emulator is a lot faster with my lcd_blit() function and yield() instead of sleep()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4171 a1c6a512-1295-4272-9138-f99709370657
2003-12-22 08:32:38 +00:00
Björn Stenberg
96147edb7d Moved memset() out of .iram
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4170 a1c6a512-1295-4272-9138-f99709370657
2003-12-21 12:22:50 +00:00
Linus Nielsen Feltzing
8dad7c2f31 Fixed the display corruption in the recording screen when the status bar is disabled
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4169 a1c6a512-1295-4272-9138-f99709370657
2003-12-20 22:15:45 +00:00
Jörg Hohensohn
a5e1d06354 Upside Down option for display (and buttons) now wired into the display settings menu, persistence, simulator stubs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4168 a1c6a512-1295-4272-9138-f99709370657
2003-12-20 10:00:37 +00:00
Linus Nielsen Feltzing
2a8386106b Silly me, I passed the wrong number of items to menu_init(). Thanks to Mike Grupenhoff for pointing that out.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4167 a1c6a512-1295-4272-9138-f99709370657
2003-12-19 10:47:12 +00:00
Linus Nielsen Feltzing
ae8af7d4c7 Added auto-detection of FM radio hardware
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4166 a1c6a512-1295-4272-9138-f99709370657
2003-12-19 02:02:24 +00:00
Linus Nielsen Feltzing
ef8fd8e533 Automatic detection of FM radio hardware for V2 recorders
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4165 a1c6a512-1295-4272-9138-f99709370657
2003-12-19 01:24:02 +00:00
Linus Nielsen Feltzing
47f6cb30ee Added sound controls to the FM radio menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4164 a1c6a512-1295-4272-9138-f99709370657
2003-12-19 00:38:47 +00:00
Jörg Hohensohn
5617f3ba5c the vidoe player has some control now: backward, pause, step, FF/FR
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4163 a1c6a512-1295-4272-9138-f99709370657
2003-12-18 22:36:35 +00:00
Hardeep Sidhu
5199e8c625 Removed mkneofile from TARGETS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4162 a1c6a512-1295-4272-9138-f99709370657
2003-12-17 23:57:57 +00:00
Björn Stenberg
1fe97ec54e Improved timing in soft_reset. This hopefully cures spontaneous Red Led freezes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4161 a1c6a512-1295-4272-9138-f99709370657
2003-12-17 20:15:12 +00:00
Mats Lidell
3cefa27e10 Synced.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4160 a1c6a512-1295-4272-9138-f99709370657
2003-12-17 17:25:38 +00:00
Daniel Stenberg
d911bbeb15 radio on the v2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4159 a1c6a512-1295-4272-9138-f99709370657
2003-12-17 16:27:31 +00:00
Daniel Stenberg
633003c896 prevent compiler errors on platforms we can't (currently) flash
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4158 a1c6a512-1295-4272-9138-f99709370657
2003-12-15 13:16:09 +00:00
Daniel Stenberg
42ea60e459 Without having a clue about the actual platform, I hereby announce that the
Neo players' "select" button works as the "ON" button does on the Archos
players. I thus #define BUTTON_ON to the select one, to make the code all
over automaticly adjust to this fact.

If the select key turns out to be a bad choice, it should be easy to change
here to a more suitable key.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4157 a1c6a512-1295-4272-9138-f99709370657
2003-12-15 13:14:23 +00:00
Daniel Stenberg
2b89b9d571 prevent buffer overflow
prevent massive stack usage
minor adjusting to rockbox code style


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4156 a1c6a512-1295-4272-9138-f99709370657
2003-12-15 11:58:34 +00:00
Daniel Stenberg
14c54ccdb9 handle_on() depends on the presence of an ON button
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4155 a1c6a512-1295-4272-9138-f99709370657
2003-12-15 11:48:36 +00:00
Daniel Stenberg
8a935f6c4d Since some code isn't used if no ON button exist, we need to ifdef around
them to prevent compiler warning(s). We should make more code use a different
key instead of ON for the models that don't have one!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4154 a1c6a512-1295-4272-9138-f99709370657
2003-12-15 11:47:18 +00:00
Daniel Stenberg
7df25eb23c kill an "unused variable" compiler warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4153 a1c6a512-1295-4272-9138-f99709370657
2003-12-15 11:45:14 +00:00
Daniel Stenberg
23f157eb76 kill a compiler warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4152 a1c6a512-1295-4272-9138-f99709370657
2003-12-15 11:44:06 +00:00
Daniel Stenberg
fd1aa1e574 xoffset is only when not building for a simulator (for now)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4151 a1c6a512-1295-4272-9138-f99709370657
2003-12-15 11:19:27 +00:00
Daniel Stenberg
26c079c233 added the lcd-common.c to the build, which fixes the lcd_blit build problem
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4150 a1c6a512-1295-4272-9138-f99709370657
2003-12-15 10:33:53 +00:00
Linus Nielsen Feltzing
31044ce007 Ooops! I forgot to remove my debugging changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4149 a1c6a512-1295-4272-9138-f99709370657
2003-12-15 10:31:08 +00:00
Daniel Stenberg
41cfe303a6 fixed lcd_blit for the (x11) sim
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4148 a1c6a512-1295-4272-9138-f99709370657
2003-12-15 10:25:51 +00:00
Linus Nielsen Feltzing
c4e1bdf016 Now correctly informs gcc that r0 is clobbered in lcd_write_data(). The video LED bug is now dead and buried.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4147 a1c6a512-1295-4272-9138-f99709370657
2003-12-15 08:54:05 +00:00
Jörg Hohensohn
5ad78889eb #ifdef platform exclusion fixed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4146 a1c6a512-1295-4272-9138-f99709370657
2003-12-15 08:00:45 +00:00
Jörg Hohensohn
bd8f448fd0 the video player plugin and file the type / plugin API for it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4145 a1c6a512-1295-4272-9138-f99709370657
2003-12-15 07:44:43 +00:00
Linus Nielsen Feltzing
50f63e334a Fix for the LED problem in lcd_write_data(). The r0 register was not preserved for each loop.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4144 a1c6a512-1295-4272-9138-f99709370657
2003-12-15 02:04:18 +00:00
Jörg Hohensohn
56271b571a LCD flip (upside down) and a high-performance blit function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4143 a1c6a512-1295-4272-9138-f99709370657
2003-12-12 22:11:08 +00:00
Björn Stenberg
e3be10107d Removed mkneofile
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4142 a1c6a512-1295-4272-9138-f99709370657
2003-12-12 16:15:50 +00:00
Daniel Stenberg
e580f4e174 restart the byte counter on a new recorded file
patch #846899 by Alexander Eickhoff


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4141 a1c6a512-1295-4272-9138-f99709370657
2003-12-12 15:52:51 +00:00
Daniel Stenberg
0115af21d9 removed the neo-specific scramble-tool and made it an option to scramble
instead, and made the makefile use this


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4140 a1c6a512-1295-4272-9138-f99709370657
2003-12-12 14:07:28 +00:00
Daniel Stenberg
d0f5910534 Make it build without ON button. We should probably allow a different key
on such platforms.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4139 a1c6a512-1295-4272-9138-f99709370657
2003-12-12 13:45:08 +00:00
Daniel Stenberg
8e43ccbec6 Initial suppport for building Rockbox for Neo. The Neo has a different
key layout so we need to check for this.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4138 a1c6a512-1295-4272-9138-f99709370657
2003-12-12 13:34:27 +00:00
Daniel Stenberg
ca71062221 Rockbox on Neo support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4137 a1c6a512-1295-4272-9138-f99709370657
2003-12-12 13:33:04 +00:00
Daniel Stenberg
da6d7e9b44 Added the 'mkneofile' tool that is used instead of scramble when making the
Neo firmware image. The Open Neo project used to call this tool 'add_header'.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4136 a1c6a512-1295-4272-9138-f99709370657
2003-12-12 13:32:27 +00:00
Daniel Stenberg
c78b30dac8 New Neo-specific code from the Open Neo project. Unfortunately, the sources
don't say who've written this stuff so I can give credit to any specific
person (yet). The sources have been modified by me to conform to Rockbox
standards.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4135 a1c6a512-1295-4272-9138-f99709370657
2003-12-12 13:31:16 +00:00