System - description of the SCREEN EDITOR program for creating “pictures” made up of color sprites.

Realtime #02
 Today in the 'SYSTEM' section you can
 find out what the program is
 Ma SCREEN EDITOR V.1.0, which I wrote
 Klubov V.N. (SCREEN EDITOR V.1.0 ACTION
 GROUP 1995).                             
                                          
   The SCREN EDITOR program is intended
 to create "pictures" made up of
 colored sprites. In the program you can
 edit sprites and compose from
 them a “picture”, and then upload it to disk
 file that will contain the numbers
 sprites and a file that will contain
 The sprites themselves (colored).  This will allow you
 having compiled a special program, output
 "picture" on the screen.  SCREEN program
 EDITOR will be very useful to those who de-
 barks game programs with multiple screens
 new                                     
                                          
                                          
   Description of the main functions of the program.   
                                          
   After loading the program, press the key
 shu  and you will be taken to the main menu,
 in which you will have access to the following
 options.                                   
                                          
             1.Initialization              
             2.Working with the layout           
             3.Screen editor4.Element editor         
             5.Working with the drive        
             6.VERSION NUMBER             
             7.Exit                      
                                          
 Cursor control in SCREEN program
 EDITOR is carried out using the keys
 6,7,8,9,0 (INTERFACE II). Point the
 box to the option you need and press <0>. 
                                          
                                          
             1.INITIALIZATION              
                                          
   After you select this time -
 The main menu will appear in front of you
 table with parameters required for operation
 programs.  You can choose the one you need
 sprite and screen size, and you can
 clear all elements of the bank that corresponds
 holds sprites.                          
                                          
             Element size.             
                                          
   You can choose the size you need
 sprites (in familiar places) that you will-
 those edited vertically and horizontally
 umbrellas.  Maximum sprite size,
 which you can set equal to
 horizontally 6 familiar places and vertically
 6 acquaintances. To change
 the size of the sprites is enough to hover
 litter onthe corresponding inscription and press
 key <0>.                             
                                          
    Screen size (default 01X01)    
                                          
   You can choose the size you need
 wound also by hovering the cursor over the corresponding
 the inscription and pressing the <0> key.  Dimensions
 screens will change accordingly
 sprite sizes.                       
                                          
            Cleaning elements.            
   All sprites in the computer memory are cleared -
 are (memory cells of which they consist
 sprites are filled with zeros).             
                                          
        OK - exit to the main menu.       
                                          
                                          
           2. OPERATION WITH THE DISK DRIVE          
                                          
                                          
   After you enter this me-
 Nu, you can perform the following operations
 tions.                                     
                                          
              Reading the layout.              
                                          
   After selecting this option, a message will appear.
 "Insert disc and press ".
 Feel free to press the <0> key and the program
 reading the catalogwill select floppy disks for himself
 files with a length of 6912 bytes, the names of which are
 which will appear on the screen. Choose what you need
 the file given to you and the program will load it into
 computer memory or refuse the choice
 ra using the  option.             
                                          
              Screen reading.              
                                          
   When you select this option, the
 The message "Insert disc and press
 ".  Feel free to press the <0> key and
 the program will start searching for files on the disk
 with the extension .С, whose name ends -
 is formed by three characters ".sc" (files created
 data from the SCREEN EDITOR program).  These
 files contain sprite numbers, from which
 consists of a "picture". All file names
 meeting these requirements will appear
 on the screen and you can either select them,
 or use the  option to reject them
 boron.                                    
                                          
             Reading elements.            
                                          
   This option is so that you can
 load sprites from
 which will make up the “picture”. After
 selecting this option on the screen, no matter how
 strange, the message appears again
 "Insert disc and press". After
 after you pressed the <0> key
 Ma will search the disk for files with the extension
 .S, whose name ends with tr-
 Named with the symbols ".el" . The names of such files
 after appearing on the screen, you may be able to
 chosen by you.                      
                                          
              Screen recording.              
                                          
 This option allows you to record
 the screen you edited to disk. After you
 When you select this option, you will be prompted for the name
 no recordable file (WARNING! Be
 be careful and careful when working in disco
 on the menu, because if you choose
 You will no longer be able to use the "Screen Record" option.
 exit it without writing the file to disk, es-
 whether you press  of course or not sure
 remove the disc from the drive when recording, which
 will cause the system to freeze. One more
 unpleasant feature of this program
 is that if, when recording in a disco
 water there is a disk with a protector (sealed-
 Whoa) the program freezes. Let's hope
 that in subsequent versions there will be defects
 have been eliminated.) When prompted by the program, enter
 Enter the 5-character name you need and press
 Press the  key.                    
                                          
             Recording elements.After you select this option
 a name request will appear (when writing an element
 there are the same program crashes
 ,as with screen recording) enter the name from
 five characters and press .
 The program writes the entire bank of Ba-
 nary elements that are in memory.  
                                          
        OK - exit to the main menu.       
                                          
                                          
                                          
            3.WORKING WITH THE LAYOUT            
                                          
   The SCREN EDITOR program allows you to select
 get you from any picture (raster
 file + attributes) 6912 bytes long sprite-
 you and add them to the element bank. When you
 enter this subsection of the main menu
 ,You will see a piece of your favorite picture
 from which you are going to cut the sprite
 you, but if you only see black
 square, then try uploading a picture
 option "Load layout" in the "Working" section
 the one with the disk drive." (Although you can cut out
 from the "black square", Malevich will not offend -
 Xia). And when you see that the picture on
 in your place, you can start working.
 the cursor is located in a piece of your image
 quadrilateral, the same size as wa-
 shi elements. In the back left corner there is a displaythe coordinates of the quadrangular course are compressed
 ra regarding the picture. In the lower right
 corner there are two quadrangles and
 number of the element you are working with
 at the moment.  In that quadrangle
 which is closer to the image
 piece of your picture, you can see that
 part of your picture that is
 under the cursor, and in another quadrilateral
 The element with the "Nth" number is displayed.  
                                          
        Options for working with the layout.       
                                          
                  Layout.                 
 By selecting this option you will be able to move
 quad cursor on the picture on
 areas you need, then click
 key <0>.                            
                                          
                  To the bank.                 
 This option allows you to display an image
 which is located under the quadrangular hem-
 copy the trash into the element with the "Nth" number
 by measure.                                   
                                          
                Next.                
 Using this option you can go to
 working with the next element.           
                                          
                Previous.               
 Using this option you can go to
 workwith the previous element.           
                                          
        OK - exit to the main menu.       
                                          
                                          
                                          
           4. ELEMENT EDITOR           
                                          
   By selecting the main menu option "Editor
 elements" you can draw the desired
 You need a sprite, color it in different colors
 and place it in the element bank. Also you
 you can take some electronics from the bank
 ment for revision.  When you enter
 you will see the submenu "Element Editor"
 a lot of interesting things: There are a lot of things on the right side of the screen
 inscriptions in Russian and English. In
 There is an image in the lower right corner
 element, and to the left of the inscriptions there is a large
 area of the screen where you can type
 people and edit enlarged images
 element reflection.                        
                                          
              Description of options.             
                                          
 There are four options on the screen in which
 You can install the knowledge you need
 attributes: PAPER, INK, BRIGHT and FLASH.   
                                          
                                          
 PAPER and seven multi-colored squares.This option is used to change colors
 sprite, or rather to change PAPER
 component of color. Choose the one you need
 color, the arrow pointer will move
 under the corresponding square, but in the image
 This will have no effect on the element.
 The colors on the sprite itself need to be set
 as follows: you need to move the cursor
 to the segment you need 8*8 pixels ma-
 small sprite image and click
 key zero, after this operation this
 the segment will accept all the attribute you select
 you (PAPER, INK, FLASH, VRIGNT).             
                                          
   INK and seven multi-colored squares.   
                                          
 Moving the pointer from the square to
 square You can change the current color
 INK.                                     
                                          
                  VRIGNT.                 
                                          
 The word BRIGNT translated from English is
 brightness starts. Below the words BRIGHT on the e-
 there are two squares on the wound, on one
 number 1 is depicted on one, and 0 on the other.
 if the pointer is under the number 1, then
 brightness is on, otherwise it is off.    
                                          
                  FLASH.                  
                                          
 Under the FLASH option, as under the BRIGHT option
 there are two dice with numbers 1 and 0, you can
 You can set the pointer to 1 and then
 colors will flash, or you can turn it off
 blinking, moving the pointer to the number 0. 
                                          
 Below the options that change attributes are the options
 changing the way the raster is edited
 new sprite image. In order to
 to switch them you need to hover the cursor over
 the corresponding inscription and press the key
 <0>.                                     
                                          
            SET - installation.            
                                          
   When editing a raster image,
 You can only set a point.  
                                          
              RESET - reset.              
                                          
   If you select this option, you can
 just erase the dots.                    
                                          
            TOGGLE - change.           
                                          
   If you choose
 this option, then the first time you press the dot
 will be established, and the second time it will be erased.    
                                          
   The last two options are related to color.  
                                          
                   Color.With this option you can set,
 whether the element's attributes will be displayed
 on an enlarged sprite that you cannot
 edit it slowly or it will be mo-
 nochrome (INС 7, PAPER 0). But on the attribute
 this will not reflect the element itself in any way -
 Xia.  This option is for ease of editing
 testing.                               
                                          
                 Inversion.                
 This option is used to invert the raster
 sprite structures, this option does not work
 changes the sprite's attributes when selected
 this option, all points with color INK are reset
 sit down, i.e. will take on the color PAPER, and the points with
 on the contrary, the color PAPER will be installed and will
 have the color INK.                          
                                          
        OK - exit to the main menu.       
                                          
                                          
                                          
   So, you drew some kind of sprite, but
 this sprite image needs to be entered into
 bank of elements to use it
 to edit the screen.In order to
 bring a sprite to the bank or take a sprite from
 bank you must work in the submenu "Work
 with elements" press the  key,
 After this, a “window” will appear on the screen,
 which you will seeinteresting letters,
 numbers and squiggles.                     
                                          
              Description of the window.              
                                          
             Left side of the window.            
                                          
 On the left side of the window there is an image
 element whose number is above
 image.                            
                                          
            The right side is the window.            
                                          
 To the Bank - Who thinks that he is reading the description-
 development of a program to help you invest
 money to the bank via INTERNET, that
 very wrong. The "To the bank" option allows you to
 allows you to place a small image of an element
 the one in the lower right corner
 screen lu to the bank of program elements
 SCREEN EDITOR.And this image will be
 stored in an element bank (three liters)
 howl), under your number until you
 don't put another image in its place
 tion or until you enter the submenu
 "Initialization", and change the parameters there
 sprites.                                
                                          
 From Bank - This option allows you to place
 to the screen to edit an element from
 bank                                  
                                          
 Next - Cusing this option you can
 change the work item number that
 reflected in the upper left corner of the "window".  
                                          
 Previous - With this option you can
 You can change the work item number.   
                                          
    OK - exit to the "Element Editor".    
                                          
                                          
                                          
            5.SCREEN EDITOR             
                                          
   After you log in this time-
 Main menu items you will see highlighted
 color, your working screen, the dimensions of which
 you installed in the "Initialization" section
 tion", and a rectangular cursor located -
 within the boundaries of your screen. The dimensions of the chicken are
 litter are the same as those of your elements. For
 edit screen move the chicken
 litter, and where you need to leave the items.
 To change the work item number
 press the  key and the screen will display
 there is a "window" in which there will be
 shows the number of the work element, and under
 The number shows the element itself.           
                                          
             Working in the "window".             
                                          
  6 - Switch to work with the previous one  
      element number.7 - Switch to work with the next one  
      element number.                   
  8 - Go back ten elements.  
  9 - Move forward ten elements. 
  0 - Exit the "window" to the screen editor.  
                                          
  To exit to the main menu from the section
 "Screen Editor", enter the "window" to
 select an element and press CS + SS.     
                                          
                                          
             6.VERSION NUMBER.            
                                          
   And without a description it’s clear: it gives out the number
 program versions.                        
                                          
                                          
                 7.EXIT.                 
                                          
   If you are tired of working in the program
 SCREEN EDITOR, then feel free to choose this op-
 tion, and a “window” will appear on the screen. In which
 rum you will be asked to go to SOS (STANDART
 OPERATION SYSTEM), in DOS (DISC OPERATION
 SYSTEM), or stay in the editor.     
                                          
                                          
                                          
         Program characteristics         
            SCREEN EDITOR V.1.0           
                                          
 1. The stack is installed by the program on ad-
 res 24999.                               
                                          
 2.Maximum sizes of elements in sign-
 places 6X6.                              
                                          
 3.Maximum number of elements 255. 
                                          
 4.X-LIN element format (sprite format
 in which the sprite is located in memory
 line by line, i.e. line 1, followed by line 2 and
 etc.)                                    
                                          
 5.X-LIN attribute format.                
                                          
 6.Name and extension of the file from the element -
 mi "?????.el"."C" .                      
                                          
  a.The starting address for recording elements is 44224.
                                          
  b.Address na_ala (from 1 element) raster
    images of elements - 44224.        
                                          
  c.Address of the beginning of element attributes  
    57024, but always from the address 57024 located
    the attributes of the last edited
    my element, the program apparently
    uses the first few bytes (co-
    quantity depends on the size of the elements)
    from address 57024 for your work and that’s it
    time writes the attributes of the last
    it is editableitem .But you
    these few bytes won't be needed,
    so for each specific
    case (depends on the size of the
    ments), calculate the address of the beginning of the attribute
    boot from base address 57024.       
                                          
 d. The length of the element file is 14400 bytes.  
                                          
 7.Name and extension of the screen file
 "?????.sc"."S" .                         
                                          
  a.The screen recording start address is 43456.   
                                          
  b.The length of the screen file depends on its
    format, and on the format of the elements:      
                                          
           Minimum - 1 byte.          
         Maximum - 768 bytes.         
                                          
                                          
  And one tip: after downloading the program
 be sure to enter the submenu "Initial-
 ation".                                  
                                          
                                          

Share your thoughts about the article