Search found 2848 matches

by Chilly Willy
Tue Mar 10, 2020 4:20 pm
Forum: Demos
Topic: Sweet'n'Soft Waffles project.
Replies: 19
Views: 2949

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: 4245

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: 36
Views: 12318

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: 9113

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: 9113

Re: Aseprite Mega Drive Digitizer

Should have checked the archives when I downloaded them - both archives in the second post are corrupt.
:?
by Chilly Willy
Tue Jan 28, 2020 10:26 am
Forum: SGDK
Topic: My SGDK Tutorials (Spanish & English)
Replies: 17
Views: 6280

Re: My SGDK Tutorials (Spanish)

Nice! You're lessons are coming along well. Very instructive. 8)
by Chilly Willy
Wed Jan 22, 2020 10:01 pm
Forum: SGDK
Topic: Sega Genesis Dev Kit (SGDK)
Replies: 813
Views: 426919

Re: Sega Genesis Dev Kit (SGDK)

If you use -nostdlib and have certain gcc things in the compiled code, you probably need to add -lgcc to the library list. The nostdlib flag makes it skip automatically using libgcc. Of course, that might be more a thing for his makefile, not SGDK in general as it will vary from project to project. ...
by Chilly Willy
Tue Jan 21, 2020 1:46 pm
Forum: SGDK
Topic: Sega Genesis Dev Kit (SGDK)
Replies: 813
Views: 426919

Re: Sega Genesis Dev Kit (SGDK)

Sounds like an issue in the compiler more than an issue in SGDK itself. I'd look at which compilers each version uses, and if any flags to the compiler changed between versions.
by Chilly Willy
Sun Jan 19, 2020 1:31 pm
Forum: SGDK
Topic: All my VDP_drawText() are gone with SGDK 1.4.1
Replies: 3
Views: 2281

Re: All my VDP_drawText() are gone with SGDK 1.4.1

Thanks for posting the fix. That may help someone else in the future who runs into the same thing.
by Chilly Willy
Wed Jan 15, 2020 10:43 pm
Forum: SGDK
Topic: Horizontal Scroll not showing all background image
Replies: 20
Views: 5600

Re: Horizontal Scroll not showing all background image

Oh, one other issue - you set the horz scroll, THEN you check if the value is > 1023 and wrap around. You should be checking for the wrap before setting the scroll offset. The way you have it now, for one frame, the hscroll regs will be -1024 while the tiles will be set to 0.
by Chilly Willy
Wed Jan 15, 2020 10:29 pm
Forum: Hardware
Topic: Cartridge slot questions
Replies: 23
Views: 7252

Re: Cartridge slot questions

Wow, the video is pretty damn linear. And it does make sense that the pwm would clip before reaching maximum - when dealing with RC filtered waves, there's a region towards the center that has better linearity that is lost towards the ends. When doing "one bit" audio waves, it's always recommended t...
by Chilly Willy
Wed Jan 15, 2020 1:52 pm
Forum: SGDK
Topic: Horizontal Scroll not showing all background image
Replies: 20
Views: 5600

Re: Horizontal Scroll not showing all background image

This line...

Code: Select all

offsetTILES = offset>>3 % 127;
Did you mean to do

Code: Select all

offsetTILES = (offset>>3) % 127;
Remember that % is above >> in precedence. Or did you really want this

Code: Select all

offsetTILES = offset>>3 & 127;
% is mod, so % 127 gives 0 to 126. Bitwise AND is also below >> in precedence.
by Chilly Willy
Fri Jan 10, 2020 10:07 pm
Forum: Cartridge
Topic: Designing MD sdcard flashcart for fun, advice?
Replies: 36
Views: 12318

Re: Designing MD sdcard flashcart for fun, advice?

You did great for your first attempt. Bummer about /AS, but the next rev should be even better. Lessons learned and all that jazz... :lol:
by Chilly Willy
Fri Jan 10, 2020 1:16 am
Forum: Hardware
Topic: Cartridge slot questions
Replies: 23
Views: 7252

Re: Cartridge slot questions

I'll work on that tomorrow. Should be pretty easy. EDIT: Okay, here's my quick test. Fusion seems to have some noise in the PWM audio, though there really shouldn't be any. It's 44.1kHz with a range of 512. PAL allows a max range at 44.1kHz of 517, so it's not quite absolute full range. I did color ...
by Chilly Willy
Mon Jan 06, 2020 11:53 pm
Forum: Hardware
Topic: Cartridge slot questions
Replies: 23
Views: 7252

Re: Cartridge slot questions

I would assume that the CMOS 32X custom chip output a 5V (4.whatever-ish V) square wave. That is fed to an 8.2 Kohm series resistor which then feds a couple caps (for filtering and DC removal), with a 3 Kohm resistor going to ground. 0.1uF PWM ----------8.2K----------------------||------------------...