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
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
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
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
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
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
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
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
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
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
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
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
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
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
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