View Full Version : Demo
sbrbot
12-22-2007, 01:12 AM
Two months ago we started thread about operating system used in CVP machines and discussion came to Demo disks (see this (http://cvpug.com/forums/showthread.php?t=2287&page=2)).
Does anybody have any info about this demo on CVP-40x serie? This feature where CVP shows few HTML pages and BMP images with MIDI songs looks to me very attractive. I'd like to create few demos but cannot find enough information how this functionality is supposed to work.
Midi Magic
12-22-2007, 04:29 AM
Hi
This may , or may not help. I have found an old email which I had printed out concerning the HTLM demo for the cvp3xx.
Rename the batch file to match the model:
yamaha_dmi_30n.bat where n + 1, 3, 5, 7, or 9; and yamaha_dmi_309GP.bat
So in your case try yamaha_dmi_40n
Change ALL drive references in the batch file AND in the html files from "A:\" to "F:\" as the floppy drive now seems to be F.
I would love to try it at my local dealer but they don't leave the floppy drives out on show as they would go missing. Also they get a bit susspect if you start putting strange floppies in their pianos.
Give the above a try and let me know how you get on.
dbjorck
12-23-2007, 03:00 AM
Hi!
I can confirm that changing A to F works on the 309GP at least.
Although it says "cannot display bitmap" a lot.
Brgds
Danny
sbrbot
12-24-2007, 06:23 AM
Unfortunately (or unfortunately for this particular case) CVP-40X serie does not have floppy disk drive at all (there's no SmartMedia slots as well). So my CVP-403 does not have FDD either.
I have FDD with USB connector from my notebook. I created formatted floppy diskette and put demo files on it (in root of diskette), inserted FDD into CVP and nothing happened. For my CVP this FDD is another USB disk (totally the same as USB stick). CVP recognized my FDD as USB drive, show it in list of USB drives and I'm able to see MIDI files on it but nothing else. Nothing started automatically.
Demo files I used are here:
Midi Magic
12-24-2007, 06:36 AM
Hi
If I recall the 403 does not have a colour screen, so maybe it will not take a BMP file.
Have you tried taking out every thing except for the BAT and midi file? I.E just try and get the bat file to only play the midi file.
As you can see the 2xx has a different bat file name YAMAHA_EKB2001.BAT
The 3xx seems to work with YAMAHA_dmi_307.BAT
Maybe the 4xx is different again. Have you tried changing the .bat into .BAT
I only have an old 209 so I can not try it on a 3xx or 4xx cvp.
I have just spoken to Yamaha Tech and the first guy I spoke to had never heard of such a disk. The second guy remembered it and said it was done just as a demo for the 2xx and it was made in Japan.
There is NOT one for the 4xx and the only suggestion was to play around and try to see if it works.
The main problem seems to be the correct name for the BAT file.
sbrbot
12-25-2007, 03:47 AM
That's correct, CVP-403 has monochrome display but BMPs on demo disk are only 2 bit images (black and white). My CVP should display them since it displays mono images from IDC just fine. However, although I'm loosing hope now, I'll still keep trying it.
dbjorck
12-25-2007, 04:28 AM
Hi!
It may be case sensitive. Try YAMAHA_dmi_403 as a file name. And inside the file, try F: instead of f:.
Brgds
Danny
sbrbot
01-08-2008, 05:01 PM
I didn't give up!
It seems that my CVP-403 really reads YAMAHA_dmi_403.BAT file. This file is in root of my USB memory stick. CVP does not read it when I insert my USB stick while CVP menu is in starting (root) level (I mean top menu level which you have when you turn CVP on). If I'm in song select menu level (where my CVP already has read drives PRESET/USER/USB1) and I insert USB stick with YAMAHA_dmi_403.BAT file, it reports the following warning message:
There is edited data in "Regist". Please save the data.
Stop the auto execution routine? [Yes][No]
First of all this note of auto execution routine is excellent! I have no idea what CVP means with this "Regist"!? I emphasize that I had no data that were left for saving. This message I get even when insert USB into CVP in song select menu level after restarted CVP. After pressing [Yes] nothing is happening (auto execution stopped!), if I press [No] I get the error message (depending on YAMAHA_dmi_403.BAT content):
Auto execution syntax error. Command error!
or
Auto execution error. Command parameter is not correct!
Afterwards changing the drive letter to D:\ I got the error message:
File not found, or file isn't appropriate!
or even
Cannot display the HTML file.
when I put only "D:\demo.htm" in YAMAHA_dmi_403.BAT file (where demo.htm is existing HTML file on USB stick taking into account exact letter case).
One thing is sure, CVP reads YAMAHA_dmi_403.BAT. I know that because when I have loop like this:
LABEL TEST
"D:\demo.htm"
WAIT 1000
GOTO TEST
it loops and repeatedly reports the same error message.
The content of demo.htm is:
<html>
<body>DEMO</body>
</html>
dk21208
01-10-2008, 03:50 PM
Do you think Yamaha has changed to new command words in the 400 series? I got identical results to yours on my 407 last night. I will try to see how the 303 responds in the next couple of days for a comparison.
sbrbot
01-10-2008, 05:05 PM
Do you think Yamaha has changed to new command words in the 400 series?
I don't know, it could be that Yamaha changed something. Firstly I tought Yamaha stopped with this functionality but now we can see that commands LABEL, GOTO and WAIT work. SONG_START does not work or the syntax has been changed (maybe requires additional parameter).
I got identical results to yours on my 407 last night. I will try to see how the 303 responds in the next couple of days for a comparison.
I just want to encourage you to keep trying in finding the solution. I've been searching Internet for few months and haven't found anything related to this matter. Realy strange that Yamaha did not write even a word about it!
Midi Magic
01-10-2008, 05:55 PM
The only info I have found is as follows:
Midi Magic
01-10-2008, 05:57 PM
More info:
Midi Magic
01-10-2008, 06:00 PM
I had to zip this page as it was too big.
sbrbot
01-10-2008, 09:00 PM
Where is page 59? In zip file you zipped page 60 which was already attached before.
dk21208
01-10-2008, 11:15 PM
Got it!
It was a matter of finding the right drive letter. I just checked the contents of the 400 series USA Edition disk. Turns out this is where the naming convention of the .bat file comes from. When I opened the file I discovered that the usb drive is letter I. I was so close last night. I had tried everything from A-H. I gave up after that thinking there was no way the drive assignments would go higher than that...
Anyways, after changing all the references in the batch file and the html files it all loaded and ran beautifully.
dk21208
01-10-2008, 11:22 PM
Hi!
I can confirm that changing A to F works on the 309GP at least.
Although it says "cannot display bitmap" a lot.
Brgds
Danny
Danny,
Now that I have had success and seen how the demo works I am pretty sure your bitmap errors are due to invalid references within the html pages associated with the demo. If you open up the source of the offending pages you will find image references that need to be changed from A to F. Everything should run nice and smooth after that.
Midi Magic
01-11-2008, 03:57 AM
Opps I missed it.
sbrbot
01-11-2008, 07:49 AM
Thank you Midi Magic for scanning these pages but what book/manual these page are from?
sbrbot
01-11-2008, 08:18 AM
Got it!
Bravo maestro! I checked on my CVP-403 and drive letter I is the one, SONG_START command works fine! MIDI is played with this command. WAIT SONGEND works. HTML pages are displayed with .BMP images. That's it.
It was a matter of finding the right drive letter. I just checked the contents of the 400 series USA Edition disk. Turns out this is where the naming convention of the .bat file comes from. When I opened the file I discovered that the usb drive is letter I. I was so close last night. I had tried everything from A-H. I gave up after that thinking there was no way the drive assignments would go higher than that...
I tried drive letters until "G:" and gave up with the same assumption that there was no chance the driver letter assignments would go higher that that. BTW, what would be letters C,D,E,F,G,H for. Also I was mislead with different error message when had defined drive letter "D:".
dk21208
01-11-2008, 09:19 AM
I tried drive letters until "G:" and gave up with the same assumption that there was no chance the driver letter assignments would go higher that that. BTW, what would be letters C,D,E,F,G,H for.
C: is the interal drive. Not sure on the others.
Also I was mislead with different error message when had defined drive letter "D:".
That got me too. I was stuck on the thought that you had success with D: but we couldn't get the syntax correct. That is why I was jumping to the conclusion that maybe they had changed the commands a little.
dk21208
01-11-2008, 09:42 AM
Here are a few more commands you might be interested in:
COPY TO
example - COPY "i:\sample.mid" TO "c:\sample\"
LOAD_DSKTOP
example - LOAD_DSKTOP "i:\sample.bmp"
These would be a little invasive in a simple demo, though.
vBulletin® v3.6.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.