Search found 9 matches

by EnigmaOverdrive
Mon Aug 08, 2016 2:34 pm
Forum: Newbie Help Center
Topic: How to set program counter?
Replies: 3
Views: 1664

How to set program counter?

I'm trying to make a back function in a system of menus so that if the player presses the B button, it will take them back to the title screen. Using a recursive function call seems to cause the screen to go black after a few iterations, so I wonder: is there a way I can set the program counter dire...
by EnigmaOverdrive
Fri Aug 05, 2016 12:35 pm
Forum: NES Music
Topic: Famitone2 - play track at half-speed?
Replies: 3
Views: 3459

Famitone2 - play track at half-speed?

I'm currently using the cc65 compiler and famitone2 library for music and soundFX.

Is there any way I can get one of the tracks to play at half-speed, so I don't have to create a separate, slower version?
by EnigmaOverdrive
Thu Jul 21, 2016 3:12 pm
Forum: Newbie Help Center
Topic: MMC3 scroll not working
Replies: 14
Views: 4431

Re: MMC3 scroll not working

So how should I go about setting the mirroring in the actual code itself? What value should I write to A000? It seems like it should be a 1 for horizontal scrolling, is that right?
by EnigmaOverdrive
Thu Jul 21, 2016 12:56 pm
Forum: Newbie Help Center
Topic: MMC3 scroll not working
Replies: 14
Views: 4431

Re: MMC3 scroll not working

This is where that is set in the config file: SYMBOLS { __STACKSIZE__: type = weak, value = $0500; # 5 pages stack NES_MAPPER: type = weak, value = 4; # mapper number NES_PRG_BANKS: type = weak, value= 4; # number of 16K PRG banks, change to 2 for NROM256 NES_CHR_BANKS: type = weak, value = 8; # num...
by EnigmaOverdrive
Thu Jul 21, 2016 12:55 pm
Forum: Newbie Help Center
Topic: MMC3 scroll not working
Replies: 14
Views: 4431

Re: MMC3 scroll not working

Hmm well with the NES_MIRRORING set to 0 it works correctly for the horizontal scrolling on emulators, but not if it's set to 1 (for vertical mirroring). On hardware it doesn't work regardless.
by EnigmaOverdrive
Thu Jul 21, 2016 12:39 pm
Forum: Newbie Help Center
Topic: MMC3 scroll not working
Replies: 14
Views: 4431

Re: MMC3 scroll not working

I'm not sure, my startup code has this in it:

Code: Select all

.segment "HEADER"

    .byte $4e,$45,$53,$1a
	.byte <NES_PRG_BANKS
	.byte <NES_CHR_BANKS
	.byte <NES_MIRRORING|(<NES_MAPPER<<4)
	.byte <NES_MAPPER&$f0
	.res 8,0
where NES_MIRRORING is set to 0
by EnigmaOverdrive
Thu Jul 21, 2016 12:31 pm
Forum: Newbie Help Center
Topic: MMC3 scroll not working
Replies: 14
Views: 4431

MMC3 scroll not working

I'm working on a project that uses the MMC3 mapper and some horizontal scrolling. As far as I can tell the mirroring is being set to horizontal in the config file and therefore the scrolling works when tested in emulators. But when I test it on a cartridge, the scrolling doesn't work and looks as th...
by EnigmaOverdrive
Wed Jul 13, 2016 12:28 pm
Forum: NES Graphics
Topic: yy-chr: set file size
Replies: 7
Views: 6079

Re: yy-chr: set file size

That works, thanks!
by EnigmaOverdrive
Wed Jul 13, 2016 11:22 am
Forum: NES Graphics
Topic: yy-chr: set file size
Replies: 7
Views: 6079

yy-chr: set file size

I noticed that some chr files are different sizes (some are 8kb, some are 2kb...) and I need mine to be 1kb in size, but whenever I create a new file in YY-CHR it's 8KB large by default. How can I change this?