home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgLangD.iso / Assembly / READ.ME < prev    next >
Text File  |  1979-12-31  |  8KB  |  137 lines

  1.  
  2.                                            
  3.                               About the Diskette
  4.  
  5.  
  6.                 This diskette contains both the .ASM and .COM versions of all 
  7.         the end-of-chapter examples in the book Advanced Assembly Language for 
  8.         the IBM PC. In the order they appear in both the book and on the 
  9.         diskette, these programs are: LOCK, UNLOCK, KEEPER, DIREX, PHOTO, 
  10.         CACHE, and LOCATE. In general, the use of these programs is kept 
  11.         straightforward, making the programs easy to use. Here is an overview 
  12.         of each program.
  13.         
  14.         LOCK and UNLOCK
  15.         
  16.                 This pair of programs let you encrypt files with medium 
  17.         security (a determined specialist was able to break the code in about 
  18.         28 hours of steady effort). To use them to lock a file named FILE.EXT, 
  19.         just type "LOCK FILE.EXT FILE.SBL", where FILE.SBL will be the 
  20.         scrambled version of the file. If you do not supply a second file name, 
  21.         LOCK will name the file FILE.LOC. 
  22.                 LOCK will ask you to type a pass-phrase. Once you do, the file 
  23.         will be encoded from a key made from the ASCII characters in the 
  24.         phrase. To decode the file, type "UNLOCK FILE.SBL FILE.EXT", and 
  25.         FILE.EXT will be regenerated. Be sure you type the SAME pass-phrase. 
  26.                 It is possible to double the security by encoding an 
  27.         already-encoded file a second time, but make sure to use the 
  28.         pass-phrases in reverse order of application.
  29.                                              
  30.  
  31.         KEEPER
  32.         
  33.                 KEEPER stores your DOS commands and lets you recall them. As 
  34.         KEEPER.ASM is set up on the diskette, it uses ^N as a trigger key. To 
  35.         install KEEPER, just run KEEPER.COM. If you want to recall some 
  36.         previous DOS command, type a ^N. A reverse-video window will appear on 
  37.         the screen with the last eight DOS commands. Using the cursor keys, you 
  38.         can make the command you want to recall blink. When you type another 
  39.         ^N, the command is re-entered at DOS level and the window disappears. 
  40.         If you don't want to choose any of the available commands, leave the 
  41.         blinking cursor on the bottom line and type ^N. No DOS command will be 
  42.         entered.
  43.                 If you want to use a trigger key other than ^N, enter the scan 
  44.         and ASCII codes of your trigger key into KEEPER.ASM in the one location 
  45.         indicated and reassemble KEEPER.
  46.         
  47.                 
  48.         DIREX
  49.         
  50.                 This utility is a directory manager. It has seven commands, 
  51.         which appear on the bottom of the screen for reference. The rest of the 
  52.         screen is filled with the file names of the current subdirectory. To 
  53.         use DIREX, move the reverse-video cursor that highlights file names 
  54.         around the screen with the cursor keys. You can select a number of 
  55.         files and perform an operation on them en masse (protecting, deleting, 
  56.         copying, etc.). To mark a files for further work, move the cursor to 
  57.         their name and press the space bar. The file name will stay highlighted 
  58.         when you move the cursor away. This file has now been marked. To unmark 
  59.         a file, move the cursor to its name and press the space bar again.
  60.                 After you have marked the files, you can delete them all at 
  61.         once with the D command, protect them as read-only with P, unprotect 
  62.         them with U, or copy them to a new path with C. When you press C, DIREX 
  63.         asks you for the path name the files are to be copied to (e.g., B: or 
  64.         C:\ARCHIVE). You can work on the files in any subdirectory by using the 
  65.         N, or new directory command. When you press N, DIREX will ask you for a 
  66.         new path name to make the default. To quit, use Q.
  67.                                                         
  68.  
  69.         PHOTO
  70.  
  71.                 This utility is a small screen manager. It is a memory-resident 
  72.         program that allows you to capture screens for later use, or to recall 
  73.         a few select screens that you have created yourself. For example, if 
  74.         you are assembling a file and there are some errors, you can save the 
  75.         screen (with ^N as PHOTO.COM is set up), edit the file, and then, while 
  76.         still in your editor, recall the screenful of errors with another key 
  77.         (^F as PHOTO.COM is set up). Once the recalled screen is displayed, 
  78.         touching any key restores the screen to its original condition (i.e., 
  79.         before you pushed ^N). 
  80.                 You can also install up to three of your own screens in memory, 
  81.         to be recalled with other control characters (^A, ^B, and ^C as 
  82.         PHOTO.COM is set up). When PHOTO.COM is run, it searches for the three 
  83.         files A.DAT, B.DAT, and C.DAT, in that order. Each file should be 
  84.         exactly 2000 bytes long. If they are not there, PHOTO will still run 
  85.         without problem. If, however, they are there, they are loaded into 
  86.         memory to be recalled at will. On this diskette is a sample file, 
  87.         A.DAT, with a screenful of ASCII codes that can be recalled at any time 
  88.         (by pressing ^A). To install your own trigger keys, simply enter the 
  89.         correct scan and ASCII codes as marked in PHOTO.ASM and reassemble the 
  90.         program.
  91.                 
  92.  
  93.         CACHE
  94.         
  95.                 This program is a write-through disk cache system. It stores 
  96.         the most frequently used sectors in memory. The next time these sectors 
  97.         are read by some program, CACHE supplies them from memory instead of 
  98.         reading them from the disk. It is a "write-through" cache because as 
  99.         sectors get written, their copies in memory are updated as well.
  100.                 This system is different from the buffers DOS uses, since the 
  101.         buffers are flushed when a program exits. With CACHE, you can go 
  102.         through the edit, assemble, and link cycle many times and save time 
  103.         each time you do since CACHE always stays in memory. 
  104.                 As CACHE.COM is set up, it will store up to 64 sectors in 
  105.         memory. You can change this by changing the one marked location in 
  106.         CACHE.ASM (the minimum is 24 and the maximum is 124).
  107.         
  108.  
  109.         LOCATE
  110.  
  111.                 LOCATE tries to find character strings in files. If you type 
  112.         "LOCATE This is a test.", LOCATE will try to find the character string 
  113.         in all the files in the current subdirectory. If a match is made 
  114.         (LOCATE is case-sensitive), the name of the file and the line in which 
  115.         the match was found are both printed out.
  116.                 Besides searching the current subdirectory, you can have LOCATE 
  117.         search other directories as you require. To do this, place a file named 
  118.         PATH.DAT in the main directory of the current disk. In this file, place 
  119.         the names of the other paths you want LOCATE to search. Terminate each 
  120.         path name, even the last one, with a <cr> <lf>. Here is a sample 
  121.         PATH.DAT:
  122.         
  123.                                 A:
  124.                                 \ARCHIVE
  125.                                 \RECORDS
  126.         
  127.         LOCATE will read in PATH.DAT and search all the files in those paths 
  128.         for the specified string as well.
  129.  
  130.  
  131.         
  132.  
  133.  
  134.  
  135.  
  136.  
  137.