Search found 9689 matches

by lidnariq
Sat Sep 26, 2020 11:03 pm
Forum: NESdev
Topic: Mike Tyson's Punch-Out Disassembly
Replies: 60
Views: 8558

Re: Mike Tyson's Punch-Out Disassembly

There is a mechanism used by the crowd that I have started calling the "VRAM Queue" or "VQ" for short. A sequence of bytes, along with an address, can be written into the VQ, and those bytes will picked up later and be written into VRAM at the specified address for the next frame. I discovered the ...
by lidnariq
Sat Sep 26, 2020 4:53 pm
Forum: General Stuff
Topic: What chips should be in that PCB?
Replies: 5
Views: 203

Re: What chips should be in that PCB?

Any idea why they'd expose so few bits of the DRAM and SRAMs to the programmable logic?

I guess if it's a teaching board then this tiny amount is more than enough.
by lidnariq
Fri Sep 25, 2020 11:56 pm
Forum: NES Hardware and Flash Equipment
Topic: Eccentric pedantic "monochrome" glitch
Replies: 7
Views: 333

Re: Eccentric pedantic "monochrome" glitch

Now that I've had a chance to sleep, I think that this test should capture two different subpixel alignments, because the data bus is driven roughly 100ns after M2 rises. I've since taken my oscilloscope and checked the original test, and I think it's only ever capturing one subpixel alignment. No ...
by lidnariq
Thu Sep 24, 2020 5:00 pm
Forum: NES Hardware and Flash Equipment
Topic: Interesting pirate PCB
Replies: 10
Views: 395

Re: Interesting pirate PCB

I've definitely heard of Flash (and RAM-and-something-nonvolatile) that worked that way, but I haven't yet heard of RAMs that had two dice and a demux.
by lidnariq
Thu Sep 24, 2020 2:48 pm
Forum: NESemdev
Topic: Help on indirect indexed implementation
Replies: 1
Views: 64

Re: Help on indirect indexed implementation

All accesses to zero page wrap within zero page. That instruction (B1 FF) will load the LSB of the pointer from $00FF, but the MSB from $0000, not $0100.
by lidnariq
Wed Sep 23, 2020 8:13 pm
Forum: SNESdev
Topic: CA65 Bit-shift During Compilation Isn't Working Properly
Replies: 18
Views: 535

Re: CA65 Bit-shift During Compilation Isn't Working Properly

Sprite and background tiles can't be anywhere in VRAM, but you can configure where they're found. Wait really? Perhaps a better way to phrase it is "they can't be everywhere " ? On the Genesis, with its 64KB of VRAM, each tile takes 32 bytes. 65536 bytes of RAM ÷ 32 bytes per tile = 2048 tiles, and...
by lidnariq
Wed Sep 23, 2020 7:55 pm
Forum: SNESdev
Topic: CA65 Bit-shift During Compilation Isn't Working Properly
Replies: 18
Views: 535

Re: CA65 Bit-shift During Compilation Isn't Working Properly

No, they're independent regions of memory. Try using bsnesplus, NO$SNS, or Mesen-S's debuggers instead. Sprite and background tiles can't be anywhere in VRAM, but you can configure where they're found. Unlike the Genesis (which can address 2K unique background and sprite tiles simultaneously), you o...
by lidnariq
Wed Sep 23, 2020 7:17 pm
Forum: General Stuff
Topic: Help to identify unknown game gun
Replies: 8
Views: 348

Re: Help to identify unknown game gun

The PC's joystick interface would be a super-awkward way to get lightpen data, given that there already was a standard: The CGA, MDA, and Hercules cards (and some EGA cards too) did have a lightpen input, but all appear to have used 1x6 0.1" spacing pin header inside the machine. "Clearly" that mean...
by lidnariq
Wed Sep 23, 2020 7:01 pm
Forum: NES Hardware and Flash Equipment
Topic: Reverse Engineering the CIC
Replies: 557
Views: 227790

Re: Reverse Engineering the CIC

Sadly, your 3198 dumps appear to be completely fine, other than the two LSbits being completely broken. Even if there are more than four pages of instructions inside, the dumps you've recovered can only be six-bit-wide subsets of those 508 instructions.
by lidnariq
Wed Sep 23, 2020 1:17 pm
Forum: NES Music
Topic: turning nsf file to bin for .incbin
Replies: 4
Views: 140

Re: turning nsf file to bin for .incbin

If you have a standalone NSF file that doesn't use expansion sound or bankswitching, you can convert it into a ROM - look for VegaPlay.

You can probably weave a game around it, but it'll be a challenge to treat the NSF as a black box and not step on its toes.
by lidnariq
Wed Sep 23, 2020 12:28 pm
Forum: NES Hardware and Flash Equipment
Topic: Reverse Engineering the CIC
Replies: 557
Views: 227790

Re: Reverse Engineering the CIC

If you have a multimeter with a diode test functionality, you could see if there's a diode drop measuring pins 1 and 2 to pin 16, or pin 8 to pins 1 and 2.

My suspicion, given that the validation mode can still be entered, is that the bond wire blew up. If so, you won't see any diodes.
by lidnariq
Tue Sep 22, 2020 8:12 pm
Forum: NES Hardware and Flash Equipment
Topic: Eccentric pedantic "monochrome" glitch
Replies: 7
Views: 333

Re: Eccentric pedantic "monochrome" glitch

I've written a variation on the test that tries to tickle both the "catch the monochrome bit for one pixel" and the "blue emphasis is entirely asynchronous" at the same time. I've tested it with PPU /RESET tied to CPU /RESET, and with PPU /RESET floating. The code uses the CPU to draw this parallelo...
by lidnariq
Tue Sep 22, 2020 4:27 pm
Forum: Newbie Help Center
Topic: Having slow down after only 10 sprites on screen
Replies: 5
Views: 163

Re: Having slow down after only 10 sprites on screen

cc65, and the 6502, are actually awful at the "array of structs" model.

For reasonable performance, you really need to stripe your data into separate arrays of bytes. (If you want, this can be a struct of arrays)
by lidnariq
Tue Sep 22, 2020 3:00 pm
Forum: NES Hardware and Flash Equipment
Topic: Twin Famicom - Only discs shows messed up graphics
Replies: 7
Views: 204

Re: Twin Famicom - Only discs shows messed up graphics

Fixon wrote:
Tue Sep 22, 2020 2:28 pm
The Twin Famicom has previously been NESRGB modded (not by me) but that should not be causing the issue, still have the same problem over regular composite.
These symptoms look like something is specifically going wrong with the palette ... so I actually do suspect the NESRGB.
by lidnariq
Tue Sep 22, 2020 1:15 pm
Forum: NES Hardware and Flash Equipment
Topic: Reverse Engineering the CIC
Replies: 557
Views: 227790

Re: Reverse Engineering the CIC

My understanding - we'll be able to confirm once we have a good dump of the 3198 - is that the "lock" 3198 on the mainboard transmits which of the fifteen cartridge CICs it wants to talk to, and only the one where the pins were tied high/low that match is the one that replies. But the "validation" m...