[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference hydra::amiga_v1

Title:AMIGA NOTES
Notice:Join us in the *NEW* conference - HYDRA::AMIGA_V2
Moderator:HYDRA::MOORE
Created:Sat Apr 26 1986
Last Modified:Wed Feb 05 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:5378
Total number of notes:38326

501.0. "ABsoft basic Compiler" by AUTHOR::MACDONALD (WA1OMM Listening 224.28) Wed May 13 1987 14:58

    ABsoft Basic Compiler
    
    Does anyone have info on this product? In particular does it permit
    a compiled AmigaBASIC program to run with having AmigaBASIC present
    in the system? Are there any gotchas to using it?
    
    Paul
T.RTitleUserPersonal
Name
DateLines
501.1ECC::JAERVINENDown with gravity!Tue Jul 07 1987 11:588
    I'd be interested too...
    
    I assume it's a self-contained compiler, which produces self-contained
    executable images. If it is as good as the ABsoft F77, it should
    be pretty good.
    
    Does anyone know at least the price?
    
501.2ESD66::CHAVISThey laughed when I sat at the keyboardTue Jul 07 1987 12:0610
    Able supply-about $115
    Memory Location $199
    
    I got mine last week.   Havnt played with it too much but it seems
    to work fine.   I only thing I can figure out is if you can create
    seperate modules and link them together.   Doesnt seem to be
    as far as I can tell.
    
    Ira
    
501.3ESD66::CHAVISThey laughed when I sat at the keyboardTue Jul 07 1987 12:098
    re:501.0
    
    You dont need Amiga Basic but you do need the runtime libraries
    present.   I have only one disk drive so I was able to put
    the compiler and rtl's on a very stripped down workbench disk.
    
    I.C.
    
501.4ECC::JAERVINENDown with gravity!Wed Jul 08 1987 04:272
    re .-1: RTL's? Do you mean you have to have separate ABsoft RTL's
    on the disk to run programs compiled with it?
501.5You can compile in the RTLESD66::CHAVISThey laughed when I sat at the keyboardWed Jul 08 1987 11:212
    I check into this.   You can compile in the RTL's into your image
    but the tasks get larger. 
501.6AUTHOR::MACDONALDWA1OMM Listening 224.28Thu Jul 09 1987 11:4214
    The RTL can be linked during compiling, which adds about 40K to
    the program size. However, the program executes just as fast. BTW
    they supply a non-fee licensing agreement that you sign to receive
    permission to link the RTL's to software you plan to compile and
    distribute.
    
    There are some unusual bugs they plan to correct in their maintenance
    release next month. Its a pleasure to be able to write an Amiga
    BASIC program and have it execute with such a dramatic increase
    in speed. A 560 line satellite tracking program I wrote executes
    about 15 times faster through AC-BASIC than through the Amiga BASIC
    interpreter!
    
    Paul
501.7ECC::JAERVINENDown with gravity!Fri Jul 10 1987 05:2210
    Good to know.
    
    Do you have that free licence to give me your satellite tracking
    program? The executable file... I'd be interested. I guess I'll
    wait until they get that update out before I go and buy the compiler.
    
    How's the documentation? And is it really compatible?
    
    DJ�MAR
    
501.8AUTHOR::MACDONALDWA1OMM Listening 224.28Fri Jul 10 1987 23:428
    Sorry .. the satellite tracking program is only available through
    AMSAT (Amateur Satellite Corporation) for $40. The non-fee license
    that Absoft supplies is for the purpose of linking the two run-time
    modules to the main program. This allows the main program to run
    without having to have the indiviadual run-time modules copied to
    the same disk as the main compiled program.
    
    Paul
501.9Compatibility?DRUMS::FEHSKENSMon Jul 13 1987 16:405
    Is the compiler compatible with AmigaBasic programs?  Can I feed
    it as input programs saved out of AmigaBasic?
    
    len.
    
501.10It Compiles AmigaBASIC ProgramsAUTHOR::MACDONALDWA1OMM Listening 224.28Tue Jul 14 1987 11:348
    The compiler takes your AmigaBASIC programs and compiles them. Not
    sure what you mean by, "Can I feed it as input programs saved out
    of AmigaBasic."
    
    The compiler has no other purpose or use in life except to compile
    AmigaBASIC programs.
    
    Paul
501.11Sorry I AskedDRUMS::FEHSKENSWed Jul 15 1987 11:2521
    I think you just said "Yes", but to make sure I'll try to be more
    explicit.
    
    AmigaBASIC has a builtin editor.  Having created a program in
    AmigaBASIC, you can then save it (using the SAVE or SAVE AS functions
    in the pull down menu).  It is these saved programs that I would
    like to compile.
    
    So, I take it the language compiled is *exactly* AmigaBASIC (not
    necessarily the same as any other BASIC, especially with respect
    to Amiga-specific features), and the source/input file format is
    *exactly* that produced by the AmigaBASIC SAVE and SAVE AS functions
    (these are not garden variety text files).
    
    Sorry about being so pedantic, but a "BASIC Compiler" and an
    "AmigaBASIC Compiler" are not necessarily the same thing.  For
    example, it's not clear that the old ABASIC and AmigaBASIC are
    *exactly* the same language.
    
    len.
     
501.12DICKNS::MACDONALDWA1OMM Listening 224.28Wed Jul 15 1987 13:4114
    RE .11
    
    Absoft's AC-BASIC compiler compiles AmigaBASIC programs that are
    saved in ASCII format. It will also compile MAC BASIC programs.
    
    You need not write your program using the AmigaBASIC editor since
    the compiler works on ASCII files. Therefore, you can use uEMACS,
    Scribble!, or any other text processor capable of generating an
    ASCII file.  

    There are a number of additional commands supplied that the compiler
    recognizes, but are not recognized by the AmigaBASIC interpreter.
    
    Paul
501.13ECC::JAERVINENDown with gravity!Thu Jul 16 1987 10:426
    re .11: Obviously, you can also use any editor to edit AmigaBasic
    programs - it can load vanilla text files as well as it's compressed
    save files. Default for save is it's won format, but you can save
    any AmigaBasic program in a plain text file and do whatever you
    want to do with it.
    
501.14Amiga Basic Compiler <> AmigaBasic CompilerDRUMS::FEHSKENSMon Jul 20 1987 11:5912
    How do I save an AmigaBasic program as a plain text file?
    
    I figure if I have to I can list it to the printer and assign the
    printer to a file, but that's a little roundabout.  I have a lot
    of AmigaBasic code that I'd rather not type in again.
    
    What all this tells me is that in fact, no, the ABSoft compoler
    doesn't accept AmigaBasic save files as source input, and no, the
    language it complies is not exactly AmigaBasic.
    
    len.
    
501.15PLDVAX::SMCAFEESteve McAfeeMon Jul 20 1987 12:569
    
    I don't remember the exact syntax, but it is in the AmigaBasic manual
    under the SAVE command description.  I think it is something like:
    
    SAVE "program",a        ! That's "a" for ascii format.
    
    regards
    
    steve mcafee
501.16...LEDS::ACCIARDIMon Jul 20 1987 14:063
    Thats correct Steve.  I've transferred BASIC programs back an forth
    between Amy and VAX many times.  By the way, Mac and IBM BASIC use
    the same convention.