home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 57
/
Amiga_Dream_57.iso
/
Amiga
/
Programmation
/
Assembleur
/
ESA.lha
/
ESA
/
examples
/
sss
/
main.esa
< prev
next >
Wrap
Text File
|
1998-10-30
|
898b
|
35 lines
*******************************************************************************
* main v1.2.1
*******************************************************************************
machine 68020
include defs.i
*******************************************************************************
when.s Init[] ;initialization
when.s ParseCmdLn[CmdLnPtr] ;get command line args
Print[#txt_title] ;must come after ParseCmdLine[]
when.s ~Settings[] ;open files, allocmem, etc.
GiveInfo[] ;show some info
Split[] ;if no err, execute splitting
ewhen
ShowResult[d0] ;d0 ret. by Settings[] or Split[]
othw
Print[#txt_title]
Print[#txt_UsgHlp] ;show help text
ewhen
CleanUp[] ;final cleanup
ewhen
rts
*******************************************************************************
* subroutines and data
include split.ei
include opt.ei
include misc.ei
include data.i