Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > Sound Monitor and broken file
2006-03-17 21:17
Sidder
Account closed

Registered: Mar 2003
Posts: 56
Sound Monitor and broken file

Hello,

In my C64 floppy-archive I've found a song composed in Sound Monitor. Unfortunately, the source file is broken; it was probably saved with some errors or it "got hurt" during transer data into d64.

Normally Sound Monitor tune takes 77 blocks on disk. This broken file has 76 blocks - one wonderful and so precious block disappeared in miracoulus way.

Of course now I'm not able to load the bad file into Sound Monitor: editor crashes after load tune.

But... maybe there is possibility to fix the tune so that I could run it under Sound Monitor? This editor's tunes aren't packed and... only one block got lost. :] Is there any hope for me?

If it's possible to fix the file and if someone would like to help me - I'll be thankful.

Regards,
Sidder.
2006-03-17 23:20
Yodelking

Registered: Apr 2002
Posts: 189
Hi!
Send me the disk, and I'll take a look.

I guess it's some kind of Rockmonitor, though.
Soundmonitor takes 45 blocks.
Send to: yodelking@formec.com
2006-03-18 01:53
Sidder
Account closed

Registered: Mar 2003
Posts: 56
Quote:
Send me the disk

Done. I've also put the d64 here: http://tiny.pl/m2sz [10 kB, rar]
Quote:
and I'll take a look.

Great!
Quote:
I guess it's some kind of Rockmonitor

Right, I was wrong. It was done under Rockmonitor 2. But in fact, it doesn't make big difference, because both under Sound and Rock Monitors - loading this tune makes a little crash. :]
2006-03-18 08:14
Yodelking

Registered: Apr 2002
Posts: 189
Quote: Quote:
Send me the disk

Done. I've also put the d64 here: http://tiny.pl/m2sz [10 kB, rar]
Quote:
and I'll take a look.

Great!
Quote:
I guess it's some kind of Rockmonitor

Right, I was wrong. It was done under Rockmonitor 2. But in fact, it doesn't make big difference, because both under Sound and Rock Monitors - loading this tune makes a little crash. :]


Sorry, I can't fix it.
It's not just a few bytes missing at the start, the first part of the file is destroyed with data that doesn't come from the tune. Since only the digis are placed there, I did three tests:
Replace 8000-9FFF, C012-CC00 from another Rockmon II tune, to just keep your data. Didn't work

I also tried so save out A000-C011, and then load a Soundmonitor player from C012-CBFA. Didn't work either.

I just added blanks at the start and fixed the loadadress of the tune, then loaded the tune into Rockmon2. didn't work... :(

There's nothing more I can do, sorry. I hope someone else can give this a try.
2006-03-18 14:01
Sidder
Account closed

Registered: Mar 2003
Posts: 56
Ok, thank you for your waste of time. It seems the tune was irreversible destroyed. :<
2006-03-18 20:23
THE TEA DRINKER

Registered: Jul 2005
Posts: 39
Save a000-c011 strange idea as I remember on rockmonitor 9 tune was useing c000 too, as I remember you could hear the tune use these simply basic commands from basic: sys49152:poke49167,1

I mean rockmonitor saved memory area was from around $6000 and upwards to around $cd00 then drummaker 2+ do almost the same but from $7000 as I remember, maybe i should look on my old tunes and give it a try to fix it.

EDIT: I have figure out this -- until know -- I hope it's correct.

Ok the song that is buggy is loading from these adress $1c00 to $66fd maybe if you transfer it up to the correct memory area it will work ?!?
I found out that adress $5b14 and $5b22 should proberly be in $c000+ memoty location area or upwards.
Look here:

5b14 sei
5b15 lda#$c0
5b17 sta$0315
5b1a lda#$1f
5b1c sta$0314
5b1f cli
5b20 rts
5b21 sei - my guess is this line should be in $c01f
5b22 lda$01
5b24 sta$02c5
5b27 lda#$36
5b29 sta$01
5b2b jsr$c475
5b2e lda$02c5
5b31 sta$01
5b33 jmp$ea31

When you look in the song for text you can find a string where it says: "musicmaster created by chris huelsbeck" last at the file. You can also find a string where this "n:dema muzyzne" it looks like the name of the file or floppyname, dunno yet ?!?

