libyaul: Yet Another Useless Library

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!
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!

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 ;)
There are a few emulators, but they're written using the official libraries. I'm hoping they can make the switch.
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.
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...
What I meant was the emulators released on the Saturn were written using the official Sega SDK.

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 :)
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?
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 ?
It does, I use it everyday. I don't see a problem with the videos.

Original thread: https://assemblergames.com/threads/libyaul-yet-another-useless-library.39520/