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
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
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
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
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
Kjell Ericson
ffefc5d5e1
A bit faster update of Player simulator.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3730 a1c6a512-1295-4272-9138-f99709370657
2003-06-05 08:29:21 +00:00
Hardeep Sidhu
fc9b28d0a9
Small seek optimization -- begin seek at last read cluster if possible
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3720 a1c6a512-1295-4272-9138-f99709370657
2003-06-03 18:04:22 +00:00
Björn Stenberg
04dbdfe170
Since remote uses special button codes, there is no need to simulate release events.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3702 a1c6a512-1295-4272-9138-f99709370657
2003-05-27 18:37:22 +00:00
Kjell Ericson
6143eeb22b
Added "jump scroll delay" (for player).
...
Added that you can set how many times the jump scroll shall occur (max 5 times)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3697 a1c6a512-1295-4272-9138-f99709370657
2003-05-27 12:54:11 +00:00
Kjell Ericson
53f156a6fc
New feature for player: Jump scroll!
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3693 a1c6a512-1295-4272-9138-f99709370657
2003-05-22 06:42:14 +00:00
Linus Nielsen Feltzing
159d04d3f9
Experiment: enable ATA STANDBY when switching to USB mode
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3668 a1c6a512-1295-4272-9138-f99709370657
2003-05-10 01:55:23 +00:00
Linus Nielsen Feltzing
23b0fdaca1
Idle poweroff fix for FM radio, as suggested by Mike Holden
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3645 a1c6a512-1295-4272-9138-f99709370657
2003-05-03 15:39:40 +00:00
Linus Nielsen Feltzing
331c7d9255
Finally, FM radio support on the FM Recorder
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3640 a1c6a512-1295-4272-9138-f99709370657
2003-05-03 02:40:09 +00:00
Björn Stenberg
674b632df8
Corrected wrong write return code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3623 a1c6a512-1295-4272-9138-f99709370657
2003-04-28 12:02:14 +00:00
Linus Nielsen Feltzing
cc6183e73c
More detailed error codes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3605 a1c6a512-1295-4272-9138-f99709370657
2003-04-24 18:33:32 +00:00
Björn Stenberg
28cce684a3
Changed remote control button events to separate codes. Now the remote control works while keys are locked.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3586 a1c6a512-1295-4272-9138-f99709370657
2003-04-23 09:21:37 +00:00
Linus Nielsen Feltzing
e43b78ac46
Magnus Öman's long awaited inverted cursor patch
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3565 a1c6a512-1295-4272-9138-f99709370657
2003-04-16 00:12:31 +00:00
Linus Nielsen Feltzing
b5401749cb
ata_write_sectors() didn't handle odd buffer addresses
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3544 a1c6a512-1295-4272-9138-f99709370657
2003-04-12 23:02:58 +00:00
Björn Stenberg
a9302fd1e8
Corrected win1251 -> iso 8859-5 conversion (Alex)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3532 a1c6a512-1295-4272-9138-f99709370657
2003-04-11 08:39:12 +00:00
Björn Stenberg
cf92db153f
Don't enter cpu sleep during disk operations
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3530 a1c6a512-1295-4272-9138-f99709370657
2003-04-11 07:43:04 +00:00
Linus Nielsen Feltzing
4502e982af
The newest ATA driver fixes broke the ata_spinup_time information
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3515 a1c6a512-1295-4272-9138-f99709370657
2003-04-05 22:25:21 +00:00
Björn Stenberg
fd9ce90a4c
Better led control. Added status read delay. Fixed potential last_disk_activity race.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3501 a1c6a512-1295-4272-9138-f99709370657
2003-03-31 14:14:07 +00:00
Björn Stenberg
aa78324fde
Another attempt to stop the red led dead.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3498 a1c6a512-1295-4272-9138-f99709370657
2003-03-24 16:19:54 +00:00
Björn Stenberg
7682d46713
Don't spin down disk while retrying
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3457 a1c6a512-1295-4272-9138-f99709370657
2003-03-17 13:42:30 +00:00
Björn Stenberg
bb6e51aa0d
Moved read code around a bit to more strictly obey the ATA specification.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3444 a1c6a512-1295-4272-9138-f99709370657
2003-03-14 16:06:09 +00:00
Björn Stenberg
b12401b4d4
Initialize return code at start of loop, not at the end.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3440 a1c6a512-1295-4272-9138-f99709370657
2003-03-13 15:45:38 +00:00
Linus Nielsen Feltzing
16d1a68b33
update_fat_entry() set the wrong cache line dirty if bpb_resvdseccnt wasn't divisible by 32 (didn't compensate for the reserved sector count)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3379 a1c6a512-1295-4272-9138-f99709370657
2003-03-04 13:50:23 +00:00
Björn Stenberg
b1079200d3
New option: Invert display. Patch by Mark Hillebrand.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3355 a1c6a512-1295-4272-9138-f99709370657
2003-02-27 14:22:30 +00:00
Björn Stenberg
6a58106e97
An attempt to get rid of the "red freeze" problem: Perform a soft reset on read error.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3351 a1c6a512-1295-4272-9138-f99709370657
2003-02-27 13:26:09 +00:00
Linus Nielsen Feltzing
96f519999d
Enhanced error codes for better error tracking
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3341 a1c6a512-1295-4272-9138-f99709370657
2003-02-26 03:02:49 +00:00
Linus Nielsen Feltzing
561a06ed75
Faster shutoff with OFF key on FM Recorder
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3331 a1c6a512-1295-4272-9138-f99709370657
2003-02-25 03:03:55 +00:00
Björn Stenberg
df194b0fc7
Code Police is never wrong. Ugh!
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3325 a1c6a512-1295-4272-9138-f99709370657
2003-02-23 19:02:31 +00:00
Linus Nielsen Feltzing
70e3331fa1
Fixed bug #688807 , now the Idle poweroff works on FM recorder. Also disabled ATA-poweroff.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3312 a1c6a512-1295-4272-9138-f99709370657
2003-02-21 01:12:00 +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
Uwe Freese
cc9b62f6b2
Mike Holden's patch that corrects the FM charger plugged symbol
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3251 a1c6a512-1295-4272-9138-f99709370657
2003-02-13 21:45:19 +00:00
Daniel Stenberg
cb2de174c1
more moves
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3221 a1c6a512-1295-4272-9138-f99709370657
2003-02-07 10:13:23 +00:00
Daniel Stenberg
e597ca4732
Move publicly (from apps) accessed files from drivers/ to export/.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3219 a1c6a512-1295-4272-9138-f99709370657
2003-02-07 10:08:02 +00:00
Daniel Stenberg
f9b4490066
Include File Cleanup And Move-Around Party 2003.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3213 a1c6a512-1295-4272-9138-f99709370657
2003-02-07 09:41:57 +00:00
Daniel Stenberg
7b9edd6090
bring back the functionality with the conditional update on remove cursor
...
in the sim
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3192 a1c6a512-1295-4272-9138-f99709370657
2003-01-29 17:34:28 +00:00
Daniel Stenberg
0c4a35fbcf
Major Code Police raid strike-down.
...
Fix yellow build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3191 a1c6a512-1295-4272-9138-f99709370657
2003-01-29 17:31:55 +00:00
Björn Stenberg
38bc30b0d6
The dir code is now reentrant.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3184 a1c6a512-1295-4272-9138-f99709370657
2003-01-29 12:33:23 +00:00
Kjell Ericson
9d40f7ebc4
Player changes: Added lcd_remove_cursor() and updated the cursor functionality.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3182 a1c6a512-1295-4272-9138-f99709370657
2003-01-29 11:48:35 +00:00
Daniel Stenberg
edf4d8ce0f
Scrolling business is my name and scrolling is what I do when I don't crash
...
because of silly people doing silly programming and not setting the variables
to correct values.
Now, any other WPS-related scrolling bugs left?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3175 a1c6a512-1295-4272-9138-f99709370657
2003-01-28 15:23:48 +00:00
Kjell Ericson
565505abd4
Added a "cursor"-function for the keyvoard.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3171 a1c6a512-1295-4272-9138-f99709370657
2003-01-27 14:37:03 +00:00
Björn Stenberg
184fd55411
Directories can now be renamed too.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3167 a1c6a512-1295-4272-9138-f99709370657
2003-01-27 09:32:17 +00:00