Commit graph

639 commits

Author SHA1 Message Date
Jean-Philippe Bernardy
99d2a4b436 fixes for gmini
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5664 a1c6a512-1295-4272-9138-f99709370657
2005-01-26 14:42:48 +00:00
Linus Nielsen Feltzing
4058b79c70 Ported ATA driver to iRiver, minor code policing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5663 a1c6a512-1295-4272-9138-f99709370657
2005-01-26 12:53:48 +00:00
Jean-Philippe Bernardy
33114cad25 Gmini i2c support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5655 a1c6a512-1295-4272-9138-f99709370657
2005-01-24 14:40:10 +00:00
Jean-Philippe Bernardy
34d2a71fdd More int -> long
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5654 a1c6a512-1295-4272-9138-f99709370657
2005-01-24 14:26:24 +00:00
Jean-Philippe Bernardy
36b8e13f47 int -> long where needed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5642 a1c6a512-1295-4272-9138-f99709370657
2005-01-23 23:20:40 +00:00
Jens Arnold
9794cd449b (1) Remapped BUTTON_CANCEL->BUTTON_OFF for gmini better representing its function, and for consistency. (2) Removed TAB chars, prettified formatting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5634 a1c6a512-1295-4272-9138-f99709370657
2005-01-23 00:27:21 +00:00
Jean-Philippe Bernardy
a6467334b0 Factored out some macros
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5623 a1c6a512-1295-4272-9138-f99709370657
2005-01-20 23:29:48 +00:00
Jean-Philippe Bernardy
99e72c8758 Support for gmini ATA interface
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5622 a1c6a512-1295-4272-9138-f99709370657
2005-01-20 23:00:11 +00:00
Jean-Philippe Bernardy
e386d9461c fixed indentation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5621 a1c6a512-1295-4272-9138-f99709370657
2005-01-20 22:44:35 +00:00
Jean-Philippe Bernardy
cacc37d2e0 Support for gmini100 series LCD
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5619 a1c6a512-1295-4272-9138-f99709370657
2005-01-20 22:13:41 +00:00
Jens Arnold
cced503712 The current lcd_bitmap() implementation is safe for enabling partial font height drawing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5590 a1c6a512-1295-4272-9138-f99709370657
2005-01-17 21:43:10 +00:00
Jens Arnold
b3303d7022 iRiver fix: The larger LCD_HEIGHT needs larger area fill bitmaps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5588 a1c6a512-1295-4272-9138-f99709370657
2005-01-17 21:16:59 +00:00
Daniel Stenberg
b07321e1f6 Jean-Philippe Bernardy: gmini100 keypad support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5553 a1c6a512-1295-4272-9138-f99709370657
2005-01-10 21:47:55 +00:00
Daniel Stenberg
a79cda0d06 Jean-Philippe Bernardy: removed bad emu_debugf() call
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5552 a1c6a512-1295-4272-9138-f99709370657
2005-01-10 21:39:51 +00:00
Daniel Stenberg
0032898229 Jean-Philippe Bernardy: ADC support for TCC730
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5547 a1c6a512-1295-4272-9138-f99709370657
2005-01-09 23:26:39 +00:00
Jens Arnold
d851d98c81 Fixed some warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5537 a1c6a512-1295-4272-9138-f99709370657
2005-01-05 00:42:24 +00:00
Jörg Hohensohn
7414687c58 unmount function in preparation for MMC hotswap, more mutexing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5536 a1c6a512-1295-4272-9138-f99709370657
2005-01-05 00:09:04 +00:00
Jens Arnold
93660701e6 Multivolume: prevent file rename attempts across volumes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5535 a1c6a512-1295-4272-9138-f99709370657
2005-01-04 23:20:02 +00:00
Jörg Hohensohn
50dba1fad0 modify fat cache entries atomic, this was potentially unsafe
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5534 a1c6a512-1295-4272-9138-f99709370657
2005-01-04 23:01:25 +00:00
Jörg Hohensohn
81f2a4a6ca select the card within the mutex, seems more safe
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5530 a1c6a512-1295-4272-9138-f99709370657
2005-01-03 23:20:31 +00:00
Jens Arnold
316ae187aa Correct handling of FAT16 root directory when it does not start on a pseudo cluster boundary. Fixed some places where the cluster number can become negative. Significant code cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5527 a1c6a512-1295-4272-9138-f99709370657
2005-01-03 07:59:49 +00:00
Jörg Hohensohn
2ab64c9152 cosmetic: use the IF_MV2() macro for optional arguments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5521 a1c6a512-1295-4272-9138-f99709370657
2004-12-29 22:50:34 +00:00
Jörg Hohensohn
575c9049f6 behave for multi-volume
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5520 a1c6a512-1295-4272-9138-f99709370657
2004-12-29 22:37:31 +00:00
Jörg Hohensohn
19934a1110 killed a warning for boxes not supporting FAT16
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5515 a1c6a512-1295-4272-9138-f99709370657
2004-12-28 22:35:10 +00:00
Jörg Hohensohn
da84857631 prepared to mount multiple partitions into one logical file system (most useful for Ondio, internal memory + external MMC)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5514 a1c6a512-1295-4272-9138-f99709370657
2004-12-28 22:16:07 +00:00
Jens Arnold
42eef5b743 Removed duplicate instruction
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5503 a1c6a512-1295-4272-9138-f99709370657
2004-12-22 06:19:05 +00:00
Linus Nielsen Feltzing
474bbb36ad Oops! Wrong polarity in ide_powered() for iRiver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5496 a1c6a512-1295-4272-9138-f99709370657
2004-12-20 01:34:45 +00:00
Linus Nielsen Feltzing
488061562b Added power functions for iRiver H1xx
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5494 a1c6a512-1295-4272-9138-f99709370657
2004-12-20 00:45:23 +00:00
Jens Arnold
127c363e87 Unconditionally drive HD power control pin for player (doesn't hurt even for very old players). Slight optimization for recorders.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5487 a1c6a512-1295-4272-9138-f99709370657
2004-12-16 22:29:01 +00:00
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
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
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
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
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
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
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
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
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