Search found 2828 matches

by Chilly Willy
Sat Apr 04, 2020 4:46 pm
Forum: SGDK
Topic: How to setup SGDK with geany
Replies: 3
Views: 88

Re: How to setup SGDK with geany

Yeah, that would avoid changing the path env var, which might be a requirement if you were using another cross-compiler for something. I might do that myself.
by Chilly Willy
Fri Apr 03, 2020 7:37 pm
Forum: SGDK
Topic: How to setup SGDK with geany
Replies: 3
Views: 88

Re: How to setup SGDK with geany

The way it works for me in Windows 7... Set three environment variables in Windows: GDK set to "C:/tools/SGDK" GDK_WIN set to "C:\tools\SGDK" Path has added to end ";%GDK_WIN%\bin" and then restart so the env vars are active. Inside Geany, pull up the main C file for the project (main.c often) and s...
by Chilly Willy
Wed Mar 25, 2020 8:56 pm
Forum: SGDK
Topic: The small-questions-not-worth-dedicated-topics topic
Replies: 5
Views: 455

Re: The small-questions-not-worth-dedicated-topics topic

It's better to just have the level setup code copy the rom level data to ram in a case like that. If the level data needs to stay between levels for some reason, you're in big trouble as the MD has very little ram. In a case like THAT, I'd say require save ram and store a compressed delta of the lev...
by Chilly Willy
Mon Mar 23, 2020 7:53 pm
Forum: Demos
Topic: Sweet'n'Soft Waffles project.
Replies: 19
Views: 1513

Re: Sweet'n'Soft Waffles project.

Nice. I should wait and see how it develops.
by Chilly Willy
Mon Mar 23, 2020 12:03 pm
Forum: Demos
Topic: Sweet'n'Soft Waffles project.
Replies: 19
Views: 1513

Re: Sweet'n'Soft Waffles project.

Why doesn't gravity affect everything? I guess you have separate routines for everything, and the gravity is baked into the code? I suppose collision detection will be coming soon. And code to move the enemies around. Will there be a low attack? The punch is sort of medium, the kick in the air a hig...
by Chilly Willy
Fri Mar 20, 2020 12:39 pm
Forum: Demos
Topic: Sweet'n'Soft Waffles project.
Replies: 19
Views: 1513

Re: Sweet'n'Soft Waffles project.

You could make the rom name stand out more, or more pack the rom separate from the rest to make it easier on some folk. Anywho, thanks for posting the source as well. I do like looking at code for things... sometimes more than playing the games! :lol:
by Chilly Willy
Tue Mar 17, 2020 8:34 pm
Forum: SGDK
Topic: Trying to load big map
Replies: 3
Views: 204

Re: Trying to load big map

It would need to be in Map struct format in rom. Then instead of setting currentMap from the unpackMap() function, you'd set it to where it is in rom instead. currentMap = unpackMap(level1a.map, NULL); would change to something like currentMap = (Map *)&level1a_map; where level1a_map is the uncompre...
by Chilly Willy
Tue Mar 17, 2020 1:38 pm
Forum: SGDK
Topic: Trying to load big map
Replies: 3
Views: 204

Re: Trying to load big map

You're trying to use a compressed map. Unpacking the map requires a word for every cell of the map. Given the size you mention, this will try to allocate 56KB of ram. Sounds like you don't have that much ram available. If you really need the big maps, maybe leave them uncompressed and use straight f...
by Chilly Willy
Wed Mar 11, 2020 1:58 pm
Forum: Demos
Topic: Sweet'n'Soft Waffles project.
Replies: 19
Views: 1513

Re: Sweet'n'Soft Waffles project.

Still got pink frames, though. :D
by Chilly Willy
Tue Mar 10, 2020 4:20 pm
Forum: Demos
Topic: Sweet'n'Soft Waffles project.
Replies: 19
Views: 1513

Re: Sweet'n'Soft Waffles project.

Interesting... the BEX file has some background remaining around the character for some frames. When you stand still or jump, the character is surrounded by pink, but not when moving. I like the SBS character better - it's more cartoony, and fits the current background better than the more realistic...
by Chilly Willy
Sat Feb 22, 2020 12:42 pm
Forum: Megadrive/Genesis
Topic: Is a space character required at $104?
Replies: 6
Views: 2706

Re: Is a space character required at $104?

There's also the issue that the word "SEGA" at a set location is probably not creative enough to even qualify for copyright. You can't copyright ANYTHING - it has to be creative and unique. Most countries have requirements about both, with one being that single words cannot qualify for copyright. Tr...
by Chilly Willy
Fri Feb 14, 2020 4:12 pm
Forum: Cartridge
Topic: Designing MD sdcard flashcart for fun, advice?
Replies: 28
Views: 8622

Re: Designing MD sdcard flashcart for fun, advice?

Putting assembly code into ram is easy. Doing so in C takes a little more thought. So here's another reminder of how to do it... void sd_op_delay() __attribute__ ((section (".data"))); void sd_op_delay() { short i; for (i=0; i<16; i++) { asm("nop\n"); } } Then any start routine before main() that co...
by Chilly Willy
Mon Feb 10, 2020 12:03 am
Forum: Tools
Topic: Aseprite Mega Drive Digitizer
Replies: 16
Views: 6446

Re: Aseprite Mega Drive Digitizer

themrcul wrote:
Sun Feb 09, 2020 11:33 pm
Ah ok I worked it out. Sorry I should have mentioned, you need to rename the files to end with .zip.001 and .zip.002. Then 7zip (and hopefully other archiving programs) will successfully open the archive.
Okay, that worked. Thanks.
by Chilly Willy
Fri Feb 07, 2020 2:56 pm
Forum: Tools
Topic: Aseprite Mega Drive Digitizer
Replies: 16
Views: 6446

Re: Aseprite Mega Drive Digitizer

Should have checked the archives when I downloaded them - both archives in the second post are corrupt.
:?