I'm trying to get into NES programming from scratch after having failed the last time I tried. I got a version of my project to compile at one point, but I decided to rework some sections, and now I don't know what I did, but somehow my code compiles but doesn't run.
After inspecting it with FCEUX and YY-CHR, I found out that apparently the vectors and CHR data were not being included in my project, even though my code and configuration settings for both sections of memory should have been correct.
(Just as a side note: the code related to updating the nametables is untested, so even if this issue is fixed it might not function correctly. But at that point, that'll be my problem.)
What exactly is wrong here? (Also, are there any tips I should know about how to make my job easier when using multiple files? I tried to figure out how to use include files, but then it doesn't compile.)
Project compiles, but has missing sections?
Moderator: Moderators
-
- Posts: 2
- Joined: Sat May 08, 2021 7:12 am
Project compiles, but has missing sections?
- Attachments
-
- titol.zip
- My project (warning: untested)
- (15.98 KiB) Downloaded 65 times
- Controllerhead
- Posts: 314
- Joined: Tue Nov 13, 2018 4:58 am
- Location: $4016
- Contact:
Re: Project compiles, but has missing sections?
You have 1 16KB PRG bank in your header instead of 2. The vectors load properly now:
-
- Posts: 2
- Joined: Sat May 08, 2021 7:12 am
Re: Project compiles, but has missing sections?
I just knew it had to be something stupid like that.
Thanks!
Thanks!