Search found 4 matches

by VenoSci
Wed Dec 05, 2018 10:19 pm
Forum: NES Music
Topic: Audio Co-Processes in Assembly
Replies: 3
Views: 7418

Re: Audio Co-Processes in Assembly

Hey, I appreciate the reply. Thank you for the pointers on both the mapper and the sweep register, I hadn't encountered any issues regarding those two, so I was unaware that the code I had written in regards to them was faulty. Can you possibly explain/link me to an explanation of IRQs and their res...
by VenoSci
Wed Dec 05, 2018 8:07 pm
Forum: NES Music
Topic: Audio Co-Processes in Assembly
Replies: 3
Views: 7418

Audio Co-Processes in Assembly

Hey All, I have another question regarding my quest to compose a piece of music for the NES using only 6502 assembly. Right now, the code I have looks something like this: .inesprg 1 .ineschr 0 .inesmap 1 .inesmir 0 .bank 1 .org $FFFA .dw 0 .dw Main .dw 0 .bank 0 .org $C000 Main: jsr A4_pu1 jsr D4_p...
by VenoSci
Tue Dec 04, 2018 2:05 am
Forum: NES Music
Topic: Sequencing the APU (ASM)
Replies: 2
Views: 7067

Re: Sequencing the APU (ASM)

nin-kuuku wrote:
ldx $4015
cpx #%00000000
beq Two

Infiniteloop
jmp Infiniteloop
The test goes to Infiniteloop if $4015 is nonzero (note still playing)
Try this:

test:
ldx $4015
cpx #%00000000
beq Two
jmp test

Infiniteloop
jmp Infiniteloop
This works! thank you so much!
by VenoSci
Mon Dec 03, 2018 2:01 am
Forum: NES Music
Topic: Sequencing the APU (ASM)
Replies: 2
Views: 7067

Sequencing the APU (ASM)

Hey everyone! Right now i am working on a project where i manually code music and sounds for the NES via assembly only. Currently, my issue seems to be an inability to trigger a sequence of more than one note. I know that once the counter reaches 0 on the note length, the flag for the note length at...