Apple II Emulator

Discussion in 'General Discussions' started by LaxDragon, Mar 21, 2011.

  1. LaxDragon

    LaxDragon Still Fresh

    Joined:
    Feb 24, 2011
    Messages:
    7
    I was looking around for an Apple II emulator to run, and stumbled on LinApple http://sourceforge.net/projects/linapple/


    Took a crack at trying to get it to compile, but ran into some snags. Code has not been updated since '07. Since it is SDL based, I thought it might be a great candidate for Pandora.
     
    Tags:
  2. dxtech

    dxtech Still Fresh

    Joined:
    Mar 31, 2011
    Messages:
    1

    I have been looking for an Apple IIe emulator on pandora too. I hope someone can get this to run.
     
  3. JerryBlade

    JerryBlade Member

    Joined:
    Oct 3, 2008
    Messages:
    148
    I built a development environment SD card to try this as well, and it had a lot of issues compiling... 2007 code shouldn't be a problem. For the most part, this emulator has been "finished" and stable for many years.


    Anyone else interested in giving this a try? IMO, an Apple ][ emulator is a glaring omission on the OpenPandora landscape!!!
     
    Last edited by a moderator: Apr 5, 2011
  4. AquaAnalogue

    AquaAnalogue Member

    Joined:
    Jan 19, 2010
    Messages:
    355
    I'll say. I thought with all the other systems emulated, it was a given. I'm gonna be significantly sad if this isn't fixed by the time I get mine :(
     
  5. ckblackm

    ckblackm Member

    Joined:
    Dec 3, 2008
    Messages:
    431
    Location:
    North Carolina, USA
    I'd like to see this as well.


    Christopher.
     
  6. gruso

    gruso thunderbox

    Joined:
    Feb 28, 2008
    Messages:
    7,461
    Location:
    Sydney, Australia
  7. JerryBlade

    JerryBlade Member

    Joined:
    Oct 3, 2008
    Messages:
    148
    Kegs is for the IIgs but doesn't run original Apple II/II+/IIe/IIc stuff that well; however, it is another emulator that would be great on the Pandora. There are a lot of cool IIgs games.
     
  8. LaxDragon

    LaxDragon Still Fresh

    Joined:
    Feb 24, 2011
    Messages:
    7
    LinApple is based on AppleWin. From what I remember of AppleWin, it was a perfect AppleIIe emulator. I used to use it quite a bit back when I actually ran Windows. IIRC it even emulated the mockingboard for even better sound/music in some games.


    I did try to get LinApple to compile on my Linux box as a test. There seems to be issues with new gcc. Someone with more experience should be able to figure this out.


    I'll keep holding out hope for this.
     
  9. kneehighspy

    kneehighspy Still Fresh

    Joined:
    Apr 16, 2008
    Messages:
    92
    Location:
    usa
    i also used winapple for the longest time and it was very stable. would love to see it on my pandora also, if only i had the knowledge to convert it over....
     
  10. CFWhitman

    CFWhitman Member

    Joined:
    Mar 2, 2011
    Messages:
    168
    Well, I got linapple to compile, but I don't have my Pandora (had to RMA it without ever really getting to use it) so I can't test it to see if it actually runs. It's a simple executable (there's no install script and no additional files), so I'd think it would be easy to test.


    If someone would like to try it, I'm willing to email it or look for a place to post it if you like.
     
    Last edited by a moderator: Apr 9, 2011
  11. JerryBlade

    JerryBlade Member

    Joined:
    Oct 3, 2008
    Messages:
    148
    I would be happy to try it out for you! Please send me a link or I can provide an email for you to send it to.
     
  12. CFWhitman

    CFWhitman Member

    Joined:
    Mar 2, 2011
    Messages:
    168
    I threw it up on Mediafire so anyone can download it who wants to. If you'd prefer me to email it, send me a PM with your email address.


    Here's the link.


    Defunct


    Edit: I was wrong about not requiring any additional files. Let me include those in the test folder. I'll post it shortly.


    Here is the link to the whole thing. Except for a minor source code change, the other files are unchanged from the original.


    ----Updated to correct binary version----


    http://www.mediafire.com/?wg3n7bzuplfldk4
     
    Last edited by a moderator: Apr 10, 2011
  13. JerryBlade

    JerryBlade Member

    Joined:
    Oct 3, 2008
    Messages:
    148
    I put the files from the src distribution in the folder; however, it wouldn't run. It gives me the following cryptic error:



    Code:
    -bash: ./linapple: cannot execute binary file
     
  14. CFWhitman

    CFWhitman Member

    Joined:
    Mar 2, 2011
    Messages:
    168
    Did you make the file executable? I just noticed that it was not executable in the archive.


    If you did, well, I was kind of shooting in the dark trying to cross-compile without having a Pandora available. I don't have any experience with cross-compiling, so maybe there is something that I missed. It's also possible that a change I made to get it to compile for the Pandora didn't really work correctly. I have a regular compile working on my laptop.


    Edit:


    I figured out that I had not made some necessary changes to the makefile for cross-compiling and had ended up with an x86 binary (even though I had made all other necessary preparations). The makefile in the new archive will not work for directly compiling, but only for cross-compiling with the correct tools. Try this file:


    http://www.mediafire.com/?wg3n7bzuplfldk4


    Let me know if that works.
     
    Last edited by a moderator: Apr 9, 2011
  15. JerryBlade

    JerryBlade Member

    Joined:
    Oct 3, 2008
    Messages:
    148
    Wow it totally works!!! Let me copy over some Apple ][ Disks and start testing it. Thanks so much - you rock!
     
  16. JerryBlade

    JerryBlade Member

    Joined:
    Oct 3, 2008
    Messages:
    148
    Some tests:


    Bandits - Success (Played to the 3rd Level - Control was a bit choppy)!


    Ultima IV - Success WITH Mockingboard support (Created a Character and ran to Yew)!


    Star Blazer - Success!


    Choplifter - Success!


    Loderunner - Success!


    I am currently using mouse as joystick, and that works ok. I haven't tried enabling the nubs as Joysticks and trying that yet. That's next :)


    This is awesome...
     
    Last edited by a moderator: Apr 10, 2011
  17. Jourdy288

    Jourdy288 Well-Known Member

    Joined:
    Jul 3, 2009
    Messages:
    2,562
    Will somebody post this to the file archive? Or should I?
     
  18. Blue Protoman

    Blue Protoman Well-Known Member

    Joined:
    Mar 6, 2010
    Messages:
    4,119
    Somebody PND this sucker.
     
  19. CFWhitman

    CFWhitman Member

    Joined:
    Mar 2, 2011
    Messages:
    168
    I left the CFLAG optimization setting at O3 because that is what it was on, but I'm wondering if O2 would be better.


    I guess there is a joystick related setting in the configuration file (linapple.conf), but I don't know how it would correlate to Pandora controls (if at all).


    I haven't really touched the code beyond just getting it to compile. Most of my coding experience is in Lisp, Visual Basic, and Perl. I once took a course in C++, but I'm very rusty.
     
  20. JerryBlade

    JerryBlade Member

    Joined:
    Oct 3, 2008
    Messages:
    148
    There is definitely a setting in the conf file which is how I enabled mouse joystick. The emulator does act a bit choppy at times, but I am not sure where that comes from. Try O2 and let me give that a spin... :)
     

Share This Page

Loading...