summaryrefslogtreecommitdiff
path: root/apps/plugins/rockboy/emu.c
AgeCommit message (Collapse)Author
2011-12-28plugins: another round of making local things static and adding missing ↵Bertrik Sikken
#includes git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31453 a1c6a512-1295-4272-9138-f99709370657
2010-05-27rockboy: rename pcm_*() functions to avoid namespace clash with rockboxRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26327 a1c6a512-1295-4272-9138-f99709370657
2009-08-09Rockboy: Cleanup redKarl Kurbjun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22215 a1c6a512-1295-4272-9138-f99709370657
2009-08-09Rockboy: Significantly reduce the number of palette updates, add support for ↵Karl Kurbjun
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
2007-10-16Code police and clean up for rockboy.Tom Ross
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15144 a1c6a512-1295-4272-9138-f99709370657
2007-07-30RTC (real time clock) support for Rockboy. The time in games like Pokemon ↵Tom Ross
Gold/Silver should now stay synced on RTC-capable targets. Other targets will lose track of time when the player is turned off. User's can edit the .rtc file in an attempt to resync the RTC. The clock should stay synced when entering and leaving the menu. I've tested this over the past two weeks and it seems to work well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14071 a1c6a512-1295-4272-9138-f99709370657
2007-06-24Sound improvements for rockboy - players now sync the sound (The gigabeat ↵Karl Kurbjun
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
2007-04-18Allow rockboy to run while music is playing with smaller roms. Works on ↵Karl Kurbjun
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
2007-02-06Major Rockboy update. Tom Ross
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
2006-06-19Fix the scaling not being initialized properly.Karl Kurbjun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10139 a1c6a512-1295-4272-9138-f99709370657
2006-06-19Update for Rockboy: - fix scaling for other color screens than H300 - full ↵Karl Kurbjun
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
2006-04-09use #ifdef x instead of #if defined(x)Christian Gmeiner
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9581 a1c6a512-1295-4272-9138-f99709370657
2006-04-09HAVE_ADJUSTABLE_CPU_FREQ isn't defined for simulators, so we don't have to ↵Christian Gmeiner
check for simulator builds before using cpu_boost() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9580 a1c6a512-1295-4272-9138-f99709370657
2006-01-20Karl Kurbjun's patch #1407719:Daniel Stenberg
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
2006-01-10Patch #1401999 by Karl Kurbjun - Rockboy color, sound support, and speedupsLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8324 a1c6a512-1295-4272-9138-f99709370657
2005-07-03Centralised the ICODE_ATTR and IDATA_ATTR #defines. Renamed some musepack ↵Jens Arnold
and rockboy headers to avoid clashes with rockbox headers. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6991 a1c6a512-1295-4272-9138-f99709370657
2005-03-03Automatic cpu boosting when emulating, when supportedMichiel Van Der Kolk
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6111 a1c6a512-1295-4272-9138-f99709370657
2005-03-02Rockboy - gameboy emulation for rockbox, based on gnuboy. Still a bit early, ↵Jens Arnold
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