Sega Genesis Dev Kit (SGDK)

SGDK only sub forum

Moderator: Stef

Vincent
Newbie
Posts: 6
Joined: Wed Dec 08, 2010 10:40 am
Location: Taipei

Post by Vincent » Wed Dec 29, 2010 12:34 pm

Stef wrote:Thanks, that confirm the tutorial doesn't contains errors or miss important informations, i wasn't really sure :)
Nop, pas trop vite ... I didn't try it yet :p

Stef
Very interested
Posts: 3131
Joined: Thu Nov 30, 2006 9:46 pm
Location: France - Sevres
Contact:

Post by Stef » Wed Dec 29, 2010 1:35 pm

Vincent wrote:
Stef wrote:Thanks, that confirm the tutorial doesn't contains errors or miss important informations, i wasn't really sure :)
Nop, pas trop vite ... I didn't try it yet :p
ok ^^
Well it seems the last Code::Blocks version is a bit different from the version i was using, there is minor difference in makefile command but nothing really important.
Hope you'll get it working :)

bastien
Very interested
Posts: 208
Joined: Mon Jun 25, 2007 7:19 pm
Location: Besançon,France
Contact:

Post by bastien » Thu Dec 30, 2010 10:36 am

i have tested this new version with my demo and now the song works perfectly with the Real Hardware ! :twisted:

Thanks you very much Stef :D

Stef
Very interested
Posts: 3131
Joined: Thu Nov 30, 2006 9:46 pm
Location: France - Sevres
Contact:

Post by Stef » Thu Dec 30, 2010 2:35 pm

bastien wrote:i have tested this new version with my demo and now the song works perfectly with the Real Hardware ! :twisted:

Thanks you very much Stef :D
Ok, so i think i do know why the intial version wasn't working right on RH. I changed some stuff as Z80 BUS request with my own methods. I noticed Shiru's code wasn't waiting the acknowledgment of Z80 BUS request, i think that's why you meet some problems on RH.

Pascal
Very interested
Posts: 200
Joined: Wed Nov 29, 2006 11:29 am
Location: Belgium
Contact:

Post by Pascal » Thu Jan 06, 2011 12:11 pm

i got a problem with the SDK. Until now, it was going great. But i updated a bit my project and now everytime i try to use make , i got a sh.exe crash dump... I'm not specialist un gnu tools, any idea ?

KanedaFr
Administrateur
Posts: 1139
Joined: Tue Aug 29, 2006 10:56 am
Contact:

Post by KanedaFr » Thu Jan 06, 2011 12:20 pm

where does it crash ?

I got a lot of problem myself when you got a lot of files to link...
Else make.exe crashes times to times but relaunching it solves the problem (Win7 64bits)

Pascal
Very interested
Posts: 200
Joined: Wed Nov 29, 2006 11:29 am
Location: Belgium
Contact:

Post by Pascal » Thu Jan 06, 2011 12:25 pm

i got a gud amount of files , it crash directly at the first gcc command

D:\Sources\>make -f makefile.gen
c:/sdk/gendev/bin/mkdir -p out
c:/sdk/gendev/bin/gcc -T c:/sdk/gendev/md.ld -nostdlib src/sega.o
...
psmisc.o -o out/rom.out
make: *** [out/rom.out] Error 5

I tried to reboot , but no luck (got xp sp3 32bits)

Image

it's crashing either with codeblock either from the command line

EDIT i got 41.s files (with my gfx) , 18.c files and 18.h files

Pascal
Very interested
Posts: 200
Joined: Wed Nov 29, 2006 11:29 am
Location: Belgium
Contact:

Post by Pascal » Thu Jan 06, 2011 12:52 pm

FIXED !!! the problem is that i got too many files.... So i replaced my 41 .s files containing my gfx by a HUGE .s file containing everything and it worked...

thanks for the help :)

KanedaFr
Administrateur
Posts: 1139
Joined: Tue Aug 29, 2006 10:56 am
Contact:

Post by KanedaFr » Thu Jan 06, 2011 1:55 pm

if you ever find a shell which works on every Windows, let me know ;)

I tried a lot of them without better succes than this one

Chilly Willy
Very interested
Posts: 2984
Joined: Fri Aug 17, 2007 9:33 pm

Post by Chilly Willy » Thu Jan 06, 2011 6:27 pm

Pascal wrote:FIXED !!! the problem is that i got too many files.... So i replaced my 41 .s files containing my gfx by a HUGE .s file containing everything and it worked...

thanks for the help :)
What you might do instead is make one .s file that does an .include on the other .s files. That's pretty common in assembly language projects.

Pascal
Very interested
Posts: 200
Joined: Wed Nov 29, 2006 11:29 am
Location: Belgium
Contact:

Post by Pascal » Thu Jan 06, 2011 9:44 pm

that's so straigth foward, that i should have thought about it !! shame on me coming from a full asm background :)

Chilly Willy
Very interested
Posts: 2984
Joined: Fri Aug 17, 2007 9:33 pm

Post by Chilly Willy » Thu Jan 06, 2011 11:56 pm

Well, I rarely did that, but I've noticed quite a few folks who do. I've even seen that in C code!
:D

Moon-Watcher
Very interested
Posts: 117
Joined: Sun Jan 02, 2011 9:14 pm
Contact:

Post by Moon-Watcher » Fri Jan 07, 2011 12:33 am

Hi all. Newbie here :oops:

I had the same problem but I found a different solution. It's about replacing original devkit sh.exe by the one on this page http://www2.cs.uidaho.edu/~jeffery/win32 It save my day. For compiling sources I restored original sh.exe. It works like a charm, many thanks.

And as newbie here comes my appli: would you point me some simple samples of sprites / background usage?

Maniaxe
Newbie
Posts: 4
Joined: Sat May 16, 2009 8:39 am

Post by Maniaxe » Sun Jan 09, 2011 11:13 am

Hi everyone!

I use the last GenDev kit and i have some problems with sprites management, if someone have similar problem or can help me :? ...

I opened a new post at this adress : viewtopic.php?t=643

Thk's a lot again for Genkit!! :)

Sh!ch
Interested
Posts: 11
Joined: Sun Jan 23, 2011 7:46 pm

Post by Sh!ch » Sun Jan 23, 2011 7:55 pm

Dear Stef
Could you please make a tutorial on using your incredible SGDK,
or just an small source example with comments?
partic and particdac2 are great indeed,
but I'm begging You on my knees do something with sprites

Post Reply