Commit graph

1802 commits

Author SHA1 Message Date
Jens Arnold
303b4abfc5 Button driver overhaul: (1) Unified the button driver functions as much as possible (2) Proper #defines for FM recorder button ADC channels (3) Got rid of old port B #defines only valid for recorder (4) button filtering for all models (5) RoLo with ON after panic should now work for FM/V2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5472 a1c6a512-1295-4272-9138-f99709370657
2004-12-01 00:33:18 +00:00
Jens Arnold
bbc5931280 Properly initialize Port A button input pins (player coldstart)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5471 a1c6a512-1295-4272-9138-f99709370657
2004-11-30 01:02:59 +00:00
Jens Arnold
c30dcb8ad1 Remote control working again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5467 a1c6a512-1295-4272-9138-f99709370657
2004-11-25 18:40:28 +00:00
Jens Arnold
73d3b18ef6 Adjusted version criteria for newplayer check according to latest findings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5463 a1c6a512-1295-4272-9138-f99709370657
2004-11-24 01:46:22 +00:00
Jens Arnold
f05dec5702 Retry initializing the harddisk with hard reset in case the first try fails. Fixes panic when starting flashed rockbox by leaving the archos charging screen with On.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5461 a1c6a512-1295-4272-9138-f99709370657
2004-11-23 22:00:41 +00:00
Jens Arnold
d4e53976d9 Renamed has_new_lcd() to is_new_player(), and got rid of the alias
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5459 a1c6a512-1295-4272-9138-f99709370657
2004-11-22 21:20:54 +00:00
Linus Nielsen Feltzing
011835dec3 iRiver: attempt to set up the SDRAM correctly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5458 a1c6a512-1295-4272-9138-f99709370657
2004-11-22 13:39:34 +00:00
Jens Arnold
dbd11c9b42 The player also has MAS poweron reset, handle it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5456 a1c6a512-1295-4272-9138-f99709370657
2004-11-22 01:54:26 +00:00
Jens Arnold
14c72f277c Code cleanup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5454 a1c6a512-1295-4272-9138-f99709370657
2004-11-21 09:22:50 +00:00
Jens Arnold
3999bc0323 Fixed a warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5450 a1c6a512-1295-4272-9138-f99709370657
2004-11-20 14:34:17 +00:00
Jens Arnold
7ebb5d915e Moved player ATA power handling to the correct functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5449 a1c6a512-1295-4272-9138-f99709370657
2004-11-20 14:17:43 +00:00
Jens Arnold
4820177214 Enable building flashed rockbox and rombox for players
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5446 a1c6a512-1295-4272-9138-f99709370657
2004-11-20 00:55:25 +00:00
Jens Arnold
09280d0422 Player: initialize backlight control pin (for coldstart)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5444 a1c6a512-1295-4272-9138-f99709370657
2004-11-20 00:15:40 +00:00
Jens Arnold
2a89e7d122 New players: switch on the HD in ata_init()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5443 a1c6a512-1295-4272-9138-f99709370657
2004-11-20 00:15:12 +00:00
Linus Nielsen Feltzing
e17938c949 Added ADC_UNREG_POWER for the iRiver, for compatibility
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5436 a1c6a512-1295-4272-9138-f99709370657
2004-11-19 10:54:48 +00:00
Linus Nielsen Feltzing
7c5f5f5c53 iRiver: SWAB16 and SWAB32 macros
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5433 a1c6a512-1295-4272-9138-f99709370657
2004-11-19 00:30:28 +00:00
Linus Nielsen Feltzing
3ad0879f19 Correct polarity for the iRiver backlight pin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5432 a1c6a512-1295-4272-9138-f99709370657
2004-11-18 23:24:32 +00:00
Linus Nielsen Feltzing
003247e066 Added iRiver ADC tick task
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5431 a1c6a512-1295-4272-9138-f99709370657
2004-11-18 23:23:47 +00:00
Linus Nielsen Feltzing
0decb0099e Added iRiver button handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5430 a1c6a512-1295-4272-9138-f99709370657
2004-11-18 23:22:45 +00:00
Linus Nielsen Feltzing
27d00ca527 Added iRiver ADC channel info
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5429 a1c6a512-1295-4272-9138-f99709370657
2004-11-18 23:22:08 +00:00
Linus Nielsen Feltzing
fea2472326 Added iRiver button codes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5428 a1c6a512-1295-4272-9138-f99709370657
2004-11-18 23:21:04 +00:00
Linus Nielsen Feltzing
6acdfd7e2e Correct keyboard type
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5427 a1c6a512-1295-4272-9138-f99709370657
2004-11-18 23:20:35 +00:00
Linus Nielsen Feltzing
b98e74e4d5 Added IRIVER_H100_PAD
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5426 a1c6a512-1295-4272-9138-f99709370657
2004-11-18 23:20:07 +00:00
Jens Arnold
605cf4c779 Fix: my previous adjustments broke access to external MMC on newer Ondio models (mask bit 2 == 1). Xor operator works bitwise, so both operators need to be logical values here
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5422 a1c6a512-1295-4272-9138-f99709370657
2004-11-17 21:24:21 +00:00
Jens Arnold
2cf1a89560 Ondio: adjustments for models with mask bit 2 == 0 (different MMC clock select circuitry)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5421 a1c6a512-1295-4272-9138-f99709370657
2004-11-17 20:14:43 +00:00
Linus Nielsen Feltzing
34145af486 Simplified ID3 tag handling, removing the nasty NULL pointer accesses. Correct handling of missing/corrupt tracks in playlists.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5416 a1c6a512-1295-4272-9138-f99709370657
2004-11-17 12:42:43 +00:00
Jens Arnold
f78524bf93 Bug fix: Do only flush the sector buffer after writing head bytes if it really needs to be. The old code did flush always, causing the huge slowdown of fprintf() and other places writing byte-wise
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5413 a1c6a512-1295-4272-9138-f99709370657
2004-11-17 02:34:17 +00:00
Linus Nielsen Feltzing
0b959cf8be iRiver: Now sets the LCD RESET pin correctly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5412 a1c6a512-1295-4272-9138-f99709370657
2004-11-16 19:18:09 +00:00
Linus Nielsen Feltzing
890558ee7c The tools are to be built with the native compiler
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5411 a1c6a512-1295-4272-9138-f99709370657
2004-11-15 06:51:21 +00:00
Linus Nielsen Feltzing
685aeb5d7d Handle invalid playlist entries properly in new_file(). This fixes bug report #1060759
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5410 a1c6a512-1295-4272-9138-f99709370657
2004-11-15 00:34:19 +00:00
Jens Arnold
aeedd7d499 Increased MMC init timeout (again), and sleep() between consecutive tries.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5408 a1c6a512-1295-4272-9138-f99709370657
2004-11-14 13:50:03 +00:00
Jens Arnold
31e2e01cac Increased init timeout to account for some very slow (SD) cards
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5407 a1c6a512-1295-4272-9138-f99709370657
2004-11-14 07:35:48 +00:00
Jens Arnold
1710e38976 Fixed the player sim. There is no SH1 hardware in the simulator...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5398 a1c6a512-1295-4272-9138-f99709370657
2004-11-11 01:36:37 +00:00
Jens Arnold
2e290d6cec Important step towards player flashing: LCD inits for both new LCD (confirmed working) and old LCD.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5397 a1c6a512-1295-4272-9138-f99709370657
2004-11-11 01:11:06 +00:00
Jens Arnold
f540e5cecf Unique error codes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5390 a1c6a512-1295-4272-9138-f99709370657
2004-11-07 22:40:24 +00:00
Jens Arnold
8ed50037e4 Ondio: Increased PLAY_PENDING thresholds for smooth playback of all bitrates right from the start
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5388 a1c6a512-1295-4272-9138-f99709370657
2004-11-07 08:11:01 +00:00
Jens Arnold
6fde243d52 Player: Slightly shorter MAS poll interval fixes playback of 384 kbps 48 kHz layer 2 files. Others: Correct serial bitrate allows increasing the postpone_dma_tick delay a bit without disturbing playback of same files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5387 a1c6a512-1295-4272-9138-f99709370657
2004-11-07 08:09:08 +00:00
Linus Nielsen Feltzing
04c5ecb4ee Wrong typing caused a very skewed random number distribution
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5385 a1c6a512-1295-4272-9138-f99709370657
2004-11-06 23:33:07 +00:00
Jens Arnold
8366394933 Set the MAS serial bitrate to 1 MBit/s as intended. Fixed comment on frequency.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5384 a1c6a512-1295-4272-9138-f99709370657
2004-11-06 00:54:56 +00:00
Linus Nielsen Feltzing
319d5f7101 new_file() now correctly bails out if all files in the playlist are corrupt. This fixes bug report #1060753.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5383 a1c6a512-1295-4272-9138-f99709370657
2004-11-05 07:43:39 +00:00
Linus Nielsen Feltzing
b109e93054 Removed #include math.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5382 a1c6a512-1295-4272-9138-f99709370657
2004-11-04 14:25:40 +00:00
Linus Nielsen Feltzing
8d68eb6d5e Ported to iRiver (unfinished)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5378 a1c6a512-1295-4272-9138-f99709370657
2004-11-03 00:39:30 +00:00
Linus Nielsen Feltzing
01530ac5c8 Proper USB detection for iRiver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5377 a1c6a512-1295-4272-9138-f99709370657
2004-11-02 22:57:51 +00:00
Linus Nielsen Feltzing
a062b4a22c Correct handling of unhandled exceptions for coldfire
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5376 a1c6a512-1295-4272-9138-f99709370657
2004-11-02 22:24:30 +00:00
Linus Nielsen Feltzing
b2ffaa9d91 Ported to iriver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5375 a1c6a512-1295-4272-9138-f99709370657
2004-11-02 21:43:37 +00:00
Linus Nielsen Feltzing
ded6894e63 Adjusted for iriver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5374 a1c6a512-1295-4272-9138-f99709370657
2004-11-02 21:42:39 +00:00
Linus Nielsen Feltzing
9c4423f010 Coldfire: System tick at 10ms
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5367 a1c6a512-1295-4272-9138-f99709370657
2004-10-27 07:07:54 +00:00
Linus Nielsen Feltzing
75a9a9b9a7 Coldfire: the timers can only be autovectored, let's put the tick timer at level 3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5366 a1c6a512-1295-4272-9138-f99709370657
2004-10-27 06:52:25 +00:00
Linus Nielsen Feltzing
d129486c0f Let's start with the basic oscillator frequency
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5365 a1c6a512-1295-4272-9138-f99709370657
2004-10-27 06:50:54 +00:00
Linus Nielsen Feltzing
58462ab101 The timer registers are 16-bit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5364 a1c6a512-1295-4272-9138-f99709370657
2004-10-27 06:50:00 +00:00