Jump to content

Recommended Posts

Please explain how it works in VisualbB

Like in this one:

8,4,23
0,0,0
9
2,4,23
0,0,0
8
8,4,21
0,0,0
6
8,4,19
0,0,0
6
8,4,17
0,0,0
6

8,4,23
0,0,0
9
2,4,23
0,0,0
8
8,4,21
0,0,0
6
8,4,19
0,0,0
6
8,4,17
0,0,0
6

How to Loop the first part 1x and the second one 2 times?

I don't think I have to write:

LSR
8,4,23
0,0,0
9
2,4,23
0,0,0
8
8,4,21
0,0,0
6
8,4,19
0,0,0
6
8,4,17
0,0,0
6
LSR
LSR
8,4,23
0,0,0
9
2,4,23
0,0,0
8
8,4,21
0,0,0
6
8,4,19
0,0,0
6
8,4,17
0,0,0
6
LSR

Share this post


Link to post
Share on other sites

What I want to know is how you made that audio only file of 2600 music on page 1 of this thread.

Share this post


Link to post
Share on other sites

- Making a Rom

- Started in Stella

- Recorded with Audacity

Thats it

Edited by Der Luchs

Share this post


Link to post
Share on other sites

VisualbB has a music engine template that you "graft" onto your BASIC game code. What you're playing with there is the raw DATA statements that the VisualbB sound editor produces. So, inserting assembly directy into the DATA statements wont work the way you think. You would actually have to enhance the music engine template that VisualbB uses to handle loops and such.

Share this post


Link to post
Share on other sites

How difficult would it be to take the Bb code for music and place it into an ASM program? I've working on a game for a long time now. I'm at the stage where I would like to add some music and sfx, but I'm not great with music.

Share this post


Link to post
Share on other sites

Ok here's the code I'm using to play the song. It sounds like music but it doesn't sound like the scary theme you started the thread with. The song you listed is the same as the one you played in the first sample?

 

DEC duration
bne GotMusic
ldx musicData
lda musicData_begin,x
inc musicData
inx
STA AUDV0
lda musicData_begin,x
inc musicData
inx
STA AUDC0
lda musicData_begin,x
inc musicData
inx
STA AUDF0

skipL052


lda musicData_begin,x
inc musicData
inx
STA AUDV1
lda musicData_begin,x
inc musicData
inx
STA AUDC1
lda musicData_begin,x
inc musicData
inx
STA AUDF1


lda musicData_begin,x
inc musicData
inx
STA duration

GotMusic

lda musicData_begin,x
cmp #255
bne resetx
lda #0
sta musicData
resetx
musicData_begin
 .byte	  8,4,23
 .byte	  0,0,0
 .byte	  15
 .byte	  2,4,23
 .byte	  0,0,0
 .byte	  8
 .byte	  8,4,26
 .byte	  0,0,0
 .byte	  11
 .byte	  8,4,23
 .byte	  0,0,0
 .byte	  11
 .byte	  8,4,21
 .byte	  0,0,0
 .byte	  9
 .byte	  2,4,21
 .byte	  0,0,0
 .byte	  8
 .byte	  8,4,23
 .byte	  0,0,0
 .byte	  9
 .byte	  2,4,23
 .byte	  0,0,0
 .byte	  8
 .byte	  8,4,26
 .byte	  0,0,0
 .byte	  11
 .byte	  8,4,29
 .byte	  0,0,0
 .byte	  9
 .byte	  2,4,29
 .byte	  0,0,0
 .byte	  8

.byte  255

Share this post


Link to post
Share on other sites

Don't understand the question... Send you PM ^^

 

Once again for all:

I will make tunes for your games for FREE!

And you DON'T HAVE TO CHOOSE OF THE TUNES I ALREADY MADE! I WILL COMPOSE NEW TUNES FOR YOUR GAMES!

Just send a PM;-)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...