W.I.P. Nestopia port!

Discussion in '3DS - Homebrew Development and Emulators' started by SLiV3R, Mar 15, 2015.

  1. SLiV3R
    OP

    SLiV3R 3DS Friend Code: 0473-9069-2206

    Member
    2,194
    1,042
    Jan 9, 2006


  2. ChrisX930

    ChrisX930 Banned

    Banned
    788
    317
    Sep 3, 2013
    Gambia, The
    Germany
    NICE! Can't wait for the first Release <3
     
    SLiV3R likes this.
  3. DarkFlare69

    DarkFlare69 GBAtemp Psycho!

    Member
    4,679
    2,507
    Dec 8, 2014
    United States
    Ohio
    Cool, I like Nestopia.
     
    SLiV3R likes this.
  4. Idaho

    Idaho GBAtemp Advanced Fan

    Member
    671
    402
    Oct 3, 2013
    France
    Cool, I kinda lost hope on 3DNES being finished, would be great to have a NES emu going full speed with sound support :D
     
  5. Steveice10

    Steveice10 GBAtemp Maniac

    Member
    1,102
    1,655
    Jul 19, 2009
    United States
    Author here. For the most part its working, but in order to get it to run faster, I'm working on hardware-accelerated rendering. Unfortunately, I haven't been able to get that to work on anything but citra so far, so for now it just freezes when you load a game.
     
    zfreeman, XDel, Sicklyboy and 9 others like this.
  6. Idaho

    Idaho GBAtemp Advanced Fan

    Member
    671
    402
    Oct 3, 2013
    France
    Well keep up dude, I'm excited to see a playable release, the 3DS homebrew scene needs functional emulators and more good devs :D
     
    Margen67 likes this.
  7. Steveice10

    Steveice10 GBAtemp Maniac

    Member
    1,102
    1,655
    Jul 19, 2009
    United States
    I'll keep trying, but I wouldn't get my hopes up just yet. Haven't been having much luck with getting GPU rendering to work on an actual 3DS.
     
    Margen67 likes this.
  8. Psi-hate

    Psi-hate GBATemp's Official Psi-Hater

    Member
    1,628
    1,039
    Dec 14, 2014
    United States
    Houston
    Maybe you could ask smea or StapleButter for some help?
     
    2ndApex and Margen67 like this.
  9. pdapanda

    pdapanda GBAtemp Advanced Fan

    Member
    712
    241
    Nov 19, 2014
    Switzerland
    StapleButter will help you
     
    Margen67 likes this.
  10. loco365

    loco365 GBAtemp Guru

    Member
    5,458
    2,674
    Sep 1, 2010
    I'm really looking forward to seeing this. Nestopia was a really nice emulator to use, although VirtuaNES has the best NSF playback GUI ;D
     
  11. DiscostewSM

    DiscostewSM GBAtemp Guru

    Member
    5,018
    2,658
    Feb 10, 2009
    United States
    Sacramento, California



    If you take a look at the source code for BlargSNES, you can get an idea of how to do it. What that does is that it goes through each scanline, identifies differences from the previous scanline (like modes, background position, etc), stores them into sections, and then after the last scanline, goes through each section one at a time, grabbing the tiles that make up each section, converting them to direct-color textures that get stored into a texture cache, and mapping those onto 2 polygons (that form a rectangle) that are added to an array list. Sounds like a lot, but considering you're working with the NES and not the SNES, many of the steps are simplified.
     
    2ndApex, Margen67 and SLiV3R like this.
  12. jocopoco

    jocopoco Advanced Member

    Newcomer
    90
    29
    Feb 13, 2014
    Im trying to compilte it but gcc stops on an error No such file #include <ctrcommon/common.hpp>
     
  13. daxtsu

    daxtsu GBAtemp Guru

    Member
    5,536
    3,925
    Jun 9, 2007
    Antarctica

    It requires his ctrcommon library.
     
    Margen67 likes this.
  14. jocopoco

    jocopoco Advanced Member

    Newcomer
    90
    29
    Feb 13, 2014
    k, thanks but I have problems with ctrcommon, which ctrulib verrsion are u using? Anyway I have also problems with my emu, is your hb requiring external files on sd?
     
  15. Steveice10

    Steveice10 GBAtemp Maniac

    Member
    1,102
    1,655
    Jul 19, 2009
    United States

    One of my goals is to not touch the actual NES emulator code, allowing the libretro frontend code to be reused on other emulator cores. Of course, if that proves too slow, I can always delve into the NES rendering code and make some changes.

    I actually have everything rendering fine on citra. I seem to be making an error somewhere in my use of GPU code, however, as it freezes on an actual 3DS.

    Basically, my issue isn't with how I want to render it, but that I can't figure out what I'm doing wrong in the resulting code that makes it freeze.
     
    SLiV3R likes this.
  16. Idaho

    Idaho GBAtemp Advanced Fan

    Member
    671
    402
    Oct 3, 2013
    France
    You should ask the big guys on #3dsdev then, if they don't have an answer they might at least help you finding one...
     
  17. SLiV3R
    OP

    SLiV3R 3DS Friend Code: 0473-9069-2206

    Member
    2,194
    1,042
    Jan 9, 2006
    Yeah. Agree with Idaho! Ask at 3dsdev. Those people don't release that much. But they are helping a lot of people in the 3ds scene :)
     
    Margen67 likes this.
  18. Steveice10

    Steveice10 GBAtemp Maniac

    Member
    1,102
    1,655
    Jul 19, 2009
    United States

    Yeah, I've been frequenting 3dsdev recently. Been very helpful with homebrew development.
     
    ShinkoNet, Idaho, Kikirini and 2 others like this.
  19. Steveice10

    Steveice10 GBAtemp Maniac

    Member
    1,102
    1,655
    Jul 19, 2009
    United States
    -double post-
     
    Margen67 likes this.
  20. davhuit

    davhuit GBAtemp Advanced Fan

    Member
    992
    304
    Nov 23, 2005
    France
    Nice, good luck!

    As someone said, it's too bad to see the lack of working 3DS emulators homebrew when most of them could now work without any downscaling at all and fullspeed/with sound

    (Still hoping someone will try to emulate the Genesis, one day).

    And nice choice about Nestopia, as it's a cycle-accurate emulator.
     
    Margen67 likes this.