home *** CD-ROM | disk | FTP | other *** search
/ Oakland CPM Archive / oakcpm.iso / cpm / basic / rs2ms.doc < prev    next >
Encoding:
Text File  |  1984-05-14  |  2.0 KB  |  47 lines

  1.              RS2MS.DOC - Documentation for RS2MS.BAS
  2.  
  3. RS2MS.BAS (originally named MYRS2MB) Version 1.0 was written by Ed Mahoney
  4. 28 May 1983.  This program will convert a Radio Shack Model I or Model 3
  5. BASIC (or Disk BASIC) program to a Microsoft BASIC 5.1 program.
  6.  
  7. REQUIREMENTS:
  8.  
  9. 1) Your computer that will be running the Microsoft program
  10. must be able to 'print at' specific locations on your screen.
  11.  
  12. 2) The Radio Shack program that is to be converted, must exist
  13. on disk and be stored in ASCII format.
  14.    a) This program must not have line numbers 1 or 2 (the conversion
  15.       process will place statements in these positions)
  16.    b) The statements in the Radio Shack program must not be extremely
  17.       long, say greater than 220 characters long. (The program will
  18.       expand each line.)
  19.    c) The Radio Shack Program should not have the following statements:
  20.       PEEK  POKE  SET(x,y)  RESET(x,y)  POINT(x,y).  (These statements
  21.       are machine dependent).  If these 5 statements are present, they
  22.       will be passed on to the MBASIC with a REM statement appended to
  23.       the end that warns you that you will have to do some additional
  24.       conversion (good luck!).
  25.  
  26. 3) FINAL WARNING: This is only version 1.0. This utility has not been
  27. extensivly tested.
  28.  
  29. WHAT IT DOES:
  30.  
  31.    1) converts the RND function to MBASIC standards
  32.    2) converts Radio Shack's CLS statement to a print code
  33.    3) converts Radio Shack's PRINT @ ##, to a printable code
  34.    4) 'pads' all statements with spaces which MBASIC requires (and Radio
  35.       Shack does not).
  36.    5) Identifies statements that are machine dependent (ex. PEEK or SET
  37.       with a warning at the end of the statement and provides a table of
  38.       the bad statements at the end of execution.
  39.  
  40. INSTALLATION:
  41.  
  42. The conversion process will make certain Radio Shack statements
  43. into printable 'escape codes'. You must know the two escape code
  44. sequences for your computer (or terminal):
  45.    1) clear the screen and home the cursor
  46.    2) print at a screen location (Row,Column)
  47.