Search found 8703 matches

by rainwarrior
Thu Jan 19, 2023 2:29 am
Forum: SNESdev
Topic: CRT monitor vs. CRT TV (also SNES region modding)
Replies: 25
Views: 852

Re: Two Ship mode 5 hires + interlaced comparison

A lot of people (myself included) like to use a PVM rather than a TV for this purpose. They're normally multi-sync for NTSC and PAL, have lots of tuning options, multiple inputs, and often RGB. They also tend to have a convenient cube shape. Otherwise old TVs are more common and cheaper, especially ...
by rainwarrior
Wed Jan 18, 2023 9:22 pm
Forum: NES Music
Topic: Issues with musical tones via PCM ($4011 writes)
Replies: 16
Views: 671

Re: Issues with musical tones via PCM ($4011 writes)

The key thing that I do not understand might be what the hardware physically does in order generate sound waves when you write values to $4011. When you write a value to $4011, it just directly sets an output level for the sample sound channel. It will hold at that level until you write it again. (...
by rainwarrior
Wed Jan 18, 2023 9:10 pm
Forum: SNESdev
Topic: CRT monitor vs. CRT TV (also SNES region modding)
Replies: 25
Views: 852

Re: Two Ship mode 5 hires + interlaced comparison

A TV is a monitor that has a channel tuner and loudspeaker. That capability is probably not important for this purpose? A CRT TV will always have some input suitable for broadcast television (cable or antenna, 15khz and interlacing), might have composite, and might have S-Video or RGB if you're luck...
by rainwarrior
Wed Jan 18, 2023 3:38 pm
Forum: NES Music
Topic: Issues with musical tones via PCM ($4011 writes)
Replies: 16
Views: 671

Re: Issues with musical tones via PCM ($4011 writes)

Aside from correcting the pitch tables, there are two different ways you could improve the tuning precision greatly: 1. Don't use an intermediate samplerate. Just use C / (F * 2) as the number of clocks to wait between writing a high or low value to $4011. This basically upgrades you to using a samp...
by rainwarrior
Wed Jan 18, 2023 1:23 am
Forum: SNESdev
Topic: Ever wanted to reset a SNES with the controller?
Replies: 27
Views: 13456

Re: Ever wanted to reset a SNES with the controller?

I think some people use "strobe" as a synonym for "latch," correct? But I don't think the snes controller actually uses data strobe encoding because there is a clock pin on the controller port (sending CLK would be redundant because it can be recovered by XORing data and strobe,...
by rainwarrior
Wed Jan 18, 2023 1:06 am
Forum: SNESdev
Topic: range of a 4-bit two's complement BRR datum and offical doc accuracy
Replies: 3
Views: 575

Re: range of a 4-bit two's complement BRR datum and offical doc accuracy

The SNES development book has a very small audience, and is not intended as an eternal reference or textbook. It's meant to be used by people who can resolve errors in the document with hands on experience with the hardware, or direct contact through their working relationship with Nintendo. I don't...
by rainwarrior
Fri Jan 13, 2023 5:35 pm
Forum: NES Hardware and Flash Equipment
Topic: Modern Mapper Replacement Chips?
Replies: 27
Views: 1546

Re: Modern Mapper Replacement Chips?

All of the platforms have become more permissive since digital distribution, some more than others. XBox in particular allowed free self publishing. I was more just thinking about how Nintendo's particular forms of platform control have mutated over time. Wii U had basically first party stuff, and t...
by rainwarrior
Fri Jan 13, 2023 2:19 pm
Forum: NES Hardware and Flash Equipment
Topic: Modern Mapper Replacement Chips?
Replies: 27
Views: 1546

Re: Modern Mapper Replacement Chips?

The mapper restriction took place in Japan as well, but a number of companies that had already established a name as a 3rd-party developer seemed to get to keep their permission to produce their own cartridges even after Nintendo came up with that rule, which would explain why there are so many dif...
by rainwarrior
Thu Jan 12, 2023 12:27 am
Forum: NESdev
Topic: Collision boxes if a character is only partly on screen
Replies: 18
Views: 1082

Re: Collision boxes if a character is only partly on screen

I think it's just plain old convolution ? I dunno what novelty you wanna credit Muratori with. People do seem to use the term "Minkowski difference" this way for GJK intersection tests in a lot of places, though I couldn't find it in the originating GJK paper so I'm not sure where/when thi...
by rainwarrior
Wed Jan 11, 2023 7:22 pm
Forum: NESdev
Topic: Collision boxes if a character is only partly on screen
Replies: 18
Views: 1082

Re: Collision boxes if a character is only partly on screen

I ended up reviewing and editing the wikipedia article because I found it very muddled. There are two competing differences for "Minkowski difference", one attempts to be a symmetrical inverse of the Minkowski sum (useful especially in image processing), and the other is the one used to te...
by rainwarrior
Wed Jan 11, 2023 2:26 pm
Forum: NES Hardware and Flash Equipment
Topic: Modern Mapper Replacement Chips?
Replies: 27
Views: 1546

Re: Modern Mapper Replacement Chips?

How hard is it to get a custom mapper accepted by the emulation community? -- Like if someone puts a custom mapper chip in their game that doesn't exist anywhere, can they just share it with the emulator authors? -- Or what is the best way? Make a game with it that's worth playing, and it'll get em...
by rainwarrior
Wed Jan 11, 2023 6:40 am
Forum: NES Hardware and Flash Equipment
Topic: Modern Mapper Replacement Chips?
Replies: 27
Views: 1546

Re: Modern Mapper Replacement Chips?

Eventually found this on the wiki: https://www.nesdev.org/wiki/Fast_signed_multiply

I'm kinda surprised we haven't accumulated a reference unsigned 8x8=16 example of this on the wiki yet.
by rainwarrior
Wed Jan 11, 2023 4:39 am
Forum: NES Hardware and Flash Equipment
Topic: Modern Mapper Replacement Chips?
Replies: 27
Views: 1546

Re: Modern Mapper Replacement Chips?

lidnariq wrote: Tue Jan 10, 2023 10:49 pmFast 8×8→16 multiplies can be done not that much slower than the hardware multiplier by using the difference-of-squares method and a small lookup table, and the 6502 is memory bandwidth limited.
Is this documented somewhere? How fast are we talking?
by rainwarrior
Tue Jan 10, 2023 11:59 am
Forum: NESdev
Topic: Collision boxes if a character is only partly on screen
Replies: 18
Views: 1082

Re: Collision boxes if a character is only partly on screen

I'm familiar with that term from image processing, but I've never heard it applied to that method of AABB collision resolution before. I'm kinda curious where you've seen the term used in this way? I can see the relationship, though it feels like a kinda tangential maths connection to me. As a term ...