1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Dismiss Notice

BBC Emulation (merged thread)

Discussion in 'General Discussions' started by Stainy, Jan 16, 2011.

  1. darfgarf

    darfgarf Well-Known Member

    Joined:
    Dec 8, 2009
    Messages:
    1,125
    Location:
    Blighty
    it'd be in exactly the same place as if it was on windows, only differences are silly os specific things, input is usually the same as it's standard for the language (or library if it's using sdl)
     
  2. mhadf

    mhadf Member

    Joined:
    Jun 23, 2009
    Messages:
    172
    I took the advice from the other thread about using version 0.6.


    I've hit a wall with pkg-config reporting a different version of libglib to what the system had installed.... I compiled the newest version (eventually) and now they are arguing over who is right.


    Unfortunately this is where it gets out of my depth, I've no idea how to point a system symlink to a different file. or even if I can overwrite the symlink file with a full version. edit note to self - try " ./configure --prefix=/usr "


    I also managed to break something (not login), I broke thunar and most of the gui with the wrong command, luckily I hadn't rebooted so just did the reverse in my commandline and everything worked again.


    Even though I'm making SLOW progress I'm enjoying myself immensely, I'm learning how the linux system works, and how much we deperately need a major update of the libraries. Is there any plans for this in HF6?


    edit. Just a reference for myself in future...... nothing is ever that easy.


    edit 2. Got past the libglib problem :D Back to another dependency issue now.
     
    Last edited by a moderator: Jun 3, 2011
  3. mhadf

    mhadf Member

    Joined:
    Jun 23, 2009
    Messages:
    172
    So far I've taken some huge detours to get other things compiled that required other things to be compiled and so on.


    I've just started installing and compiling the needed libraries and so far the PandoraOS is still perfectly stable


    So here's a list of where I am at the moment with trying to get it sorted


    Status


    Beebem - requires a newer version of GTK+


    GTK+ - requires a newer version of libglib compiled 2.29.4


    - requires a newer version of pango compiled 1.28.4


    - requires a newer version of pkg-config compiled 0.9.0


    - Various libraries


    succesfully compiled and installed :D


    PANGO and LIBGLIB just needed some libraries installing and a --/prefix=/usr for libglib before compiling nicely.


    PKG-CONFIG compiled without issue (The only thing so far
     
    Last edited by a moderator: Jun 4, 2011
  4. WizardStan

    WizardStan Mega GP Mania

    Joined:
    May 24, 2008
    Messages:
    16,307
    My Pandora emulated the BBC yesterday. I used it to watch Doctor Who in bed last night. :p
     
  5. Stainy

    Stainy Well-Known Member

    Joined:
    Feb 28, 2005
    Messages:
    1,078
    Location:
    Born UK Living USA
    How you getting on with this? :)

     
  6. sswam

    sswam Advanced Member

    Joined:
    Dec 16, 2009
    Messages:
    1,392
    [removed bogus post]
     
    Last edited by a moderator: May 12, 2012
  7. sswam

    sswam Advanced Member

    Joined:
    Dec 16, 2009
    Messages:
    1,392
    I compiled two versions of BeebEm on Pandora, and put them in a PND.


    This is not a "port", it needs a lot of work to be called a good Pandora port. This is just two builds with various issues, but they can both emulate a BBC.


    http://pandoria.org/pnd/beebem.pnd


    - The UNIX version, screen update is slow, but it goes fullscreen nicely. Use F11.


    - The GP2X version, runs smoothly, but appears as a small window on Pandora. Use F3.


    The GP2X version in my PND seems to have some bug with loading disk images from outside the read-only PND tree!


    I'll try to fix that, and learn about the hardware scaler, might be an easy way to make the GP2X version go full screen.


    I also found the 'various versions of GTK / GLIB / GIO' problem, hacked around it by disabling that test in the configure script! This is because we are installing packages from angstrom 'unstable', a moving target. I used the C/C++ PND to build it, had less trouble with it than my own dev environment, where I've upgraded too many packages).
     
    Last edited by a moderator: May 12, 2012
  8. Stainy

    Stainy Well-Known Member

    Joined:
    Feb 28, 2005
    Messages:
    1,078
    Location:
    Born UK Living USA
    Oh well done sswarm :) been waiting for you for ages ;)


    My pandora has been delivered at home today :)


    Hope you can figure things out


    EDIT: actually this is broken.. it doesn`t show up on my pandora and I can`t open it with 7zip ( like I can everything else ) seems broken..


    Sent from my Amiga using the cli.
     
    Last edited by a moderator: May 10, 2012
  9. sswam

    sswam Advanced Member

    Joined:
    Dec 16, 2009
    Messages:
    1,392
    I'll have a look what might be wrong with it, perhaps my PXML is not compatible with newer libpnd or something. I'm still on hotfix 5 for the moment!


    Congrats on getting your Pandora! :) It's an awesome little machine.
     
    Last edited by a moderator: May 11, 2012
  10. Stainy

    Stainy Well-Known Member

    Joined:
    Feb 28, 2005
    Messages:
    1,078
    Location:
    Born UK Living USA
    :)


    So should there be two pnd`s? or both versions in one pnd?
     
  11. sswam

    sswam Advanced Member

    Joined:
    Dec 16, 2009
    Messages:
    1,392
    I fixed the PND, it had been truncated. I guess the upload was interrupted. It should work now.


    http://pandoria.org/pnd/beebem.pnd


    There's both versions in one pnd for now. It uses a popup prompt to select which, rather than two icons. A bit weird, but we can fix it up later.
     
    Last edited by a moderator: May 12, 2012
  12. Stainy

    Stainy Well-Known Member

    Joined:
    Feb 28, 2005
    Messages:
    1,078
    Location:
    Born UK Living USA
    Nice.. :)


    Couple of things


    With the unix version... I can only seem to get about 1fps with it.. I've changed a few things, sound and whatnot but nothing over 1fps. Is this what I should be expecting or is there something I should be changing :)


    Your right.. The other version is small !!! Heheh
     
  13. sswam

    sswam Advanced Member

    Joined:
    Dec 16, 2009
    Messages:
    1,392
    Good to know it's 'working' for you now.


    Yes, the 'unix' version is very slow on Pandora. This PND is just a starting point, need to merge and develop the code maybe based on both versions and other patches. The GP2X one currently has hard-coded resolution and needs some changes, while the unix one I have refreshes the screen very slowly as you can see. It's a little slower than Repton looks from side to side!! lol
     
  14. sswam

    sswam Advanced Member

    Joined:
    Dec 16, 2009
    Messages:
    1,392
    I updated the PND, here:


    http://pandoria.org/pnd/beebem.pnd

    I fixed that, using notaz SDL, now it is big! and works pretty nicely. I also fixed some problems with my build, so it can load disc images, and is optimized for OMAP3 now. There are still some bugs, but it's getting there.


    It can run Repton 3, Exile, Elite and Thrust smoothly, thanks to the GP2X porters.


    I put it on the repo, as an alpha: http://repo.openpandora.org/?page=detail&app=beebem-15428
     
    Last edited by a moderator: May 12, 2012
  15. sswam

    sswam Advanced Member

    Joined:
    Dec 16, 2009
    Messages:
    1,392
    I'm doing some more work on this at the moment, will fix up the key mapping issues for a start so that we can use the D-pad!
     
  16. Stainy

    Stainy Well-Known Member

    Joined:
    Feb 28, 2005
    Messages:
    1,078
    Location:
    Born UK Living USA
    Ah good man DREDD/sswam :)

    I can work with the key mapping files..


    Save states? :)
     
  17. sswam

    sswam Advanced Member

    Joined:
    Dec 16, 2009
    Messages:
    1,392
    okay...  I finally after all this time did some more on beebem tonight.  My wife and kids are on holiday overseas!

    - fixed the keyboard mapping issues

    - save states seem to work

    - fixed up UI for Pandora (removed some stuff, use pandora buttons)

    - the start and select buttons do things now

    - removed the slow "unix" beebem version from the pnd, for now

    - Updated the pnd on the repo:

    http://repo.openpandora.org/?page=detail&app=beebem-15428

    I hope it works for you.

    Please let me know, if you see any bugs - I'm sure there's lots.

    Next steps:

    - remember path to disc images!

    - fix graphics to use Pandora's 800x480 resolution

    - the sound is choppy, take a look at that

    - virtual keyboard don't work, not much needed on Pandora though

    Source is here:  http://pandoria.org/src/

    Games are here:  https://www.google.com/search?q=bbc+games+ssd
     
    Last edited by a moderator: Jan 11, 2013
  18. Stainy

    Stainy Well-Known Member

    Joined:
    Feb 28, 2005
    Messages:
    1,078
    Location:
    Born UK Living USA
    Fantastic news Sswam :)  gonna grab this now!!
     
  19. Stainy

    Stainy Well-Known Member

    Joined:
    Feb 28, 2005
    Messages:
    1,078
    Location:
    Born UK Living USA
    This is working much much better now... If it remembers the .ssd dir it would be brilliant ;)
     
  20. sswam

    sswam Advanced Member

    Joined:
    Dec 16, 2009
    Messages:
    1,392
    Yeah, meanwhile you can put your discs where it looks, in /mnt/utmp/beebem-*/discs or what is it.  Then they wil go into the appdata.
     

Share This Page

Loading...