Then what to find out next what memory area is used for a working soundmonitor/rockmonitor 2 tune.

Then again are you sure you have used soundmonitor/rockmonitor for this tune and not the musicmaster ?
I must admit that it looks like a sound/rock monitor look like tune but I could be wrong.

You can try this transfer from $1c00 to $66fd into $80fe then the machinecode is correct with address but it wouldn't play anyway, because there is no music notes.
If you insert something with for instance soundmonitor you can here something like the instruments but I think the notes are gone or is the missing part so it's useless, sorry I still try with other variants of sound/rock/drum monitors to get it to work but I think the notes is the most important here and that part is ofcoz missing and could proberly also be in 1 block.
2006-03-18 23:06
Yodelking

Registered: Apr 2002
Posts: 189
>Save a000-c011 strange idea

No it's not! Data begins at $a000. 49167=c00f, used for init yes, c010, c011 is pointers of how long the tune is
c012-cc00 player.
I saved out his data and replaced the player with another one, incase there was errors in the player.
I tried both Rockmonitor and Soundmonitor players.


>I mean rockmonitor saved memory area was from around

RM saved from $8000 or $8100, if you didn't load any special digis, like in RM 4+


>Ok the song that is buggy is loading from these adress
>$1c00 to $66fd maybe if you transfer it up to the correct >memory area it will work ?!?

No, I did that already. Just fixing the loadadress won't do it.


>When you look in the song for text you can find a string
>where it says: "musicmaster created by chris huelsbeck"

This is what Soundmonitor writes.


>this "n:dema muzyzne" it looks like the name of the file

That's the file name. If you load any tune into RM the file name will be placed at that area.


>Then again are you sure you have used
>soundmonitor/rockmonitor for this tune and not the >musicmaster ?

Musicmaster=Soundmonitor


>I think the notes is the most important here and that
>part is ofcoz missing and could proberly also be in 1
>block.

In RM digis are coming first in memory like 8000-9xxx.

/Peter
2006-03-18 23:08
Yodelking

Registered: Apr 2002
Posts: 189
Quote: Ok, thank you for your waste of time. It seems the tune was irreversible destroyed. :<

It's not a waste of time to try to rescue an old tune. :)
I know the feeling when a long lost tune is recovered, so it was well worth a try.
2006-03-18 23:43
Sidder
Account closed

Registered: Mar 2003
Posts: 56
Quote:
Then again are you sure you have used soundmonitor/rockmonitor for this tune and not the musicmaster ?

It was done in that way: I loaded Sound Monitor file ("Red Moon" / Jeroen Tel) into Rockmonitor 2, then I erased original patterns and - using Tel's instruments - made some crap-music. After that I saved tune as Rockomitor file. Tune uses no samples and maybe that's the reason, why "MUSIC MASTER DONE BY CHRIS HUELSBECK" text stays unchaned.


I've just analised another tune made exacly the same way and in the same time as bugged zak (http://tiny.pl/m8gn - here i saved both bugged tune and similar correct tune). And I've noticed:

GOOD TUNE:
- loads into $8000 - $CBFB
- $8000 - $9000 : empty space
- $9000 - $9ff0 : some text (unused so treated like empty)
- $9ff1 : string "N: DEMA MUZYCZNE"
- $a000 - $bfff : data (with a lot of free space)
- $c000 - $cbd0 : data
- $cbd1 - $cbfb : string "MUSIC MASTER CREATED BY CHRIS HUELSBECK"

BAD TUNE:
- loads into $1c00 - $66fd
- $1c00 - $32cb : some strange data
- $32e0 - $3af0 : emty space
- $3af1 : string "N: DEMA MUZYCZNE"
- $3b00 - $5aff : some data (with a lot of free space)
- $5b00 - $6ad0 : some data
- $6ad1 - $66fd: string "MUSIC MASTER CREATED BY CHRIS HUELSBECK"

So probably just unused/empty data went to hell!

Quoting THE TEA DRINKER
I think the notes are gone

Not sure. I always used (in Rockmon) patterns form $b000 and higher. So notes in the bad tune should still be there (somewhere about $4xxx, if - of course - only first bytes are cut).
2006-03-19 09:19
THE TEA DRINKER

Registered: Jul 2005
Posts: 39
OK, I got it musicmaster=soundmonitor fine.

