summaryrefslogtreecommitdiff
path: root/apps/plugins/rockboy/lcd.c (follow)
Commit message (Collapse)AuthorAge
* lcd-24bit: Introduce a 24-bit mid-level LCD driverThomas Martitz2014-06-21
| | | | | | | | | | | | | | | | | With LCD driver all calculation will be performed on RGB888 and the hardware/OS can display from our 24bit framebuffer. It is not yet as performance optimized as the existing drivers but should be good enough.The vast number of small changes is due to the fact that fb_data can be a struct type now, while most of the code expected a scalar type. lcd-as-memframe ASM code does not work with 24bit currently so the with 24bit it enforces the generic C code. All plugins are ported over. Except for rockpaint. It uses so much memory that it wouldnt fit into the 512k plugin buffer anymore (patches welcome). Change-Id: Ibb1964545028ce0d8ff9833ccc3ab66be3ee0754
* Rockboy: Added an short stats option which only shows the two numbersMichael Stummvoll2010-11-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28658 a1c6a512-1295-4272-9138-f99709370657
* plugins: use lcd_putsf/lcd_putsxyfRafaël Carré2010-08-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27926 a1c6a512-1295-4272-9138-f99709370657
* Rockboy: Significantly reduce the number of palette updates, add support for ↵Karl Kurbjun2009-08-09
| | | | | | hardware palette mode, screen can now be rotated left or right. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22214 a1c6a512-1295-4272-9138-f99709370657
* Convert a number of places in core and plugins to use the BIT_N() macro ↵Jens Arnold2009-06-07
| | | | | | instead of 1<<n. Speeds up things on SH1, and also reduces core binsize. Most notable speedups: 1 bit lcd driver: drawpixel +20%, drawline + 27%, hline +5%; jpeg viewer: +8% for 1/8 scaling. Other targets are unaffected. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21205 a1c6a512-1295-4272-9138-f99709370657
* Revert last commit (accidentally committed the whole tree)Karl Kurbjun2008-11-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19095 a1c6a512-1295-4272-9138-f99709370657
* Add in the needed crt0.S code for the wakeup alarm alsoKarl Kurbjun2008-11-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19094 a1c6a512-1295-4272-9138-f99709370657
* Code police and clean up for rockboy.Tom Ross2007-10-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15144 a1c6a512-1295-4272-9138-f99709370657
* Fix rockboy for the H100's. Thanks for fixing the HW codec players PeterKarl Kurbjun2007-06-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13708 a1c6a512-1295-4272-9138-f99709370657
* Sound improvements for rockboy - players now sync the sound (The gigabeat ↵Karl Kurbjun2007-06-24
| | | | | | now plays at a steady 60 fps as long as the frameskip is set properly). If a new sample is not available a blank buffer is used. All devices use 44.1 kHz for gameboy sound now so no more high pitched sounds. Added a screen rotation option. Removed unscaled code for devices with a screensize smaller than the gameboy. All buttons are now configurable. Scroll wheel devices still have button configuration problems though. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13698 a1c6a512-1295-4272-9138-f99709370657
* Code cleaning - remove some unnecessary defined(SIMULATOR) checksDave Chapman2007-05-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13369 a1c6a512-1295-4272-9138-f99709370657
* #if => #ifdefDaniel Stenberg2007-02-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12388 a1c6a512-1295-4272-9138-f99709370657
* Major Rockboy update. Tom Ross2007-02-06
| | | | | | | | | | | | | | | | | | | | | 1) Adapt Rockboy to smaller screens (H10, X5, and iPod Nano). 2) Add the ability to use a preset palette on color targets. Choose 'Set Palette' from the main menu. 3) Clean up the code to remove any unused code and variables. 4) Changed tabs to spaces. 5) Disable reading and writing sound when sound is disabled. 6) Disbable writing to the RTC since it is not implemented yet. 7) Minor optimizations from WAC gnuboy CE and iBoy. 8) Massive clean up of code to make it appear consistent. 9) Change all C++ style comments to C style. 10) Completely reorganize dynarec. Add fixmes to all unimplemented opcodes. Add debug writes for all opcodes. Attempt to implement a few opcodes myself. 11) Silence some warnings when built using dynarec. 12) Minor reshuffling of IRAM, may or not offer a speed increase. 13) Include fixes found in the short-lived gnuboy CVS. All in all, there's about a 10% improvement on my test roms when sound is disabled and slight improvement with sound. Especially noticable when there are few sprites on screen and less action is occurring. See FS #6567. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12216 a1c6a512-1295-4272-9138-f99709370657
* Fix the scaling not being initialized properly.Karl Kurbjun2006-06-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10139 a1c6a512-1295-4272-9138-f99709370657
* Update for Rockboy: - fix scaling for other color screens than H300 - full ↵Karl Kurbjun2006-06-19
| | | | | | menu rewrite to display choices properly - some small tweaks to code - some formatting updates git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10137 a1c6a512-1295-4272-9138-f99709370657
* MCF5249 isn't the only Coldfire CPULinus Nielsen Feltzing2006-03-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9355 a1c6a512-1295-4272-9138-f99709370657
* Correctly byte-swap the pixel values for the iPod 4G Color and Nano - this ↵Dave Chapman2006-02-27
| | | | | | fixes the colours for those players git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8860 a1c6a512-1295-4272-9138-f99709370657
* Karl Kurbjun's patch #1407719:Daniel Stenberg2006-01-20
| | | | | | | | | | | | | | Here's another patch for rockboy that adds automatic frameskip (it's pretty rough as I haven't figured out an accurate timer), fullscreen support on the H300, and a bit of assembly and some IRAM stuff. I'm not sure if I'm doing the IRAM stuff correct though as it doesn't seem to make much of a difference if any. I've also added a statistics option that will show how many frames per second the gameboy is seeing (not what the player is getting) and what the frameskip is at. When you enable stats sometimes you have to go back into the menu and then come out to clear erronous values. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8397 a1c6a512-1295-4272-9138-f99709370657
* Patch #1401999 by Karl Kurbjun - Rockboy color, sound support, and speedupsLinus Nielsen Feltzing2006-01-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8324 a1c6a512-1295-4272-9138-f99709370657
* Don't include the .bss and .ibss sections in the binary image for codecs and ↵Jens Arnold2006-01-08
| | | | | | plugins. Saves quite some disk space (and buffer space in case of codec changes during playback). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8308 a1c6a512-1295-4272-9138-f99709370657
* Rockboy: adapted to colour LCD (but no colours for gameboy color games yet). ↵Jens Arnold2005-11-16
| | | | | | Some cleanup; killed a ton of TABs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7915 a1c6a512-1295-4272-9138-f99709370657
* Rockboy: Asm optimised updatepatpix() for coldfire. The vertical-mirroring ↵Jens Arnold2005-09-11
| | | | | | pattern copy profits from burst mode (line aligned movem). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7509 a1c6a512-1295-4272-9138-f99709370657
* 4-shades greyscale graphics core for iriver H1x0. 4-grey rockbox logo and ↵Jens Arnold2005-07-06
| | | | | | 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
* Centralised the ICODE_ATTR and IDATA_ATTR #defines. Renamed some musepack ↵Jens Arnold2005-07-03
| | | | | | and rockboy headers to avoid clashes with rockbox headers. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6991 a1c6a512-1295-4272-9138-f99709370657
* New lcd mode: drop every 9th line; set as default.Michiel Van Der Kolk2005-03-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6136 a1c6a512-1295-4272-9138-f99709370657
* New lcd mode; drop top 8 and bottom 8 linesMichiel Van Der Kolk2005-03-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6135 a1c6a512-1295-4272-9138-f99709370657
* Grayscale support for rockboy - can't work without markuns patch,Michiel Van Der Kolk2005-03-04
| | | | | | | needs rockbox' internal framebuffer in 2 bit (4 pixels / byte) format. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6132 a1c6a512-1295-4272-9138-f99709370657
* Added dynarec(under construction) and outline for lcd modesMichiel Van Der Kolk2005-03-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6119 a1c6a512-1295-4272-9138-f99709370657
* Functions and data into iram mode for iriver, seems faster.Michiel Van Der Kolk2005-03-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6112 a1c6a512-1295-4272-9138-f99709370657
* Rockboy - gameboy emulation for rockbox, based on gnuboy. Still a bit early, ↵Jens Arnold2005-03-02
but already playable on iRiver H1xx and the simulators. The archos recorder version is currently rather slow... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6104 a1c6a512-1295-4272-9138-f99709370657