Page 38 of 57
Posted: Thu Dec 13, 2012 12:30 am
by Stef
A new version of SGDK is finally out
Links and changelog on the first page :
viewtopic.php?t=14
Posted: Fri Dec 14, 2012 8:29 pm
by bioloid
Good news, going to play as soon as possible! MegaThanks.
Posted: Mon Dec 17, 2012 9:17 am
by oofwill
Thanks, some features will be usefull here

Posted: Mon Dec 17, 2012 12:21 pm
by Stef
Again a new version : 0.93b

I needed to fix some stupid issues, here's the complete changes log :
* Fixed a stupid bug in deprecated memory functions.
* Added Bitmap structure for easier bitmap manipulation (created from .bmp resources).
* Modified Plan A & Plan B location in VRAM.
* Added methods to modify Plan A, Plan B, Window, Sprites list and H Scroll table in VRAM.
Note that doing that you may have troubles with SGDK methods which use hardwired locations.
* VDP_setSpritesDirect(..) method so you can now senn a SpriteDef array buffer directly to the VDP.
* Handle a new resource type : WAVPCM (.wavpcm)
The file file is transformed to adpcm data and can be played directly from the 2 channels ADPCM driver.
Note that WAV sample rate should be at least equals to 22050 Hz.
* Fixed a bug in bintos tool.
* New wavtoraw tool, source is provided.
* Added tools sources.
Posted: Fri Jan 11, 2013 12:55 pm
by Manveru
I have just discovered the SGDK updates. I like the new features and changes, great job Stef.
Posted: Sun Jan 13, 2013 10:40 pm
by djcouchycouch
Does SGDK help in any way with battery backed ram? To have save games?
DJCC
Posted: Mon Jan 14, 2013 4:50 pm
by oofwill
With the last update, yes.
You can read
this thread to learn more about savegame

Posted: Fri Feb 01, 2013 10:02 am
by Moon-Watcher
Weird behavior using SGDK last version and Widnows7: depending on the .wav source, wavtoraw.exe, generates 0 byte files, huge files or infinite loops.
Posted: Wed Feb 06, 2013 10:30 pm
by oofwill
It seems there's an error in sram_a.s file
file is
Code: Select all
SRAM_readWord:
move.l 4(%sp),d1
add.l %d1,%d1
lea 0x200001,%a0
lea (%a0,%d1.l),%a0
moveq #0,%d0
movep.w 0(%a0),%d0
rts
think it should be
Code: Select all
SRAM_readWord:
move.l 4(%sp),%d1<--------------------% is forgotten
add.l %d1,%d1
lea 0x200001,%a0
lea (%a0,%d1.l),%a0
moveq #0,%d0
movep.w 0(%a0),%d0
rts
Posted: Wed Feb 06, 2013 10:49 pm
by Chilly Willy
If one of the assembler flags is --register-prefix-optional, then it's fine... they could all be left off.
Posted: Wed Feb 06, 2013 10:53 pm
by oofwill
When i compile with SGDK & code blocks, this return me error when without %
To say the truth, i don't know how to configure the assembler so it was more easier for me to add the % symbol

Posted: Thu Feb 07, 2013 8:45 am
by Stef
Moon-Watcher wrote:Weird behavior using SGDK last version and Widnows7: depending on the .wav source, wavtoraw.exe, generates 0 byte files, huge files or infinite loops.
I have to fix that that

Have you some simple wav files leading to these problems ? I rewrote the tool so i am (unfortunately) not too surprised to hear about bugs...
oofwill> Oh you're right, i don't understand GCC did not complained about it during compilation

Posted: Wed Feb 13, 2013 10:55 am
by Moon-Watcher
Stef wrote:Have you some simple wav files leading to these problems ? I rewrote the tool so i am (unfortunately) not too surprised to hear about bugs...
I uploaded some files here
https://www.box.com/s/ykmdyp4mdwe9eunvkacp
Posted: Wed Feb 13, 2013 8:08 pm
by Stef
Thanks ! I fixed the bug
You can download the last version here :
http://sgdk.googlecode.com/svn/trunk/bin/wavtoraw.exe
If you don't want to wait for the next SGDK release.
Posted: Thu Feb 14, 2013 9:38 am
by Moon-Watcher
Woohoo! Thank you so much.