Search found 325 matches

by cero
Mon Aug 01, 2022 5:34 am
Forum: Megadrive/Genesis
Topic: CRT Safe Area / Overscan?
Replies: 3
Views: 190

Re: CRT Safe Area / Overscan?

It varies, no consensus. Nintendo guidelines from late NES era were two tiles at top and bottom and one tile at left and right.
by cero
Fri Jul 15, 2022 2:43 pm
Forum: SGDK
Topic: polygon is not drawn
Replies: 18
Views: 1056

Re: polygon is not drawn

You didn't allocate it, and wrote to random memory. You really need to review your C basics.
by cero
Fri Jul 15, 2022 5:35 am
Forum: Megadrive/Genesis
Topic: Cart Design Questions
Replies: 68
Views: 43886

Re: Cart Design Questions

Surely you can repeat the test with recording different lines? If the ROM does the same thing, and only one thing, you can first record these lines, then those lines... Saves money vs a big scope. edit: Or if you really need simultaneous channels, buy several and have them record at once ;) If you h...
by cero
Thu Jul 14, 2022 2:48 pm
Forum: Megadrive/Genesis
Topic: Cart Design Questions
Replies: 68
Views: 43886

Re: Cart Design Questions

The Saleae logic16 clones are very cheap and work well, if the specs are enough for you (16 channels etc). IIRC I paid under 20$ from ali.
by cero
Thu Jun 30, 2022 6:25 am
Forum: Hardware
Topic: Joy ID on my own controller
Replies: 2
Views: 246

Re: Joy ID on my own controller

Probably tons, just search github for it. Usually they use a microcontroller to emulate one, soldering real buttons to GPIOs is just an extension of that.

It's all more expensive than the targeted, small chips of real controllers, but well doable yourself.
by cero
Fri May 20, 2022 6:31 am
Forum: Demos
Topic: WIP Satan Claus - Mega Drive / Genesis / 32x
Replies: 5
Views: 585

Re: WIP Satan Claus - Mega Drive / Genesis / 32x

The current pics lack a bit in contrast. Try making the BG elements darker so they can be more clearly told apart from FG.
by cero
Thu May 12, 2022 5:54 am
Forum: SGDK
Topic: How do I use the Spade character?
Replies: 4
Views: 871

Re: How do I use the Spade character?

'z'+1 is a char, not a part of a string.

Code: Select all

const char foo[] = { 'h', 'e', 'l', 'l', 'o', 'z' + 1, '\0' };
by cero
Wed May 11, 2022 7:42 am
Forum: SGDK
Topic: How do I use the Spade character?
Replies: 4
Views: 871

Re: How do I use the Spade character?

'z'+1 or {
by cero
Tue Mar 22, 2022 8:17 am
Forum: SGDK
Topic: SRAM to tackle lack of RAM?
Replies: 4
Views: 691

Re: SRAM to tackle lack of RAM?

Store a list of the filled pixels. As ranges, very little space taken.
by cero
Mon Mar 21, 2022 6:04 pm
Forum: SGDK
Topic: SRAM to tackle lack of RAM?
Replies: 4
Views: 691

Re: SRAM to tackle lack of RAM?

The battery is not used when the console is on. It's for keeping power when the console is off.

You might also use a command undo queue, instead of storing pixel-level changes.
"plot black at 12,23"
"fill area at 15,5 with green"

You'd just store the inverse commands, taking very little ram.
by cero
Thu Feb 03, 2022 4:08 pm
Forum: SGDK
Topic: Best way to access nibbles
Replies: 2
Views: 695

Re: Best way to access nibbles

Union-struct is the nicest way, but nibble access won't be fast no matter what.
by cero
Tue Jan 25, 2022 5:28 pm
Forum: Super 32X
Topic: Untitled 32X Super Scalar Project
Replies: 34
Views: 7194

Re: Untitled 32X Super Scalar Project

Oh, didn't know it was write-through, thanks for the correction. And sad that you bowed to the crazies. I would have kept the words and banned the crazies.
by cero
Tue Jan 25, 2022 8:28 am
Forum: Super 32X
Topic: Untitled 32X Super Scalar Project
Replies: 34
Views: 7194

Re: Untitled 32X Super Scalar Project

Uncached on both cpus, or manual syncs between.
by cero
Fri Jan 14, 2022 5:51 pm
Forum: Exodus
Topic: Timing analysis using Exodus
Replies: 2
Views: 1014

Re: Timing analysis using Exodus

If you don't need cycle-accurate reports, you can easily do visual profiling on any emulator or even real hw. VDP_setEnable(0) and (1) around the code, and you will see on screen how many lines it takes. One line is about 500 cpu cycles. This is a quick and easy method that lets you see, for example...
by cero
Wed Jan 05, 2022 11:39 am
Forum: Super 32X
Topic: Untitled 32X Super Scalar Project
Replies: 34
Views: 7194

Re: Untitled 32X Super Scalar Project

Code: Select all

cpu 1 ======------
cpu 2 ------======
How useful ;)