It is currently Fri Dec 15, 2017 11:08 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Sat Sep 22, 2012 6:29 pm 
Offline
User avatar

Joined: Mon Feb 07, 2011 12:46 pm
Posts: 941
Simple Monophonic Just Intonation Engine is a music engine I have written for some of the Famicom games I am working on. It is very simple and does not even support looping (with one exception), but is sufficient for my use, mostly for sound effects. You could combine it with other music on the other square and on triangle channel. It is called "just intonation" because I used just intonation in this game, although it is not actually limited to just intonation.

Here is the code (for Unofficial MagicKit; convert to other assemblers if wanted):
Code:
   lda $4015
   and #$01
   bne nomusic
   ldx <musaddr
   lda musichi,x
   beq nomusic
   ldy #$01
   sty $4015
   sta $4003
   lda musiclo,x
   sta $4002
   inx
   stx <musaddr
nomusic   ;continues here

_________________
.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group