Search found 10545 matches

by lidnariq
Thu May 13, 2021 10:24 am
Forum: Newbie Help Center
Topic: Adding DB9 port for controller 1 to Power Joy
Replies: 8
Views: 430

Re: Adding DB9 port for controller 1 to Power Joy

Connect VCC=+5V, GND, D0, CLK, and STROBE=OUT.

https://wiki.nesdev.com/w/index.php/Con ... ort_pinout

I have read people finding multiple different 9-pin famiclone pinouts, so do NOT assume that the one on the above page is correct for you!
by lidnariq
Wed May 12, 2021 6:01 pm
Forum: Newbie Help Center
Topic: VRC6 CHR Bank Malformed?
Replies: 29
Views: 499

Re: VRC6 CHR Bank Malformed?

In my opinion, VRC6 is one of the most ridiculous mappers ever seen on the Famicom, exceeded only by Namco's 163, the MMC5, and JY Company's mapper. It's unfortunate that it's the one you're starting with, because there's a whole lot more background to have to get through before you can meaningfully...
by lidnariq
Wed May 12, 2021 3:59 pm
Forum: Newbie Help Center
Topic: VRC6 CHR Bank Malformed?
Replies: 29
Views: 499

Re: VRC6 CHR Bank Malformed?

puppydrum64 wrote:
Wed May 12, 2021 3:53 pm
But unfortunately I still don't understand why this is happening, even after setting bit 5 of $B003:
Because you haven't written the correct values to $D000 through $E003.
by lidnariq
Wed May 12, 2021 10:31 am
Forum: Newbie Help Center
Topic: My cart runs differently in different emulators
Replies: 63
Views: 2999

Re: My cart runs differently in different emulators

Several Namco 163 games clearly have ROM nametables too. At the very least, there's a bunch in Battle Fleet.
by lidnariq
Wed May 12, 2021 10:29 am
Forum: Newbie Help Center
Topic: Adding DB9 port for controller 1 to Power Joy
Replies: 8
Views: 430

Re: Adding DB9 port for controller 1 to Power Joy

Easy thing first: https://wiki.nesdev.com/w/index.php/UM6582_pinout I suspect that pins 2-14 in the above link correspond to 13 of the pins on the empty square marked "UM6582" on your PCB. That's where you connect your famiclone controller. (What pins go where? I don't know, I've never personally se...
by lidnariq
Tue May 11, 2021 4:46 pm
Forum: Newbie Help Center
Topic: Adding DB9 port for controller 1 to Power Joy
Replies: 8
Views: 430

Re: Adding DB9 port for controller 1 to Power Joy

Unfortunately, the wires famulator76 circled aren't the controller port: instead they're just ground and 4 button inputs for the thumb stick to do the same thing as the primary dpad. We have a pinout for a UM6582 on our wiki, but that's a 16-pin part, and the footprint on your PCB only has 14 lands....
by lidnariq
Tue May 11, 2021 11:50 am
Forum: GBDev
Topic: Replacing a GBA SP link port with a DMG link port
Replies: 8
Views: 3141

Re: Replacing a GBA SP link port with a DMG link port

I see someone (maybe even you) submitted your brain transplant to Hackaday:
https://hackaday.com/2021/05/11/origina ... therboard/
by lidnariq
Tue May 11, 2021 11:00 am
Forum: NESdev
Topic: MMC3 with CHR-RAM on specific device.
Replies: 10
Views: 469

Re: MMC3 with CHR-RAM on specific device.

It appears to be ignoring your header and giving you some uninitialized RAM as though it were CHR ROM. But that's weird. I was hoping that pretending to be an Established TNROM/TGROM game would fix that but ... apparently not. Maybe the emulator incorrectly uses the PRG RAM protection bits for CHR R...
by lidnariq
Mon May 10, 2021 7:20 pm
Forum: NESdev
Topic: MMC3 with CHR-RAM on specific device.
Replies: 10
Views: 469

Re: MMC3 with CHR-RAM on specific device.

As a random shot in the dark, try padding your proof-of-concept PRG up to 256KB.
by lidnariq
Sun May 09, 2021 11:41 pm
Forum: Newbie Help Center
Topic: My cart runs differently in different emulators
Replies: 63
Views: 2999

Re: My cart runs differently in different emulators

That's under "Create NSF"
by lidnariq
Sun May 09, 2021 7:06 pm
Forum: Newbie Help Center
Topic: My cart runs differently in different emulators
Replies: 63
Views: 2999

Re: My cart runs differently in different emulators

Unfortunately, I would conclude that zzo38's contribution there isn't known to work and no-one else has ever tested it.
by lidnariq
Sat May 08, 2021 5:12 pm
Forum: Newbie Help Center
Topic: cc65 codegen
Replies: 11
Views: 422

Re: cc65 codegen

That's not true: the upper byte is what is used to detect the "continue" cases.
by lidnariq
Sat May 08, 2021 4:51 pm
Forum: Newbie Help Center
Topic: cc65 codegen
Replies: 11
Views: 422

Re: cc65 codegen

; x = (g_x_l[i] | (g_x_h[i]<<8)) -bx; ; .dbg line, "..\test.c", 133 ldy _i ldx _g_x_h,y ldy _i lda _g_x_l,y [...]Is this hitting the fast indexing path now? What do I look for? What you have above is the "fast" form: ld_ something,x . And you're right, there's almost no incremental benefit to havin...
by lidnariq
Sat May 08, 2021 2:49 pm
Forum: Newbie Help Center
Topic: cc65 codegen
Replies: 11
Views: 422

Re: cc65 codegen

So ~325/sprite totally reasonable? I mean, the right answer is "don't worry about performance until you actually start running into performance problems". Then you can start worrying about it. CC65 knows that if you have an array of bytes, and you index it with a byte, you can use the fast instruct...
by lidnariq
Sat May 08, 2021 11:03 am
Forum: Newbie Help Center
Topic: cc65 codegen
Replies: 11
Views: 422

Re: cc65 codegen

Arrays of not-8-bit things are expensive too. The only way to get cc65 to emit the faster (lda abs,[xy]) instructions is when accessing arrays of char.