[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

625.0. "Help! AmigaDos Libraries" by AITG::IVANO () Fri Jul 31 1987 16:33

    I have written some M68K assembler code that calls the AmigaDos
    routines READ, WRITE, OPEN, and CLOSE. It assembles ok with dos_lib.i
    included (that has the LIBENT Read ... etc in it). I link with Alink
    and specify the library amiga.lib (as specified in the AmigaDos
    manual). The 4 routines end up as unresolved external references.
    Where do I find the correct library?? I have 1.1 and 1.2 developer
    disks.
    
    I want to build a disk that boots a different operating system.
    I was thinking of using DiskEd to write to the first 2 physical
    blocks of what would normally be the WORKBENCH disk. This assumes
    that when Kickstart finishes, it looks for Workbench boot in that
    location. Does anyone know if that is correct? Also, does Kickstart
    expect anything in particular? (Since it does know if its NOT
    Workbench).
    
    Thanks for any help!!		Bob	225-6042
    
T.RTitleUserPersonal
Name
DateLines
625.1Try _OpenTLE::RMEYERSRandy MeyersFri Jul 31 1987 19:216
Re: .0

The Amiga follows the UNIX convention that all C extern names have an
underscore concatenated in front of them by the compiler.  Thus, the
true name of Open is _Open, Close is _Close, etc.  Note that case is
significant.  The Amiga is a C machine, after all.