libyaul: Yet Another Useless Library

Discussion in 'Sega Saturn Programming and Development' started by Piratero, Jun 6, 2012.

  1. Piratero

    Piratero Peppy Member

    Joined:
    Feb 28, 2009
    Messages:
    367
    Likes Received:
    8
    Yaul: An awesome open source SEGA Saturn software development kit

    Hello everyone!

    I figured that it was about time I made a thread about my small project, libyaul. To keep it short, it's an open-source library aimed at making life easier developing on the Saturn.


    You can view the rest here.

    Hope this gains some momentum. But keep in mind that quite a few things are broken at the moment, but that shouldn't stop anyone from trying to build any of the examples! I'd actually appreciate it if someone would mind building them. That way I can fix any problems people might have!
     
    Last edited by a moderator: May 25, 2015
  2. Piratero

    Piratero Peppy Member

    Joined:
    Feb 28, 2009
    Messages:
    367
    Likes Received:
    8
    Bump!

    I've added quite a few things these past 3-4 days. I'm going to be adding support for the CD-ROM drive in the next couple of weeks. I'm also going to be integrating this into all into the compiler suite so building the examples will be much easier.

    If anyone would like to help me with making sure there is full C++ support, that'd be great!

     
    Last edited by a moderator: May 25, 2015
  3. SaucJedi

    SaucJedi Active Member

    Joined:
    Apr 26, 2007
    Messages:
    35
    Likes Received:
    0
    Great work! I'm following your repository on github. This looks promising, I'm sure that there are many things worth porting to the Saturn and this may well be the start of that road ;)
     
  4. Piratero

    Piratero Peppy Member

    Joined:
    Feb 28, 2009
    Messages:
    367
    Likes Received:
    8
    There are a few emulators, but they're written using the official libraries. I'm hoping they can make the switch.
     
  5. Piratero

    Piratero Peppy Member

    Joined:
    Feb 28, 2009
    Messages:
    367
    Likes Received:
    8
    ROMDISK support has been added
    ARP support has been added


    Who needs CD-ROM support now? :)


    The idea is that you load your executable, initialize the 32-Mbit cartridge and send the actual ROMDISK file system through PAR and into load it into the cart.


    [​IMG]




    On a serious note, after I implement a (basic) version of ISO9660, I'll start adding support for it.
     
  6. SaucJedi

    SaucJedi Active Member

    Joined:
    Apr 26, 2007
    Messages:
    35
    Likes Received:
    0
    I think the Saturn is in a similar state than PSX on this matter. There are some emulators for PSX but nothing more. I wonder if they used the official devkit to develop them.

    Saturn is a great machine, his fate was sad. A great machine for 2D games with 3D rushed in because of the PSX / N64...
     
  7. Piratero

    Piratero Peppy Member

    Joined:
    Feb 28, 2009
    Messages:
    367
    Likes Received:
    8
    What I meant was the emulators released on the Saturn were written using the official Sega SDK.
     
  8. vbt

    vbt Spirited Member

    Joined:
    Mar 17, 2007
    Messages:
    125
    Likes Received:
    23

    Piratero, you're right. I use some sega libs (sbl) for sms plus & final burn alpha, here is the list :

    sega_per.a : for paddle
    sega_spr.a : not for sprites but to use slave cpu (initslave,runslave,waitendslave)
    sega_csh.a : used sometimes to send values to cache & share with slave cpu
    sega_int.a : surely mandatory
    for cd access : i use cdcrep + "modified" (smaller) gfs lib
    for sprites + layer : modified sega libs + sega macro
    for sound : modified sega pcm lib

    if you have stuff, i can use/replace I can try :)
     
    Last edited: Jun 17, 2012
  9. Piratero

    Piratero Peppy Member

    Joined:
    Feb 28, 2009
    Messages:
    367
    Likes Received:
    8
    SMPC is 50% there, but support for simple devices is there (the digital pad and analog pad)
    Access to the slave CPU needs support for the FRT. I'm going to do something really cool with the slave CPU
    VDP1 is 50% there, but you'll have to do most of the work (for now!)
    VDP2 is 75% there, all basic functionality is 100% working
    I don't have SCSP support

    As for CD support, if you have AR PLUS 4MiB RAM cart, just build a ROMDISK file system, start your game, upload the ROMDISK to the 4MiB cart


    Why do you need sega_csh.a? What is sega_int.a for?
     
  10. PicPat

    PicPat Newly Registered

    Joined:
    Jul 15, 2012
    Messages:
    1
    Likes Received:
    0
    Hi, thanks a lot for these libs! They looks very interesting, I gonna try them soon... Ok, I've never programmed for the Saturn, but they seems to be a really good starting point!

    Btw, is that normal your YouTube channel doesn't exist anymore ?
     
  11. Piratero

    Piratero Peppy Member

    Joined:
    Feb 28, 2009
    Messages:
    367
    Likes Received:
    8
    It does, I use it everyday. I don't see a problem with the videos.
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page