Page 32 of 47 FirstFirst ... 2228293031323334353642 ... LastLast
Results 311 to 320 of 468

Thread: New Code Contribution

                  
   
  1. #311
    DCEmu Rookie atari800's Avatar
    Join Date
    Apr 2007
    Posts
    112
    Rep Power
    66

    Default

    You mail box was full but I was going to send you example of a trip I can take (just about anywhere)
    Send mapthis (older code)- maps - and gps recording. So you could see if this was something to pursue in the code. Or I guess I could append to a trip both to the destination and back and save as 1 route.


    Only problem I see is when a bizarre intersection is being crossed. Like I have an intersection like a triangle - at that one point it gives a crazy response but the map still shows correct.

    Or if you are pretty happy with the speech as is - I wont pursue any changes.

    I do like this idea (with a twist):
    "Prevent the screen from changing to lower brightness and then to off when power is plugged in (it should be easy to make a config directive for "keep brightness=always,adapter,never")"

    At night going a store - set it to recognize if there is power or running from a battery. Power would be from the cigarette lighter. When no more power but running on battery - turn off screen but not program - so it is not so attractive

    code example:
    int Ridepower=0;
    if (scePowerIsPowerOnline()) RidePower=1;
    ..
    if (RidePower ==1 && !scePowerIsPowerOnline) {
    sceDisplayDisable();
    RidePower=-1;
    }

    if (RidePower ==-1 && scePowerIsPowerOnline) {
    sceDisplayEnable();
    RidePower=1;
    }
    ====
    the sceDisplayDis/Enable() always locked up my psp so I couldnt do this myself

  2. #312
    DCEmu Pro
    Join Date
    Feb 2007
    Location
    Netherlands
    Posts
    539
    Rep Power
    69

    Default

    Quote Originally Posted by Deniska
    britness settings are already controlled by firmware, I don't see a big need for re-implementing it...
    Thing is, in OE firmwares, you can't just tell the PSP to never switch the screen off. And in most cases, I do actually want the screen to turn off.

    However, when driving around, I found this became a nuisance, and I had to tap one of the shoulder buttons every few minutes. That's the main reason why I'd like to see this feature implemented.

    Quote Originally Posted by atari800
    At night going a store - set it to recognize if there is power or running from a battery. Power would be from the cigarette lighter. When no more power but running on battery - turn off screen but not program - so it is not so attractive
    The scePowerTick() only works when viewing the maps themselves (IMO the only place where it really matters, cause in other screens there's usually user input to prevent the screen from turning off). So if you just press 'Start' (go to the menu), it'll turn off by itself, or you can hold the brightness button on the PSP itself.

  3. #313
    DCEmu Rookie atari800's Avatar
    Join Date
    Apr 2007
    Posts
    112
    Rep Power
    66

    Default

    cant you go to POWER SAVE SETTINGS -
    Change Backlight Auto-Off to Off
    Auto Sleep to off

    It wont wont fade or sleep now

    Works for me

  4. #314
    DCEmu Pro
    Join Date
    Feb 2007
    Location
    Netherlands
    Posts
    539
    Rep Power
    69

    Default

    Quote Originally Posted by atari800 View Post
    cant you go to POWER SAVE SETTINGS -
    Change Backlight Auto-Off to Off
    Auto Sleep to off

    It wont wont fade or sleep now

    Works for me
    Right... This kinda surprised me But you're right, it works. Anyway, with the scePowerTick() that I used, you could still just hold the brightness button for a while until the screen turns off. scePowerTick() just makes sure the screen doesn't _change_ (so it also doesn't change back to on).

    And also, usually I do want the screen to go off automatically, but not in MapThis. So in my version, I'll keep it anyway :P


    Quote Originally Posted by Deniska
    Some comments:
    - system/icons was only designed to store small icons for POI/route list
    -checking this directory for any map icon limits the map customization, IMHO...
    True, but it might be nicer to check map directories first, and if files aren't found there, to check system/icons. This way you can decide yourself if you want this customization or not. (Personally I find it tiresome to copy the icons to every folder where I have POIs that need them.) Because of my holidays I don't think I'll be getting to implementing this shortly, but I'll put it on my TODO anyway.


    Quote Originally Posted by Deniska
    -if you get a "go-ahead" with web hosting/proxying - then we can figure out best way to do the route d/l - perhaps we can get a separate screen in mapthis.
    I'm not quite sure about this yet, hopefully I can answer this tomorrow.

  5. #315
    DCEmu Rookie atari800's Avatar
    Join Date
    Apr 2007
    Posts
    112
    Rep Power
    66

    Default

    Here is my code -based on .499
    NOT .50
    MIB.42 - there is some things I referenced of yours
    *only as navigation in the code so I have a sig on it
    Nothing of your was changes other than a few comments (sorry)
    Nieko-
    Work on this - my stablizing stuff is the
    sceKernelCreateThread - original is commented out - mine is underneath

    Look at utils.c for FILEACTIVITY as I was thinking I seen that maps being redrawn and sounds at the same time was causing locking
    (what I think I see)
    Also the makefile is -o0 not -o2 for optimization - I read a few strange anomalies with reading large files on the psp if set to -o2

    I will clean up code better
    but it is birthday weekend for me
    and....I know from everyone they want .50 from Deniska

    PEOPLE:
    this is not .50 !!
    Deniska has a fantastic plan for voice routing
    This is old proof of concept - which is flawed
    I totally understand what Deniska wants to do and in his environment (which flows into ours) is very much safer
    One request - on behalf of the actual code contributers - PLEASE PLEASE PLEASE
    Do NOT call out the flaws in the personal release as it is to help the programmers in a proof of concept way - not the .50 way!!!
    This is for them to enhance the already way cool mapthis!
    Direction of the product already has a different agenda


    Coders:
    util.c modified
    mp3player. modified
    main.c modified
    *look for //atari800 in code for what I was doing
    *sorry for somewhat lack comments
    *I'll pull this message if it is a problem
    *srcorig is modified code
    *other is compiled code (provide own maps)

    ok - tried 10 times (at least) and got this for the compiled version:
    mapViewernot50.zip:
    Upload of file failed.

    *it is not tainted

  6. #316
    DCEmu Rookie atari800's Avatar
    Join Date
    Apr 2007
    Posts
    112
    Rep Power
    66

    Default

    one more time


    failed
    sorry - tried RAR and ZIP

  7. #317
    DCEmu Rookie atari800's Avatar
    Join Date
    Apr 2007
    Posts
    112
    Rep Power
    66

    Default

    ok - here it is
    http://www.sendspace.com/file/w2gqys
    cheers

    it is birthday weekend - see you on recover mode (aka Monday'ish)

  8. #318
    DCEmu Newbie
    Join Date
    Jun 2007
    Location
    montreal canada
    Posts
    6
    Rep Power
    0

    Default

    --ok...I try to make it work, but it freeze 99% of the time.
    ( freeze 100% of the time when zooming )

    --say atari800...do you live in the States ? I live in montreal, and there is no way to make the address look up to work. ( like *h8p 3g6* )

    --Is there a way to boost the sat. signals ?
    --on your version, is the voice working ? ( like turn left and all...)
    --LOC:0 ( or 1 or 2) wth is that for ??

    you and Deniska, keep up the superb work...we do depend on you guys after all !

    3.40oe-a psp

    ( freeze 100% of the time when zooming )

  9. #319
    DCEmu Regular
    Join Date
    Aug 2006
    Posts
    343
    Rep Power
    70

    Default

    Does this only work with the sony reciever?
    or with the hollux?
    which one is it?
    When I try to run it it tells me somehting about the usb module
    I enabled and placed it in the right spots

  10. #320
    PSP Coder deniska's Avatar
    Join Date
    Jul 2005
    Posts
    1,557
    Rep Power
    80

    Default

    Quote Originally Posted by Russoxley187 View Post
    Does this only work with the sony reciever?
    or with the hollux?
    which one is it?
    When I try to run it it tells me somehting about the usb module
    I enabled and placed it in the right spots
    Although I did not have a chance to test it yet, my guess that it would be for PSP-290 and would not work with serial port devices..

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
  •