Results 1 to 5 of 5

Thread: Hold+ v2.2 - Battery Saver Plugin

                  
   
  1. #1
    Won Hung Lo wraggster's Avatar
    Join Date
    Apr 2003
    Location
    Nottingham, England
    Age
    53
    Posts
    141,430
    Blog Entries
    3209
    Rep Power
    50

    psp Hold+ v2.2 - Battery Saver Plugin

    Updated release from Torch:

    Tested on 4.01M33-2 Slim.

    This is a simple plugin I made a long time ago for my personal use. I just found the source code while going through some old stuff on my computer, so I thought I'd clean up the code a bit and release the plugin.

    I realize that there are other plugins that feature similar functionality but I wrote my own because I wanted to be sure its coded optimally, as there are a few careless ways in which these functions can be improperly used (the point of this after all is to conserve battery life).

    It does the following when the Hold switch is enabled:
    * Switches off the LCD backlight.
    * Switches off the actual LCD screen.
    (This is important because the backlight and actual screen are two different things. You can have an image being displayed on the screen while the backlight is switched off, such that you can see the image if you use a flashlight. You can also have the screen switched off while the backlight still illuminates the powered off screen.)
    * Underclocks the CPU to 61MHz
    (Sony has changed the clock speed functions such that only certain combinations of speeds work correctly. Simply trying to underclock to arbitrary values will result in the CPU simply running at the stock speed. I have verified that Hold+ successfully underclocks to 61MHz.)
    * The original screen brightness and clock speed are restored when the Hold switch is released.
    * Prevents the PSP from going into suspend mode if you accidently push the power switch too far when turning off Hold mode.
    * Allows operation of the PSP with the display turned off, to change volume, skip songs etc.

    Usage:
    Turn on the Hold switch to automatically disable the display and underclock the CPU. Turn off the Hold switch to return the CPU to normal speed and enable the display.

    If you hold the UP d-pad button when turning off the hold switch, the display will remain switched off and the CPU will remain underclocked, but you can operate the PSP. This is useful if you just need to adjust the volume, fast forward/rewind, or to skip to the next song, without unnecessarily turning on the display. To return to normal, just press the Screen button.

    Installation:
    You can install it in the seplugins folder, and make an entry in VSH.txt. Thus it will be active in the XMB. Its also possible to use it in games by adding it to GAME.txt, but some games may crash etc., if the CPU is underclocked to such a low value.

    Optionally, its also possible to install it in your PSP's flash0 so that it will work without a memory card. For this you can use FreePlay's "NewBTCFNedit" and enable it for VSH mode in the all the PSPBT?NF.bin files. Add it after vshmain.prx.

    Credits:
    Thanks to adrahil for helping with preventing the suspend mode.


    Quote:
    Originally Posted by Changelog
    Changelog v2.2
    ----------------------------------
    Added feature to allow operation of the PSP with display turned off.

    Changelog v2.1
    ----------------------------------
    Fixed a bug where if the Hold switch was turned off and quickly turned on again, the PSP would not suspend after being left idle for a few minutes (the idle timeout didn't work).

    Changelog v2.0
    ----------------------------------
    Added feature to prevent PSP from going into suspend mode if the power button is pushed too far when turning off Hold mode.

    Note:
    I never made any previous hold plugins, those are not by me.

    If you want to change the clock speed to your own values, you can use a hex editor to change them. The offsets in the file for v2.2 are
    0x24C, 0x250 - CPU,GPU (Both should be same)
    0x258 - Bus (Should be half the CPU speed or less)

    The values should be entered in hexadecimal. The default value for CPU/GPU is 3C (60 MHz in decimal) and the default value for bus is 1E (30 MHz in decimal).

    Note that simply using any arbitrary value will not work. You will have to test and see which values for CPU/GPU and Bus speed work.

    Download Here and give feedback via comments.

  2. #2
    DCEmu Old Pro Elven6's Avatar
    Join Date
    May 2006
    Posts
    1,158
    Rep Power
    75

    Default

    Said it before and I will say it again, this is my favorite plug in

  3. #3
    DCEmu Newbie
    Join Date
    Mar 2006
    Posts
    74
    Rep Power
    0

    Default

    seems like a smart, practical plugin :thumbup:

    nice work and thanks

  4. #4
    DCEmu Newbie ice_storme's Avatar
    Join Date
    May 2007
    Location
    Texas, United States
    Age
    40
    Posts
    26
    Rep Power
    0

    Default

    I and I appreciate this plugin. Thank you, me rasta.

  5. #5

    Default

    wow another update, thanks Torch, your plugin is very useful,

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •