Search found 101 matches

by Lucradan
Sun Oct 13, 2019 8:03 am
Forum: Newbie Help Center
Topic: MMC3 IRQ Help
Replies: 3
Views: 6905

Re: MMC3 IRQ Help

I realized, soon after I wrote this, that I was overcomplicating it. I'm now leaving the IRQs enabled throughout using the CLI command in reset code followed by an immediate STA IRQDISABLE (via MMC3). I'm using the FLAG.ENABLE IRQ bit to regulate if IRQs are triggered for that frame: The positive ca...
by Lucradan
Sat Oct 12, 2019 1:06 pm
Forum: Newbie Help Center
Topic: MMC3 IRQ Help
Replies: 3
Views: 6905

MMC3 IRQ Help

I'm trying to understand the timing and commands associated with the MMC3 IRQ and where I might be missing something. Here is my IRQ code: IRQ: ; Preserves the state of the A, X, Y registers PHA TXA PHA TYA PHA JMP (PTR.IRQJUMP) IRQ.RETURN: ; Restores registers PLA TAY PLA TAX PLA ; Returns control ...
by Lucradan
Mon Jan 07, 2019 3:56 pm
Forum: Newbie Help Center
Topic: Organizing it All
Replies: 11
Views: 5349

Organizing it All

What techniques can you recommend for organizing all the game assets and code during development?

Currently I'm using ASM6 and trying to parse the code into small files which I can easily reuse for other projects. But refactoring is extremely difficult and time consuming in this case.
by Lucradan
Mon May 14, 2018 9:07 am
Forum: NES Graphics
Topic: Need Some Help
Replies: 6
Views: 6886

Re: Need Some Help

I think I figured out how I want to do this scene now. It just took my a good month to figure it out. Here is my idea. 1. I'm going to use the grayscale image. 2. When a character is talking, I'm going to "color" their character in the scene and have their profile picture in the HUD. This ...
by Lucradan
Mon May 14, 2018 6:15 am
Forum: Newbie Help Center
Topic: Completely new to this, just saying hI.
Replies: 12
Views: 6749

Re: Completely new to this, just saying hI.

Welcome. I'm glad you enjoyed the class and am excited you joined us. I've been offline a bunch lately cause pixel art stuff is pissing me off. Since your in the area, give my a buzz sometime and we can meet up so I can show you the ropes in more details. I'd love to get a local homebrew community u...
by Lucradan
Mon May 07, 2018 6:55 pm
Forum: NES Graphics
Topic: Need Some Help
Replies: 6
Views: 6886

Re: Need Some Help

Again, I want reiterate. The number of tiles is NOT the problem. I already have the IRQs code written and ready to go (and used in several other places in the game). The problem is that I screwed up making the image in MSPaint and assumed I could fix it after the fact. To do so has become more of a ...
by Lucradan
Mon May 07, 2018 3:24 pm
Forum: NES Graphics
Topic: Need Some Help
Replies: 6
Views: 6886

Need Some Help

I made the following image in MS Paint for a cutscene in a game and now am stuck trying to convert it over into NES. Corrected.bmp I knew I would have to do a mid-frame bankswap so I went and used nearly 500 unique tiles. That is not a problem. The problem is that I miscalculated the number of sprit...
by Lucradan
Wed Apr 04, 2018 9:03 pm
Forum: NES Graphics
Topic: I-CHR: Turn an image sequence into bankswitched CHR
Replies: 19
Views: 21640

Re: I-CHR: Turn an image sequence into bankswitched CHR

I have something that might be able to repurpose that could help. I wrote an algorithm a while back that was really fast at finding patterns (from a template) in a large image. It was designed as part of the image processing algorithm for a modernization of ROB I never finished. The output was a lis...
by Lucradan
Wed Apr 04, 2018 4:55 pm
Forum: NES Graphics
Topic: I-CHR: Turn an image sequence into bankswitched CHR
Replies: 19
Views: 21640

Re: I-CHR: Turn an image sequence into bankswitched CHR

What language are your writing this in? C++/#/Java?

You can take the algorithm as you please. I was working on an algorithm to tackle at the sprite tile extraction. Curious how you did it and if we could overcome some of the inefficiencies and issues your having.
by Lucradan
Wed Apr 04, 2018 7:33 am
Forum: NES Graphics
Topic: I-CHR: Turn an image sequence into bankswitched CHR
Replies: 19
Views: 21640

Re: I-CHR: Turn an image sequence into bankswitched CHR

I didn't catch this thread until today. This is good!

I started working on an image tool in C# yesterday. Let me know if you need help with anything.
by Lucradan
Tue Apr 03, 2018 7:18 pm
Forum: Newbie Help Center
Topic: Teaching a Course in NES Programming
Replies: 15
Views: 5042

Re: Teaching a Course in NES Programming

Good brain dump. Many thanks. I'd planned on a similar outline but got to work on my anologies and storytelling to smooth it out some. For example, the 60fps is true but since there is not a standard definition of a "frame" it's better to think about it in terms of bandwidth and windows of...
by Lucradan
Tue Apr 03, 2018 6:18 pm
Forum: Newbie Help Center
Topic: Teaching a Course in NES Programming
Replies: 15
Views: 5042

Re: Teaching a Course in NES Programming

Agreed, there is a hard limit to how many bytes of data can change between frames. But what I find fascinating is all that this community has been able to do in those few small bytes. I was thinking today about the perceived "Full Motion Video" limit and how you could use midframe and vbla...
by Lucradan
Tue Apr 03, 2018 4:44 pm
Forum: Newbie Help Center
Topic: Teaching a Course in NES Programming
Replies: 15
Views: 5042

Re: Teaching a Course in NES Programming

I also strongly suggest explaining to people the "interaction" (per se) between the display/CRT and the PPU. It's critical that people understand how this works. There are idiots out there who still don't get it simply because they were never taught. Am I missing something? VBlank to VBla...
by Lucradan
Tue Apr 03, 2018 1:30 pm
Forum: Newbie Help Center
Topic: Teaching a Course in NES Programming
Replies: 15
Views: 5042

Re: Teaching a Course in NES Programming

dougeff wrote:Who's the audience? Programming students? University level?
It's a convention hosted by the local community college. I'm going to get a variety of skill sets so I need to keep it at a basic level. I'll have a handout with a glossary of terms to help.
by Lucradan
Tue Apr 03, 2018 1:12 pm
Forum: Newbie Help Center
Topic: Teaching a Course in NES Programming
Replies: 15
Views: 5042

Teaching a Course in NES Programming

In about 2 weeks, I'm teaching a short course on programming the NES. It's only 50 min so I am only going to be able to touch the surface; the tools, some videos, this community, headaches, pitfalls, etc. But, I would like to add a personal touch and discuss a bit of the lessons learned throughout t...