Page 1 of 4 1234 LastLast
Results 1 to 10 of 32

Thread: sdlBasic for PSP version 0.5

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

    Exclamation sdlBasic for PSP version 0.5

    sdlBasic is a small, efficient multiplatform basic interpreter originally created by Roberto Viola in 2002.

    Its core is based on wxBasic and syntax, inspired by AMOS, is easy to learn by beginners
    http://www.sdlbasic.altervista.org contains the reference guides language overview, comand syntax, examples and
    additional tools and resources, required for development.

    Installation
    The interpreter only works on custom PSP 3.XX firmwares.
    Copy sdlBasic folder to ms:/PSP/GAME (or ms:/PSP/GAME3XX where XX is your custom firmware's subversion.


    Using the interpreter
    sdlBasic program(s) should be saved in [program_name].sdlbas file and placed in sdlBasic folder, together with EBOOT.PBP file and
    fonts directory. Of course, sdlBasic folder can be renamed, and EBOOT icon/background can be replaced with a number of tools.
    If only one .sdlbas file is detected in the folder, the interpreter immediately runs it. Over wise the program selection screen is displayed.


    PSP-spesific features & limitations
    - setdisplay() dimensions are limited to 640x480, 320x240, 480x272 (and some derivatives)
    - only some keyboard keys are mapped (arrows, enter, space, escape) and available through key() / inkey commands.
    - all psp buttons can be queried with getButtonJoystick() call with button indexes from 0 to 13
    - mouse calls are partially implemented via the analog pad and buttons mapped to [x],[o],[triangle],[square]
    - isPSP=1 and os=PSP variables are added for platform detection.
    - network, mpeg and cd-control calls as well as shell() are not implemented yet.
    - mp3 playbeack is not supported. Ogg, wav and tracker formats should be used instead.

    version update: 0.6 has a bug fix for a memory leak during loading images.

    Download and leave feedback via comments

    Download Here
    Last edited by deniska; May 28th, 2008 at 16:14.

  2. #2
    DCEmu Pro osgeld's Avatar
    Join Date
    Jan 2007
    Posts
    822
    Rep Power
    66

    Default

    this is very interesting

    is there a project website?

    and how does speed compare to luaplayer 0.20?

    and 1 suggestion 240x136 fullscreen

  3. #3
    DCEmu Newbie
    Join Date
    Mar 2008
    Posts
    30
    Rep Power
    0

    Default

    i tried out your app its great alot of potential, i dont understand how to use it as a translator but would like too. i have an src file with mp3 lite so if i was to run both apps how would one do that? i know it may seem simple to you but its not very noob friendly yet. im trying to tun my psp into a functional guide like the one seen in hitch hikers guide to the galaxy, i figure its only a matter of time before the fictional tool comes to life. it would be great if i could download an encyclopedia that i could edit and update and play home brew games through and i see the start of the making of that in this. i know its still early in history for such a thing to exist, but as an adult traveler i would love to have all the info i can on locations and animals and first aid, i can stuff in there with a user friendly gui. the psp has sooo much potential. good job keep it up dude.

  4. #4
    DCEmu Newbie
    Join Date
    Jul 2006
    Posts
    1
    Rep Power
    0

    Default

    Hey, good to see the good old SDLBasic on Psp.

    Long Time ago i created the German tutorial, but now i´m using more c++. Thanks alot for porting this very good basic

  5. #5
    PSP Coder deniska's Avatar
    Join Date
    Jul 2005
    Posts
    1,557
    Rep Power
    76

    Default

    Quote Originally Posted by osgeld View Post
    this is very interesting

    is there a project website?

    and how does speed compare to luaplayer 0.20?

    and 1 suggestion 240x136 fullscreen
    The link to the website in in the root post..
    240x136 is supported...
    I have not done any performance comparisons yet..

  6. #6
    DCEmu Pro osgeld's Avatar
    Join Date
    Jan 2007
    Posts
    822
    Rep Power
    66

    Default

    i knew that the basic's website is there, didnt know if you had one just for the psp port

    i tried it out last night, and the shadow of the beast demo was really impressive

    luaplayer could do that, maby not as smooth and you would have to use some magic tricks

    anyway i think im going to start playing with this tonight and i cant wait to see where it goes

    (noticable bug, likes to crash on exit to xmb)

  7. #7
    PSP Coder deniska's Avatar
    Join Date
    Jul 2005
    Posts
    1,557
    Rep Power
    76

    Default

    Quote Originally Posted by osgeld View Post

    (noticable bug, likes to crash on exit to xmb)
    how do you replicate it?

  8. #8
    DCEmu Newbie
    Join Date
    May 2008
    Posts
    15
    Rep Power
    0

    Default

    Hi love your app.

    Seems like a great language to help me get into coding and mess around with some homebrew.....

    One question though. I'm working on an application that will work as a magazine viewer (magazines in .jpg) all goes well on the pc and on the psp until I get to page 9 then it freezes! My code below whats wrong? btw is there a way to make it so that i can have a button to go back and not just forward? Thanks

    '
    ' sdlBasic PSP 0.5
    '
    ' Name: PSPMag
    ' Purpose: To view psp magazines without using the image viewer
    ' Author: PSPHeaven/Acer5050 http://pspheaven.net [email protected]
    ' Licence: LGPL
    '
    '-----------------------------------------------------------------------------------------------------------------------------------------------------------------
    prints("PSPHeaven's Magazine Viewer")
    prints("Created In SDLBasic")
    prints("Alpha 0.1")
    prints("PSPHeaven.Net")
    prints("Will Automaticaly Exit At End")
    prints("Just as a test this has XMag #1 Included")
    prints("Press [X] To start and to goto the next page")
    waitkey(k_return)
    cls
    image=loadimage("media/001.jpg")
    pastebob(0,0,image)
    waitkey
    cls
    image=loadimage("media/002.jpg")
    pastebob(0,0,image)
    waitkey
    cls
    image=loadimage("media/003.jpg")
    pastebob(0,0,image)
    waitkey
    cls
    image=loadimage("media/004.jpg")
    pastebob(0,0,image)
    waitkey
    cls
    image=loadimage("media/005.jpg")
    pastebob(0,0,image)
    waitkey
    cls
    image=loadimage("media/006.jpg")
    pastebob(0,0,image)
    waitkey
    cls
    image=loadimage("media/007.jpg")
    pastebob(0,0,image)
    waitkey
    cls
    image=loadimage("media/008.jpg")
    pastebob(0,0,image)
    waitkey
    cls
    image=loadimage("media/009.jpg")
    pastebob(0,0,image)
    waitkey
    cls
    image=loadimage("media/010.jpg")
    pastebob(0,0,image)
    waitkey
    cls
    image=loadimage("media/012.jpg")
    pastebob(0,0,image)
    waitkey
    cls
    image=loadimage("media/013.jpg")
    pastebob(0,0,image)
    waitkey
    cls
    image=loadimage("media/014.jpg")
    pastebob(0,0,image)
    waitkey
    cls
    image=loadimage("media/015.jpg")
    pastebob(0,0,image)
    waitkey
    cls
    image=loadimage("media/016.jpg")
    pastebob(0,0,image)
    waitkey
    cls
    image=loadimage("media/017.jpg")
    pastebob(0,0,image)
    waitkey
    cls
    image=loadimage("media/018.jpg")
    pastebob(0,0,image)
    waitkey
    cls
    image=loadimage("media/019.jpg")
    pastebob(0,0,image)
    waitkey
    cls
    image=loadimage("media/020.jpg")
    pastebob(0,0,image)
    waitkey
    cls
    image=loadimage("media/021.jpg")
    pastebob(0,0,image)
    waitkey
    cls
    image=loadimage("media/022.jpg")
    pastebob(0,0,image)
    waitkey
    cls
    image=loadimage("media/023.jpg")
    pastebob(0,0,image)
    waitkey
    cls
    image=loadimage("media/024.jpg")
    pastebob(0,0,image)
    waitkey
    cls
    image=loadimage("media/025.jpg")
    pastebob(0,0,image)
    waitkey
    cls
    image=loadimage("media/026.jpg")
    pastebob(0,0,image)
    waitkey
    cls
    image=loadimage("media/027.jpg")
    pastebob(0,0,image)
    waitkey
    cls
    image=loadimage("media/028.jpg")
    pastebob(0,0,image)
    waitkey
    cls
    image=loadimage("media/029.jpg")
    pastebob(0,0,image)
    waitkey

  9. #9
    DCEmu Pro osgeld's Avatar
    Join Date
    Jan 2007
    Posts
    822
    Rep Power
    66

    Default

    Quote Originally Posted by deniska View Post
    how do you replicate it?
    in almost every demo push the home button and choose yes, goes to off mode instead of xmb

    psp phat 3.80m33 - 5

  10. #10
    DCEmu Newbie
    Join Date
    May 2008
    Posts
    15
    Rep Power
    0

    Default

    psp slim 3.90M33-3 no problem

    btw, why is memory card in constant use?

Page 1 of 4 1234 LastLast

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
  •