Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: How to port emulator to the PSP ...

                  
   
  1. #1
    DCEmu Coder zx-81's Avatar
    Join Date
    Mar 2006
    Location
    France
    Age
    54
    Posts
    1,805
    Rep Power
    86

    psp How to port emulator to the PSP ...

    Someone (he wants to stay anonymous) just send me a mp about emulator porting on the PSP.
    His question is interesting and might help other coders who want to begin to port something to PSP.

    If you have any comment or question, please feel free to ask on this topic

    Quote Originally Posted by Someone
    I heard that a good place to start with emulation is Chip 8, and seeing as though the PSP needs one, why not eh?

    Well i found C++ Chip 8, Super Chip 8 and Chip 8x emu called Fish N chips, in your own time could you give me some pointers on what to do, i know it needs a file browser first as it doesn't have one but i wouldn't imagine it would be to hard to implement, heres the source, i dont need a speedy reply, just whenever you can.

    Here be the LINK youll be needing.

    BTW, Those links weren't bad, they gave me structure in wich what i need to brush up on.

    Peace out Brotha'
    Chip 8 is a good start. You should first of all be able to re-compile the emu on the good OS (i'm using linux, so i port only emulator running on linux).

    Then, when you're able to compile and run the emulator on your PC, then you can start to port it to PSP (using cygwin etc ...).

    The first task is to write a makefile, and comment out all no-psp code inside the source (such a graphical part, sound part etc ...). At the end of this first step you should have a non-working emulator, but a first prototype that you can compile for the PSP.

    Then you add the main() function using PSP stuff (see ps2dev for details) to create user thread etc ... and to call the old_main function of the chip 8 emulator.

    Then you will have to replace all the source code you've commented out, and rewrite the sound and graphical port (using SDL for example).

    Hope that helps ...
    here is my blog !

    Quote Originally Posted by Shadoks rule
    The more you fail, the more you have a chance that it will work in the end.

  2. #2
    DCEmu Legend gunntims0103's Avatar
    Join Date
    May 2006
    Location
    Brentwood, NY
    Age
    34
    Posts
    2,976
    Rep Power
    112

    Default

    great tutorial zx-81 maybe a little more in def and we have a stickie . really this helps alot....

  3. #3

    Default

    Quote Originally Posted by gunntims0103 View Post
    great tutorial zx-81 maybe a little more in def and we have a stickie . really this helps alot....
    lol he could sticky it himself, hes a moderator of his forum...lol :rofl:

  4. #4
    DCEmu Legend gunntims0103's Avatar
    Join Date
    May 2006
    Location
    Brentwood, NY
    Age
    34
    Posts
    2,976
    Rep Power
    112

    Default

    zx-81 would you be so kind as to maybe in the future be able to talk to me on a chat like msn or aim if you have and run run how to port a quick and very basic game to the psp. I already have a compiler and know just a little c++. could you possible teach me just a little . I know your a busy guy. I just have trouble understanding some parts of the code and how to port....

  5. #5
    DCEmu Legend gunntims0103's Avatar
    Join Date
    May 2006
    Location
    Brentwood, NY
    Age
    34
    Posts
    2,976
    Rep Power
    112

    Default

    a little request zx-81

    Will it be possible if you could provide me with a before and after source. What i mean is, a source thats hasnt been changed to fit the psp then the same source that has been changed to work on the psp.

    For example-

    a C/C++ source of colecovision
    a C/C++ source of coleco vision ported to the psp

    Mind you the same source just changed to fit the psp, much like a before and after.

    I ask for this as i want to try and interpret codes that go into creating a emu and even so try with the methods you use try and port a similar emu.

    Thanks!

  6. #6
    DCEmu Coder zx-81's Avatar
    Join Date
    Mar 2006
    Location
    France
    Age
    54
    Posts
    1,805
    Rep Power
    86

    Default

    Quote Originally Posted by gunntims0103 View Post
    a little request zx-81

    Will it be possible if you could provide me with a before and after source. What i mean is, a source thats hasnt been changed to fit the psp then the same source that has been changed to work on the psp.

    For example-

    a C/C++ source of colecovision
    a C/C++ source of coleco vision ported to the psp

    Mind you the same source just changed to fit the psp, much like a before and after.

    I ask for this as i want to try and interpret codes that go into creating a emu and even so try with the methods you use try and port a similar emu.

    Thanks!
    You can do it with any of my emulator port ...

    Let's say psp7800, here is the original version :
    http://home.comcast.net/~gscottstant...em_1_1_Src.zip

    here is my blog !

    Quote Originally Posted by Shadoks rule
    The more you fail, the more you have a chance that it will work in the end.

  7. #7
    DCEmu Newbie
    Join Date
    Jun 2007
    Posts
    6
    Rep Power
    0

    Default Mame...

    Hey ZX-81...

    Any try by you at porting the MAME emulator over to PSP?

    You would be a god to a lot of people...this would blow the Atari, Coleco any other emulator you have ported so far...

    4000+ games...all on the PSP! :thumbup:

  8. #8
    DCEmu Legend acn010's Avatar
    Join Date
    Dec 2005
    Location
    Galaxy not far away?
    Age
    37
    Posts
    4,656
    Rep Power
    103

    Default

    i know it was zion

  9. #9
    DCEmu Newbie
    Join Date
    Jun 2007
    Posts
    6
    Rep Power
    0

    Default

    I choose the red pill...so how about ZX-81?

    Any likelihood of porting MAME32 to PSP?

  10. #10
    GP2X Coder/Moderator
    Join Date
    Jan 2006
    Posts
    1,678
    Rep Power
    87

    Default

    Mame32 is a monster to port. Generally speaking, porting the latest version is not possible due to a variety of reasons such as memory and CPU constraints (and the code is know to be bloated trying to emulate so many different arcade architectures)

    Porting an older version such as 0.36 is doable since the code base hasn't been bloated by trying to emulate any arcade machine under the sun and the games are not as demanding.

Page 1 of 2 12 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
  •