home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
assemblr
/
editor
/
asmed.man
< prev
next >
Wrap
Text File
|
1989-10-26
|
11KB
|
241 lines
ASMED (C) 1989 - The Integrated Programmer's Editor
(Hey, I know most people won't bother to read this file. It's only a
couple of short pages - and you NEED to read it to get anything out of
this program!)
Thank you for trying ASMED. First, let me tell you what it does:
---------------------------------------------------------------------
Turbo Assembler Turbo C++ Turbo Cobol Turbo Fortan Turbo ?????
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ASMED is a Programmer's Editor that is especially suited to Assembly
Language, or any Command-Line compiler. If you're using MASM or TASM or
a similar product, you can edit your programs and assemble them right
from the Editor. If errors are found during assembly, ASMED will flag
them and the cursor will be positioned on the line(s) with the
error(s). You can then use function keys to jump to the next/previous
errors. This operates much like Turbo C for those of you who have used
the integrated environment. The Editor itself operates exactly like the
Borland Editors, all the same editing commands are supported (TPascal,
TC, Prolog, ETC.) You can also get help with your errors by pressing F1
while the error is highlighted! ASMED maintains a Pick-List of the last
20 files you worked with. Also, you may have several Config files, and
load the one you want for any particular compiler. This means you can
have an integrated environment for just about any language you have.
BACKGROUND: The whole idea behind ASMED is to give you the same
effectiveness the integrated compiler/editors give you. It is much
easier and faster to write code and debug when the editor catches your
errors and highlights them than to have to keep loading and unloading
editors and assemblers. I wrote ASMED because I'm used to using the
great Borland products with integrated environments, and when TASM came
out, there was no editor to accompany it. Well, this and the fact that
there is no Editor's that do this, outside of expensive commercial
ones. ASMED is especially useful to people learning to program in
assembly (who isn't, right?) because you can view your error messages
on-screen while editing. ASMED is a simple program by nature, it is not
fancy.
There is a pop-up help facility that references registers,
interfacing languages, and some general Assembly help, mostly geared
towards TASM. If anyone bothers to register and wants online help for a
specific assembler/compiler, separate help files can be created for any
product, sort of a Norton-Guides approach.
------------
USER POLICY: You've seen it before - If you wish to use ASMED you need
to register the program by sending $20.00 to the below address.
Registration entitles you to many privileges, and updates. If enough
people register, I'll put out a version with more error checking,
multiple windows, extensive help, macros, and more even.
------------
OPERATING INSTRUCTIONS: Since most people with access to this file
already know how the Borland Turbo xxxxx editors work, I won't bother
to explain the editing commands, they're all there though.
Take note that you must have an assembler/Compiler to assemble
programs! This is not a language but a connection to a Command-Line
product.
INSTALLING ASMED: You should take a couple of steps to ensure that
ASMED can find your assembler and linker. The first thing you should do
after loading for the first time is select "Options." Then "Directory"
and enter the directories where your programs are stored. Then select
"Configure" and set up for the specific language you're using.
CONFIGURING: You need to enter the name of your language (whatever you
type to start compiling (ie: TASM) You also must enter information
about the way the product flags errors. This entails a little knowledge
of the language you're using. To simplify, create a source file that
you KNOW has errors in it, and compile/assemble it. You might want to
dump the output to the printer. ASMED Needs to know three things about
the way your compiler flags errors:
1) What characters/strings it uses to signify an error
2) What characters/string it uses to signify the error line
3) "" "" "" "" the error message
The following example explains how to configure ASMED for TASM.....
(The file TEST.ASM contains errors)
C:\TASM>TASM TEST.ASM
Turbo Assembler Version 1.0 (c) 1988 Borland International
Assembling file: \TASM\TEST.ASM
**Error** (31) open procedure xxxx
^ ^ ^ Error Msg Flag (msg starts after this string)
| | Error Line Flag (Error Line # starts after this string)
| Error Start Flag (Signals this line is an error)
**Warning** (42) Pointer Value Open
(another sample error line)
Error messages: 2
Warning messages: None
Remaining Memory: 475k
-----------------------------------------------------------------------
See the * characters surrounding the "Error" messages? That is the
Error Start Flag. You'd enter * (or **) in this field.
See the ( That is the Error Line Flag.
See the ) That is the Error Message Flag.
With these three fields set ( "*", "(", ")" ) you can use ASMED with
TASM. Note there are additional fields (up to 3) for alternate flags.
You need only enter them if they are needed. If your language uses more
than one 'keyword' to flag errors, enter them in the alternate fields.
The rest of the config process is self-explanatory.
Including in this archive are configs for TASM, MASM, and the Turbo C
Command-Line compiler. Refer to them if you need more assistance
figuring out how to configure.
Error flagging in include files is not supported in this version.
NOTE: If you create config files, make sure and use the "SAVE CNF FILE"
option, and give it an appropriate name (ie: CHASM.CNF) This way you
can use any language products you want. ASMED will keep separate pick
files for each product, providing you use separate names.
Linking and Running - You may Link and Run your programs from ASMED if
you wish. Be sure and enter the correct Linker Name first. As the
program is being linked, you view the process on screen. If you elect
to RUN your program, memory will be compacted and ASMED will attempt to
execute your program (only .EXE, .COM files!) Afterwards you will pop-
back to the Editor.
Several steps are performed when you compile, link, or run a program to
free up as much memory as possible (mem compacting.) So you should be
able to assemble large programs.
ASMED Command-Line options.
---------------------------
ASMED [filename] [/Cconfig file] [/Ppick file]
/C will attempt to load the specified config file.
/P "" "" Pick File.
You can also quick-load a file by typing the filename (WITH EXT IF IT'S
NOT THE DEFAULT.)
Example: ASMED GRAPH.ASM /CTASM.CNF /PTASM.PCK
Load GRAPH.ASM, TASM.CNF, and TASM.PCK
Editor Short-Cuts:
------------------
F1 - HELP or Error Help when an error is highlighted
Alt-X - EXIT
Alt-F3 - Pick List
F3 - Load File
F8 - Assemble or Compile
F5 - Show Next Error
F6 - Show Previous Error
F10,ESC - Menu/Editor Toggle
Look to line 25 for a help line for every menu item.
A final thought: If you want to see the EXACT output the
assembler/compiler produced, load the file "ASMERROR." It will be
located in the "ASMED" directory you specified. If you're not sure of
things, or you feel there was a 'wierd' error not flagged, check this
file to see what happened.
---------------
***NOTE Also included for you is a nifty little printer program that
can be used to send anything to the printer (PR.EXE.) You may specify
line no's, margins, page len, condensed mode (Epson types), and send
any file masks (*.ASM, *.TXT.....) Just type PR ? for a list. This is
a good alternative to using PRINT or COPY xxx PRN because it will
skip over the perfs in TF paper. Just put the file in your BIN
directory and you'll be all set. PR.EXE is meant to go with ASMED
only, not to be distributed alone. Thanks.
---------------
That should cover it. This doc is brief, but the program is VERY SIMPLE
to use.
UTILITIES!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-----------------------------------------------------------------------
ASMED now comes with some useful utilites to make developement easier for
you. The are written in ASSEMBLER ans should be put in your path (BIN)
so you can access them from anywhere. There are 6 programs now, but
the list will grow rapidly so register your copy now. Only a couple
of the utilities use parameters, so just type the name by itself for
a list. The utilities are named by taking the first and last letter
of the general purpose - ie: PR.EXE is the PrinteR program.
PR.EXE - File printing program. Can set switches for page len,
print mode, margins, line #'s, etc. Also you can send
PR a mask (*.ASM) and it will print all files. It uses
nice internal buffers so it is fast. Use this instead
of COPY or PRINT if you want to skip the perfs on
tractor paper.
CR.COM - Restores cursor. If you ever lose your cursor and
want it back, just type CR.
CT.EXE - Convert numbers. Type in any number like 9d, Ah, 101b,
etc. and CT will show all values (hex, dc, bin) Use H
for Hex, D for Dec, and B for Binary.
MY.COM - Shows you free memory (available.) This can help you
figure out how big a program is.
SE.COM - Space on disk. Will tell you maximum and avalable
space on the current disk.
TL.EXE - Terminal Emulator. A small term program. You can pass
baud, port, Sb, Db, Parity, toggle CR/LF, and Echo. Also
a DOS Shell for transfers, etc. This is a nice little
'always available' term program.
PE.EXE - Mem-Res Paste program. A simple paste program that lets
you define all or part of the current screen and then
save it to a plain ascii file. The file saved to is
called "PASTE.CS" and is appended-to if it already
exists. F-10 will unload PE from memory.
THANKS, AND ENJOY!!!!!!!
Register At: Comments ALWAYS welcome.
CHICAGO SOFTWARE
1805 BRUNETTI WAY
SUITE 555
SPARKS, NV 89431
CIS 72207, 247
GENIEMAIL J.CHICAGO