Sega Genesis Dev Kit (SGDK)
Moderator: Stef
-
- Very interested
- Posts: 3131
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
- Contact:
As far i know it has always be present (or since a very long time !).
The thing is that the methods are called 'lremu' and 'lrem' for 32 bits modulus in the sega.s file where they should be __modsi3... i don't remember when i modified that :-/ Anyway i believe that all these standard methods are present in the included libgcc.
The thing is that the methods are called 'lremu' and 'lrem' for 32 bits modulus in the sega.s file where they should be __modsi3... i don't remember when i modified that :-/ Anyway i believe that all these standard methods are present in the included libgcc.
Yeah, mod is working fine for me. Here's an example:
https://dl.dropboxusercontent.com/u/101 ... in_mod.tgz
https://dl.dropboxusercontent.com/u/101 ... in_mod.tgz
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
Or he's mixing things... if you use kubilus1's linux setup, you also need to be using libgcc and a different crt0 file. That he reports functions missing from the startup indicates he's mixing the sgdk Windows setup with the linux setup. When you use the linux setup, you need to change the start files and how it's built to a more gcc centric method. You can't use the normal start files or the generic project makefile.
-
- Very interested
- Posts: 3131
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
- Contact:
I just released SGDK 1.00
I was tired of version 0.9x so i jump to 1.00, also this version bring the new XGM driver which should really help when playing with music and sound =)
As usual you can find that on the SGDK project page :
https://code.google.com/p/sgdk/
I was tired of version 0.9x so i jump to 1.00, also this version bring the new XGM driver which should really help when playing with music and sound =)
As usual you can find that on the SGDK project page :
https://code.google.com/p/sgdk/
Great job Stef, congratulations and thanks for the continuous improving of SGDK.Stef wrote:I just released SGDK 1.00
I was tired of version 0.9x so i jump to 1.00, also this version bring the new XGM driver which should really help when playing with music and sound =)
As usual you can find that on the SGDK project page :
https://code.google.com/p/sgdk/
The man who moves a mountain begins by carrying away small stones. Confucius, 551-479 BC
-
- Interested
- Posts: 42
- Joined: Fri Sep 24, 2010 11:32 pm
- Location: toulouse
Thanks !Stef wrote:I just released SGDK 1.00
I was tired of version 0.9x so i jump to 1.00, also this version bring the new XGM driver which should really help when playing with music and sound =)
As usual you can find that on the SGDK project page :
https://code.google.com/p/sgdk/
thanks to Stef SGDK
-
- Very interested
- Posts: 710
- Joined: Sat Feb 18, 2012 2:44 am
-
- Very interested
- Posts: 3131
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
- Contact:
I just made a new version for SGDK
This version adds Sega Phaser support (thanks to Chilly Willy !) and also some others improvements (mainly on the XGM driver).
Now the XGM driver automatically enables the DAC when playing PCM SFX and restore its state afterward. I also fixed a minor issue on pause music operation happening on real hardware.
This version adds Sega Phaser support (thanks to Chilly Willy !) and also some others improvements (mainly on the XGM driver).
Now the XGM driver automatically enables the DAC when playing PCM SFX and restore its state afterward. I also fixed a minor issue on pause music operation happening on real hardware.
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
Whoops! Minor bug on my side of things I just noticed...
Notice how it checks mx when setting my? Should be my instead of mx there in line 681. Sorry, should have noticed that myself earlier.
Code: Select all
if (md[0] & 0x02)
my |= mx ? 0xFF00 : 0xFFFF; /* y sign extend */