Page 13 of 57

Posted: Wed Dec 29, 2010 12:34 pm
by Vincent
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

Posted: Wed Dec 29, 2010 1:35 pm
by Stef
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 :)

Posted: Thu Dec 30, 2010 10:36 am
by bastien
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

Posted: Thu Dec 30, 2010 2:35 pm
by Stef
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.

Posted: Thu Jan 06, 2011 12:11 pm
by Pascal
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 ?

Posted: Thu Jan 06, 2011 12:20 pm
by KanedaFr
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)

Posted: Thu Jan 06, 2011 12:25 pm
by Pascal
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

Posted: Thu Jan 06, 2011 12:52 pm
by Pascal
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 :)

Posted: Thu Jan 06, 2011 1:55 pm
by KanedaFr
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

Posted: Thu Jan 06, 2011 6:27 pm
by Chilly Willy
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.

Posted: Thu Jan 06, 2011 9:44 pm
by Pascal
that's so straigth foward, that i should have thought about it !! shame on me coming from a full asm background :)

Posted: Thu Jan 06, 2011 11:56 pm
by Chilly Willy
Well, I rarely did that, but I've noticed quite a few folks who do. I've even seen that in C code!
:D

Posted: Fri Jan 07, 2011 12:33 am
by Moon-Watcher
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?

Posted: Sun Jan 09, 2011 11:13 am
by Maniaxe
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!! :)

Posted: Sun Jan 23, 2011 7:55 pm
by Sh!ch
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