Search found 24 matches

by AmateurSegaDev
Mon Aug 01, 2022 1:02 am
Forum: Megadrive/Genesis
Topic: CRT Safe Area / Overscan?
Replies: 5
Views: 17878

CRT Safe Area / Overscan?

What's the general accepted "Safe Area" for important game elements when viewing a game on a CRT? I can test against my own CRT (a sample size of one is never ideal), but I would like to know general conventions. I looked through this thread, and didn't really see a consensus, though I certainly may...
by AmateurSegaDev
Tue Jun 07, 2022 9:14 pm
Forum: Megadrive/Genesis
Topic: CRAM addresses?
Replies: 3
Views: 8323

Re: CRAM addresses?

Ah, okay. Thank you so much for the detailed explanation! I was still tripped up a little by palettes being split in two, but I got it sorted out. For anyone in the future searching for this, here are examples: "move.l #0xc0000000, 0xc00004.l;" //Instruct VDP Control Port (address 0xc00004) to write...
by AmateurSegaDev
Sun Jun 05, 2022 11:11 pm
Forum: Megadrive/Genesis
Topic: CRAM addresses?
Replies: 3
Views: 8323

Re: CRAM addresses?

Ah, I see now that sequential writes will increment the color being written. Is there a way to jump to a specified color directly?
by AmateurSegaDev
Sun Jun 05, 2022 5:14 am
Forum: Megadrive/Genesis
Topic: CRAM addresses?
Replies: 3
Views: 8323

CRAM addresses?

Hello everyone! I'm trying to dip my toes into some in-line assembly (in SGDK) to try to change a specific color during a horizontal interrupt. This is my current simple code: asm volatile ( "move.l #0xc0000000, 0xc00004.l;" //Prepare VDP to write to. "move.w #0x007E, 0xc00000.l;" //Write Orange (0B...
by AmateurSegaDev
Sat May 21, 2022 4:11 pm
Forum: SGDK
Topic: How do I use the Spade character?
Replies: 4
Views: 6228

Re: How do I use the Spade character?

Oh, silly me. Thank you!
by AmateurSegaDev
Sat May 21, 2022 4:10 pm
Forum: SGDK
Topic: Do you need tutorials ?
Replies: 76
Views: 1206730

Re: Do you need tutorials ?

I have no idea if this is the best approach (I'm learning C simultaneously), but here is what I've done to control some animations: I have an animationTimer variable that I increment at the very end of my main() function. if (animationTimer > 59){ animationTimer = 0; } else{ animationTimer++; } } Th...
by AmateurSegaDev
Wed May 11, 2022 4:22 pm
Forum: SGDK
Topic: How do I use the Spade character?
Replies: 4
Views: 6228

Re: How do I use the Spade character?

Thank you so much!

I couldn't get

Code: Select all

'z'+1 
to work, but the left bracket did.
by AmateurSegaDev
Wed May 11, 2022 3:46 am
Forum: SGDK
Topic: How do I use the Spade character?
Replies: 4
Views: 6228

How do I use the Spade character?

Hello everyone! It's been inspiring watch everyone develop and experiment with my favorite console of all time. I do have a question that's stumped me though; how do I actually use this highlighted character? font_default_Spade.png I've tried using "♠" in Visual Studio Code, but when I compile, I ju...