home *** CD-ROM | disk | FTP | other *** search
- ;=============================================================================
- ; This example illustrates how to upload and download patch
- ; banks from/to a DX-7
- ;
- ; (c) Copyright 1989 by DMA Software
- ; All rights reserved
- ;=============================================================================
- ;
- ; First, we do the upload
- ;
- flushbuffer ;prepare to receive data
- sysex 0x43 0x20 9 0xF7 ;request bulk dump from DX-7
- timeout 5 ;if nothing is received for 5 seconds,
- ;we'll timeout
- receivefile e:sysex.dx7 ;write data to file
- ;
- ; Then, we do the down load
- ;
- sysex 0x43 0x10 0x19 83 0 0xF7 ;This sysex turns off memory protect
- pacing 512 ;Report status every 512 bytes
- sendfile e:sysex.dx7 ;Now, send the file from above
-