summaryrefslogtreecommitdiff
path: root/apps/plugins/rockboy/rockmacros.h (follow)
Commit message (Collapse)AuthorAge
* Don't reinvent ctype.h functionsNils Wallménius2012-05-07
| | | | | | | Remove ctype.h functions in text_editor and rockboy, fix #define name clash in mpegplayer. Change-Id: Icb40cf45e27b793c62cb095197757a27f508f344
* Initial commit of the Samsung YP-R0 port.Thomas Martitz2011-12-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This port is a hybrid native/RaaA port. It runs on a embedded linux system, but is the only application. It therefore can implement lots of stuff that native targets also implement, while leveraging the underlying linux kernel. The port is quite advanced. User interface, audio playback, plugins work mostly fine. Missing is e.g. power mangement and USB (see SamsungYPR0 wiki page). Included in utils/ypr0tools are scripts and programs required to generate a patched firmware. The patched firmware has the rootfs modified to load Rockbox. It includes a early/safe USB mode. This port needs a new toolchain, one that includes glibc headers and libraries. rockboxdev.sh can generate it, but e.g. codesourcey and distro packages may also work. Most of the initial effort is done by Lorenzo Miori and others (on ABI), including reverse engineering and patching of the original firmware, initial drivers, and more. Big thanks to you. Flyspray: FS#12348 Author: Lorenzo Miori, myself Merry christmas to ypr0 owners! :) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31415 a1c6a512-1295-4272-9138-f99709370657
* FS#12014 by Huan Zhang fixing some link errors with a recent mips toolchain.Nils Wallménius2011-03-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29615 a1c6a512-1295-4272-9138-f99709370657
* Added the snapshot patch for rockboy (FS#11757)Michael Stummvoll2010-11-25
| | | | | | | | Added a simple filesize-check for the options file before loading to avoid crashes due the changed config git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28664 a1c6a512-1295-4272-9138-f99709370657
* plugins (doom, midi, rockboy): don't use non-static inlineRafaël Carré2010-09-07
| | | | | | | some functions can be static -> static inline some functions are external and can't be inlined -> remove inline git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28019 a1c6a512-1295-4272-9138-f99709370657
* Make open() posix compliant api-wise. A few calls (those with O_CREAT) need ↵Thomas Martitz2010-05-06
| | | | | | the additional optional mode parameter so add it. Impact for the core is almost zero, as open() is a wrapper macro for the real open function which doesn't take the variable parameter. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25844 a1c6a512-1295-4272-9138-f99709370657
* FS#10080Nils Wallménius2009-07-14
| | | | | | | | | | * Move strncpy() from core to the pluginlib * Introduce strlcpy() and use that instead in most places (use memcpy in a few) in core and some plugins * Drop strncpy() from the codec api as no codec used it * Bump codec and plugin api versions git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21863 a1c6a512-1295-4272-9138-f99709370657
* loader-initialized global plugin API:Andrew Mahone2009-01-16
| | | | | | | | | | | | | | | | | struct plugin_api *rb is declared in PLUGIN_HEADER, and pointed to by __header.api the loader uses this pointer to initialize rb before calling entry_point entry_point is no longer passed a pointer to the plugin API all plugins, and pluginlib functions, are modified to refer to the global rb pluginlib functions which only served to copy the API pointer are removed git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19776 a1c6a512-1295-4272-9138-f99709370657
* Removed the sim_ prefix from the plugin api.Björn Stenberg2009-01-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19704 a1c6a512-1295-4272-9138-f99709370657
* revert plugin_api part of r18830, as this was the wrong solution for thoseFrank Gevaerts2008-10-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18831 a1c6a512-1295-4272-9138-f99709370657
* code police : fix some multiply defined variablesFrank Gevaerts2008-10-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18830 a1c6a512-1295-4272-9138-f99709370657
* Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg2008-06-28
| | | | | | | | | later. We still need to hunt down snippets used that are not. 1324 modified files... http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
* Plugin parameters should be const.Steve Bavin2008-05-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17492 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
* Reenable icode in Rockboy for PP/Arm targets. Previously caused problems on ↵Tom Ross2007-10-16
| | | | | | Nano and Photo but these issues should no longer exist. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15138 a1c6a512-1295-4272-9138-f99709370657
* Oops. Fix red.Nicolas Pennequin2007-10-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15046 a1c6a512-1295-4272-9138-f99709370657
* Clean up hard-coded pathsNils Wallménius2007-09-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14662 a1c6a512-1295-4272-9138-f99709370657
* Sim I/O and threading that runs more like on target. Tweakable if any ↵Michael Sevakis2007-09-08
| | | | | | genuine slowness imitation is required for any one of them. One point of concern is the sim shutdown on an OS other than Linux just because terminating threads in a manner other than having the do it themselves is kind of dirty IMHO. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14639 a1c6a512-1295-4272-9138-f99709370657
* Commit FS #7379 - This patch fixes most of the sound problems from the ↵Karl Kurbjun2007-07-21
| | | | | | previous version. This is a complete rewrite of VisualBoyAdvance's sound code from C++ to C. This patch also eliminates the need for some large tables giving more room in IRAM and the plugin buffer. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13947 a1c6a512-1295-4272-9138-f99709370657
* Makes apps and plugins interract with directories using a posix-like api ↵Kevin Ferrare2007-07-20
| | | | | | instead of calling dircache / simulator functions (no additionnal layer added, only a cosmetic change) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13943 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
* Allow rockboy to run while music is playing with smaller roms. Works on ↵Karl Kurbjun2007-04-18
| | | | | | players that do not use the IRAM macros. Only tested on the Gigabeat as I think that is the only player that will run rockboy well with music. Also simplified the sound and reduced the code size a bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13199 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
* Removed unused 'mode' parameter from mkdir() for consistency with creat().Jens Arnold2007-02-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12183 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
* Initial support for iPod color and video. The Nano has a 176x132 LCD, which ↵Dave Chapman2006-01-20
| | | | | | is the first colour LCD smaller than the gameboy's 160x144 display - so it needs work to skip scanlines. Button handling still needs more work - only up/down/left/right/start are currently mapped. Code is removed from IRAM due to 'relocation truncated to fit: R_ARM_PC24' errors. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8400 a1c6a512-1295-4272-9138-f99709370657
* simulator build fixDaniel Stenberg2006-01-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8398 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
* iRiver: Make it possible to build Rockbox using GCC 4.0.1.Magnus Holmgren2005-09-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7569 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
* First part of graphics api rework. Special functions, parameter handling, ↵Jens Arnold2005-06-24
| | | | | | 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
* Fixed makefiles for autoconf.g include.Daniel Stenberg2005-05-07
| | | | | | | | | Fixed build output look in several Makefiles Fixed code to include autoconf.h Fixed code to use ROCKBOX_*_ENDIAN instead of previous attempts. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6421 a1c6a512-1295-4272-9138-f99709370657
* Removed unnecessary extra check.Jens Arnold2005-03-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6183 a1c6a512-1295-4272-9138-f99709370657
* Made the IRAM usage depend on the CPU type.Jens Arnold2005-03-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6182 a1c6a512-1295-4272-9138-f99709370657
* load/savestate support added to the menu, contributed by pabsMichiel Van Der Kolk2005-03-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6129 a1c6a512-1295-4272-9138-f99709370657
* First stages of rockboy menu - press A/B mode to enter, contributed by pabsMichiel Van Der Kolk2005-03-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6120 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