[net.micro.cpm] New PD Program to save memory

STORK@mit-mc.ARPA (Eric Stork) (04/18/85)

 This message announces the availability of SYA.LBR.1
 in SIMTEL-20, Directory MICRO:<CPM.WSTAR>
               CONTENTS
 Filename                Type     Bytes   CRC
 SYA.AQM                 BINARY   18048  BD9EH
 SYA.DQC                 BINARY    3968  C3B0H
 SYA-WS.COM              BINARY    2816  7185H

 The following is an extract from the DOC file:


 It shouldn't happen -- but it does.

 You're  using  your  favorite word processor -- a report, letter,
 program, what-have-you -- and a glitch locks up the terminal.

 Of  course, if you know a lot about how CP/M's memory works, have
 DDT   or   its   equivalent   available,   don't   overlay   your
 text-in-memory  with  DDT  or  its  clone,  know  where your word
 processor's edit space begins, know how to move  the  content  of
 memory  to 100H, know how to find the end of your text in memory,
 know how to figure the number of pages to save -- if you know ALL
 of the above you can save your assets and start over.

 But now there is a better way to SAVE YOUR ASSets - enter SYA.


 SYA is a 3k program that you should keep handy.  Menu-driven,  it
 can  be figured out easily even if yu've not used it for a while.
 If you screw up, just exit SYA and invoke it  again.   Since  you
 don't  have  to  move memory around, you can try as many times as
 you like so long as you don't turn the power off.

 Here's what SYA does:

     .   Starting at the beginning of  the  editor's  storage
         space, SYA dumps memory to the console.

        ..  DUMPing can be a screen-full at a time, or a line
            at  a  time.   Set and reset as you like with the
            'L' command.

        ..  All control characters (exept CR,LF, &  TAB)  are
            filtered  from  the  console,  to keep the screen
            from doing weird graphic things.

        ..  If you DUMP past your text, you'll get garbage on
            the screen, but that will stop eventually.   Then
            you can do 'L', 'B', or 'T' -  see below.

        ..  If you get a long run of garbage without stopping
            (because   SYA   doesn't   encounter  a  stopping
            character), hit any key to  interrupt  the  DUMP,
            then do 'L', 'B', or 'T'.

     .   After each screen, or each line in single-line mode,
         a SPACE or CR will continue DUMPING.

     .   'B' will ask you how many lines you want to back up.

     .   'T' puts you at the TOP of the storage space  again,
         and DUMPS from there.

     .   'L'   (for   LINES)  asks  if  you  want  PAGING  or
         SINGE-LINE dumping.

     .   'S'  will SAVE your file from its beginning to where
         you were when you typed 'S'.

     .   'M' gives you a MENU of options.

     .   'X' will EXIT.  So will ^C.


         I wrote SYA for my own and some friends' use.  As of
         now  it  works  only with Wordstar 3.0, and with the
         old TSC line editor.

 You can easily set up SYA.ASM for YOUR favorite editor, or for any
 other  program  that  uses a defined area   of memory for data (it
 should work for dBASE-II, SUPERCALC, etc.).


 Eric Stork
 STORK%MIT-MC

                                ###