home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
useful
/
dev
/
lang
/
ace.lha
/
ACE
/
utils
/
ab2ascii
/
README
< prev
next >
Wrap
Text File
|
1994-01-16
|
954b
|
33 lines
AB2ASCII - Generate ASCII source from binary AmigaBasic files
Usage:
ab2ascii <binary_file [>source_file]
Note:
The program rewind()s its stdin stream once. So a pipe is no acceptable input.
Compiling:
Use any ANSI compiler (integers must be 32bit, however).
A SCOPTIONS file is provided for SAS/C. The settings are
MATH=IEEE
LINK
PROGRAMNAME=ab2ascii
So to compile one simply types
sc ab2ascii.c
Comments:
I cannot guarrantee that the program understands all token constructs that
AmigaBasic can produce AND translates them correctly. I obtained the `token
dictionary' by trial and error (I did not disassemble AmigaBasic). For the
programs I tested it on it seemed to work.
The program could be less memory-consuming, (much) faster and in general be
better coded. Users are invited to make any improvements they feel up to
(the program belongs to you!).
Author:
Stefan Reisner
sr@ph-cip.uni-koeln.de
Copying:
Public Domain