Linus Nielsen Feltzing
63cf21da1f
Adjustments for iRiver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5696 a1c6a512-1295-4272-9138-f99709370657
2005-01-28 13:19:01 +00:00
Linus Nielsen Feltzing
3804e7a874
Correct values for the -add format
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5695 a1c6a512-1295-4272-9138-f99709370657
2005-01-28 13:14:14 +00:00
Linus Nielsen Feltzing
2b8c52d98c
Correct defines for the -add scramble format
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5693 a1c6a512-1295-4272-9138-f99709370657
2005-01-28 12:31:44 +00:00
Linus Nielsen Feltzing
08bf2092e7
Adjustments for the iriver boot loader
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5692 a1c6a512-1295-4272-9138-f99709370657
2005-01-28 12:30:58 +00:00
Linus Nielsen Feltzing
b7225d165e
Link file for boot loader
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5691 a1c6a512-1295-4272-9138-f99709370657
2005-01-28 12:29:21 +00:00
Björn Stenberg
6660f8e910
Added ID3 searching
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5683 a1c6a512-1295-4272-9138-f99709370657
2005-01-27 22:21:08 +00:00
Daniel Stenberg
d719abce64
crt0.s works for other CPUs too, mas.c is only for targets with hwcodec
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5682 a1c6a512-1295-4272-9138-f99709370657
2005-01-27 19:17:47 +00:00
Daniel Stenberg
e0d906d250
Made almost the entire file dependent on SH7034. This probably needs attention.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5681 a1c6a512-1295-4272-9138-f99709370657
2005-01-27 19:17:08 +00:00
Daniel Stenberg
557fc20f3a
define gmini and iriver to use sf codec (= MASNONE)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5680 a1c6a512-1295-4272-9138-f99709370657
2005-01-27 19:16:20 +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
5832e6893a
long policy
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5678 a1c6a512-1295-4272-9138-f99709370657
2005-01-27 14:16:41 +00:00
Jean-Philippe Bernardy
b3d16d9df8
better comments
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5677 a1c6a512-1295-4272-9138-f99709370657
2005-01-27 14:16:11 +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
Daniel Stenberg
70470f0e74
SH stuff only on SH
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5674 a1c6a512-1295-4272-9138-f99709370657
2005-01-27 12:08:08 +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
873563083a
Ooops
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5672 a1c6a512-1295-4272-9138-f99709370657
2005-01-27 11:50:41 +00:00
Linus Nielsen Feltzing
8a40b0fbc3
Exported adc_scan() on the iRiver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5671 a1c6a512-1295-4272-9138-f99709370657
2005-01-27 11:50:15 +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
Daniel Stenberg
f7eeaec980
made the SH7034 assembler files only build for that CPU
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5667 a1c6a512-1295-4272-9138-f99709370657
2005-01-26 23:37:16 +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
7e8914daf7
more int -> long
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5656 a1c6a512-1295-4272-9138-f99709370657
2005-01-24 14:41:06 +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
1265d03141
Oops, deadbeef is unsigned
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5653 a1c6a512-1295-4272-9138-f99709370657
2005-01-24 13:32:52 +00:00
Jean-Philippe Bernardy
a61d9857e8
Gmini threading
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5652 a1c6a512-1295-4272-9138-f99709370657
2005-01-24 13:18:27 +00:00
Daniel Stenberg
adaae249ef
iRiver scramble and descramble code from Dave Cooper
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5649 a1c6a512-1295-4272-9138-f99709370657
2005-01-24 09:01:48 +00:00
Jens Arnold
81d4b8c492
TABs removed
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5645 a1c6a512-1295-4272-9138-f99709370657
2005-01-24 00:56:39 +00:00
Jean-Philippe Bernardy
1f11f4eb90
Some more gmini hw support
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5644 a1c6a512-1295-4272-9138-f99709370657
2005-01-24 00:01:37 +00:00
Jean-Philippe Bernardy
cea551dd9c
int -> long where needed
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5643 a1c6a512-1295-4272-9138-f99709370657
2005-01-23 23:29:35 +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
Jean-Philippe Bernardy
fc0372b209
Support for %l* plus __attribute__ printf support
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5641 a1c6a512-1295-4272-9138-f99709370657
2005-01-23 23:08:07 +00:00
Jens Arnold
598d870f3f
Gmini has software poweroff.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5635 a1c6a512-1295-4272-9138-f99709370657
2005-01-23 00:28:12 +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
Jens Arnold
756e7404d8
Forgot to commit removal of string.c when reviving memcpy.c and memset.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5633 a1c6a512-1295-4272-9138-f99709370657
2005-01-22 22:06:29 +00:00
Jean-Philippe Bernardy
b3fd63747d
long policy
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5632 a1c6a512-1295-4272-9138-f99709370657
2005-01-22 15:16:52 +00:00
Jean-Philippe Bernardy
93f917f541
simplification and better integration of the gmini port
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5631 a1c6a512-1295-4272-9138-f99709370657
2005-01-22 15:14:24 +00:00
Jean-Philippe Bernardy
70fba66708
long policy
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5630 a1c6a512-1295-4272-9138-f99709370657
2005-01-22 15:08:38 +00:00
Jens Arnold
78826de045
Assembler optimized strlen() for SH1, both smaller & faster. Moved strlen() into IRAM.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5629 a1c6a512-1295-4272-9138-f99709370657
2005-01-22 13:18:33 +00:00
Jens Arnold
0310f16005
Revived C implementations of memcpy() and memset() for platforms without asm optimized versions (gmini), replacing the intermediate strings.c. Moved the asm optimized versions 'out of the way' for the implicit 'make' rules by renaming them to *_a.S (for assembler/alternative).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5628 a1c6a512-1295-4272-9138-f99709370657
2005-01-21 22:43:02 +00:00
Jean-Philippe Bernardy
948f0b8497
more MMIO support
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5627 a1c6a512-1295-4272-9138-f99709370657
2005-01-21 22:22:06 +00:00
Jens Arnold
d392ffc365
Removed double definition of CONFIG_LCD.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5626 a1c6a512-1295-4272-9138-f99709370657
2005-01-21 20:44:33 +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
Jens Arnold
0978026dda
Rombox now properly uses all available DRAM for 8 MB builds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5560 a1c6a512-1295-4272-9138-f99709370657
2005-01-12 01:25:19 +00:00
Jens Arnold
76b257fd40
New channel configuration setting, allowing fine-grained control of the stereo width. This replaces the 'stereo narrow' and 'stereo wide' modes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5559 a1c6a512-1295-4272-9138-f99709370657
2005-01-12 00:24:15 +00:00
Daniel Stenberg
01c484c5d2
Jean-Philippe Bernardy: minor correction
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5558 a1c6a512-1295-4272-9138-f99709370657
2005-01-10 22:20:46 +00:00
Daniel Stenberg
ed69c36cdf
Now define the exact LCD controller in use.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5557 a1c6a512-1295-4272-9138-f99709370657
2005-01-10 22:03:05 +00:00
Daniel Stenberg
b42509b14f
Jean-Philippe Bernardy: TCC730 adjustments
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5556 a1c6a512-1295-4272-9138-f99709370657
2005-01-10 22:02:26 +00:00
Daniel Stenberg
7c5169d4c5
Jean-Philippe Bernardy: fixed to use long for 32 bit values
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5555 a1c6a512-1295-4272-9138-f99709370657
2005-01-10 22:00:54 +00:00
Daniel Stenberg
2a3acde58f
gmini adjustments, with a new CONFIG_LCD setup being prepared
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5554 a1c6a512-1295-4272-9138-f99709370657
2005-01-10 21:54:28 +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
d3e107cd2a
Jean-Philippe Bernardy: gmini support
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5551 a1c6a512-1295-4272-9138-f99709370657
2005-01-10 21:33:54 +00:00
Daniel Stenberg
39fb8f0705
Jean-Philippe Bernardy: C versions of memset() and memcpy() for archs with
...
no asm optimized versions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5550 a1c6a512-1295-4272-9138-f99709370657
2005-01-10 21:31:13 +00:00
Daniel Stenberg
87923f2459
Reverted latest change due to compiler warning. led() doesn't do anything
...
anyway if HAVE_LED isn't defined
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5549 a1c6a512-1295-4272-9138-f99709370657
2005-01-10 00:06:32 +00:00
Daniel Stenberg
9e98e2c5f7
don't include the types, we use plain C variable types
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5548 a1c6a512-1295-4272-9138-f99709370657
2005-01-09 23:43:04 +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
Daniel Stenberg
3fce85735e
Jean-Philippe Bernardy: only flash with LED if there is a led available!
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5546 a1c6a512-1295-4272-9138-f99709370657
2005-01-09 23:24:57 +00:00
Daniel Stenberg
fe79cd8fa9
Jean-Philippe Bernardy: ported to gmini120
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5545 a1c6a512-1295-4272-9138-f99709370657
2005-01-09 23:24:02 +00:00
Daniel Stenberg
570640fb77
Jean-Philippe Bernardy: TCC730 support added
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5543 a1c6a512-1295-4272-9138-f99709370657
2005-01-09 23:17:32 +00:00
Daniel Stenberg
81bf83d1f9
Jean-Philippe Bernardy: gmini keypad added
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5542 a1c6a512-1295-4272-9138-f99709370657
2005-01-09 23:16:27 +00:00
Daniel Stenberg
0d09b740d5
Jean-Philippe Bernardy: calmrisc header file (gmini work)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5541 a1c6a512-1295-4272-9138-f99709370657
2005-01-09 23:15:37 +00:00
Jens Arnold
e1a1926f46
Use the register shadow variable in all places.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5539 a1c6a512-1295-4272-9138-f99709370657
2005-01-09 00:58:59 +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
Daniel Stenberg
521ecb8162
Early and basic gmini 120 config. Needs attention and corrections.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5532 a1c6a512-1295-4272-9138-f99709370657
2005-01-04 15:00:55 +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
Jörg Hohensohn
dcdffe828c
using a pointer instead of array dereferencing saves ~250 bytes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5529 a1c6a512-1295-4272-9138-f99709370657
2005-01-03 20:23:42 +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
7ec0c9d3e7
finally: multivolume for Ondio officially enabled (use MMC and internal 128MB seamless)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5524 a1c6a512-1295-4272-9138-f99709370657
2005-01-01 16:02:37 +00:00
Jörg Hohensohn
6dda40124d
volume names look better in sharp brackets, code slightly more compact
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5523 a1c6a512-1295-4272-9138-f99709370657
2005-01-01 14:27:28 +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
1a5962f2be
Shared mounting code, also more general. It will mount multiple HD partitions, too, once HAVE_MULTIVOLUME is enabled.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5518 a1c6a512-1295-4272-9138-f99709370657
2004-12-29 22:10:24 +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
Jörg Hohensohn
dfa95c334b
different kind of recording beep: more faint, but not disturbing prerecording, can beep while we already record (no latency due to beep)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5511 a1c6a512-1295-4272-9138-f99709370657
2004-12-24 08:42:45 +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
Jörg Hohensohn
3bf321ff1c
aid for blind recorders: longer beep when starting a recording, short beep when resuming it (you may disable the voice UI to get rid of it)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5502 a1c6a512-1295-4272-9138-f99709370657
2004-12-21 23:49:43 +00:00
Linus Nielsen Feltzing
78cf6aa6dc
Proper ATA and SDRAM initialization
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5497 a1c6a512-1295-4272-9138-f99709370657
2004-12-20 01:36:58 +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
dad5de672f
iRiver has hard drive poweroff
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5495 a1c6a512-1295-4272-9138-f99709370657
2004-12-20 01:33:52 +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
Jörg Hohensohn
fee8617479
multiple choice configuration CONFIG_BACKLIGHT instead of HAVE_BACKLIGHT, allows better control of how to do this per model
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5491 a1c6a512-1295-4272-9138-f99709370657
2004-12-18 10:29:47 +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
Linus Nielsen Feltzing
a0d5bea9ec
The debug output now reports the correct mpeg layer
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5476 a1c6a512-1295-4272-9138-f99709370657
2004-12-01 11:04:39 +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
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
Linus Nielsen Feltzing
abeb582a9c
Coldfire: set_irq_level() mixed up the in/out registers
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5363 a1c6a512-1295-4272-9138-f99709370657
2004-10-27 06:49:15 +00:00
Linus Nielsen Feltzing
bf41fcee8b
Coldfire: Clear the .bss section
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5362 a1c6a512-1295-4272-9138-f99709370657
2004-10-26 22:24:43 +00:00
Linus Nielsen Feltzing
e5b141c439
Wrong access mask for LCD and ATA registers
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5353 a1c6a512-1295-4272-9138-f99709370657
2004-10-26 06:55:13 +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
Linus Nielsen Feltzing
ba809183a8
Ported to Coldfire
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5347 a1c6a512-1295-4272-9138-f99709370657
2004-10-26 05:40:24 +00:00
Linus Nielsen Feltzing
2df45f784f
Update pause_start_time when creating new files. Fixes bug report #988839 .
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5342 a1c6a512-1295-4272-9138-f99709370657
2004-10-25 12:04:45 +00:00
Jens Arnold
bf58c7dca5
The battery level thresholds for Ondio were a bit optimistic
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5341 a1c6a512-1295-4272-9138-f99709370657
2004-10-25 00:08:38 +00:00
Jörg Hohensohn
ef8d508d5a
tuner cleanup + improvements:
...
- use sleep and powerdown for those who can
- philips station search works now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5306 a1c6a512-1295-4272-9138-f99709370657
2004-10-19 08:20:38 +00:00
Jörg Hohensohn
6694212a6f
minor touchup, to make the tuner interface independent from the IF
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5302 a1c6a512-1295-4272-9138-f99709370657
2004-10-18 07:58:59 +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
Jens Arnold
672305f0a1
Another small adjustment for Ondio: Don't adjust initial battery level for non-existing HD activity
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5287 a1c6a512-1295-4272-9138-f99709370657
2004-10-15 18:52:54 +00:00
Jens Arnold
c4f96930f0
Adjusted power thread to Ondio: no charging, no car adapter mode, different current values for runtime estimation
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5286 a1c6a512-1295-4272-9138-f99709370657
2004-10-15 18:18:15 +00:00
Linus Nielsen Feltzing
a5117f0bb6
Ported interrupt vector handling to Coldfire
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5285 a1c6a512-1295-4272-9138-f99709370657
2004-10-15 11:33:58 +00:00
Linus Nielsen Feltzing
82fb2ace77
Cleaned up and started porting to Coldfire
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5284 a1c6a512-1295-4272-9138-f99709370657
2004-10-15 11:32:58 +00:00
Linus Nielsen Feltzing
435737aa77
stacksymbols adapted to Coldfire
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5281 a1c6a512-1295-4272-9138-f99709370657
2004-10-15 02:14:45 +00:00
Linus Nielsen Feltzing
7b91ec6b19
Threading ported to Coldfire
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5280 a1c6a512-1295-4272-9138-f99709370657
2004-10-15 02:13:43 +00:00
Linus Nielsen Feltzing
29644eb8f8
Coldfire: Set up DRAM controller, copy data/iram sections and call main()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5279 a1c6a512-1295-4272-9138-f99709370657
2004-10-15 02:10:30 +00:00
Jens Arnold
ab232fc65a
Disabling all timers on rolo fixes the problems with roloed Archos firmware on Ondio. It's probably a good idea to do this for all models
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5277 a1c6a512-1295-4272-9138-f99709370657
2004-10-14 23:40:58 +00:00
Jens Arnold
64a17574e3
Fix: Doing the port function setting first in usb_enable() fixes the instability with cold-started rockbox on Ondio (PA5 was high after the first usb_enable(false); with the old init order
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5276 a1c6a512-1295-4272-9138-f99709370657
2004-10-14 21:58:33 +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
ba0a797b16
No hard-coded minimum capacity any more
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5272 a1c6a512-1295-4272-9138-f99709370657
2004-10-14 00:57:23 +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
5e54aa956f
MACH, MACL and SR are no longer part of the SH1 thread context
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5268 a1c6a512-1295-4272-9138-f99709370657
2004-10-13 11:32:26 +00:00
Linus Nielsen Feltzing
df3d5ae059
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@5260 a1c6a512-1295-4272-9138-f99709370657
2004-10-12 11:20:59 +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
Linus Nielsen Feltzing
86264666f6
SYS_xxx events now don't share bits with regular events. New event: SYS_POWEROFF.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5257 a1c6a512-1295-4272-9138-f99709370657
2004-10-12 10:58:11 +00:00
Jens Arnold
4690ddd87a
Bus controller inits are valid for all models. Corrected WCR1 init according to the datasheet (dontcare bits shall be written as 1)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5256 a1c6a512-1295-4272-9138-f99709370657
2004-10-12 09:09:16 +00:00
Jens Arnold
1acc38f9d9
Disabled S/PDIF out for models where S/PDIF output is not physically available. Should reduce possible interference. If you have modded your FM/V2 to have such an output, define HAVE_SPDIF_OUT in the corresponding config-xxx.h file to re-enable it
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5253 a1c6a512-1295-4272-9138-f99709370657
2004-10-11 22:53:49 +00:00
Linus Nielsen Feltzing
72d2535a49
Stepping backwards over non-existing files now works. Thanks to Christian Marg for pinpointing the problem.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5249 a1c6a512-1295-4272-9138-f99709370657
2004-10-11 07:55:45 +00:00
Jens Arnold
6a4ed54e96
Properly initialize the bus controller for Ondio as well. Fixes coldstart from flash on Ondio SP, both classic and RomBox
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5248 a1c6a512-1295-4272-9138-f99709370657
2004-10-10 22:37:56 +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
Jörg Hohensohn
21dc90e580
more realistic limits for AAA cells
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5244 a1c6a512-1295-4272-9138-f99709370657
2004-10-10 16:19:19 +00:00
Jens Arnold
fe32456fe0
Consistent battery capacity handling for settings and menu, adapted allowed range for Ondio
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5243 a1c6a512-1295-4272-9138-f99709370657
2004-10-10 10:28:21 +00:00
Jens Arnold
ccfa4cd97a
Removed car adapter mode for Ondio, and changed the misleading config option HAVE_BATTERIES to the more appropriate HAVE_CHARGING
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5242 a1c6a512-1295-4272-9138-f99709370657
2004-10-10 01:25:32 +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
a1a08d0d5f
Removed backlight handling remains for platforms with no backlight (Ondio)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5236 a1c6a512-1295-4272-9138-f99709370657
2004-10-09 19:56:27 +00:00
Jens Arnold
5ae37f0ddb
Limit read chunk size for MMC to 256 KB. Fixes playback problems for high-bitrate files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5235 a1c6a512-1295-4272-9138-f99709370657
2004-10-09 12:42:56 +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
Jörg Hohensohn
af2d88081a
battery levels adjusted for Ondio
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5230 a1c6a512-1295-4272-9138-f99709370657
2004-10-08 21:44:24 +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
Jörg Hohensohn
43079ea07f
multiple battery types prepared (CONFIG_BATTERY)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5227 a1c6a512-1295-4272-9138-f99709370657
2004-10-08 17:45:52 +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
0d472c457b
Set up the Flash, LCD and ATA chip selects
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5220 a1c6a512-1295-4272-9138-f99709370657
2004-10-08 08:04:11 +00:00
Linus Nielsen Feltzing
3796a58cea
Let's put the DRAM at 0x30000000 on the iRiver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5219 a1c6a512-1295-4272-9138-f99709370657
2004-10-08 08:02:50 +00:00
Jens Arnold
9a1469f3b5
Fixed typo
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5215 a1c6a512-1295-4272-9138-f99709370657
2004-10-08 00:26:53 +00:00
Linus Nielsen Feltzing
9411db3b4b
First iRiver startup code, does nothing but blink the backlight
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5212 a1c6a512-1295-4272-9138-f99709370657
2004-10-07 11:31:28 +00:00
Linus Nielsen Feltzing
5e1e1b6b07
Modest start on the H100
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5211 a1c6a512-1295-4272-9138-f99709370657
2004-10-07 08:44:58 +00:00
Linus Nielsen Feltzing
eb5463d158
Ported to iRiver H100
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5209 a1c6a512-1295-4272-9138-f99709370657
2004-10-07 08:38:51 +00:00
Linus Nielsen Feltzing
74c445c0fd
Now used IRAMORIG
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5208 a1c6a512-1295-4272-9138-f99709370657
2004-10-07 08:37:25 +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
d718786c68
The endian swap macros should be unsigned. This fixes the FAT16 issue.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5195 a1c6a512-1295-4272-9138-f99709370657
2004-10-06 23:16:38 +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
Daniel Stenberg
b41cd24bda
include cpu header only if explicit CPU match
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5190 a1c6a512-1295-4272-9138-f99709370657
2004-10-06 17:20:47 +00:00
Linus Nielsen Feltzing
8b82407af7
sh7024.h -> cpu.h
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5189 a1c6a512-1295-4272-9138-f99709370657
2004-10-06 13:49:48 +00:00
Linus Nielsen Feltzing
ad7be685e1
ENDADDR is now correctly defined
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5188 a1c6a512-1295-4272-9138-f99709370657
2004-10-06 13:48:25 +00:00
Linus Nielsen Feltzing
c00e4b29e9
Adapted for iRiver H1xx
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5187 a1c6a512-1295-4272-9138-f99709370657
2004-10-06 13:30:44 +00:00
Linus Nielsen Feltzing
f8e1183a52
Changed CPU name, removed HAVE_LED
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5186 a1c6a512-1295-4272-9138-f99709370657
2004-10-06 13:29:44 +00:00
Linus Nielsen Feltzing
ad2c20d027
Changed CPU name
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5185 a1c6a512-1295-4272-9138-f99709370657
2004-10-06 13:29:10 +00:00
Linus Nielsen Feltzing
c69110cbe0
CPU definition file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5184 a1c6a512-1295-4272-9138-f99709370657
2004-10-06 13:28:02 +00:00
Linus Nielsen Feltzing
515d819d3e
CPU definitions for MCF5249
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5183 a1c6a512-1295-4272-9138-f99709370657
2004-10-06 13:25:56 +00:00
Linus Nielsen Feltzing
17dc72a281
Removed Neo support
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5182 a1c6a512-1295-4272-9138-f99709370657
2004-10-06 08:44:08 +00:00
Björn Stenberg
ebbe0a77ae
Removed erroneous comment.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5181 a1c6a512-1295-4272-9138-f99709370657
2004-10-06 07:14:17 +00:00
Linus Nielsen Feltzing
0e0ccab138
Oops, I meant to disable SDO
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5180 a1c6a512-1295-4272-9138-f99709370657
2004-10-05 21:51:09 +00:00
Linus Nielsen Feltzing
2506e7d9bc
Increased strength on S/PDIF outputs, fixes bug #770355
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5179 a1c6a512-1295-4272-9138-f99709370657
2004-10-05 20:07:02 +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
Daniel Stenberg
d2f2953a74
only compile files that are relevant
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5173 a1c6a512-1295-4272-9138-f99709370657
2004-10-05 07:58:54 +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
Daniel Stenberg
9bf0cd1fc0
added the new SOURCES files to the tarball
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5159 a1c6a512-1295-4272-9138-f99709370657
2004-10-04 13:04:45 +00:00
Daniel Stenberg
9c85941786
new SOURCES file that specifies which files to build in each dir, use
...
config.h preprocessor symbols to make conditionals
use the GCCOPTS now specified in the root Makefile by configure
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5158 a1c6a512-1295-4272-9138-f99709370657
2004-10-04 13:03:33 +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
4f8d3482c6
Fix: MAS SIBI control now is output as intended
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5152 a1c6a512-1295-4272-9138-f99709370657
2004-10-02 21:53:21 +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
Jörg Hohensohn
85c91a3b8e
void* can't be offset, gcc should not allows this
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5147 a1c6a512-1295-4272-9138-f99709370657
2004-10-01 19:45:51 +00:00
Jörg Hohensohn
b0617f15c2
test code portable now
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5146 a1c6a512-1295-4272-9138-f99709370657
2004-10-01 19:44:54 +00:00
Jörg Hohensohn
b2c2738f09
test code portable now
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5145 a1c6a512-1295-4272-9138-f99709370657
2004-10-01 19:19:09 +00:00
Jens Arnold
65bee608f6
Fixed a typo which lead to non-initialized MAS on Ondio SP
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5144 a1c6a512-1295-4272-9138-f99709370657
2004-10-01 18:47:19 +00:00
Jörg Hohensohn
52653f2946
Ondio PACR inits for cold start
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5143 a1c6a512-1295-4272-9138-f99709370657
2004-10-01 17:26:48 +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
Jörg Hohensohn
1e570da280
Ondio config cleanup, SIBI support
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5139 a1c6a512-1295-4272-9138-f99709370657
2004-10-01 07:36:25 +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
4341211ddc
Added header file for bitswap, and made the fliptable global for re-use
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5120 a1c6a512-1295-4272-9138-f99709370657
2004-09-26 09:25:59 +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
Daniel Stenberg
8e55d0cca0
adjusted to work better in the new concept
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5108 a1c6a512-1295-4272-9138-f99709370657
2004-09-22 21:40:45 +00:00
Daniel Stenberg
fc1e925c16
Rearranged makefiles again to move platform-specific stuff from the Makefiles
...
to either the configure script or to be ifdefed in the sources.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5103 a1c6a512-1295-4272-9138-f99709370657
2004-09-22 08:58:50 +00:00