View Poll Results: Do you approve the emulation of the SNES on the GBA?

Voters
11. You may not vote on this poll
  • Yes

    9 81.82%
  • No

    2 18.18%
Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Porting an Emu

  1. #1
    Triforce of Something... neoak's Avatar
    Join Date
    Mar 2002
    Location
    Puerto Rico, the last colony on Earth.
    Posts
    242

    Question Porting an Emu

    How hard could be to port a SNES emu, like Zsnes 1.337, to the GBA?. I know that the GBA can support even SuperFX Games like Starfox, C4 games like MegaMan X2 and 3 and the chip that has Mario Kart (Don't remember it's name). Now, using HAM 2.4, what problems can i encounter in the GBA, including the Screen Size. ???



    • Advertising

      advertising
      EmuTalk.net
      has no influence
      on the ads that
      are displayed
        
       

  2. #2
    Moderator Quvack's Avatar
    Join Date
    Nov 2001
    Location
    Melbourne, Australia
    Posts
    574
    Just coz the GBA can support games like that doesnt mean it could support them emulated. The GBA versions were written specifically written for the GBA.

    Porting zsnes would be near impossible, as its mostly x86 asm, meaning its written to run on x86 processors, its not terribly portable im afraid.

    Snes emulation will probably happen eventually on GBA's, but the speed would probably be unplayable.

  3. #3
    Moderator Cyberman's Avatar
    Join Date
    Nov 2001
    Posts
    1,824

    Re: Porting an Emu

    Originally posted by neoak
    How hard could be to port a SNES emu, like Zsnes 1.337, to the GBA?. I know that the GBA can support even SuperFX Games like Starfox, C4 games like MegaMan X2 and 3 and the chip that has Mario Kart (Don't remember it's name). Now, using HAM 2.4, what problems can i encounter in the GBA, including the Screen Size. ???
    Well I suggest starting with something mostly written in C like SNES9x. You have the OPTION of using hand coded assembly modules. I think the GBA uses an ARM processor, not sure of the specific type because there are a number of variants. Likely it uses the ARM7 thumb processor which is a 16 bit bused 32 bit internal one. It's more code efficient is it's big advantage. Guarenteed that it won't be fast, but fast shouldn't be your first objective, working should . You probably could redo the assembly code sections if you knew the ARM7 thumb instruction set well enough.

    Now comes the more interesting question once you port it, then what will you do? If the GBA has < 8mb of memory internally you will be severly challenged for memory.

    How do you plan on loading the SNES games? Format? I suppose you could cram them all into a single cartridge (like FF4, FF5, and FF6) with the Emulator. This would require a way to compile and install the games into a bootable ROM. You still have to deal with Saving game states etc. I'm not sure about sound emulation either. SNES had several sound options. There were also custom chips built into cartridges for affects and sound.

    Depending on CART size for the GBA you might be able to cram a number of games into a single Cart. My Biggest concern would be save states. I suggest using an existing GBA emulator and working with tools for making carts tell you get a system that you can link everything together into the ROM cart for the GBA. Then you should be doing well. Also being able to save would be good too (grin). Since your hardware is custom you won't have to concern yourself about a lot of different PC machines to deal with OGL and DirectX.

    Anyhow that's a start of what to think about. You do need a compilor that can target object code for the GBA and tools to compile cartridge images to load into a GBA emulator.

    Cyb
    Progress (n.):
    The process through which the Internet has evolved from smart people in front of dumb terminals to dumb people in front of smart terminals.
    -------------------------------------------------------------------
    Recursive (adj):
    see Recursive

  4. #4
    EmuTalk Member decription's Avatar
    Join Date
    Apr 2002
    Posts
    222
    Well, I'm not sure if it is possible at playable speeds. You need to use a very fast languge. Pascal might work. It may not be possbile in the way you're looking at it. It may have to be done on a game by game basis. It could still work well then. I mean look at bleemcast. It's incredible but it only supports 3 games or so. Give it a shot. Study up on documents on SNES tech specs and emulation. Also try to learn as much as you can about the GBA and its hardware. Good Luck. This is by no means an easy feat. But, look at ULTRA HLE. It proved impossible can be done.

  5. #5
    EmuTalk Member zorbid's Avatar
    Join Date
    Nov 2001
    Location
    Belgium
    Posts
    520
    The GBA pipes could be used too. Something tells me that the snes mode 7 should be much easier to emulate on gba than on pc...
    Mmmh I'm thirsty.
    I don't think you should drink that. It looks bad for you.
    Nonsense, it makes me feel great, smarter, more agressive. . . . I feel like I could . . . like I could . . .
    TAKE OVER THE WORLD !!!

  6. #6
    Emutalk Member linker's Avatar
    Join Date
    Nov 2001
    Location
    157772039
    Posts
    516
    The most interesting thing is how would you port zsnes when it's fully written in asm. And, description,.... pascal?! on gameboy??
    <B>My Mk4 Combos:</B> <a href="http://zelda.hit.bg/sonya.avi">Sonya</a> | <a href="http://zelda.hit.bg/reiko.avi">Reiko</a> | <a href="http://zelda.hit.bg/reptile.avi">Reptile</a>

  7. #7
    EmuTalk Member decription's Avatar
    Join Date
    Apr 2002
    Posts
    222
    Sorry my bad. But pascal is pretty fast. I'm quite sorry I hope I didn't come off sounding like lightnight.

  8. #8
    ????????????????????????? Doomulation's Avatar
    Join Date
    Nov 2001
    Location
    ????????????????
    Posts
    8,780
    Pascal is also one of the most difficult languages to use.
    And really...putting several emulators into one... that might require more cpu or at least size.

    I wouldn't care. But then, i think it's unneccessary to do such. Well, it's what i think.
    Atashi wa juu-yon-sai no onna no ko! Atashi no namae wa Miizuki. Yurushiku ne!
    Nani? Atashi o shinjirimasen desu ka? Baka!
    "You're all doomed! Doomed, I say! Hehe... are we approaching the end of the world?"

    shikata ga kaite aru - "the instructions are written above"
    Need to download GoodN64 or instructions to use it? Need to check if it's a good or bad rom?
    Download: Glide64 | Hacktarux's wrapper

  9. #9
    Moderator Cyberman's Avatar
    Join Date
    Nov 2001
    Posts
    1,824
    Originally posted by Doomulation
    Pascal is also one of the most difficult languages to use.
    And really...putting several emulators into one... that might require more cpu or at least size.

    I wouldn't care. But then, i think it's unneccessary to do such. Well, it's what i think.
    Pascal / Delphi isn't too bad really
    The big differences are in how data is managed between Pascal and C

    C passes pointers to structs implicitely whereas pascal copies the entire structure and passes that.
    There are other subtle differences as well.

    C is not a very elegant language
    C++ is an improvement but one can get carried away in objectizing everything at times.

    The most difficult languages are GML <general markup language not to be confused with XML which is a subset of it>, LISP because it really can loop indefinately and still get something done if everything was a list this would do it.
    Prolog everything is a logical assertion and your data is your program.

    There are other weird little languages.. but the one that is the most difficult to master is C++. C++ is simple yet there are so many ways you can consistantly screw up in it, that everyone who uses C++ should have Lint in there back pocket so they won't mess up something

    That doesn't include the standard template library <STL> and all the things that you can do with those..

    Cyb
    Progress (n.):
    The process through which the Internet has evolved from smart people in front of dumb terminals to dumb people in front of smart terminals.
    -------------------------------------------------------------------
    Recursive (adj):
    see Recursive

  10. #10
    Emutalk Member linker's Avatar
    Join Date
    Nov 2001
    Location
    157772039
    Posts
    516
    Originally posted by Doomulation
    Pascal is also one of the most difficult languages to use.
    Wha?
    <B>My Mk4 Combos:</B> <a href="http://zelda.hit.bg/sonya.avi">Sonya</a> | <a href="http://zelda.hit.bg/reiko.avi">Reiko</a> | <a href="http://zelda.hit.bg/reptile.avi">Reptile</a>

Page 1 of 2 12 LastLast

Posting Permissions

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