Commit graph

32 commits

Author SHA1 Message Date
Jens Arnold
71bc504e5f The const police strikes and hits itself.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7772 a1c6a512-1295-4272-9138-f99709370657
2005-11-06 23:49:29 +00:00
Jens Arnold
abd9f83e92 Two new sections for IRAM usage: .irodata (selectable with the ICONST_ATTR attribute macro), allowing to put 'const' data into IRAM without causing a section type conflict, and .ibss (selectable with the IBSS_ATTR attribute macro) for uninitialised data. * Rockbox core: Adjusted the linker scripts and init code to not include the .ibss section in the binary, it is cleared instead. Saves ~500 bytes on archos and ~30KB on iriver. Codecs and plugins don't handle .ibss in a special way yet. * The init code properly handles empty sections now (except .stack, which should never be empty). * Unified the init code for SH1 and coldfire a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7644 a1c6a512-1295-4272-9138-f99709370657
2005-10-19 19:35:24 +00:00
Jens Arnold
a1de081a1b Ooops, forgot to fix that comment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7572 a1c6a512-1295-4272-9138-f99709370657
2005-09-30 20:11:31 +00:00
Jens Arnold
1a40e10933 H1x0: Changed lcd_blit() and the grayscale library to use the same internal format as on archos (1bpp). While the slowdown of the ISR is minimal (the intermediate buffers are in IRAM), the planar grayscale buffer takes only half the space for a given depth, and gray_update[_rect]() and unbuffered drawing/scrolling are faster because less data needs to be moved. It should also make porting of video.rock somewhat easier. * Archos recorders, Ondios: Some slight optimisations of the grayscale library.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7571 a1c6a512-1295-4272-9138-f99709370657
2005-09-30 20:10:27 +00:00
Linus Nielsen Feltzing
41a53d2c1c Patch #783877 by Gadi Cohen updated by Naftali Goldstein - Bidirectional text support for Hebrew and Arabic
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7292 a1c6a512-1295-4272-9138-f99709370657
2005-08-08 19:23:28 +00:00
Jens Arnold
05af28036e Fixed scroll step settings >127 pixels not working (reported on irc). Changed some other LCD driver variables to the natural 'int', cuts down binary size on coldfire a bit. Cleaned up some more settings bits. Bumped config block version, so save your settings to a file before upgrading.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7247 a1c6a512-1295-4272-9138-f99709370657
2005-07-28 08:36:24 +00:00
Jens Arnold
2ef8a8722d Fixed lcd_blit().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7170 a1c6a512-1295-4272-9138-f99709370657
2005-07-16 02:09:22 +00:00
Jens Arnold
bf9f28b03b Greyscale graphics driver: Added missing function.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7141 a1c6a512-1295-4272-9138-f99709370657
2005-07-14 18:11:36 +00:00
Jens Arnold
f894a4c269 4-shades greyscale graphics core for iriver H1x0. 4-grey rockbox logo and light grey background in splash() boxes. Simplified the splash() box creation as the new graphics core does clipping. Adapted screendump feature and added flexible preprocessing to construct the bmp header. Rockboy now uses 4-grey mode as well. 4-grey support for win32 simulator. Fixed win32 player sim to not use double bitmap conversion via a recorder-like framebuffer, and correctly display double-height text. X11 simulator temporarily adapted. The display won't be distorted, but it still shows b&w only.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7046 a1c6a512-1295-4272-9138-f99709370657
2005-07-06 22:58:02 +00:00
Jens Arnold
bb3ed3cda9 Use the central IDATA_ATTR define.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6992 a1c6a512-1295-4272-9138-f99709370657
2005-07-03 15:09:11 +00:00
Jens Arnold
3291ae6bfa A couple of optimisations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6981 a1c6a512-1295-4272-9138-f99709370657
2005-07-02 07:21:21 +00:00
Jens Arnold
a142d4d79f Graphics: Lowlevel block function are in IRAM now as they're called often. Switched the masking logic for better readability. Draw modes and lowlevel function types are now defined for all platforms.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6952 a1c6a512-1295-4272-9138-f99709370657
2005-06-30 18:42:24 +00:00
Jens Arnold
7f8cc3f1c6 Ooops...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6935 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 21:33:36 +00:00
Jens Arnold
576908d36a Third part of graphics api rework. Some small but effective optimisations. Ported remote lcd driver to new api. Preparations for including the low-level functions in the plugin api.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6907 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 01:39:50 +00:00
Jens Arnold
7e11acbce9 Second part of graphics api rework. Bitmap drawing and text output converted; some code cleanup and more optimisations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6906 a1c6a512-1295-4272-9138-f99709370657
2005-06-28 23:15:47 +00:00
Jens Arnold
492424bce0 H1x0: Reordered lcd init sequence to match the datasheet, including the recommended pause.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6897 a1c6a512-1295-4272-9138-f99709370657
2005-06-27 19:28:55 +00:00
Jens Arnold
1224d578e8 Oops, the XYZ_PIXEL() macros are used elsewhere, so bring them back.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6860 a1c6a512-1295-4272-9138-f99709370657
2005-06-25 01:06:24 +00:00
Jens Arnold
934941294b Core functions taking advantage of the new, optimised lcd_hline() and lcd_vline() functions. Some cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6859 a1c6a512-1295-4272-9138-f99709370657
2005-06-25 00:28:09 +00:00
Jens Arnold
24a1f94cd7 Fixed yellow FM builds, and changed the function type names according to the rockbox coding style.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6858 a1c6a512-1295-4272-9138-f99709370657
2005-06-24 23:06:06 +00:00
Jens Arnold
04daef17a1 First part of graphics api rework. Special functions, parameter handling, pixel functions, lines and filled primitives done for black & white core, main display.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6856 a1c6a512-1295-4272-9138-f99709370657
2005-06-24 22:33:21 +00:00
Jens Arnold
6a556c1740 Preparations for implementing the new graphics api: Ordered lcd bitmap driver defines, variables and functions by function groups. Centralised some definitions, code cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6844 a1c6a512-1295-4272-9138-f99709370657
2005-06-23 16:53:54 +00:00
Jens Arnold
ba7dccf15a Fixed graphical glitch occuring in flipped lcd mode.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6738 a1c6a512-1295-4272-9138-f99709370657
2005-06-17 20:02:05 +00:00
Christian Gmeiner
c6ec0f48a5 moved lcd_getstringsize into font.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6321 a1c6a512-1295-4272-9138-f99709370657
2005-04-19 12:47:16 +00:00
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
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
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
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
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
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
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
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