[Release] Bread Box (C64 Emulator)

Discussion in '3DS - Homebrew Development and Emulators' started by spinal_cord, Sep 18, 2015.

  1. spinal_cord
    OP

    spinal_cord Knows his stuff

    Member
    3,016
    595
    Jul 21, 2007
    somewhere
    Image28.jpg

    Bread Box - Frodo 3DS
    Code:
    _____               _    _____
    | __  |___ ___ ___ _| |  | __  |___ _ _
    | __ -|  _| -_| .'| . |  | __ -| . |_'_|
    |_____|_| |___|__,|___|  |_____|___|_,_|
    
    3DS Port of Frodo by Spinal_Cord - http://socoder.net/?blog=spinal
    Based on FrodoDS ported by GPF - http://gpf.dcemu.co.uk/Frodoc64.php
    Based on Frodo by Christian Bauer - http://frodo.cebix.net/

    Nobody wanted to port a C64 emulator to the 3DS, so I gave it a shot.

    Code:
    _____              _____
    |  |  |___ _ _ _   |_   _|___
    |     | . | | | |    | | | . |
    |__|__|___|_____|    |_| |___|
    
    You need a way to run homebrew applications on your 3DS. See
    http://smealum.github.io/3ds/ for details.

    Be sure to place BreadBox.3dsx and BreadBox.smdh in /3ds/BreadBox/
    Any games you with to load should be placed in /c64/games/

    Current version ??

    Update!
    Added joystick directions to the configurable buttons, so you can set X to Up for example.
    The upload is too big for gbatemp as it now has the latest source and resources, so here it is - http://socoder.net/uploads/124/BreadBoxEverything.zip


    Added
    o CIA version
    Very important, a DSP dump is needed for this version to work.
    I have a mirror of DspDump.3dsx in the files below, be sure to
    read up about it here - https://gbatemp.net/threads/release-dsp-dump.423860/

    o DPS Audio
    o Nicer UI
    o 01_6_16 fixed Shift key bug, added cmb and ctrl key functionality to the keyboard.
    Working
    o Keyboard
    o Floppy Drive - I only added support for one drive, shouldn't really need more
    o Switch true 1541 support on/off. Some games need it
    o Loads .FSS, .d64, .t64, .prg from /c64/games/ folder on SD card
    o Swap joystick ports
    o Reset
    o Save snapshot
    o Start button menu!

    Most up to date OLD version is available at GitHub. Both 3dsx and source.
    https://github.com/spinalcode/BreadBox

    The latest version is now attached, should be working fine on all systems and compatible with a lot of games.
     

    Attached Files:

    Last edited by spinal_cord, Jan 28, 2017


  2. olshrimpeyes

    olshrimpeyes Your question is bad and you should feel bad

    Member
    454
    283
    Jul 30, 2015
    United States
    GNU/Somewhere
    This looks fantastic! I hope this works as well as it looks. Either way great job!
     
  3. nop90

    nop90 GBAtemp Maniac

    Member
    1,421
    2,128
    Jan 11, 2014
    Italy
    Rome
    If you publish the sources on github (or other place) I could help with sound reusing what i already did for Handy3ds.

    But for a good sound it needs to run fullspeed. How is the framerate respect the original?
     
    Idaho and SLiV3R like this.
  4. Marko76

    Marko76 GBAtemp Psycho!

    Member
    3,550
    2,010
    Aug 19, 2015
    United Kingdom
    Clydebank
    Excellent now we just need Nop90 to get the Atari 2600 emulator out and somebody to do a Atari St emulator and I will be very happy
     
  5. nop90

    nop90 GBAtemp Maniac

    Member
    1,421
    2,128
    Jan 11, 2014
    Italy
    Rome
    I'll release something in the week end, but with no sound and low FPS.
     
  6. shadow1w2

    shadow1w2 Still here.

    Member
    1,527
    35
    Mar 16, 2004
    United States
    CA
    Love the keyboard on the bottom screen.
    So nostolgic!
    Key press sounds would be funny to hear though.

    Reminds me to dig up some old C64 games, its been too long.

    Looking rather good already, keep it up.
     
  7. Marko76

    Marko76 GBAtemp Psycho!

    Member
    3,550
    2,010
    Aug 19, 2015
    United Kingdom
    Clydebank
    Cool can't wait to try this and nops 2600 emu a work in progress realise is better than no realise at all what have you got planned next nop90
     
  8. ody81

    ody81 GBAtemp Fan

    Member
    464
    229
    Aug 21, 2012
    MY FUCKING HERO!!!!!!!!!!!!!!

    Now all I need is a .cia version so I can try it lol

    Great work man
     
  9. fryguyse

    fryguyse Member

    Newcomer
    17
    4
    Nov 29, 2013
    w00t! how is it speedwise ?
     
  10. SLiV3R

    SLiV3R 3DS Friend Code: 0473-9069-2206

    Member
    2,202
    1,044
    Jan 9, 2006
    Yes!!!!! Fantastic news :)
     
  11. Vague Rant

    Vague Rant Deceptively cute

    Member
    2,053
    414
    Aug 7, 2008
    Melbourne
    I'm not clear on how to open a PRG; I assume I touch the disk drive, but touching a program/pressing the buttons doesn't seem to do much then. Pressing A makes the emulated C64 enter "RUN" and then everything locks up. I assume this is the crash you mention in the topic post, so I'll look forward to future versions.

    FYI, the release bundle includes a bunch of Mac OS hidden files; e.g. a __MACOSX directory, ._.DS_Store files littered around. For anyone using this, you don't need those files, they're like windows thumbs.db and desktop.ini files: OS features, unrelated to anything you need to do on 3DS.
     
    Tomato Hentai likes this.
  12. spinal_cord
    OP

    spinal_cord Knows his stuff

    Member
    3,016
    595
    Jul 21, 2007
    somewhere
    Thats not the crash I was talking about. if your .prg doesn't load, then it simply doesn't load. Try a different game. Frodo compatibility is not brilliant because of the emulation methods used.

    [edit] Forgot to mention, the C64 screen is 22px taller than the 3DS screen, so I used the 3D Slider to scroll the screen up and down :-P
     
    hippy dave likes this.
  13. Coto

    Coto GBAtemp Addict

    Member
    2,366
    416
    Jun 4, 2010
    Chile
    Very good work. :)
     
  14. ric.

    ric. Drivin' to meme country

    Member
    792
    907
    Sep 17, 2015
    Peru
    Wow, impressive! How well is this expected to run on O3DS systems?
    I understand there's not a lot to work with given the hardware but I really don't know how resource-intensive C64 emulation is.
    Either way, great job!
     
  15. spinal_cord
    OP

    spinal_cord Knows his stuff

    Member
    3,016
    595
    Jul 21, 2007
    somewhere
    I only have a 3dsxl to work with, it's running at a good speed without frameskip although there is no audio yet.
     
  16. Vague Rant

    Vague Rant Deceptively cute

    Member
    2,053
    414
    Aug 7, 2008
    Melbourne
    @spinal_cord Could you give a step-by-step process to how we should expect to launch software? On my end, touching TRUE 1541 seems to freeze the emulator, as does attempting to mount a d64. I'm not sure I'm even reaching a point where Frodo's compatibility would come into the matter, it doesn't seem like the emulator ever gets far enough to start reading software from D64/PRG. Do PRGs need to be mounted before launching, or do we just hit Load? Should the emulated C64 do the old LOAD "*" (haha, I typed Load "@", force of habit), because currently when I try to Load a PRG the emulated C64 goes directly to RUN. I'm just not certain if I'm loading games correctly and bumping up against crashing, or if I'm doing something wrong to cause my problems.

    EDIT: By the way, that's a really cool trick with the 3D slider, nice work.
     
  17. Sir_Voe

    Sir_Voe GBAtemp Fan

    Member
    318
    11
    Apr 28, 2007
    United States
    My most nostalgia inducing computer of all time. So many good memories of tripping to Babbages w/ my dad to pick up the latest Epyx masterpiece (for $4.99!). Thanks for taking up this project, and sharing your work.
     
  18. spinal_cord
    OP

    spinal_cord Knows his stuff

    Member
    3,016
    595
    Jul 21, 2007
    somewhere
    grab the breadbox.3dsx.zip from the first post, should be working now

    wait, dont, its broken too...
     
  19. Vague Rant

    Vague Rant Deceptively cute

    Member
    2,053
    414
    Aug 7, 2008
    Melbourne
    @spinal_cord Sorry, behavior seems worse on my end with the new build, any touch events at all seem to freeze up the 3DS and require a hard power off.

    On the upside, I've figured out my problem getting PRGs running on the original release; I was attempting to launch clean (i.e. uncracked) PRGs; cracked PRGs for Bubble Bobble, Sensitive and Wizball are all working great. Sorry for the false report.
     
  20. LuigiBro

    LuigiBro GBAtemp Regular

    Member
    162
    101
    Dec 2, 2014
    United States
    We still need a Nintendo 64 emulator! WE NEED OUR MARIO 64!