Homebrew [Release] Bread Box (C64 Emulator)

spinal_cord

Knows his stuff
OP
Member
Joined
Jul 21, 2007
Messages
3,224
Trophies
1
Age
43
Location
somewhere
Website
spinalcode.co.uk
XP
3,365
Country
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.
 

Attachments

  • BreadBox_18Nov2015.zip
    315.7 KB · Views: 1,159
  • BreadBox_29_5_16.zip
    866.8 KB · Views: 725
  • BreadBox_01_6_16.zip
    865.5 KB · Views: 1,233
  • DspDump.zip
    87.8 KB · Views: 793
  • BreadBoxSource_14_6_16.zip
    740.1 KB · Views: 928
Last edited by spinal_cord,

nop90

Well-Known Member
Member
Joined
Jan 11, 2014
Messages
1,556
Trophies
0
Location
Rome
XP
3,036
Country
Italy
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?
 
  • Like
Reactions: Idaho and SLiV3R

shadow1w2

Still here.
Member
Joined
Mar 16, 2004
Messages
1,713
Trophies
2
XP
1,804
Country
United States
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.
 

Vague Rant

Deceptively cute
Member
Joined
Aug 7, 2008
Messages
2,463
Trophies
2
Location
Melbourne
Website
vaguerant.tumblr.com
XP
3,301
Country
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.
 
  • Like
Reactions: Deleted User

spinal_cord

Knows his stuff
OP
Member
Joined
Jul 21, 2007
Messages
3,224
Trophies
1
Age
43
Location
somewhere
Website
spinalcode.co.uk
XP
3,365
Country
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
 
  • Like
Reactions: hippy dave

ric.

Drivin' to meme country
Member
Joined
Sep 17, 2015
Messages
794
Trophies
0
XP
1,638
Country
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!
 

spinal_cord

Knows his stuff
OP
Member
Joined
Jul 21, 2007
Messages
3,224
Trophies
1
Age
43
Location
somewhere
Website
spinalcode.co.uk
XP
3,365
Country
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!

I only have a 3dsxl to work with, it's running at a good speed without frameskip although there is no audio yet.
 

Vague Rant

Deceptively cute
Member
Joined
Aug 7, 2008
Messages
2,463
Trophies
2
Location
Melbourne
Website
vaguerant.tumblr.com
XP
3,301
Country
@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.
 

Sir_Voe

Well-Known Member
Member
Joined
Apr 28, 2007
Messages
318
Trophies
0
XP
216
Country
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.
 

spinal_cord

Knows his stuff
OP
Member
Joined
Jul 21, 2007
Messages
3,224
Trophies
1
Age
43
Location
somewhere
Website
spinalcode.co.uk
XP
3,365
Country
@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.

grab the breadbox.3dsx.zip from the first post, should be working now

wait, dont, its broken too...
 

Vague Rant

Deceptively cute
Member
Joined
Aug 7, 2008
Messages
2,463
Trophies
2
Location
Melbourne
Website
vaguerant.tumblr.com
XP
3,301
Country
@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.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Psionic Roshambo @ Psionic Roshambo: https://www.youtube.com/@legolambs