Request: C64 emu Frodo compile

Discussion in 'Wii - Emulation and Homebrew' started by MrTea, Nov 9, 2010.

  1. MrTea
    OP

    MrTea GBAtemp Fan

    Member
    320
    42
    Apr 6, 2009
    The latest version of the homebrew channel has unfortunately broken usb keyboard support for the commodore64 emulator frodo.

    I contacted the author of the emu but he informed me that he's now moved on to other things and is sadly no longer maintaining/updating the emulator. I asked how to fix the broken keyboard problem and he reckoned that rebuilding it with latest libogc/SDL would fix the emulator seeing the issue is probably in libogc?

    My question is would somebody possibly on here with the knowledge please kindly post an updated build of the emulator?

    Thanks in advance! [​IMG]


    ...I guess no worries if not but I'm missing my c64 fix. [​IMG]
     
  2. MrTea
    OP

    MrTea GBAtemp Fan

    Member
    320
    42
    Apr 6, 2009
    BUMP!

    Nobody interested in the old c64?? [​IMG]
     
  3. Category

    Category Trainee Romhacker

    Member
    244
    15
    Jan 29, 2008
    Bournemouth
    Well, you will not find an app called Frodo anymore, it has changed it's name to C64-network.org.

    The download on the WiiBrew page should be compatible with the latest homebrew channel & USB keyboards.
     
  4. MrTea
    OP

    MrTea GBAtemp Fan

    Member
    320
    42
    Apr 6, 2009
    Sorry my bad for posting 'frodo' as I was actually refering to frodo/c64-network... I'm actually one of the committers on googlecode and did all the official artwork for the GUI for Simons newer builds (I'm 'Baboon' on some other homebrew sites).

    As originally posted I already contacted the author saying that the newest version of hbc breaks usb keyboard support for the emu but alas he's told me he's since moved onto other things now and will no longer be maintaining this emu and also the amiga emu wiiuae (although he hopefuly might come back to the wii scene at some point).

    It was the Simons email that said rebuilding the emu with latest libogc/SDL would probably fix the emulator which Is why I sent out an S.O.S here.
     
  5. Category

    Category Trainee Romhacker

    Member
    244
    15
    Jan 29, 2008
    Bournemouth
    What libs does the program use? The website isn't too helpful in that respect, and I'm getting compilation errors:-

    Code:
    In file included from /home/category/dev/frodo/frodo-wii-read-only/Src/Display.cpp:26:0:
    /home/category/dev/frodo/frodo-wii-read-only/Src/Display.h:24:17: fatal error: SDL.h: No such file or directory
    compilation terminated.
    make[1]: *** [Display.o] Error 1
    make: *** [build] Error 2
    The only libraries mentioned are SDL Wii, and I have that installed.
     
  6. MrTea
    OP

    MrTea GBAtemp Fan

    Member
    320
    42
    Apr 6, 2009

    I emailed the author of the emu your questions and he replied...

    "He doesn't have SDL.h in the include path. So first he should look up where SDL.h is located in the devkitpro / libogc directories, and then see to it that he has that in the include path for the build.

    Look that up in Makefile.wii, and add a "-I/path/to/where/he/has/SDL.h"

    So hopefully that will be helpful to you Category?

    Thanks [​IMG]
     
  7. Category

    Category Trainee Romhacker

    Member
    244
    15
    Jan 29, 2008
    Bournemouth
    Looks like my SDLWii install is completely borked, might have to look into it, obviously some files unpacked incorrectly. Still throwing up errors, seems to have to include files with conflicting definitions of the same struct.

    Code:
    category@Frohicke:~/dev/frodo/frodo-wii-read-only$ make -f Makefile.wii Display.cpp
    In file included from /home/category/dev/frodo/frodo-wii-read-only/Src/Network.h:5:0,
    ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ from /home/category/dev/frodo/frodo-wii-read-only/Src/C64.h:23,
    ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ from /home/category/dev/frodo/frodo-wii-read-only/Src/Display.cpp:30:
    /home/category/devkitPro/libogc/include/network.h:160:10: error: redefinition of 'struct timeval'
    /home/category/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/4.5.1/../../../../powerpc-eabi/include/sys/time.h:17:16: error: previous definition of 'struct timeval'
    make[1]: *** [Display.o] Error 1
    make: *** [build] Error 2
    Possibly there were some changes in libogc since C64-Network.org was last updated. I would delve, but I am nowhere up to speed on Wii or SDL to be making sense of what is going on in there.
     
  8. wilsoff

    wilsoff GBAtemp Regular

    Member
    292
    4
    Dec 29, 2008
    United States
    I think this one is tricky to compile under Windows. I think it's a linux job really. I've tried in the past and failed though. Good luck.
     
  9. MrTea
    OP

    MrTea GBAtemp Fan

    Member
    320
    42
    Apr 6, 2009
    Ah thats a shame you guys can't compile this. [​IMG] ...thanks anyway!

    Its such a shame the author has left the scene as this emu was one of my favs. Sad times. [​IMG]
     
  10. Category

    Category Trainee Romhacker

    Member
    244
    15
    Jan 29, 2008
    Bournemouth
    I've been trying to compile under Linux, but to no avail.

    Which is a shame, I can't stop thinking about Little Computer People since trying!
     
  11. SimonKagstrom

    SimonKagstrom Member

    Newcomer
    43
    0
    May 18, 2009
  12. MrTea
    OP

    MrTea GBAtemp Fan

    Member
    320
    42
    Apr 6, 2009
    Thanks for the info Simon. Now hopefully someone on here will be able to fix this and also wiiuae by recompiling? [​IMG]
     
  13. c64sd4sd4sd4

    c64sd4sd4sd4 Member

    Newcomer
    23
    0
    Jan 6, 2011
    United States
    Bump! Can anyone please help out the good ole' 64?
     
  14. fabi280

    fabi280 GBAtemp Regular

    Member
    182
    0
    Feb 28, 2008
    Gambia, The
    Somewhere in Europe
    On Linux Box:
    Code:
    # make -f Makefile.wii
    linking ... frodo.elf
    utils.o: In function `sdl_surface_to_png(SDL_Surface*, unsigned int*)':
    /root/frodo-wii-read-only/Src/utils.cpp:224: undefined reference to `png_set_longjmp_fn'
    collect2: ld returned 1 exit status
    make[1]: *** [/root/frodo-wii-read-only/frodo.elf] Error 1
    make: *** [build] Error 2
    On Windows Home PC:
    Code:
    C:\Wii\frodo-wii-read-only>make -f Makefile.wii
    Display.cpp
    In file included from c:/Wii/frodo-wii-read-only/Src/Display.cpp:34:
    c:/Wii/frodo-wii-read-only/Src/gui/gui.hh:5:20: warning: timer.hh: No such
    file or directory
    c:/Wii/frodo-wii-read-only/Src/gui/gui.hh:12:21: warning: sysdeps.h: No su
    ch file or directory
    c:/Wii/frodo-wii-read-only/Src/gui/gui.hh:13:18: warning: main.h: No such
    file or directory
    c:/Wii/frodo-wii-read-only/Src/gui/gui.hh:14:19: warning: Prefs.h: No such
    file or directory
    In file included from c:/Wii/frodo-wii-read-only/Src/Display.cpp:34:
    c:/Wii/frodo-wii-read-only/Src/gui/gui.hh:107: error: ISO C++ forbids decl
    aration of 'TimerController' with no type
    c:/Wii/frodo-wii-read-only/Src/gui/gui.hh:107: error: expected ';' before
    '*' token
    In file included from c:/Wii/frodo-wii-read-only/Src/Display.cpp:35:
    c:/Wii/frodo-wii-read-only/Src/gui/status_bar.hh:12: error: expected class
    -name before '{' token
    make[1]: *** [Display.o] Error 1
    make: *** [build] Error 2
    EDIT: Also tried it on Windows...
    Too busy and too lazy to do more.
    I'll compile it if you provide a fix.
     
  15. petspeed

    petspeed GBAtemp Advanced Fan

    Member
    531
    50
    Nov 13, 2009
    You could install HBC 1.06 (and have two versions installed) and only use 1.06 to launch Frodo. I know it is not the ideal solution but it should work.

    Otherwise you could make a forwarder (or change the source code of an existing one and compile it) that points to /apps/frodo/boot.dol and see if that works.
     
  16. c64sd4sd4sd4

    c64sd4sd4sd4 Member

    Newcomer
    23
    0
    Jan 6, 2011
    United States
    Thanks for your help and for trying guys.
     
  17. Recnal

    Recnal Member

    Newcomer
    12
    0
    Sep 22, 2010
    A new version of Frodo (aka C64-network.org) has been released:

    v2.2 (C64-network.org)
    1.Several bug fixes
    2.Window zooming
    3.General Preferences saved manually
    4.Added items in info menu
    5.Option to emulate joystick with arrows keys

    No idea how window zooming works or why you need to emulate a joystick with cursor keys BUT the broken USB keyboard support appears to be fixed !. I'm on HBC 1.07 & my Logitech USB Keyboard now works perfectly with this release.

    Link: http://wiibrew.org/wiki/C64-network.org