nullDC now open source!

Discussion in 'Sega Dreamcast Development and Research' started by segaloco, May 17, 2010.

  1. rso

    rso Gone. See y'all elsewhere, maybe.

    Joined:
    Mar 26, 2010
    Messages:
    2,190
    Likes Received:
    447
    Well, MS compilers tend to change an awful lot inbetween versions (obviously, since you only get one every few years). Try going back to VS2008 maybe.
     
  2. segaloco

    segaloco Enthusiastic Member

    Joined:
    Jun 25, 2009
    Messages:
    531
    Likes Received:
    3
    Yeah, I guess I will just stick with SDL/OpenGL. (I could experiment with PulseAudio and other stuff on Linux, but I doubt that will go anywhere...
     
  3. Piratero

    Piratero Peppy Member

    Joined:
    Feb 28, 2009
    Messages:
    367
    Likes Received:
    8
    Please no PulseAudio. Just stick with OSS. ALSA is a mess as well.

    Honestly, that code needs an immense overhaul. The snippet alone that you pasted scares the living daylights out of me.
     
  4. segaloco

    segaloco Enthusiastic Member

    Joined:
    Jun 25, 2009
    Messages:
    531
    Likes Received:
    3
    Yeah, I'm trying my best on it, although work is keeping me busy, to the point of personal injury actually, I live in South Texas, and the heat indexes are crazy (107-111 Fahr) and I've almost needed to go to the hospital several times due to passing out from heat exhaustion, so I'm not in the position to be pouring all my time into this, but I will do what I can. Probably a good call on that PulseAudio and ALSA and whatnot. I'm going to try to stick with only either platform independent or widely implemented APIs only. (Hence OpenGL/SDL for graphics, Qt for UI, OSS for Audio, SDL for input management, and Standard C/C++ library functions for file manipulation. If I have to write my own file writers and stuff to make using the standard libraries easier, so be it, but I will make sure that I absolutely DO NOT use anything specific to one platform or architecture unless I have to. If I do any assembly, I will port it to as many platforms as I understand assembly for [which are currently x86 and M68000 :/])
     
  5. Piratero

    Piratero Peppy Member

    Joined:
    Feb 28, 2009
    Messages:
    367
    Likes Received:
    8
    Great! Sounds a lot better. I would help, but school just started for me. And on top of that, I have an outstanding number of other projects that I have yet to complete! :dammit:

    Any reason for the mix of C and C++ (other than the fact that some libraries are written in C)?

    Have you thought about the build system? How about CMake?

    Good to hear that the nullDC team has released their code and you taking on this behemoth of a project!
     
  6. rso

    rso Gone. See y'all elsewhere, maybe.

    Joined:
    Mar 26, 2010
    Messages:
    2,190
    Likes Received:
    447
    Btw: Since you're aleady using SDL, why not use their sond system abstraction? I think (been a while) they have a file I/O interface too...
     
  7. T_chan

    T_chan Gutsy Member

    Joined:
    Apr 13, 2008
    Messages:
    464
    Likes Received:
    64
    Just had a quick look at wikipedia for OSS & ALSA...
    they both seem to be for Linux only, no ?

    I've used OpenAL a few times in the past and liked it a lot better than DirectSound... I don't know how good/widespread the linux version is however.
     
  8. Storm

    Storm Robust Member

    Joined:
    May 1, 2008
    Messages:
    228
    Likes Received:
    1
    ALSA is short for Advanced _Linux_ sound architecture, so that one is so far pretty Linux specific. OSS is multi-platform, but probably not in a way you care about: It's available for Solaris and some of the BSDs.

    Fairly OK, not that widely used.
     
  9. segaloco

    segaloco Enthusiastic Member

    Joined:
    Jun 25, 2009
    Messages:
    531
    Likes Received:
    3
    Well, I haven't really put down the code for all of that yet, so I'm still planning things. Right now I am still working on getting all of the non-output code ready, such as the emulation cores themselves, and the glue that holds them together. I know that, as far as graphics are concerned, SDL/OpenGL is what I'm using, UI will be Qt, and I will decide later on the rest, although I will use SDL for a majority of things as it is able.

    Edit: Update, finally got Linux working with the internet, so I can make it my primary OS again, and, therefore, do the majority of my development on it!!!
     
    Last edited: Jun 23, 2010
  10. npt

    npt Spirited Member

    Joined:
    Nov 6, 2009
    Messages:
    173
    Likes Received:
    2
    Keep up the good work! +1 for linux port!!

    As you can see, there are A LOT of Linux users on here who would just love you if you really get this ported over. If I could run nullDC full speed in a year or two on my gentoo laptop... oh man, wow.

    /me claps hands for this!

    Regards,

    npt

    :dance:
     
  11. geezup

    geezup Member

    Joined:
    Oct 16, 2008
    Messages:
    16
    Likes Received:
    0
    wow.... great news! Hopefully we will see ports for different platforms in the future!
     
  12. segaloco

    segaloco Enthusiastic Member

    Joined:
    Jun 25, 2009
    Messages:
    531
    Likes Received:
    3
    Well, some news you may not want to hear, I've postponed this indefinitely as I do have a life and more important things to take care of. Rest assured, I still have interest in doing this, but it's a matter of finding the time and patience to do most of it.
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page