home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Fish 3
/
goldfish_volume_3.bin
/
files
/
dev
/
basic
/
ace
/
utils
/
ab2ascii
/
readme
< prev
next >
Wrap
Text File
|
1994-10-22
|
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