home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
UTILS1
/
DOUBLE.ZIP
/
MAKE_COM.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-02-06
|
1KB
|
28 lines
@echo off
goto Start
┌────────────────────
│ MAKE_COM.BAT █
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
Sun 02-06-1994 01:58:13
You can use this with any DEBUG.EXE script to make your *.COM file
and give you a text output to view. At the very least it will show
you that the program was compiled successfully or, what code lines
are in error -and- it will "calculate" how long your *.COM file
should be. Since all *.COM files start at the number 100 offset,
all you have to do is read the last offset and subtract 100 from it
to get the code length.
The folk who made the Assembly code for ISIT_DBL.SCR didn't know
that little trick and set the code length (in Hex) to AEh or 174
bytes; the actual code length (in Hex) is 2Dh or 45 bytes.
Just enter the script file name without the *.SCR extension.
John De Palma on CompuServe 76076,571
:Start
debug < %1.scr > %1.txt