Commit graph

826 commits

Author SHA1 Message Date
Jens Arnold
0dfc90e70d Made iRiver simulator builds work again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5895 a1c6a512-1295-4272-9138-f99709370657
2005-02-11 01:06:14 +00:00
Linus Nielsen Feltzing
4338f9c885 iRiver: Slightly faster LCD driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5889 a1c6a512-1295-4272-9138-f99709370657
2005-02-10 22:29:19 +00:00
Linus Nielsen Feltzing
abcb16192e iRiver: added remote hold switch, and allow shutdown when charging
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5886 a1c6a512-1295-4272-9138-f99709370657
2005-02-10 21:52:54 +00:00
Linus Nielsen Feltzing
8e6619bf1d iRiver: faster screen updates with lcd frame buffer in IRAM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5864 a1c6a512-1295-4272-9138-f99709370657
2005-02-09 11:11:25 +00:00
Jean-Philippe Bernardy
f997199ff8 long policy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5844 a1c6a512-1295-4272-9138-f99709370657
2005-02-07 22:57:05 +00:00
Jens Arnold
a048ff4c67 The can be more scrolling lines on iRiver...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5835 a1c6a512-1295-4272-9138-f99709370657
2005-02-07 11:15:56 +00:00
Linus Nielsen Feltzing
96038fcd92 Silly me, those inits were not redundant at all
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5829 a1c6a512-1295-4272-9138-f99709370657
2005-02-07 02:45:32 +00:00
Linus Nielsen Feltzing
d4313ce88b iRiver: Correct cold start detection
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5824 a1c6a512-1295-4272-9138-f99709370657
2005-02-07 01:47:22 +00:00
Linus Nielsen Feltzing
bf11674d10 iRiver: Removed redundant initiation in power_init()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5823 a1c6a512-1295-4272-9138-f99709370657
2005-02-07 01:46:56 +00:00
Christi Scarborough
a83ffb208f A proper alarm clock for the V2/FM (and v1 with mod)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5818 a1c6a512-1295-4272-9138-f99709370657
2005-02-06 17:21:42 +00:00
Linus Nielsen Feltzing
3d9be05fba Use proper CPU defines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5811 a1c6a512-1295-4272-9138-f99709370657
2005-02-06 04:04:24 +00:00
Linus Nielsen Feltzing
2c6f08ddfc Added ISD chip power control setup and used proper define for the MCF5249
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5808 a1c6a512-1295-4272-9138-f99709370657
2005-02-06 03:11:03 +00:00
Linus Nielsen Feltzing
3a777cd79c iriver: ATA controller register setup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5807 a1c6a512-1295-4272-9138-f99709370657
2005-02-06 03:00:30 +00:00
Linus Nielsen Feltzing
e085a51b07 iriver: fixed ATA enable setup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5806 a1c6a512-1295-4272-9138-f99709370657
2005-02-06 02:58:43 +00:00
Linus Nielsen Feltzing
4d7671ce22 Aligned thread stack
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5803 a1c6a512-1295-4272-9138-f99709370657
2005-02-06 02:34:17 +00:00
Linus Nielsen Feltzing
085032bf02 Aligned thread stack, correct CONTROL register for iRiver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5802 a1c6a512-1295-4272-9138-f99709370657
2005-02-06 02:32:53 +00:00
Linus Nielsen Feltzing
23756ed5e8 Changed default contrast, aligned thread stack
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5801 a1c6a512-1295-4272-9138-f99709370657
2005-02-06 02:31:46 +00:00
Christi Scarborough
eeed057b8b Bugfix: Resume does not prompt if the unit has woken due to the RTC alarm
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5799 a1c6a512-1295-4272-9138-f99709370657
2005-02-05 19:57:19 +00:00
Jean-Philippe Bernardy
c3c26262f4 led driver for gmini
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5798 a1c6a512-1295-4272-9138-f99709370657
2005-02-05 16:20:23 +00:00
Jean-Philippe Bernardy
0b033a74d7 more precise settings for GMini adc levels
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5794 a1c6a512-1295-4272-9138-f99709370657
2005-02-05 10:52:51 +00:00
Daniel Stenberg
716ed218f3 these are not compiling for Gmini either atm
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5789 a1c6a512-1295-4272-9138-f99709370657
2005-02-04 15:07:50 +00:00
Jens Arnold
404fd12aae MMC driver now panics on out-of-bound accesses.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5768 a1c6a512-1295-4272-9138-f99709370657
2005-02-04 00:58:47 +00:00
Jean-Philippe Bernardy
dd924a522d Gmini power management basis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5767 a1c6a512-1295-4272-9138-f99709370657
2005-02-03 23:10:01 +00:00
Jens Arnold
2580cdfe73 Simplification.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5766 a1c6a512-1295-4272-9138-f99709370657
2005-02-03 22:58:50 +00:00
Jens Arnold
72612ea6b8 Fixed max_cluster calculation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5765 a1c6a512-1295-4272-9138-f99709370657
2005-02-03 22:33:16 +00:00
Daniel Stenberg
b794f30d20 provide coldfire dummies to build for iriver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5743 a1c6a512-1295-4272-9138-f99709370657
2005-02-02 21:47:43 +00:00
Jean-Philippe Bernardy
5dc8ff6b8c Added ON button support for gmini
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5738 a1c6a512-1295-4272-9138-f99709370657
2005-02-02 15:38:56 +00:00
Jens Arnold
f248d8bf62 MMC debug info: Tsac is now needed in ns, no longer scaled by 10.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5725 a1c6a512-1295-4272-9138-f99709370657
2005-01-31 01:50:40 +00:00
Jörg Hohensohn
3c758c13af do the hotswap
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5702 a1c6a512-1295-4272-9138-f99709370657
2005-01-28 22:35:20 +00:00
Jörg Hohensohn
dc7534bdb2 preparations for hotswapping MMC
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5701 a1c6a512-1295-4272-9138-f99709370657
2005-01-28 21:32:16 +00:00
Daniel Stenberg
9c394a3e01 corrected check for the Gmini LCD
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5679 a1c6a512-1295-4272-9138-f99709370657
2005-01-27 15:33:49 +00:00
Jean-Philippe Bernardy
0d72de954a proper setting of contrast for Gmini
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5676 a1c6a512-1295-4272-9138-f99709370657
2005-01-27 14:14:21 +00:00
Daniel Stenberg
918918ebab introducing CONFIG_I2C for kind of I2C in use
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5675 a1c6a512-1295-4272-9138-f99709370657
2005-01-27 12:16:45 +00:00
Linus Nielsen Feltzing
9b6784dbfc Ooops, I did it again...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5673 a1c6a512-1295-4272-9138-f99709370657
2005-01-27 11:53:13 +00:00
Linus Nielsen Feltzing
72de21ae97 button_status() no longer calls button_read(), since it isn't interrupt safe
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5670 a1c6a512-1295-4272-9138-f99709370657
2005-01-27 11:49:29 +00:00
Linus Nielsen Feltzing
f4702040d6 iRiver: Proper LCD init
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5669 a1c6a512-1295-4272-9138-f99709370657
2005-01-27 00:00:55 +00:00
Linus Nielsen Feltzing
db58e7edd2 iRiver: Added extra parameters to lcd_write_command_ex()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5668 a1c6a512-1295-4272-9138-f99709370657
2005-01-27 00:00:05 +00:00
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
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
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
2a83ce5ddd New LCD driver for iRiver H100
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5352 a1c6a512-1295-4272-9138-f99709370657
2004-10-26 06:54:03 +00:00
Linus Nielsen Feltzing
5cf331717d Ported to iRiver H100
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5351 a1c6a512-1295-4272-9138-f99709370657
2004-10-26 06:53:34 +00:00
Jörg Hohensohn
4adf929a90 Philips tuner supported
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5300 a1c6a512-1295-4272-9138-f99709370657
2004-10-17 23:24:18 +00:00
Jörg Hohensohn
954e5888b1 bugfix for OndioFM tuner power
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5297 a1c6a512-1295-4272-9138-f99709370657
2004-10-17 09:58:05 +00:00
Jörg Hohensohn
91f9350cbd moved and renamed fmradio_set/get_status to power.c, where it now additionally serves well for tuner power enable on OndioFM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5296 a1c6a512-1295-4272-9138-f99709370657
2004-10-17 08:53:18 +00:00
Jörg Hohensohn
8f8fbac1fd Philips tuner prepared, new middle layer to abstract which tuner is used
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5289 a1c6a512-1295-4272-9138-f99709370657
2004-10-15 21:41:46 +00:00
Jens Arnold
566eae2e11 Logarithmic scroll speed setting: speed doubles every 3 steps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5288 a1c6a512-1295-4272-9138-f99709370657
2004-10-15 20:30:29 +00:00
Jörg Hohensohn
fb0739bdf0 cleaned out parts of bpb which we don't use
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5274 a1c6a512-1295-4272-9138-f99709370657
2004-10-14 07:52:08 +00:00
Jens Arnold
0fc34c773f Disabled charger detection and ide_power_enable() for Ondio; some cleanup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5270 a1c6a512-1295-4272-9138-f99709370657
2004-10-13 23:21:57 +00:00
Linus Nielsen Feltzing
0b3ea1bfcb Now the FM, V2 and Ondio players use the new SYS_POWEROFF event. Now you can safely turn off the player by holding OFF.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5259 a1c6a512-1295-4272-9138-f99709370657
2004-10-12 11:00:19 +00:00
Jens Arnold
5789ee9928 MMC hotswap handling in USB mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5247 a1c6a512-1295-4272-9138-f99709370657
2004-10-10 19:51:11 +00:00
Jens Arnold
f5bdf6952c First part of MMC hotswap handling; removed unnecessary MMC thread
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5241 a1c6a512-1295-4272-9138-f99709370657
2004-10-10 00:35:19 +00:00
Jens Arnold
0660105af2 Fixed busy timeout handling; better comments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5240 a1c6a512-1295-4272-9138-f99709370657
2004-10-09 22:48:10 +00:00
Jens Arnold
a450e34770 Major MMC driver rework: DMA for sector transfers (except for single sector writes), bitswap while DMA transfer is running, optimized SCI handling (back-to-back transfer for polled writes), yield()s once per sector transfer. Speed is now close to the theoretical maximum
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5231 a1c6a512-1295-4272-9138-f99709370657
2004-10-09 01:14:55 +00:00
Jens Arnold
8eedc94018 Fixed warning when compiling with PREFER_C_WRITING
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5229 a1c6a512-1295-4272-9138-f99709370657
2004-10-08 19:20:20 +00:00
Jens Arnold
5cf1c97aea Button flip enabled on Ondio
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5226 a1c6a512-1295-4272-9138-f99709370657
2004-10-08 17:02:16 +00:00
Linus Nielsen Feltzing
d681087ad0 Correct CPU type handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5202 a1c6a512-1295-4272-9138-f99709370657
2004-10-07 07:09:49 +00:00
Jens Arnold
6f9a7eb2c7 Enhanced MMC handling: Driver cleanup, timeout calculation fixed, allowed voltage check, maintain disk activity info (fixes immediate shutdown at end of playback). MMC debug menu item populated.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5193 a1c6a512-1295-4272-9138-f99709370657
2004-10-06 20:43:12 +00:00
Björn Stenberg
b60b29f442 Compile ata_mmc.c for targets with mmc, ata.c for all others.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5174 a1c6a512-1295-4272-9138-f99709370657
2004-10-05 08:11:11 +00:00
Jörg Hohensohn
540b19dc50 panic on write behind partition, too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5171 a1c6a512-1295-4272-9138-f99709370657
2004-10-05 07:55:31 +00:00
Jens Arnold
a15386bb9d (Re-)added the delayed write feature to avoid wearing the flash unnecessarily
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5162 a1c6a512-1295-4272-9138-f99709370657
2004-10-04 22:29:06 +00:00
Jens Arnold
36813086e6 MMC: 10 % faster reading and 15 % faster writing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5161 a1c6a512-1295-4272-9138-f99709370657
2004-10-04 17:53:53 +00:00
Jens Arnold
a2b5681ca5 Removed disabled code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5154 a1c6a512-1295-4272-9138-f99709370657
2004-10-03 23:35:14 +00:00
Jens Arnold
dc6caf9ce8 Implemented multiple block reading and writing. Significant speedup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5153 a1c6a512-1295-4272-9138-f99709370657
2004-10-03 23:32:09 +00:00
Jens Arnold
fc9aadaf8b Some cleanup, and a quick fix to make battery status reading and idle poweroff work
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5149 a1c6a512-1295-4272-9138-f99709370657
2004-10-01 21:41:44 +00:00
Jens Arnold
212f18f9ea Fix: card initialization on card_select()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5142 a1c6a512-1295-4272-9138-f99709370657
2004-10-01 17:01:40 +00:00
Jörg Hohensohn
c4b326c215 Ondio PACR inits for cold start
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5141 a1c6a512-1295-4272-9138-f99709370657
2004-10-01 16:57:54 +00:00
Linus Nielsen Feltzing
e29e91e025 We must sleep 2 ticks to be really sure that all A/D channels have been converted at least once before returning from adc_init()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5136 a1c6a512-1295-4272-9138-f99709370657
2004-10-01 06:05:22 +00:00
Jens Arnold
7d8598f30e Writing to mmc does work now, but not always correct yet. It caused a corrupt file system once, so beware
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5132 a1c6a512-1295-4272-9138-f99709370657
2004-09-29 22:44:02 +00:00
Jens Arnold
eaa1f73c6d Added MAS3539F support (Ondio SP)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5129 a1c6a512-1295-4272-9138-f99709370657
2004-09-29 19:51:41 +00:00
Jens Arnold
6cb799174b Small fix for the card init
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5128 a1c6a512-1295-4272-9138-f99709370657
2004-09-29 01:10:32 +00:00
Jens Arnold
de6f799ace MMC driver is now write enabled, and should no longer lock up. Still preliminary and rather slow, polling everywhere.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5127 a1c6a512-1295-4272-9138-f99709370657
2004-09-29 00:50:40 +00:00
Jörg Hohensohn
593cc00447 a hell of a commit: changed several HAVE_xx configuration flags into multiple choice values (keypad, tuner, CPU, h/w codec)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5126 a1c6a512-1295-4272-9138-f99709370657
2004-09-28 22:13:26 +00:00
Jens Arnold
90cbd3b06d First working MMC driver (very preliminary, and read-only), and some adaptions of the debug menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5123 a1c6a512-1295-4272-9138-f99709370657
2004-09-28 06:23:57 +00:00
Jens Arnold
af33f259a2 Ensure vaild readings when adc_init() returns
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5117 a1c6a512-1295-4272-9138-f99709370657
2004-09-24 22:26:16 +00:00
Jens Arnold
23f2a59865 Added debouncing to the Ondio button driver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5115 a1c6a512-1295-4272-9138-f99709370657
2004-09-23 22:36:15 +00:00
Jörg Hohensohn
7f7afe434b FAT16 support for the Ondio
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5114 a1c6a512-1295-4272-9138-f99709370657
2004-09-23 21:43:43 +00:00
Henrik Backe
a30c1caaf5 Fixed yellow build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5111 a1c6a512-1295-4272-9138-f99709370657
2004-09-23 19:38:00 +00:00
Linus Nielsen Feltzing
5f8ffa02a6 An attempt to filter the button reading
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5109 a1c6a512-1295-4272-9138-f99709370657
2004-09-23 12:08:48 +00:00
Linus Nielsen Feltzing
5dfc1d0649 Removed the obsolete adcreg[] table
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5100 a1c6a512-1295-4272-9138-f99709370657
2004-09-21 10:47:44 +00:00
Linus Nielsen Feltzing
ddb6333797 New A/D conversion strategy, now updates all channels every tick
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5099 a1c6a512-1295-4272-9138-f99709370657
2004-09-21 08:59:36 +00:00
Jens Arnold
56cbda370d Chip selects for internal & external card were reversed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5098 a1c6a512-1295-4272-9138-f99709370657
2004-09-20 22:54:13 +00:00
Jens Arnold
2d875f83e6 Disabled all code for the serial remote on Ondio, since the serial port is needed for MMC access.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5097 a1c6a512-1295-4272-9138-f99709370657
2004-09-20 22:15:35 +00:00
Björn Stenberg
57945b125d Removed the Neo code. Nobody is interested in it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5096 a1c6a512-1295-4272-9138-f99709370657
2004-09-20 08:10:43 +00:00
Björn Stenberg
6c33c51a4c Redesigned the button handling. The code now uses symbolic function defines instead of checking for specific buttons. This makes it easier to add support for new devices with different button layouts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5091 a1c6a512-1295-4272-9138-f99709370657
2004-09-19 21:58:37 +00:00
Björn Stenberg
65bf851ece Added preliminary support for Iriver H100
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5089 a1c6a512-1295-4272-9138-f99709370657
2004-09-17 11:28:07 +00:00
Björn Stenberg
4bdbcd6a7c Removed test code that shouldn't have been committed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5082 a1c6a512-1295-4272-9138-f99709370657
2004-09-16 14:40:50 +00:00
Björn Stenberg
8b6950493b Moved LCD_WIDHT/HEIGHT from lcd driver to config file.
Simulators now use conig-xxx.h.
Added Iriver H100 to tools/configure.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5081 a1c6a512-1295-4272-9138-f99709370657
2004-09-16 14:36:08 +00:00
Jörg Hohensohn
73792b474e Ondio levels adjusted, use ADC channel names
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5074 a1c6a512-1295-4272-9138-f99709370657
2004-09-15 07:03:11 +00:00
Jörg Hohensohn
3f7c508a09 Ondio USB mode works with both internal and external MMC
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5073 a1c6a512-1295-4272-9138-f99709370657
2004-09-14 23:06:10 +00:00
Jörg Hohensohn
eb8fef7cce Ondio USB mode works, but only with external MMC
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5072 a1c6a512-1295-4272-9138-f99709370657
2004-09-14 22:27:52 +00:00
Jörg Hohensohn
c4e8bed5a7 some fixes for Ondio USB passthrough (but still doesn't work yet)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5067 a1c6a512-1295-4272-9138-f99709370657
2004-09-11 15:18:10 +00:00
Jörg Hohensohn
00be7469d6 prepared Ondio USB passthrough (but doesn't work yet)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5066 a1c6a512-1295-4272-9138-f99709370657
2004-09-11 09:06:58 +00:00
Jörg Hohensohn
57ea92cae1 prepared an empty MMC driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5065 a1c6a512-1295-4272-9138-f99709370657
2004-09-11 03:48:05 +00:00
Jörg Hohensohn
3f0e64126e avoid unused variable warning if no LED
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5059 a1c6a512-1295-4272-9138-f99709370657
2004-09-10 13:00:40 +00:00
Jörg Hohensohn
c45d54b467 no double negation, define present features, not absent
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5058 a1c6a512-1295-4272-9138-f99709370657
2004-09-10 12:55:55 +00:00
Jörg Hohensohn
9bb648800b Ondio has no LED (no RLOD possible ;-)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5057 a1c6a512-1295-4272-9138-f99709370657
2004-09-10 12:11:28 +00:00
Jörg Hohensohn
cde9844748 minor oops
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5056 a1c6a512-1295-4272-9138-f99709370657
2004-09-10 11:28:44 +00:00
Jörg Hohensohn
24c7c04899 adjustment for the Ondio: button driver has an Odio part, for now it has a Player layout. Some fixes in the app code were necessary to remove dependencies of LCD, keypad, this wasn't independent everywhere.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5055 a1c6a512-1295-4272-9138-f99709370657
2004-09-10 10:51:54 +00:00
Jörg Hohensohn
6c1afd7a9e adjustment for the Ondio: I2C clock is on a different pin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5054 a1c6a512-1295-4272-9138-f99709370657
2004-09-10 07:24:00 +00:00
Jörg Hohensohn
d5c293a525 the very first adjustment for the Ondio: fix the screen orientation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5053 a1c6a512-1295-4272-9138-f99709370657
2004-09-09 06:12:40 +00:00
Linus Nielsen Feltzing
8d54253b0d button_clear_queue() now works as expected
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5031 a1c6a512-1295-4272-9138-f99709370657
2004-09-01 06:24:57 +00:00
Jens Arnold
b4920271ba Fixed new font format: necessity of offset table generation, output of fonts without one
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5018 a1c6a512-1295-4272-9138-f99709370657
2004-08-27 00:34:15 +00:00
Jens Arnold
f8a5802d8e Fixed pointer types & struct font
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5016 a1c6a512-1295-4272-9138-f99709370657
2004-08-26 22:05:35 +00:00
Jörg Hohensohn
5d36aaf249 New font format (already rotated) saves code, space and time. On the downside this new format is incompatible, so get the new fonts, too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5015 a1c6a512-1295-4272-9138-f99709370657
2004-08-26 21:15:07 +00:00
Linus Nielsen Feltzing
e0e0140f4e Bug fix: renaming a directory could cause a name clash. New feature: rename() can now move files/directories as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5008 a1c6a512-1295-4272-9138-f99709370657
2004-08-22 11:28:24 +00:00
Jens Arnold
0ceaa5e365 Const policed pointer arguments to functions, part 2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4996 a1c6a512-1295-4272-9138-f99709370657
2004-08-17 01:45:48 +00:00
Jens Arnold
c76c568b35 Const policed pointer arguments to functions, part 1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4995 a1c6a512-1295-4272-9138-f99709370657
2004-08-16 23:37:23 +00:00
Jens Arnold
9478cc6f8a More const policeing step 4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4983 a1c6a512-1295-4272-9138-f99709370657
2004-08-03 19:22:56 +00:00
Jens Arnold
2b0694c694 More const policeing step 3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4982 a1c6a512-1295-4272-9138-f99709370657
2004-08-03 05:58:46 +00:00
Jens Arnold
1413f0cc95 Fixed player builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4979 a1c6a512-1295-4272-9138-f99709370657
2004-08-01 22:11:08 +00:00
Jens Arnold
abe77a1a2a More const policeing step 1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4978 a1c6a512-1295-4272-9138-f99709370657
2004-08-01 21:50:57 +00:00
Linus Nielsen Feltzing
6b8d020876 Now doesn't generate extraneous key-down events when releasing one key in a combo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4939 a1c6a512-1295-4272-9138-f99709370657
2004-07-24 20:38:56 +00:00
Linus Nielsen Feltzing
0185ee7e4c Removed nasty lvalue cast
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4934 a1c6a512-1295-4272-9138-f99709370657
2004-07-24 17:20:21 +00:00
Linus Nielsen Feltzing
a754dd84b8 Added raw button reading functionality
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4907 a1c6a512-1295-4272-9138-f99709370657
2004-07-21 08:02:23 +00:00
Linus Nielsen Feltzing
80ebaabf80 Extra LCD updates for the player LCD simulation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4900 a1c6a512-1295-4272-9138-f99709370657
2004-07-20 11:43:44 +00:00
Jens Arnold
638dd6786a Const'ed the logo, the bitmaps and the credits (optimization for running from ROM)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4896 a1c6a512-1295-4272-9138-f99709370657
2004-07-19 21:46:37 +00:00
Linus Nielsen Feltzing
4d49a6b26e Added bookmark icon for the Player/Studio
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4880 a1c6a512-1295-4272-9138-f99709370657
2004-07-14 12:21:59 +00:00
Linus Nielsen Feltzing
b1af93c314 Disable the backlight before powering off the Player/Studio
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4877 a1c6a512-1295-4272-9138-f99709370657
2004-07-14 10:06:02 +00:00
Linus Nielsen Feltzing
06621c0cf6 Removed lvalue cast, which generates warnings on newer gcc versions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4876 a1c6a512-1295-4272-9138-f99709370657
2004-07-13 19:28:36 +00:00
Linus Nielsen Feltzing
7c931a12ec Simplified the recorder scrolling code a little
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4860 a1c6a512-1295-4272-9138-f99709370657
2004-07-09 11:21:13 +00:00
Jens Arnold
b40591947d Enabled assembler optimized disk reading and writing (approx. 2 times as fast)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4825 a1c6a512-1295-4272-9138-f99709370657
2004-07-05 13:44:53 +00:00
Linus Nielsen Feltzing
a8dab4c08a New screen dump feature for recorders
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4817 a1c6a512-1295-4272-9138-f99709370657
2004-06-30 13:31:14 +00:00
Linus Nielsen Feltzing
fafd2093e3 Patch #881887 by Gerald Vanbaren. The red LED is now ON when recording and blinking when waiting to record (and when paused).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4790 a1c6a512-1295-4272-9138-f99709370657
2004-06-22 10:52:39 +00:00
Linus Nielsen Feltzing
e61f6fa599 Added reset_poweroff_timer(), which can be used to prevent idle poweroff. This is also available in the plugin API.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4787 a1c6a512-1295-4272-9138-f99709370657
2004-06-22 07:16:31 +00:00
Daniel Stenberg
43d351a3d1 remove C++/C99 comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4753 a1c6a512-1295-4272-9138-f99709370657
2004-06-16 11:28:22 +00:00
Jens Arnold
44e76cfa86 Disabled automatic disk spindown (by the drive). Updated comments regarding timing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4733 a1c6a512-1295-4272-9138-f99709370657
2004-06-11 06:56:51 +00:00
Jens Arnold
f77acfb982 Fixed a warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4625 a1c6a512-1295-4272-9138-f99709370657
2004-05-15 00:09:17 +00:00
Jens Arnold
6157caadcc TABs again...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4624 a1c6a512-1295-4272-9138-f99709370657
2004-05-15 00:03:31 +00:00
Jens Arnold
36764c5319 Fixed lcd_putsxyofs() for the new lcd_bitmap()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4623 a1c6a512-1295-4272-9138-f99709370657
2004-05-14 23:53:25 +00:00
Jens Arnold
6dc88dca66 Some TAB characters slipped in...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4621 a1c6a512-1295-4272-9138-f99709370657
2004-05-14 23:08:08 +00:00
Jens Arnold
2d446fef06 Fixed lcd_bitmap() to use the bitmap format generated by bmp2rb correctly. Now it works for height > 8. Adapted font transposing & changed some other places to take advantage of that. bounce.c was (apart from fonts) the only routine that used the old format correctly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4620 a1c6a512-1295-4272-9138-f99709370657
2004-05-14 22:55:05 +00:00
Kjell Ericson
195d716b87 Corrected the charset for old lcd of players after an incorrect change
before.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4605 a1c6a512-1295-4272-9138-f99709370657
2004-05-11 08:42:06 +00:00
Jens Arnold
e48cc2a491 Fully assembler optimized lcd driver (another 10% real-world speedup on recorder), replaces lcd.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4602 a1c6a512-1295-4272-9138-f99709370657
2004-05-10 11:38:24 +00:00
Jens Arnold
e000e242a1 Faster LCD transfer routines (+35% for the player, +8% for the recorder)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4577 a1c6a512-1295-4272-9138-f99709370657
2004-05-06 06:53:07 +00:00
Jens Arnold
1aa9cdad20 Fixed player sim warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4538 a1c6a512-1295-4272-9138-f99709370657
2004-04-21 11:00:51 +00:00
Jens Arnold
38e8a117aa Unified usage of lcd transfer code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4536 a1c6a512-1295-4272-9138-f99709370657
2004-04-21 09:39:29 +00:00
Linus Nielsen Feltzing
bc9397d1fa New function: rmdir(). Also some changes in the fat code, to track the parent directory in opendir(), to be able to delete directories
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4509 a1c6a512-1295-4272-9138-f99709370657
2004-04-16 08:58:29 +00:00
Björn Stenberg
51a738e107 Added some missing character substitutions, prompted by Eric Lassauge.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4474 a1c6a512-1295-4272-9138-f99709370657
2004-04-06 15:23:58 +00:00
Linus Nielsen Feltzing
ef1698e648 Added cluster size to the disk debug screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4469 a1c6a512-1295-4272-9138-f99709370657
2004-04-06 00:17:02 +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
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
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
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
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