grape, an Apple II emulator

Discussion in 'NDS - Emulation and Homebrew' started by lemonmeister, Oct 13, 2013.

  1. lemonmeister
    OP

    lemonmeister Member

    Newcomer
    18
    10
    Apr 7, 2013
    Italy
    Hello there, it seems that the Nintendo DS scene is hard to die heh

    https://github.com/LemonBoy/grape

    Go grab it (no builds, compile it yourselves) and report back :P
    You need a loader that supports the argv protocol (Woodr4/Woodrpg/whatever) as there's no file chooser menu.
    For Wood* users just slap this in your /__rpg/associations.ini file (adjust the path if you didn't place grape.nds in the root)
    Code:
    [nib]
    launcher=fat0:/grape.nds
    [dsk]
    launcher=fat0:/grape.nds
    [po]
    launcher=fat0:/grape.nds
    [do]
    launcher=fat0:/grape.nds
    Also, place the basic rom along with the nds file, named BASIC.ROM (DL)
    Press start to pause the emulation and enter the menu. When the keys are mapped to the joystick BXY are the three joystick pushbuttons, the keyboard mapping is a temporary one that should work for most games (HJKL are assigned to direction keys, A is return and B space).
    Read the damn README before asking questions.
    Bug reports and feature requests are welcome.
     
    ipwndeveloper likes this.


  2. loganino

    loganino Advanced Member

    Newcomer
    63
    2
    Nov 9, 2011
    United States
    Tim's Sideburns
    "read the damn README" :D Will check this out
     
  3. Another World

    Another World Emulate the Planet!

    Former Staff
    10,498
    1,673
    Jan 3, 2008
    Colombia
    From Where???
    this sounds fun but installing software to compile this myself does not. why not just release a binary?

    -another world
     
  4. Snailface

    Snailface My frothing demand for 3ds homebrew is increasing

    Member
    4,324
    1,983
    Sep 20, 2010
    Engine Room with Cyan, watching him learn.
    Strange isn't it? I can't imagine working on a program for weeks or months and then deciding not to spend an extra 5 minutes to compile it so my audience can enjoy it. The lolsnes guy did this same goofy thing.

    Anyway, enough of my griping, here's the attached binary:
     

    Attached Files:

  5. Xexyz

    Xexyz GBATemp's™ Official Xexyz

    Member
    1,386
    440
    Jul 29, 2013
    沖縄県
    It doesn't work no$gba. :(
     
  6. the_randomizer

    the_randomizer The Temp's official fox whisperer

    Member
    21,195
    10,076
    Apr 29, 2011
    United States
    Dr. Wahwee's castle

    Lolsnes has automatic builds now, so you don't have to wait for anyone to compile the source :P
     
  7. Snailface

    Snailface My frothing demand for 3ds homebrew is increasing

    Member
    4,324
    1,983
    Sep 20, 2010
    Engine Room with Cyan, watching him learn.
    Well good, maybe the dude in this thread will be inspired to reform his ways as well. :P
    Its was a successful build with no errors on the latest devkitpro, but I can't vouch for the quality of the source code. It did boot fine on my DSi. Use real hardware when possible.
     
    the_randomizer likes this.
  8. the_randomizer

    the_randomizer The Temp's official fox whisperer

    Member
    21,195
    10,076
    Apr 29, 2011
    United States
    Dr. Wahwee's castle

    Well, we'll see :P
     
  9. StapleButter

    StapleButter 'New Member' registered since 2009. Fuck yea.

    Member
    773
    1,466
    Dec 5, 2009
    France
    The "lolsnes guy" first did this goofy thing because lolSnes wasn't ready for a release yet.

    You'll notice that now, it is released as a build, and there are even Git builds available (one new build every time a commit is made).


    I guess this is because NO$GBA doesn't emulate a flashcard. If you really want to use an emulator, you can try the latest DeSmuME. Or just use a DS.
     
  10. lemonmeister
    OP

    lemonmeister Member

    Newcomer
    18
    10
    Apr 7, 2013
    Italy
    I've released grape here to collect some feedback as I can't play every damn Apple II game, it's alpha quality after all! (A damn good alpha quality tho)
    Anyway, you *need* to use it on real HW, not even Desmume can handle it properly right now.
     
  11. Boy12

    Boy12 NOT a new member!

    Member
    536
    134
    Mar 8, 2012
    Netherlands
    Purmerend
    Nice work man!
     
  12. ipwndeveloper

    ipwndeveloper GBAtemp Regular

    Member
    276
    68
    Jun 3, 2013
    United States
    San Fransisco, CA
    Holy cow, this actually runs some of my old demoes. Now if he could only add Apple ][GS support. I would be in DS homebrew heaven. Also built from the latest source, DSi Mode works!
     
  13. lemonmeister
    OP

    lemonmeister Member

    Newcomer
    18
    10
    Apr 7, 2013
    Italy
    Hah, I don't think that the DS is powerful enough to emulate a GS. It even has problems with 80columns/dhires :)
     
    ipwndeveloper likes this.
  14. lemonmeister
    OP

    lemonmeister Member

    Newcomer
    18
    10
    Apr 7, 2013
    Italy
    I've made a couple of fixes here and there, it's slightly faster than before (playing karateka w/o vsync is awesome) heh
    The bottleneck here is the hi-res video rendering routine, I'm glad to accept pull requests if you can make it faster :)
    Also, there are plans to support the AppleIIc hardware (did anyone say Prince of Persia ?) in the (near/far) future...
    TL;DR Here's a compiled build :)
     
  15. Vague Rant

    Vague Rant Deceptively cute

    Member
    2,052
    414
    Aug 7, 2008
    Melbourne
    Have you or do you plan to support file selection within the app, for those of us who don't have flash cards with argument support? Or is there an alternative method to run it like launching it through Moonshell or something?
     
  16. lemonmeister
    OP

    lemonmeister Member

    Newcomer
    18
    10
    Apr 7, 2013
    Italy
    WinterMute's HBmenu provides argv support, just create a file named grape.argv with the path to the grape rom and the path to the AppleII rom you want to load.
    I know it's a bit difficult to setup but writing the code for the file selector is definitely boring. Really boring.
    Anyway, a good news, I've found a nice way to speed up the graphic rendering \o/
     
    ipwndeveloper likes this.
  17. Vague Rant

    Vague Rant Deceptively cute

    Member
    2,052
    414
    Aug 7, 2008
    Melbourne
    Works for me, I just got Super Bunny running. It seems to be working from an emulation perspective, but is iffy in terms of registering inputs. That said, it's pretty cool to see it running on DS; nice job.
     
  18. lemonmeister
    OP

    lemonmeister Member

    Newcomer
    18
    10
    Apr 7, 2013
    Italy
    The latest commit should have fixed all the problems related to input :)
    Also, it's now fast enough to play Karateka with vsync on :3
    As always, here's the build :)
     
    ipwndeveloper likes this.
  19. lemonmeister
    OP

    lemonmeister Member

    Newcomer
    18
    10
    Apr 7, 2013
    Italy
    Gah, I couldn't get to sleep until I wrote a better hi-res renderer and optimize it to reach the ~60fps...
    Well, the result is here :D
     
    ipwndeveloper likes this.
  20. Vague Rant

    Vague Rant Deceptively cute

    Member
    2,052
    414
    Aug 7, 2008
    Melbourne
    I'm not sure what's changed, but now I'm having trouble with grape, even after dropping back to the version from last month. It seems to be running fine, but crashes upon opening the menu. I tried backing up my card, formatting it, and putting grape back on, but I'm still getting the same behavior. Since I'm getting the same behavior across versions, it can't be related to any code changes in grape, so I don't know what I'm doing wrong.