Sega Genesis Dev Kit (SGDK)

SGDK only sub forum

Moderator: Stef

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

Post by Stef »

New version released !
As usual, you can download it and get changelog on the SGDK download page
Last edited by Stef on Wed May 28, 2014 4:38 pm, edited 2 times in total.
Manveru
Very interested
Posts: 85
Joined: Wed Sep 05, 2012 3:30 pm

Post by Manveru »

Stef wrote:New version released !
As usual, you can download and get changelog on the SGDK project page
Great job Stef, thanks for it.
The man who moves a mountain begins by carrying away small stones. Confucius, 551-479 BC
letoulousain
Interested
Posts: 42
Joined: Fri Sep 24, 2010 11:32 pm
Location: toulouse

Post by letoulousain »

Stef wrote:New version released !
As usual, you can download it and get changelog on the SGDK download page
Thanks !
:D
matteus
Very interested
Posts: 336
Joined: Mon Feb 04, 2008 1:41 pm

Post by matteus »

Does this version fix my issue with Rescomp? :D
Stef
Very interested
Posts: 3131
Joined: Thu Nov 30, 2006 9:46 pm
Location: France - Sevres
Contact:

Post by Stef »

matteus wrote:Does this version fix my issue with Rescomp? :D
You mean the compression issue ? unfortunately not yet :-/
But don't worry i definitely plan to fix it soon (it just needed more time than expected so i preferred to made a quick version before completing it).
matteus
Very interested
Posts: 336
Joined: Mon Feb 04, 2008 1:41 pm

Post by matteus »

Stef wrote:
matteus wrote:Does this version fix my issue with Rescomp? :D
You mean the compression issue ? unfortunately not yet :-/
But don't worry i definitely plan to fix it soon (it just needed more time than expected so i preferred to made a quick version before completing it).
Ahh okay I shall await the compression fix before attempting to make any further progress :)
Stef
Very interested
Posts: 3131
Joined: Thu Nov 30, 2006 9:46 pm
Location: France - Sevres
Contact:

Post by Stef »

matteus wrote:
Stef wrote:
matteus wrote:Does this version fix my issue with Rescomp? :D
You mean the compression issue ? unfortunately not yet :-/
But don't worry i definitely plan to fix it soon (it just needed more time than expected so i preferred to made a quick version before completing it).
Ahh okay I shall await the compression fix before attempting to make any further progress :)
It should be fixed now, i just uploaded a new version with the fix =)
Unfortunately i think the RLE compression won't be really blazing fast, unpacking code can definitely be optimized !
matteus
Very interested
Posts: 336
Joined: Mon Feb 04, 2008 1:41 pm

Post by matteus »

Stef wrote:
matteus wrote:
Stef wrote: You mean the compression issue ? unfortunately not yet :-/
But don't worry i definitely plan to fix it soon (it just needed more time than expected so i preferred to made a quick version before completing it).
Ahh okay I shall await the compression fix before attempting to make any further progress :)
It should be fixed now, i just uploaded a new version with the fix =)
Unfortunately i think the RLE compression won't be really blazing fast, unpacking code can definitely be optimized !
Hi Stef,
I have upgraded but get an issue:

Code: Select all

            VDP_drawImageEx(BPLAN, img, TILE_ATTR_FULL(pal, FALSE, FALSE, FALSE, ind), 7, nextvpos + 4, TRUE, TRUE);
src\main.c|459|error: incompatible type for argument 1 of `VDP_setVerticalScroll'|
matteus
Very interested
Posts: 336
Joined: Mon Feb 04, 2008 1:41 pm

Post by matteus »

I suppose it would have been good if i'd noticed that the line erroring is VDP_setVerticalScroll and not VDP_drawImageEx
Stef
Very interested
Posts: 3131
Joined: Thu Nov 30, 2006 9:46 pm
Location: France - Sevres
Contact:

Post by Stef »

Yeah, i was not getting it ;) did you fixed your problem ?
matteus
Very interested
Posts: 336
Joined: Mon Feb 04, 2008 1:41 pm

Post by matteus »

Stef wrote:Yeah, i was not getting it ;) did you fixed your problem ?
Haha I'll post later this evening when I've had chance to check to fix the code!

I take it VDP_setVerticalScroll has been altered?
matteus
Very interested
Posts: 336
Joined: Mon Feb 04, 2008 1:41 pm

Post by matteus »

Yes this line no longer works!

VDP_setVerticalScroll(BPLAN, nextvpos * 8);

I had to change the BPLAN to PLAN_B and it all works fine now!
Stef
Very interested
Posts: 3131
Joined: Thu Nov 30, 2006 9:46 pm
Location: France - Sevres
Contact:

Post by Stef »

Ah yeah, i had to do this to avoid a rare bug which could happen when plan A and plan B tilemap share the same address in VRAM ;)
matteus
Very interested
Posts: 336
Joined: Mon Feb 04, 2008 1:41 pm

Post by matteus »

Stef wrote:Ah yeah, i had to do this to avoid a rare bug which could happen when plan A and plan B tilemap share the same address in VRAM ;)
ha-ha :D I got a copy of all the frames of the thundercats intro as 16 colour png files and have attempted to put them into my player code uncompressed but they don't seem to work properly :( I shall post a video for you later.
Stef
Very interested
Posts: 3131
Joined: Thu Nov 30, 2006 9:46 pm
Location: France - Sevres
Contact:

Post by Stef »

Do you tested on SGDK 09.6c ? Does the code was working on previous SGDK version or is it the first time you try it ?
Post Reply