Overview - presentation of the Master Music and Music Writing programs.

Возраждение #1
Today we bring to your attention
descriptions of our programs that we have completed
prepare for the publication of the first issue of the magazine
nala. We hope it will be tangible
contribution to the development of programs for operational
no is-dos system.
  Let's start with the 'MASTER MUSIC' package,
which could be found with the demo version
this magazine. At the moment this pa-
ket was expanded by us and already included more
more than a hundred melodies, but this is not the limit,
our Omsk hackers promised to plant
we still have about a hundred of them for the second issue
our magazine, so is-dos soon
there will be no time without sound. And
we are even sure that they will sound here soon
as in tr-dos, proprietary programs.

 A little history of the creation of the package, from the case -
our programmer Sergei K.:

S.V.: Sergey, how did you come up with the idea to create
 package?

Sergey: Honestly speaking, after creating it.

S.V.: And if you talk more about this.

Sergey: It all started when I un-
 Having mastered the work of assembler and linker
 Well, I decided to dabble with music and indie
 kators in is-dos, everything worked well,
 but it’s not too obvious to look at it
 blank screen. After sitting in the art studio (pi-
 I didn’t have casso yet) I sketched it
 lightly screen and transferred the non-
 how many melodies there were, in principle, there were no
 bad and not difficult. I've been with you for a few days
 lay down with music in is-dos while coming to me
 Grigory A. didn’t come, he also understood everythingI liked it, he asked where I got it
 package, this is mine, I replied, I’m happy that
 that the right word “package” was found. Yes
 one might say that this something appeared
 like something original.

S.V.: We heard that you want to work
 on the new version.

Sergey: Yes, it’s true, the next version will be
 children play not only sound tracker-
 Ov's melodies, but also Asm's, also
 if the melody is from asm then it will be given
 information on the name of the melody and of course
 the author of the melody will not be forgotten.

S.V.: Well, all the best in your
 necessary undertakings Sergey, we will wait
 your works, which we hope will be
 then go as an appendix to our magazine.

   Well, now we want to introduce the second
version of the program 'MASTER MUSIC', trans-
You can see the second version in the package de-
mo-version of the magazine 'Revival'.


══════════════ MASTER MUSIC ═════════════

  The 'MASTER MUSIC' package is designed for playback
creation of melodies in the is-dos system, created
in music editors 'sound trace-
ker' and 'pro tracker'.

The package includes the following files:

 m_music.com - melody player.
 --------.trk -translated melody.

  The melody starts when you select a file with
extension trk, and is done by pressing
enter.  To do this, in the main directory, in
in the extent.bat file you need to add the line:

trk:Q:MUSICm_music

  The player can be called from the monitor
ra and bat files by writing the following line:Q:MUSICm_music Q:MUSIC....trk

 - file name.

  Ringtones files are sent to the following address:
27000, because in my opinion for a programmer
using music in his program
3-kbytes (from 24000 to 27000), quite adequate
is sufficient for logic code, and after the meta-
The logo can contain text and graphics.
(don’t forget that you can actively work
both with ROM and with the is-dos manager).
  You probably guessed that the address is 27000
this is the initialization of AY, address 27006 start-
notes AY performed every 1/50th beat of the se-
kunda.
  Set the music to interrupt mode, don't
takes a lot of work, here is an example of how to use it
using IM-2 from the system:

Put on music:

       D.I.
       LD A,255
       LD HL,
       LD C,#1E
       RST 16
       CALL 
       EI
       RET

Remove music:

       D.I.
       CALL 
       XOR A
       LD HL,
       LD C,#1E
       RST 16
       EI
       RET


Interrupt handler example: MUSIC;

       DEFW 0 ;required fragment
                 to operate interrupts in
                 is-dos.
MUSIC CALL 
. RET As you can see, the interrupt mode works on much easier than in tr-dos. Yes, you can hangadditional residents remain unchanged New text of the old handler. We hope that all of the above would be It’s understandable that if you have any questions, dew or addition we will return to this topic again in order to reveal new possibilities details or clarify may be missing details. In the meantime, with the reader's permission, we let's continue. Today we have another presentation of new howl program also written by Sergei, for beginner users of Seccy. It's no secret that the user the first time sitting down at the computer something wants to do it with his own hands, in in most cases, quitting is not easy the matter is due to little experience in programming nii, but not many return to this again. If you notice when something is... It turns out that interest in this is growing more and more more than twice. In programming that the same law works flawlessly. to you lack of experience means you need to take up lighter. But how? You ask where programs with which a beginner can work whining, one or two and that’s it? Why should we read some hard-to-understand publications tions written by professionals with already the prevailing opinion about programming co- which a beginner can hardly understand. Where for us that service (except for gaming programs) ram), which we are constantly promised? And so we have to study for years to do something interesting. And not many have enough patienceit's good when you have friends I understand, it’s good when you see electronic magazine like 'SPERCTROFON', who can always lend a helping hand cabbage soup and give the answer to the question that torments you. Much has not yet been finalized you, the beginner will say, resetting the computer ter and download the game, you should wait until better times, maybe you'll understand someday be that you are losing a lot of programmers, computer musicians and artists, or you just don't need them? Well, I hope we managed to formulate to convey the thoughts of novice users, and this might serve as a lesson to those who is already doing something. It's time to solve this problem during the existence of Speccy in Russia. And now we give complete information on the bot of the music writing program: ══════════════ letter.com ═══════════════ Music writing program designed for a novice user. Here without with great effort you can create an original mini-musical with text scrolling in ticker and send to your friend, or better yet, two, flashing your mind (if they believe it). Possible for respectability write something really bad about someone and distribute to friends for larger circulation, there is really a danger here that someone may be lying in wait for someone in the dark under- driving. If this doesn't bother you too much, then we will continue. And so, let's start with the fact that the program co- consists of five moduleswith extensions *.com, *.scr, *.trk, *.txt, *.dat. Moreover the latter is optional. 1.File:letter.com -the most important program- ma working with other files. 2.File:letter.scr - simple graphic screen size 6912 bytes (drawn in any way) bum graphic editor). 3.File:letter.trk -music broadcast- located at 27000 (at your service MA- STER MUSIC with its extensive selection of music diy). 4.File: letter.txt - well, we’ve reached the end to the text for the crawling line (who doesn’t know there is no word cache, we advise you not to do this running lines are more than 2.5 KBytes, otherwise there will be garbage at the end of the line). They stuff her in the text editor is-edit. 5.File:letter.dat is an optional file, may be absent, it is designed to expansion of this program, i.e. insert special effects in addition, such as: snow, musical indicators, etc. People have Those with advanced knowledge of assembly language can easily Yes, write them, which is what we suggest you do (see competition). Some additions to the latest file lu: - the code is broadcast to the address 24349. - length should not exceed 2650 bytes. - do not use interrupt disablement. - standard output from your program: RET command. If you suddenly want to call up the music - a plain letter from a monitor or bat file, then naturally you need to open the directory where this program is located. Example: CAT_T T:letter =UTIL or others. In each directory and subdirectory there can be be your own collection of files because files are looking for - using the letter.com program only in the current catalogue. Well, this is where we can end this section. 'Review', although there is one more surprise left for those who like to draw in PICASSO. Nami written by a resident for management in graphics ical editor from sinclair joystick, sinclair.res. To use it, place Place this file on the floppy disk with PICASSO in directory PICASSOYC_INPUT, and rename to cursor.res. Now, in place of the usual ku- rsora will connect to the sinclair joystick. WE WISH YOU SUCCESS IN YOUR WORK IN IS-DOS!

Share your thoughts about the article