Linus Nielsen Feltzing
5248641b40
Some bug fixes in the recording code. The recorded frames weren't CRC protected as intended, and the first frame could be incomplete. Also reduced the I2C communication by shadowing the MAS registers.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4462 a1c6a512-1295-4272-9138-f99709370657
2004-04-01 14:07:56 +00:00
Jörg Hohensohn
9c52b24b00
patch #922836 by Jens: way faster disk writing, in assembler. The code is in, but yet disabled by #define PREFER_C_WRITING unless it's proven safe for all disks.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4460 a1c6a512-1295-4272-9138-f99709370657
2004-04-01 05:46:31 +00:00
Linus Nielsen Feltzing
2cc373eb99
The ID3 parser accidentally allowed a data length indicator flag on 2.3 tags, and the grouping identity bit is not the same on 2.3 and 2.4 (sigh).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4455 a1c6a512-1295-4272-9138-f99709370657
2004-03-30 13:57:06 +00:00
Linus Nielsen Feltzing
22c0a2d747
Fixed the prerecording as well
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4453 a1c6a512-1295-4272-9138-f99709370657
2004-03-30 08:28:24 +00:00
Linus Nielsen Feltzing
d554d801f5
Fixed the problem when high quality recordings could start with a corrupt frame
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4452 a1c6a512-1295-4272-9138-f99709370657
2004-03-30 08:21:53 +00:00
Linus Nielsen Feltzing
a9c645f887
Increased the USB thread stack. This fixed bug #762588 .
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4439 a1c6a512-1295-4272-9138-f99709370657
2004-03-25 14:08:58 +00:00
Linus Nielsen Feltzing
e701808b2e
The ID3V2 TCON frame is now parsed in a little more forgiving manner
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4437 a1c6a512-1295-4272-9138-f99709370657
2004-03-25 06:58:25 +00:00
Björn Stenberg
8918fd89cd
No need to turn on the backlight for remote button presses.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4432 a1c6a512-1295-4272-9138-f99709370657
2004-03-22 13:27:20 +00:00
Jörg Hohensohn
590e6af888
First try to get a better transition from a cancelled clip to a new one, by maintaining the frame sync. Doesn't seem to have much effect, though.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4425 a1c6a512-1295-4272-9138-f99709370657
2004-03-21 17:45:45 +00:00
Jörg Hohensohn
fa97f161ab
Third step of the voice-UI: numerical settings are spoken (composed at runtime), needs new voicefont at the new location ".rockbox/langs/english.voice"
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4414 a1c6a512-1295-4272-9138-f99709370657
2004-03-19 22:15:53 +00:00
Henrik Backe
7ceee9d04b
Include mem*.S in daily tar balls
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4411 a1c6a512-1295-4272-9138-f99709370657
2004-03-19 18:21:57 +00:00
Linus Nielsen Feltzing
8bda0e1097
A hip shot trying to make the Red LED Death situation a little better
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4409 a1c6a512-1295-4272-9138-f99709370657
2004-03-19 13:26:43 +00:00
Jörg Hohensohn
e64256d499
patch #919088 : 17% faster bitswap(), by Jens "SH" Arnold
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4407 a1c6a512-1295-4272-9138-f99709370657
2004-03-18 22:44:05 +00:00
Jörg Hohensohn
b61cf76aba
patch #917153 : faster memset()/memcpy()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4406 a1c6a512-1295-4272-9138-f99709370657
2004-03-18 22:06:36 +00:00
Linus Nielsen Feltzing
4b7c742fbe
Increased the maximum battery capacity
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4388 a1c6a512-1295-4272-9138-f99709370657
2004-03-16 07:33:12 +00:00
Jörg Hohensohn
38ac78ae97
killed an overlooked warning
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4382 a1c6a512-1295-4272-9138-f99709370657
2004-03-14 22:02:53 +00:00
Jörg Hohensohn
4f36ea8fbf
First step of the voice-UI: the menus can talk. You need a "voicefont" file in .rockbox to use this.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4381 a1c6a512-1295-4272-9138-f99709370657
2004-03-14 21:33:53 +00:00
Linus Nielsen Feltzing
a85a525893
Skipping unknown ID3V2 frames didn't work as expected with global unsynch. This fixes bug report #887332 .
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4379 a1c6a512-1295-4272-9138-f99709370657
2004-03-13 22:55:47 +00:00
Jörg Hohensohn
81e309dd1a
We had a few set_irq_level(15) left in the code, instead of the new set_irq_level(HIGHEST_IRQ_LEVEL). Only one was really used, in system_reboot(), creating a (unlikely) race condition.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4374 a1c6a512-1295-4272-9138-f99709370657
2004-03-13 16:45:18 +00:00
Jörg Hohensohn
4cee740afa
nice hint by Jens Arnold: using RAS Down Mode for the DRAM makes the box 10-15% faster
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4373 a1c6a512-1295-4272-9138-f99709370657
2004-03-13 11:44:48 +00:00
Jörg Hohensohn
fbea708b2e
Feature for recording: Delayed file open avoids disk spinup as long as the buffer lasts. So for short clips the internal mic can be used without disturbance.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4367 a1c6a512-1295-4272-9138-f99709370657
2004-03-11 19:27:26 +00:00
Jörg Hohensohn
75c25388d9
patch #910193 by Jens Arnold: smaller and faster descramble/RoLo
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4365 a1c6a512-1295-4272-9138-f99709370657
2004-03-11 17:07:08 +00:00
Linus Nielsen Feltzing
5c8e82e097
You can't open() a directory as a file (at least not for writing)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4359 a1c6a512-1295-4272-9138-f99709370657
2004-03-10 19:47:59 +00:00
Jörg Hohensohn
5fb1e1024f
- no second ata_hard_reset() call, saves ~2.5 seconds flash boot time (please test)
...
- Jens' new assembler code in copy_read_sectors(), but still disabled
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4358 a1c6a512-1295-4272-9138-f99709370657
2004-03-10 14:15:14 +00:00
Linus Nielsen Feltzing
3a6e2f497b
Reverted the STANDBY fix from 2004-02-15, rev 1.106
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4352 a1c6a512-1295-4272-9138-f99709370657
2004-03-09 08:52:14 +00:00
Jörg Hohensohn
239a91c28c
14% faster bitswap, thanks Jens
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4337 a1c6a512-1295-4272-9138-f99709370657
2004-03-03 07:18:26 +00:00
Jörg Hohensohn
860586d992
wasteful alignment fixed, thanks Jens
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4336 a1c6a512-1295-4272-9138-f99709370657
2004-03-03 07:13:43 +00:00
Linus Nielsen Feltzing
f858697a8d
Removed compiler warning
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4335 a1c6a512-1295-4272-9138-f99709370657
2004-03-02 19:37:25 +00:00
Linus Nielsen Feltzing
111a972b65
Made set_irq_level() an inline function, and optimized it by removing the bit shifts
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4330 a1c6a512-1295-4272-9138-f99709370657
2004-03-02 11:32:59 +00:00
Linus Nielsen Feltzing
aa5b23d616
Removed the interrupt disabling in lcd_write_data()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4329 a1c6a512-1295-4272-9138-f99709370657
2004-03-02 10:01:26 +00:00
Linus Nielsen Feltzing
68331ffb08
Now sets the highest possible PIO mode in set_features()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4328 a1c6a512-1295-4272-9138-f99709370657
2004-03-02 09:55:23 +00:00
Linus Nielsen Feltzing
f9c780ccc1
The cli()/sti() functions are not safe. We should have removed them long ago.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4314 a1c6a512-1295-4272-9138-f99709370657
2004-02-25 13:00:36 +00:00
Linus Nielsen Feltzing
97955a714b
fixed compiling errors
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4310 a1c6a512-1295-4272-9138-f99709370657
2004-02-17 01:31:50 +00:00
Linus Nielsen Feltzing
867415b3f8
set_features() is now called from ata_power_on()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4309 a1c6a512-1295-4272-9138-f99709370657
2004-02-17 01:30:25 +00:00
Linus Nielsen Feltzing
7bd92239ca
Silly me, I forgot to remove my debugging code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4308 a1c6a512-1295-4272-9138-f99709370657
2004-02-16 23:27:02 +00:00
Linus Nielsen Feltzing
c3b9720ab4
Bug 1: The STANDBY mode is now explicitly disabled, since it could be set to 30s at powerup. Bug 2: set_features() wasn't called in ata_power_on().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4307 a1c6a512-1295-4272-9138-f99709370657
2004-02-16 23:25:01 +00:00
Jörg Hohensohn
dee17f7102
Assembly code for copy_read_sectors() disabled: Tests with Trent showed that this is to blame for file system corruptions, even waitstates didn't fix it. No idea why, sorry...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4304 a1c6a512-1295-4272-9138-f99709370657
2004-02-15 08:44:02 +00:00
Linus Nielsen Feltzing
05f1fc4654
Empty file/dir names are now rejected by open() and mkdir()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4303 a1c6a512-1295-4272-9138-f99709370657
2004-02-11 14:37:16 +00:00
Jörg Hohensohn
b646d4f278
Assembly code for copy_read_sectors() reworked: I've spread the ATA reads apart by filling independent instructions inbetween, this is also slightly faster because of no pipeline stall. Hopefully this fixes the problem Kargatron had with it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4302 a1c6a512-1295-4272-9138-f99709370657
2004-02-09 08:24:25 +00:00
Linus Nielsen Feltzing
a258fe1887
Better charging feedback for FM/V2 devices
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4296 a1c6a512-1295-4272-9138-f99709370657
2004-02-05 13:44:04 +00:00
Jörg Hohensohn
3dc1063dcc
hope I killed that warning now
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4288 a1c6a512-1295-4272-9138-f99709370657
2004-01-30 23:55:02 +00:00
Jörg Hohensohn
73681ff4ef
inconsistent argument type for backlight_set_timeout() fixed
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4287 a1c6a512-1295-4272-9138-f99709370657
2004-01-30 23:27:44 +00:00
Jörg Hohensohn
95298a9558
mp3 playback "engine" now in plugin API, rocks can make sound
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4285 a1c6a512-1295-4272-9138-f99709370657
2004-01-30 22:30:40 +00:00
Jörg Hohensohn
7789f9804e
preparation for running directly from flash ROM
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4283 a1c6a512-1295-4272-9138-f99709370657
2004-01-28 20:43:31 +00:00
Jörg Hohensohn
bf4460e477
no code change, I just forgot to take my template disassembly out (a big comment block)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4282 a1c6a512-1295-4272-9138-f99709370657
2004-01-27 09:38:59 +00:00
Jörg Hohensohn
cb570b9263
Assembler optimized copy_read_sectors() gives another speedup of factor 1.4 for aligned and 1.2 for misaligned. Including my previous change the file reading is now nearly twice as fast compared to when I started this. -> Less disk uptime, longer battery life.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4281 a1c6a512-1295-4272-9138-f99709370657
2004-01-27 09:12:51 +00:00
Jörg Hohensohn
c546b70e18
Really squeezed lcd_write_data() with tricky assembler optimization. Now it does 114 fps when playing video from memory (way more than the ~75 fps needed, I need to slow down the video player), leaving headroom for audio.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4278 a1c6a512-1295-4272-9138-f99709370657
2004-01-26 22:26:54 +00:00
Linus Nielsen Feltzing
da115da486
Oops. Wrong arguments to memset(). Thanks to Mike Wilson for pointing that out.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4274 a1c6a512-1295-4272-9138-f99709370657
2004-01-26 10:14:46 +00:00
Linus Nielsen Feltzing
ef7293f0bc
New feature: NOw you can store the recorded files in either /recordings (the directory will be created automatically) or in the current directory.
...
New feature: A "Create directory" menu option (untested in the simulator).
Bug fix: The ON+Play menu could do nasty things if you pressed ON+Play in an empty dir.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4268 a1c6a512-1295-4272-9138-f99709370657
2004-01-21 14:58:40 +00:00
Linus Nielsen Feltzing
26f42605c2
Reverted to the old ADC driver, since it appeared to cause fake OFF keypresses (weird indeed, since the OFF key doesn't use the ADC on the plain Recorder). However, I did fix the batch convert, since it caused fake keypresses at boot time.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4260 a1c6a512-1295-4272-9138-f99709370657
2004-01-20 11:57:50 +00:00
Jörg Hohensohn
862d2b5e3a
warning + obsolete variable removed
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4248 a1c6a512-1295-4272-9138-f99709370657
2004-01-16 09:28:39 +00:00
Jörg Hohensohn
88faf38ef7
Optimized the sector read loop as much as C allows. I measured an overall speed improvement for file reading of 12.5% for 16-bit aligned and 35% for misaligned. I took the rest of ata_read_sectors() out of IRAM, it's sufficient if only the copy loop stays there.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4247 a1c6a512-1295-4272-9138-f99709370657
2004-01-16 09:02:21 +00:00
Linus Nielsen Feltzing
7c75386a83
Ooops. Forgot to clear the newly allocated cluster in mkdir()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4242 a1c6a512-1295-4272-9138-f99709370657
2004-01-15 19:05:49 +00:00
Linus Nielsen Feltzing
54353e04b1
Second bug in mkdir() :-)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4241 a1c6a512-1295-4272-9138-f99709370657
2004-01-15 15:56:19 +00:00
Daniel Stenberg
d815ad6035
Added mpeg_next_track(), which returns a pointer to the id3 struct of the
...
upcoming song (if available).
Now we just need a WPS patch to make it possibly to display info based on
this!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4240 a1c6a512-1295-4272-9138-f99709370657
2004-01-15 15:32:49 +00:00
Linus Nielsen Feltzing
ce1c93d628
First mkdir() bug killed :-)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4239 a1c6a512-1295-4272-9138-f99709370657
2004-01-15 14:34:54 +00:00
Linus Nielsen Feltzing
60b1c4bbe1
Implemented the mkdir() function in the FAT32 driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4238 a1c6a512-1295-4272-9138-f99709370657
2004-01-15 14:30:59 +00:00
Björn Stenberg
a53afc0330
Added acoustic management, power management and read look-ahead.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4230 a1c6a512-1295-4272-9138-f99709370657
2004-01-14 13:15:19 +00:00
Daniel Stenberg
50b6358272
Craig Sather's patch #849405 :
...
This patch fixes two bugs associated with lcd_puts and scrolling on the
recorder.
1 - Unlike the implementation in the player code, on the recorder a call to
lcd_puts does not stop the scrolling text from a previous lcd_puts_scroll
call, so the new line gets overwritten by the old scrolling text. More
discussion and details can be found at:
http://rockbox.haxx.se/mail/archive/rockbox-archive-2003-11/0531.shtml
2 - When the function lcd_puts_scroll_style is called with an x offset greater
than 0, the scrolling text is placed at an offset of 2x instead of x.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4226 a1c6a512-1295-4272-9138-f99709370657
2004-01-13 14:59:51 +00:00
Linus Nielsen Feltzing
1936c413a8
Slightly improved VBR fixer, now uses the same template header throughout the entire file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4225 a1c6a512-1295-4272-9138-f99709370657
2004-01-13 14:06:18 +00:00
Linus Nielsen Feltzing
bc9f60deb7
mpeg_stop() now clears the paused flag in the simulator
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4224 a1c6a512-1295-4272-9138-f99709370657
2004-01-13 12:40:52 +00:00
Linus Nielsen Feltzing
1cd5b02b15
Increased the mp3 buffer for the simulator, to avoid crash when running the Xing header generator
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4223 a1c6a512-1295-4272-9138-f99709370657
2004-01-13 12:35:08 +00:00
Linus Nielsen Feltzing
5bd3297fd4
Faster, simplified A/D driver. The previous batch convert in init_adc() produced garbage because of the fast conversion time, causing fake keypresses that made ask_resume() return prematurely. This should fix the intermittent resume problem reported by many users.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4222 a1c6a512-1295-4272-9138-f99709370657
2004-01-13 11:36:23 +00:00
Jörg Hohensohn
ec5d44627f
next round of playback function split: everything in place, working and used; except for the playtime
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4218 a1c6a512-1295-4272-9138-f99709370657
2004-01-10 15:39:56 +00:00
Björn Stenberg
165b9e8f7c
Removed malloc
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4216 a1c6a512-1295-4272-9138-f99709370657
2004-01-09 08:32:41 +00:00
Linus Nielsen Feltzing
2f4a5616c0
The Unicode parser now handles unterminated strings, plus it tries to guess the byte order when the BOM is missing (a violation of the spec, btw)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4215 a1c6a512-1295-4272-9138-f99709370657
2004-01-09 00:47:26 +00:00
Daniel Stenberg
8463a2bbd3
ancient experimental test code not used for 2+ years, removed
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4212 a1c6a512-1295-4272-9138-f99709370657
2004-01-08 15:46:17 +00:00
Daniel Stenberg
5c7d66890c
prehistoric stuff never used
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4211 a1c6a512-1295-4272-9138-f99709370657
2004-01-08 15:44:36 +00:00
Daniel Stenberg
e11a1e29df
malloc is not used in Rockbox
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4210 a1c6a512-1295-4272-9138-f99709370657
2004-01-08 15:43:37 +00:00
Daniel Stenberg
21fba08fc3
not used
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4209 a1c6a512-1295-4272-9138-f99709370657
2004-01-08 15:42:18 +00:00
Linus Nielsen Feltzing
cd8847b883
Fixed the newly introduced hang when leaving the recording screen
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4202 a1c6a512-1295-4272-9138-f99709370657
2004-01-08 11:18:01 +00:00
Daniel Stenberg
fe706d2754
add newline at end of file as older gcc compilers warn about this
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4200 a1c6a512-1295-4272-9138-f99709370657
2004-01-08 09:53:53 +00:00
Jörg Hohensohn
e412a98203
typo: one create_thread() too many, caused crash
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4196 a1c6a512-1295-4272-9138-f99709370657
2004-01-06 08:15:18 +00:00
Jörg Hohensohn
daaec5df2f
still trying to fix the sim (blindfolded)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4195 a1c6a512-1295-4272-9138-f99709370657
2004-01-05 23:42:56 +00:00
Jörg Hohensohn
881b53ff3f
fixes the red builds, I hope
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4193 a1c6a512-1295-4272-9138-f99709370657
2004-01-05 22:46:54 +00:00
Jörg Hohensohn
f993365447
Moved the low-level playback functionality into a new, separate module "mp3_playback". This e.g. allows to export a memory playback API to the plugins, opens the door to games with sound, UI sounds, etc.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4192 a1c6a512-1295-4272-9138-f99709370657
2004-01-05 20:42:51 +00:00
Linus Nielsen Feltzing
187b8ed9df
Got rid of the reset parameter to xxx_unsynched()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4189 a1c6a512-1295-4272-9138-f99709370657
2004-01-04 00:45:16 +00:00
Linus Nielsen Feltzing
219d52a86f
ID3v2.3 treats the global unsynch flag in a silly way, so we have to unsynch the whole tag before we can parse the individual frames.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4188 a1c6a512-1295-4272-9138-f99709370657
2004-01-04 00:37:30 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Linus Nielsen Feltzing
caff78802b
Fix for the occasional problem on FMR devices, when the device can't be turned off
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4105 a1c6a512-1295-4272-9138-f99709370657
2003-12-04 11:26:10 +00:00
Jörg Hohensohn
816234f431
oops, a typo made the player build fail
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4097 a1c6a512-1295-4272-9138-f99709370657
2003-12-03 18:50:19 +00:00
Jörg Hohensohn
eb28d43cd7
for FM and V2: removed the now false voltage reading from charging screen.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4096 a1c6a512-1295-4272-9138-f99709370657
2003-12-03 07:05:13 +00:00
Jörg Hohensohn
44298163ba
No more spinning disk while charging flashed FM+V2 (you need the new bootloader to utilize it). ToDo: remove now false voltage reading from charging screen.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4095 a1c6a512-1295-4272-9138-f99709370657
2003-12-03 01:03:54 +00:00
Daniel Stenberg
80e4e0741e
Use the new defines to know what kind of USB detection to use.
...
NOTE: that this now makes the v2 use the correct method (the same as the
FM does)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4074 a1c6a512-1295-4272-9138-f99709370657
2003-11-27 21:27:37 +00:00
Daniel Stenberg
23e056e41b
new usb-style defines
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4073 a1c6a512-1295-4272-9138-f99709370657
2003-11-27 21:24:02 +00:00
Daniel Stenberg
50eb373fba
Use a proper config file for the v2, although it looks like the FM one now.
...
Possibly it should have radio off defined somehow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4072 a1c6a512-1295-4272-9138-f99709370657
2003-11-27 21:23:48 +00:00
Björn Stenberg
53989844b4
Bug fix: Idle timeout would stop paused playback when charger was connected
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4066 a1c6a512-1295-4272-9138-f99709370657
2003-11-25 12:00:25 +00:00
Linus Nielsen Feltzing
aaa99e70ba
Recording in FM screen, USB mode possible in FM and recording screen
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4046 a1c6a512-1295-4272-9138-f99709370657
2003-11-20 00:33:43 +00:00
Björn Stenberg
577e571958
Removed startup_io test code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4045 a1c6a512-1295-4272-9138-f99709370657
2003-11-20 00:01:13 +00:00
Björn Stenberg
f6b6db4167
Don't show battery meter until a proper power reading has been done
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4042 a1c6a512-1295-4272-9138-f99709370657
2003-11-19 14:14:41 +00:00
Daniel Stenberg
e4adcee6cb
like an FM recorder
...
gee, I should have more coffee before I commit in the mornings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4040 a1c6a512-1295-4272-9138-f99709370657
2003-11-19 07:15:02 +00:00
Daniel Stenberg
d81ee8c468
For now, load the fm recorder config for v2 recorders too. It seems some of
...
the v2 units even has an fm unit!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4037 a1c6a512-1295-4272-9138-f99709370657
2003-11-19 06:41:43 +00:00
Jörg Hohensohn
d9d63560fe
a side effect in usb_enable() (writing back a "1" while reading a pulled-up input) masked a bug in power_init(), it would have turned off the disk with flash start. Became appearing while converting port access to and_b(), which touches only one byte.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4027 a1c6a512-1295-4272-9138-f99709370657
2003-11-07 21:09:01 +00:00
Jörg Hohensohn
7ec1c45d79
set/clear port bits with atomic instructions instead of read-modify-write, saves time+space, allows port usage in ISR
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4026 a1c6a512-1295-4272-9138-f99709370657
2003-11-07 21:03:41 +00:00
Linus Nielsen Feltzing
bef7ab0c26
The code police strikes back
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4024 a1c6a512-1295-4272-9138-f99709370657
2003-11-07 12:15:24 +00:00
Jörg Hohensohn
0dd7d48c3a
set/clear port bits with atomic instructions instead of read-modify-write, saves time+space, allows port usage in ISR
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4023 a1c6a512-1295-4272-9138-f99709370657
2003-11-06 07:08:22 +00:00
Jörg Hohensohn
75bab49a54
set/clear port bits with atomic instructions instead of read-modify-write, saves time+space, allows port usage in ISR
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4022 a1c6a512-1295-4272-9138-f99709370657
2003-11-06 01:34:50 +00:00
Linus Nielsen Feltzing
c22b411731
Patch #798050 by Leslie Donaldson, activates Line In on Player models
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4008 a1c6a512-1295-4272-9138-f99709370657
2003-11-03 23:36:36 +00:00
Linus Nielsen Feltzing
51d962f99b
Another fix for bug #835158 , now handles multiple splits
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4007 a1c6a512-1295-4272-9138-f99709370657
2003-11-03 21:05:46 +00:00
Linus Nielsen Feltzing
532eb411ac
Now handles empty recordings without crashing. This fixes bug #835158 .
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4006 a1c6a512-1295-4272-9138-f99709370657
2003-11-03 20:06:21 +00:00
Linus Nielsen Feltzing
d9e8bfee75
Patch #791531 by Barry McIntosh, fake time stamps for file creation/updates on Players
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4005 a1c6a512-1295-4272-9138-f99709370657
2003-11-03 00:59:04 +00:00
Linus Nielsen Feltzing
e396c77749
Killed a warning
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3999 a1c6a512-1295-4272-9138-f99709370657
2003-11-02 12:03:30 +00:00
Linus Nielsen Feltzing
24a8b6ad09
Frame-accurate file splits when recording. Now the PLAY button closes the current file and opens a new one.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3998 a1c6a512-1295-4272-9138-f99709370657
2003-11-02 11:24:38 +00:00
Linus Nielsen Feltzing
bfe9c5b608
Killed a warning (and a bug I introduced in the last commit)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3994 a1c6a512-1295-4272-9138-f99709370657
2003-10-28 22:23:33 +00:00
Linus Nielsen Feltzing
266f411ff3
Explicit setup of the bus controller wait states. This is supposed to fix the issue when the flashed recorder hangs when recording.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3991 a1c6a512-1295-4272-9138-f99709370657
2003-10-27 10:30:12 +00:00
Magnus Holmgren
f11d07c61f
Correct genre parsing by making code match comment (and specification) :)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3987 a1c6a512-1295-4272-9138-f99709370657
2003-10-26 12:53:21 +00:00
Linus Nielsen Feltzing
b47fa98b91
Better error reporting
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3986 a1c6a512-1295-4272-9138-f99709370657
2003-10-26 11:16:15 +00:00
Linus Nielsen Feltzing
eee3720ebe
Genre parsing in id3v2.3 was still wrong. Also, the last frame in the tag could sometimes be ignored. This fixes the strange 1-digit track number bug.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3984 a1c6a512-1295-4272-9138-f99709370657
2003-10-22 21:11:38 +00:00
Linus Nielsen Feltzing
5557fe3259
Added unsynchronization
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3983 a1c6a512-1295-4272-9138-f99709370657
2003-10-22 13:06:31 +00:00
Jörg Hohensohn
9ace15871d
cosmetic: moved my port inits to the "new" init function
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3982 a1c6a512-1295-4272-9138-f99709370657
2003-10-21 21:03:42 +00:00
Linus Nielsen Feltzing
d9ae29a691
An attempt to fix the ID3V2 genre tag parsing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3981 a1c6a512-1295-4272-9138-f99709370657
2003-10-21 10:44:34 +00:00
Linus Nielsen Feltzing
0bce9580a1
Added tag resolvers for TYE, TAL and TRK
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3980 a1c6a512-1295-4272-9138-f99709370657
2003-10-20 10:22:41 +00:00
Björn Stenberg
972f431ef4
Resume rounding error fixes (patch #783078 by Harold Toler)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3978 a1c6a512-1295-4272-9138-f99709370657
2003-10-17 15:11:09 +00:00
Björn Stenberg
67a8bdce7c
Fixed ff/rew rounding error (patch #783525 by Harold Toler)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3977 a1c6a512-1295-4272-9138-f99709370657
2003-10-17 15:03:23 +00:00
Björn Stenberg
b1c429e6fb
Car Ignition Auto Stop (patch #736339 by Craig Sather)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3976 a1c6a512-1295-4272-9138-f99709370657
2003-10-17 14:49:00 +00:00
Björn Stenberg
3953211531
Fixes sleep timer when connected to charger (patch #769591 by Henrik Backe)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3975 a1c6a512-1295-4272-9138-f99709370657
2003-10-17 14:05:32 +00:00
Linus Nielsen Feltzing
2ec8e7d72b
The 'rec upd' panic now prints the filename as well
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3973 a1c6a512-1295-4272-9138-f99709370657
2003-10-15 09:33:29 +00:00
Linus Nielsen Feltzing
65a17b848a
More linker safe MP3 buffer handling in the simulator
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3972 a1c6a512-1295-4272-9138-f99709370657
2003-10-14 10:18:22 +00:00
Jörg Hohensohn
cbbbcd1800
patch #785885 by Magnus Holmgren: way faster rolo, with assembler
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3971 a1c6a512-1295-4272-9138-f99709370657
2003-10-12 16:40:45 +00:00
Jörg Hohensohn
1f30fa7db0
patch #801964 by Magnus Holmgren: 10% faster bitswap
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3970 a1c6a512-1295-4272-9138-f99709370657
2003-10-12 15:45:03 +00:00
Jörg Hohensohn
b3d96833d0
fixed rolo-ing of original Archos firmware when flashed. Finally narrowed it down, PAIOR needs to be initialized.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3969 a1c6a512-1295-4272-9138-f99709370657
2003-10-11 21:35:46 +00:00
Björn Stenberg
fa7653cde0
Removed the battery level rise limiter. This provides more accurate values the minutes after booting.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3962 a1c6a512-1295-4272-9138-f99709370657
2003-09-22 13:26:24 +00:00
Björn Stenberg
fad8f2c8c8
Removed reboot when DC connected. It serves no purpose and is confusing to users.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3956 a1c6a512-1295-4272-9138-f99709370657
2003-09-19 23:20:09 +00:00
Jörg Hohensohn
118d45eb92
ATA io_address_detect() now doesn't probe any more, but uses the h/w mask. Probing failed for some flash users. I hope this works for everybody, we have to try to find out.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3946 a1c6a512-1295-4272-9138-f99709370657
2003-09-01 05:48:42 +00:00
Hardeep Sidhu
4160b75456
Pass actual time instead of offset to mpeg_ff_rewind. Fixes ff/rew to wrong time when mpeg thread is busy loading data.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3943 a1c6a512-1295-4272-9138-f99709370657
2003-08-29 04:36:35 +00:00
Linus Nielsen Feltzing
53ee344743
Slightly more correct initialization of the power/charging code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3940 a1c6a512-1295-4272-9138-f99709370657
2003-08-25 08:57:49 +00:00
Uwe Freese
056439e59d
Measured voltages for LiIon. I found rockbox-liion.gif
...
somewhere, didn't know where anymore. Thanks to the one who measured the values.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3936 a1c6a512-1295-4272-9138-f99709370657
2003-08-21 08:49:57 +00:00
Hardeep Sidhu
18261c94ca
Reset playing variables when usb connected
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3935 a1c6a512-1295-4272-9138-f99709370657
2003-08-20 02:11:00 +00:00
Mats Lidell
37982493c2
Smarter jumpscroll.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3931 a1c6a512-1295-4272-9138-f99709370657
2003-08-18 05:27:13 +00:00
Jörg Hohensohn
e9b12dd9eb
The other end of my diagnostic code: Rolo now tries to load the file "/startup_io.bin" and restores the I/O space from there, if present. Use a file created from not-flashed for testing.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3917 a1c6a512-1295-4272-9138-f99709370657
2003-08-04 18:41:13 +00:00
Daniel Stenberg
acbd9bd0c8
TP Diffenbach pointed out the risk here. Added a check for bad input values
...
here, and I also made the argument named 'index' and made it unsigned to
better match what it actually is used for.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3899 a1c6a512-1295-4272-9138-f99709370657
2003-07-28 09:08:49 +00:00
Linus Nielsen Feltzing
4bb3f80f27
Setting the lowest mic gain no longer turns off the mic (bug #774349 )
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3865 a1c6a512-1295-4272-9138-f99709370657
2003-07-22 18:34:23 +00:00
Mats Lidell
bd49e5f83b
ide_power_enable for simulator added.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3851 a1c6a512-1295-4272-9138-f99709370657
2003-07-20 00:08:47 +00:00
Mats Lidell
177b8cbd47
usb_detect for simulator added.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3850 a1c6a512-1295-4272-9138-f99709370657
2003-07-20 00:08:09 +00:00
Linus Nielsen Feltzing
68125796b8
Another go at the disk-full FAT driver fix. Now it skips the reserved sectors at all times.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3847 a1c6a512-1295-4272-9138-f99709370657
2003-07-19 00:34:22 +00:00
Jörg Hohensohn
f4b677eb3c
report sleeping disk while not initialized, needed for changing before ata_init()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3844 a1c6a512-1295-4272-9138-f99709370657
2003-07-18 21:55:06 +00:00
Jörg Hohensohn
bfaf757db7
Magnus Holmgren: Just realized one thing: doing AN0-3 last is slightly better, as AN0
...
will then remain valid for the first execution of the tick task function.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3842 a1c6a512-1295-4272-9138-f99709370657
2003-07-17 20:40:16 +00:00
Jörg Hohensohn
782e2370e8
when rebooting, de-init such that the coldstart detection would kick in again (fixes Rombox ATA problems when shutting off with charger)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3840 a1c6a512-1295-4272-9138-f99709370657
2003-07-17 20:19:01 +00:00
Jörg Hohensohn
61750ac07d
one more missing init, prevented powering down the disk
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3839 a1c6a512-1295-4272-9138-f99709370657
2003-07-17 20:15:57 +00:00
Linus Nielsen Feltzing
a2134422d4
Removed a compiler warning
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3837 a1c6a512-1295-4272-9138-f99709370657
2003-07-16 22:39:15 +00:00
Linus Nielsen Feltzing
41249b7059
Fixed a bug that included the reserved clusters 0 and 1 in the search for available clusters. That could in some cases lead to a bogus disk-full error.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3836 a1c6a512-1295-4272-9138-f99709370657
2003-07-16 22:28:24 +00:00
Jörg Hohensohn
d8a4bf3ec6
Patch 772577 by Magnus Holmgren: measure all ADC channels within adc_init(), so afterwards adc_read() can be used right away.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3834 a1c6a512-1295-4272-9138-f99709370657
2003-07-16 21:07:53 +00:00
Björn Stenberg
9cb5e0e9f9
Initalize last_disk_activity
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3830 a1c6a512-1295-4272-9138-f99709370657
2003-07-11 19:11:06 +00:00
Linus Nielsen Feltzing
f6811b008e
A more complete serial port setup
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3829 a1c6a512-1295-4272-9138-f99709370657
2003-07-11 07:30:59 +00:00
Björn Stenberg
c695f26c9f
Fixed spindown bug: last_disk_activity was set 10 seconds into the future, which resulted in too long spindown delays.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3826 a1c6a512-1295-4272-9138-f99709370657
2003-07-10 13:32:15 +00:00
Björn Stenberg
4b392cd105
Added dependency to the tools dir, so it's automatically built with the rest. Updated build docs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3825 a1c6a512-1295-4272-9138-f99709370657
2003-07-10 11:52:42 +00:00
Björn Stenberg
067262dbf0
Moved lcd default contrast knowledge from settings.c to lcd driver. Now lcd_init sets default contrast until settings are read.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3824 a1c6a512-1295-4272-9138-f99709370657
2003-07-09 23:07:49 +00:00
Björn Stenberg
9f372f1f59
Cold start fixes: master_slave_select() now checks for BSY as well as RDY (since disks are BSY during powerup). Also, wait_for_bsy() looks at ATA_STATUS instead of ATA_ALT_STATUS, since the address of ATA_ALT_STATUS is not determined until later.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3822 a1c6a512-1295-4272-9138-f99709370657
2003-07-09 22:04:31 +00:00
Björn Stenberg
efd2f356c7
Removed warnings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3821 a1c6a512-1295-4272-9138-f99709370657
2003-07-09 16:46:46 +00:00
Jörg Hohensohn
bbfaf26e11
again different coldstart, ata_init() now has non-ambiguous return codes for better diagnostics
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3820 a1c6a512-1295-4272-9138-f99709370657
2003-07-09 07:18:47 +00:00
Jörg Hohensohn
adef8fb17e
better place and method for the spinup wait code, still I'd welcome comments on this
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3815 a1c6a512-1295-4272-9138-f99709370657
2003-07-08 06:33:30 +00:00
Björn Stenberg
92b1d85b48
Fix for incorrect genre default value, by Benjamin Metzler
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3810 a1c6a512-1295-4272-9138-f99709370657
2003-07-04 08:23:39 +00:00
Jörg Hohensohn
d4735224bb
I needed a function to return the physical USB detect
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3807 a1c6a512-1295-4272-9138-f99709370657
2003-07-03 22:11:14 +00:00
Jörg Hohensohn
d1a3a3e148
When starting from flash, we have to wait for the disk to get ready. (Quite a new situation ;-)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3803 a1c6a512-1295-4272-9138-f99709370657
2003-07-03 00:02:15 +00:00
Björn Stenberg
1a658f0c4e
Only recorders use PA11 for /PR. Players use it for the STOP button...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3801 a1c6a512-1295-4272-9138-f99709370657
2003-07-02 19:44:15 +00:00
Hardeep Sidhu
9e4262081b
Added dynamic playlists. ON+PLAY->Playlist on a track, directory, or playlist from file browser to see available options.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3796 a1c6a512-1295-4272-9138-f99709370657
2003-07-01 21:05:43 +00:00
Jörg Hohensohn
3a36a57005
Another port init fixes the silent play problem, Rockbox is now ready for FLASH!
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3793 a1c6a512-1295-4272-9138-f99709370657
2003-07-01 07:03:27 +00:00
Linus Nielsen Feltzing
82e44bb53c
The mono recording fix was braindead.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3791 a1c6a512-1295-4272-9138-f99709370657
2003-07-01 01:19:56 +00:00
Jörg Hohensohn
5604b97502
missing port init prevented recording with Rockbox from flash
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3790 a1c6a512-1295-4272-9138-f99709370657
2003-06-30 21:04:28 +00:00
Linus Nielsen Feltzing
9c6abb19ae
Mono recording with Line In now mixes the left and right channel. Fixes bug #753084 .
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3786 a1c6a512-1295-4272-9138-f99709370657
2003-06-30 01:49:55 +00:00
Kjell Ericson
6185fa251b
* Added the plugin icon for the old lcd.
...
* Updated comments.
* Defined the substitute character to be ")".
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3775 a1c6a512-1295-4272-9138-f99709370657
2003-06-29 20:08:38 +00:00
Björn Stenberg
ba371fb595
Added plugin loader. Moved games, demos and the text viewer to loadable plugins. Copy your *.rock files to /.rockbox/rocks/
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3769 a1c6a512-1295-4272-9138-f99709370657
2003-06-29 16:33:04 +00:00
Björn Stenberg
9bcbe3fd72
Added restart option to system exception screen (press ON)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3768 a1c6a512-1295-4272-9138-f99709370657
2003-06-29 15:09:01 +00:00
Björn Stenberg
0dcc4a6fb9
Added multiple inclusion protection
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3767 a1c6a512-1295-4272-9138-f99709370657
2003-06-29 14:57:44 +00:00
Björn Stenberg
a4baacd3ec
Renamed flush() to fsync() to be more in line with POSIX/unix
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3766 a1c6a512-1295-4272-9138-f99709370657
2003-06-29 13:17:19 +00:00
Jörg Hohensohn
545efb6c28
port inits for cold start ability
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3764 a1c6a512-1295-4272-9138-f99709370657
2003-06-26 21:29:13 +00:00
Jörg Hohensohn
d3fba4644d
init the LCD, needed for cold start (from flash)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3762 a1c6a512-1295-4272-9138-f99709370657
2003-06-26 06:49:34 +00:00
Linus Nielsen Feltzing
9fb2d34447
Default contrast is now autodetected on recorders
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3761 a1c6a512-1295-4272-9138-f99709370657
2003-06-25 23:24:47 +00:00
Hardeep Sidhu
df34e6b71a
In flush_reload, don't reset swapwrite if we're still swapping current track. Fixes a silent play bug.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3760 a1c6a512-1295-4272-9138-f99709370657
2003-06-25 15:17:04 +00:00
Linus Nielsen Feltzing
c6db7870ef
Slightly better handling of disk-full situations
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3756 a1c6a512-1295-4272-9138-f99709370657
2003-06-19 12:08:22 +00:00
Linus Nielsen Feltzing
474c4b5427
Now handles a full disk a little better, and it doesn't trust the fsinfo anymore
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3755 a1c6a512-1295-4272-9138-f99709370657
2003-06-19 12:03:36 +00:00
Björn Stenberg
2bcb3dfccc
Report max 99% battery level during charging
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3738 a1c6a512-1295-4272-9138-f99709370657
2003-06-09 21:02:13 +00:00