home *** CD-ROM | disk | FTP | other *** search
- *******************************************************************************
- * 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
-