Yodelking ok you just tell what you did and that's fine, but I didn't think it was help enough for explain why the tune was not working (or I didn't understand you) because you didn't write what was still wrong with it since it didn't work even with your try to fix it.
You did discover or you also didn't discover that it was loading from other memory area or didn't tell it to Sidder. You just type you can nothing do more, you have also right here but why can you not do anything more? (was my question, then I begin type what I did and did the same as you, proberly)
But you didn't write it. Yes the n:filenameoffile looked also for me to be filename but wasn't sure about it, Im now. The string with musicmaster yes same as soundmonitor fine, I didn't know that. I just try rockmonitor 9 and soundmonitor and they are different in area $c000-$cxxx the player as you proberly know.
What did you find out with musicnotes of badtune?
Have you loaded the tune into soundmonitor again after you have try fix it, and what did you discover?
You have proberly used the play routine and want it to play something but if you look on the musictracknumbers in soundmonitor you don't find any music notes?
Is music notes important for music?

Sidder: You don't know about the musicnotes ok then tell me if you find some of these, then it can proberly be working, again maybe not if it's me trying fix it, but I can always give a try. You say you used usally b000 for notes then it's proberly here the main problem is because I see numbers between 7000 and 8000 and in the digi field I only see this: bf18 is that correct?
Maybe alittle new try is load the tune from 1c00 into $80fe change $7000 with $b000 and see if it plays something.

It's a soundmonitor tune looks the same in code have try it with rockmonitor 9 which have jsr$9x00 proberly for the digi in the player.
I have seen this tune "badtune" working in soundmonitor v1.0 (after I transfer it from $1c00 to $80fe) but when you enter the fields in musicnumbers like 7000. I dont have any musicnotes there, I dont want to look all the fields through just to find something, I have try put some notes into that field and yes if you do that, it did play it.
So Im pretty sure notes are gone, sorry for saying that but my best guess at the moment, and maybe the right ansert for why is was not working still after move into the right memory location. If the notes still are there which is important for the music piece you need to know something about that tune, like which note did it begin with, and what numbers did you use.
So I think players is fine, when you transfer memory location from badtune from $1c00 to $66fd into $80fe about musicnumbers in tracks proberly wrong or there is miss information about musicnotes here, that's why tune is still NOT working.

Why didn't you just type that in the first place Yodelking ;)

EDIT:

Interesting I have until know just transfered from $1c00 to $66fd into $80ef, saved as small fixed version onto floppy then used soundmonitor v1.0 change 7000 to b700 at SP 00 set as first step and 01 pointer last step from 7000 which we allready know that $80ef was the lowest address and change it to b700 these b700 numbers is TRK# TR ST (the # indicate 1 to 3) the last field AR/S (this is a digi track on Rockmonitor 9) is changed from bf18 to bf00 which control I guess is the speed of song and now it's playing something, could you try it and see if that something you can remember from your song, Sidder ?

Then I think you need to re enter music datanumbers that is change from bxxx to 7xxx in this example 7000 is maybe the original as b700 and proberly something I can continue with but I don't know how the song sounds. I didn't write some notes in b700 so i guess it's yours Sidder. :)
Then tune can proberly be repaired if you remember the music datanumbers, good luck hope it helped.
2006-03-19 12:39
Steppe

Registered: Jan 2002
Posts: 1510
Are you holding a tribunal against Yodelking now? I plead he's guilty, guilty, guilty!!! Hang him high for being so lame and for being too lazy to properly document the fixing process!
 
... 9 posts hidden. Click here to view all posts....
 
Previous - 1 | 2 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Alakran_64
The Syndrom/TIA/Pret..
fegolhuzz
csabanw
MWR/Visdom
grennouille
Guests online: 135
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 The Demo Coder  (9.6)
6 Edge of Disgrace  (9.6)
7 What Is The Matrix 2  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 No Listen  (9.7)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 X-Mas Demo 2024  (9.5)
7 Dawnfall V1.1  (9.5)
8 Rainbow Connection  (9.5)
9 Onscreen 5k  (9.5)
10 Morph  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Censor Design  (9.3)
5 Triad  (9.3)
Top Organizers
1 Burglar  (9.9)
2 Sixx  (9.8)
3 hedning  (9.7)
4 Irata  (9.7)
5 Tim  (9.7)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.15 sec.