Search found 2 matches

by @FedericoTech
Thu Dec 03, 2015 9:46 am
Forum: Megadrive/Genesis
Topic: SGDK Rescomp
Replies: 2
Views: 3937

Re: SGDK Rescomp

Ok, although I don't know how to use BIN, I see it's working properly. there are zeroes in between because data is 16 bits.

Here my solution to read bytes:

int i;
for(i = 0; i < FILE_SIZE; i+=2)
{
u16 iData = (stage1_map<<8)|stage1_map[i+1];

//do something with this
}
by @FedericoTech
Thu Dec 03, 2015 2:58 am
Forum: Megadrive/Genesis
Topic: SGDK Rescomp
Replies: 2
Views: 3937

SGDK Rescomp

Hi friends.

I'm new in genesis developing.
I'm doing some experiments with SGDK.

I want to implement a way to load tilemaps. given the MAP rescomp plugin is not implemented yet, I'm trying through BIN rescomp plugin.

The rescomp.text document says like below:

BIN name file align salign fill ...