home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / UTILS1 / DOUBLE.ZIP / MAKE_COM.BAT < prev    next >
DOS Batch File  |  1994-02-06  |  1KB  |  28 lines

  1. @echo off
  2. goto Start
  3.  
  4.                         ┌────────────────────
  5.                         │    MAKE_COM.BAT    █
  6.                          ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
  7.  
  8.                        Sun  02-06-1994  01:58:13
  9.  
  10.      You can use this with any DEBUG.EXE script to make your *.COM file
  11.      and give you a text output to view. At the very least it will show
  12.      you that the program was compiled successfully or, what code lines
  13.      are in error -and- it will "calculate" how long your *.COM file
  14.      should be. Since all *.COM files start at the number 100 offset,
  15.      all you have to do is read the last offset and subtract 100 from it
  16.      to get the code length.
  17.  
  18.      The folk who made the Assembly code for ISIT_DBL.SCR didn't know
  19.      that little trick and set the code length (in Hex) to AEh or 174
  20.      bytes; the actual code length (in Hex) is 2Dh or 45 bytes.
  21.  
  22.      Just enter the script file name without the *.SCR extension.
  23.  
  24.      John De Palma on CompuServe 76076,571
  25.  
  26. :Start
  27. debug < %1.scr  > %1.txt
  28.