Dave Chapman
260f8d3480
Add LCD_PIXELFORMAT config variable to distinguish between the two types of 16-bit framebuffers (the ipod framebuffer is byte-swapped)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7977 a1c6a512-1295-4272-9138-f99709370657
2005-11-19 02:06:46 +00:00
Linus Nielsen Feltzing
d5f3e9ba83
H100: turn off remote backlight before cutting the power
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7975 a1c6a512-1295-4272-9138-f99709370657
2005-11-19 01:30:42 +00:00
Linus Nielsen Feltzing
30393c2c6a
Patch #1346455 by Jens Arnold - SDRAM init fixes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7974 a1c6a512-1295-4272-9138-f99709370657
2005-11-19 01:10:54 +00:00
Linus Nielsen Feltzing
b4984492ef
H300: remote backlight on GPO33
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7973 a1c6a512-1295-4272-9138-f99709370657
2005-11-19 01:09:38 +00:00
Miika Pekkarinen
10f2f89d0f
Fixed an empty directory problem with dircache when renaming files.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7966 a1c6a512-1295-4272-9138-f99709370657
2005-11-18 19:28:22 +00:00
Linus Nielsen Feltzing
e16ebf1a50
Moved the power_init() call to main(), removed unfinished inits for the H300
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7964 a1c6a512-1295-4272-9138-f99709370657
2005-11-18 14:55:51 +00:00
Linus Nielsen Feltzing
bd0d12c43e
H300: The FM tuner uses different port pins
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7963 a1c6a512-1295-4272-9138-f99709370657
2005-11-18 14:33:06 +00:00
Linus Nielsen Feltzing
64d9ee70c2
H300: power_init() adjustments
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7962 a1c6a512-1295-4272-9138-f99709370657
2005-11-18 14:21:08 +00:00
Linus Nielsen Feltzing
f4c2b96daa
H300 has no ATA LED
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7961 a1c6a512-1295-4272-9138-f99709370657
2005-11-18 14:06:50 +00:00
Miika Pekkarinen
735f453730
Added dircache support to playlist. Now playlist filename pointers are
...
automatically accuired from dircache. WPS UI response with dircache
enabled should be instant.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7931 a1c6a512-1295-4272-9138-f99709370657
2005-11-17 19:31:29 +00:00
Jens Arnold
6a5cc3a767
16bit LCD driver: Optimised native bitmap drawing.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7929 a1c6a512-1295-4272-9138-f99709370657
2005-11-17 18:33:50 +00:00
Dave Chapman
a436a7497d
Minor cleaning of the iPod LCD driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7927 a1c6a512-1295-4272-9138-f99709370657
2005-11-17 10:00:27 +00:00
Jens Arnold
5236ca9886
Moved some often-used parts of the LCD driver into IRAM.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7921 a1c6a512-1295-4272-9138-f99709370657
2005-11-17 00:37:16 +00:00
Linus Nielsen Feltzing
4be7e5f560
Always turn on the backlight in the H300 boot loader
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7919 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 23:53:01 +00:00
Linus Nielsen Feltzing
73a35a1aa4
Reverted erroneous commit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7918 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 23:42:19 +00:00
Linus Nielsen Feltzing
df0e5effc5
Cleaned up bootloader linker control file and added the H300 target
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7916 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 23:15:59 +00:00
Jens Arnold
5b2cba17aa
Changed the LCD_COLOR pixel value format to packed RGB (unsigned int). Now all LCDs with depth > 1 use the same datatype. Added macros for easy pixel value definition.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7912 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 21:09:23 +00:00
Linus Nielsen Feltzing
76b75efa06
H300 button driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7908 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 14:26:18 +00:00
Linus Nielsen Feltzing
5f6ee67b20
Added adc_scan() prototype for H300
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7907 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 13:37:35 +00:00
Linus Nielsen Feltzing
91c4873253
H300: ADC driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7906 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 13:28:10 +00:00
Linus Nielsen Feltzing
ffe0b23902
Added single-byte read/write functions for the PCF50606 driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7905 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 13:27:07 +00:00
Linus Nielsen Feltzing
fa32b8c1b1
H300 has no S/PDIF
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7904 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 12:34:27 +00:00
Jens Arnold
5d8c1529a7
16bit LCD driver: * The colour get/set functions now use the native ranges for red/green/blue as intended. * Fixed lcd_fillrect(). * Properly working lcd_mono_bitmap_part(). * Implemented lcd_bitmap_part(). * Some optimisations.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7900 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 01:41:46 +00:00
Jens Arnold
3be6cf1574
16bit colour support (H300) for the win32 simulator.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7898 a1c6a512-1295-4272-9138-f99709370657
2005-11-15 23:37:21 +00:00
Thom Johansen
391f6af7ab
Shave off an instruction by use of conditionals.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7896 a1c6a512-1295-4272-9138-f99709370657
2005-11-15 16:56:20 +00:00
Dave Chapman
c267866675
Small optimisation to the lcd_update_rect function - read the framebuffer data as a 32-bit word
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7895 a1c6a512-1295-4272-9138-f99709370657
2005-11-15 15:37:00 +00:00
Dave Chapman
1a316d655b
Ensure the 16-bit framebuffer is aligned on a 4-byte boundary
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7894 a1c6a512-1295-4272-9138-f99709370657
2005-11-15 15:37:00 +00:00
Daniel Stenberg
6b569d3ace
completed the CONFIG_BACKLIGHT transition
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7887 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 23:37:19 +00:00
Linus Nielsen Feltzing
d29aef3d62
H300 backlight
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7885 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 22:12:50 +00:00
Dave Chapman
f5aebf7848
Fixes for new 16-bit framebuffer type
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7883 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 21:54:23 +00:00
Dave Chapman
ae7c55c12c
Fix compile error on iPod build - RGB_PACK resolves to a function on the iPod, so can't be used in an initialiser.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7882 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 21:54:16 +00:00
Linus Nielsen Feltzing
b6c0f95960
Added pcf50606 init
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7881 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 20:49:21 +00:00
Linus Nielsen Feltzing
63dc8c14b0
The 16-bit LCD driver is now 16-bit for real
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7880 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 20:48:34 +00:00
Linus Nielsen Feltzing
f1bdfbf691
H300 LCD and PCF50606 drivers
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7879 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 20:47:31 +00:00
Linus Nielsen Feltzing
0cb4a4610d
New type for the LCD frame buffer data
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7876 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 20:43:49 +00:00
Linus Nielsen Feltzing
dbc8c2c14c
First version of the H300 LCD driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7875 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 20:41:49 +00:00
Linus Nielsen Feltzing
3b0e8f89ab
H300: First lame attempt to a pcf50606 driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7873 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 19:50:16 +00:00
Linus Nielsen Feltzing
e4f0844172
No .S files should be compiled in the simulator builds
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7868 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 18:02:40 +00:00
Linus Nielsen Feltzing
85559de7d9
No assembler LCD driver yet for H300
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7867 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 15:41:04 +00:00
Linus Nielsen Feltzing
b034a830e4
H300: Correct LCD type and CODEC buffer size
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7862 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 14:58:30 +00:00
Dave Chapman
b2db4acc7e
iPod: Add backlight functions for Nano
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7853 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 01:28:17 +00:00
Thom Johansen
52e91de5d3
First attempt at iPod threading.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7852 a1c6a512-1295-4272-9138-f99709370657
2005-11-13 23:47:38 +00:00
Thom Johansen
e3095ee3b8
iPod fixes. Stack starts at stackend. Munge stack with 0xdeadbeef.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7851 a1c6a512-1295-4272-9138-f99709370657
2005-11-13 23:47:26 +00:00
Dave Chapman
061f38096a
Implement (unreliable) button detection using code from ipodlinux bootloader - this needs replacing by a better button driver in firmware/ and triple-boot bootloader functionality. Current button mappings: MENU loads rockbox.ipod and checks the checksum (but doesn't execute it), PLAY will load and execute a Linux kernel (linux.bin). An error in either of those two actions, or no keypress will load the original firmware
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7848 a1c6a512-1295-4272-9138-f99709370657
2005-11-13 20:59:30 +00:00
Linus Nielsen Feltzing
ab8d25e401
Allow S/PDIF as recording source in the archos sims
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7846 a1c6a512-1295-4272-9138-f99709370657
2005-11-13 15:16:57 +00:00
Anton Oleynikov
0bb62fb1e2
removed set audio status method - will be using different approach
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7844 a1c6a512-1295-4272-9138-f99709370657
2005-11-13 14:10:57 +00:00
Dave Chapman
7944771772
Force -mlong-calls for iPod builds. This issue still needs investigating as we do not want long-calls everywhere. The -ffunction-sections is also required to force gcc use long calls.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7841 a1c6a512-1295-4272-9138-f99709370657
2005-11-13 11:28:48 +00:00
Anton Oleynikov
f40a6fcb30
new function to set audio status (to be used later)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7839 a1c6a512-1295-4272-9138-f99709370657
2005-11-13 11:00:38 +00:00
Dave Chapman
0c0534e297
Add LCD_LIGHTGRAY and LCD_DARKGRAY macros and correctly use LCD_LIGHTGRAY in the old splash screen
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7837 a1c6a512-1295-4272-9138-f99709370657
2005-11-13 01:15:47 +00:00
Dave Chapman
e350d37bb7
iPod: Remove duplicate placeholder #ifdef
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7836 a1c6a512-1295-4272-9138-f99709370657
2005-11-13 00:03:27 +00:00