Commit graph

4193 commits

Author SHA1 Message Date
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
Daniel Stenberg
4009334d33 All platforms don't have USB
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4134 a1c6a512-1295-4272-9138-f99709370657
2003-12-12 13:30:15 +00:00
Daniel Stenberg
f74dd39371 link support for Neo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4133 a1c6a512-1295-4272-9138-f99709370657
2003-12-12 13:29:34 +00:00
Daniel Stenberg
8d69f78423 Additional Neo support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4132 a1c6a512-1295-4272-9138-f99709370657
2003-12-12 13:29:11 +00:00
Daniel Stenberg
c4b73634fe first attempt at Neo 35 config
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4131 a1c6a512-1295-4272-9138-f99709370657
2003-12-12 13:24:04 +00:00
Daniel Stenberg
006b2c1c25 adjustments for Neo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4130 a1c6a512-1295-4272-9138-f99709370657
2003-12-12 13:23:33 +00:00
Daniel Stenberg
503ce1bc04 Allow building two Neo targets...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4129 a1c6a512-1295-4272-9138-f99709370657
2003-12-12 10:48:40 +00:00
Daniel Stenberg
0167b55083 fixed a // comment, added a comment how this source file checks for features
the wrong way. I didn't address the actual error due to limited time.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4128 a1c6a512-1295-4272-9138-f99709370657
2003-12-12 10:45:50 +00:00
Björn Stenberg
10d6165034 Updates
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4127 a1c6a512-1295-4272-9138-f99709370657
2003-12-12 10:01:05 +00:00
Hardeep Sidhu
162bf39665 Fixed incorrect #ifdef for .ucl and .ajz files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4126 a1c6a512-1295-4272-9138-f99709370657
2003-12-11 18:26:32 +00:00
Björn Stenberg
5c2cc3deb5 Added Chris Halsall's MMJB20 page
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4125 a1c6a512-1295-4272-9138-f99709370657
2003-12-11 08:22:27 +00:00
Hardeep Sidhu
00acdfa6ef Added viewer for currently playing playlist. Accessed from Menu->Playlist Options->View Current Playlist.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4124 a1c6a512-1295-4272-9138-f99709370657
2003-12-10 00:11:25 +00:00
Björn Stenberg
c882d45ebb Added submit instructions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4123 a1c6a512-1295-4272-9138-f99709370657
2003-12-09 23:50:15 +00:00
Björn Stenberg
fc246a63a5 Added patch list
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4122 a1c6a512-1295-4272-9138-f99709370657
2003-12-09 09:17:54 +00:00
Hardeep Sidhu
58bafee963 Don't write playlist shuffle settings immediately to disk. Instead, save them in global settings and only flush to disk when the playlist is modified \(e.g. insert,delete\). As part of the changes the resume index was changed from an int to a short to give an extra 2 bytes in RTC ram to be used for another playlist index.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4121 a1c6a512-1295-4272-9138-f99709370657
2003-12-09 08:18:03 +00:00
Hardeep Sidhu
166dc17437 In simulator thread, increment id3 offset along with elapsed time so that resume settings are periodically updated.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4120 a1c6a512-1295-4272-9138-f99709370657
2003-12-09 08:15:22 +00:00
Daniel Stenberg
b062547747 typecast the five functions that still make a simulator produce compiler
warnings


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4119 a1c6a512-1295-4272-9138-f99709370657
2003-12-09 06:48:55 +00:00
Daniel Stenberg
e15ac75ea0 easy-to-use function types for typecasting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4118 a1c6a512-1295-4272-9138-f99709370657
2003-12-09 06:48:10 +00:00
Daniel Stenberg
cf2c577d3d works with older glibc headers too now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4117 a1c6a512-1295-4272-9138-f99709370657
2003-12-08 22:29:40 +00:00
Daniel Stenberg
ae960a9ece my take at fixing the simulator warnings by adding mode_t, size_t, ssize_t
and off_t


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4116 a1c6a512-1295-4272-9138-f99709370657
2003-12-08 21:58:38 +00:00
Jörg Hohensohn
8b813d0b99 table-driven internal handling of file types, so we can have many of them
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4115 a1c6a512-1295-4272-9138-f99709370657
2003-12-07 16:57:43 +00:00
Jörg Hohensohn
7b7fc1e95f relaxed version checking, some people had problems with it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4114 a1c6a512-1295-4272-9138-f99709370657
2003-12-07 08:21:09 +00:00
Björn Stenberg
4b9a2672e6 Re-added analog clock
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4113 a1c6a512-1295-4272-9138-f99709370657
2003-12-06 23:22:29 +00:00
Björn Stenberg
12e237a3f1 Cleanup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4112 a1c6a512-1295-4272-9138-f99709370657
2003-12-06 23:22:05 +00:00