AmigaOS libraries
The second library file the compiler loads, deflibs, declares the
functions of the AmigaOS libraries and resources, so that a program can
call them like commands, with an underscore after the name:
Delay_ 50 ; wait one second (50 ticks)Each page below belongs to one AmigaOS library or resource, named as
the program opens it when it starts. It lists the calls in alphabetical
order. The pages are made from the deflibs the build produces, so they
always match what the compiler sees.
Reading a call
Arguments is the help text of the call, exactly as the editor shows
it: the names of the arguments, as (name,accessMode) for Open_. What
the function does and what its arguments mean is described in the
documentation of AmigaOS itself.
Registers are the processor registers the compiler loads the
arguments into, in the order of the arguments: d1, d2 for Open_
means that name goes into d1 and accessMode into d2. A call returns
its result in d0, which is the value of the call when it is used as a
function.
Offset is the position of the function in the library’s jump table, the number the AmigaOS documentation calls its offset (LVO). The compiler calls the function at this offset from the library’s base.
Some AmigaOS libraries are declared by two deflibs libraries: a
library has room for only 127 declarations, so the second holds the
functions at the highest offsets. Their calls are on one page.
The libraries
| Library | Number | Calls | About |
|---|---|---|---|
| amigaguide.library | 248 | 17 | amigaguide.library - showing AmigaGuide hypertext documents and online help. |
| asl.library | 247 | 6 | asl.library - the standard file, font and screen mode requesters. |
| battclock.resource | 246 | 3 | battclock.resource - the battery backed clock of the Amiga. |
| battmem.resource | 245 | 4 | battmem.resource - the battery backed memory of the Amiga, which keeps settings while it is switched off. |
| bullet.library | 244 | 5 | bullet.library - the outline font engine of AmigaOS, which scales Compugraphic fonts. |
| card.resource | 243 | 17 | card.resource - the PCMCIA card slot of the A600 and A1200. |
| ciaa.resource | 242 | 4 | ciaa.resource - the interrupts and timers of the first CIA chip. |
| ciab.resource | 241 | 4 | ciab.resource - the interrupts and timers of the second CIA chip. |
| commodities.library | 240 | 26 | commodities.library - commodities, programs that watch the input stream, such as hot keys. |
| CrM.library | 200 | 8 | CrM.library - the library of the Crunch-Mania packer, for packing and unpacking data. |
| datatypes.library | 239 | 16 | datatypes.library - loading pictures, sounds, texts and other files of any format the system has a datatype for. |
| disk.resource | 238 | 6 | disk.resource - sharing the floppy disk hardware between the programs that use it. |
| diskfont.library | 251 | 5 | diskfont.library - loading fonts from the FONTS drawer and listing the fonts available. |
| dos.library | 252 | 154 | dos.library - files, drawers, locks, processes, paths and patterns, and the command line. |
| exec.library | 253 | 117 | exec.library - the kernel of AmigaOS, with memory, tasks, signals, messages and ports, lists, libraries and devices. |
| expansion.library | 237 | 21 | expansion.library - the expansion boards of the Amiga and the drives they add to the system. |
| gadgets/colorwheel.gadget | 219 | 2 | colorwheel.gadget - the colour wheel gadget class, with conversions between RGB and HSB colours. |
| gadtools.library | 236 | 19 | gadtools.library - gadgets and menus in the standard look of AmigaOS. |
| graphics.library | 254 | 167 | graphics.library - drawing in rastports, text and fonts, bitmaps, the blitter, sprites, views and colours. |
| icon.library | 235 | 14 | icon.library - reading and writing the icons of the Workbench and their tool types. |
| iffparse.library | 234 | 40 | iffparse.library - reading and writing IFF files of any kind, chunk by chunk. |
| intuition.library | 255 | 124 | intuition.library - screens, windows, gadgets, menus, requesters and the input of the user. |
| keymap.library | 233 | 4 | keymap.library - converting between key codes and characters with the keymap the user chose. |
| layers.library | 232 | 32 | layers.library - the overlapping layers of a screen that windows are made of. |
| locale.library | 231 | 24 | locale.library - translations, and the formats of dates, numbers and money of the user's country. |
| mathffp.library | 230 | 12 | mathffp.library - the basic arithmetic of Motorola fast floating point numbers, the floats of Blitz Basic 2. |
| mathieeedoubbas.library | 229 | 12 | mathieeedoubbas.library - the basic arithmetic of IEEE double precision numbers. |
| mathieeedoubtrans.library | 228 | 17 | mathieeedoubtrans.library - the transcendental functions of IEEE double precision numbers. |
| mathieeesingbas.library | 227 | 12 | mathieeesingbas.library - the basic arithmetic of IEEE single precision numbers. |
| mathieeesingtrans.library | 226 | 17 | mathieeesingtrans.library - the transcendental functions of IEEE single precision numbers. |
| mathtrans.library | 225 | 17 | mathtrans.library - the transcendental functions of fast floating point numbers, such as sine, logarithm and power. |
| misc.resource | 224 | 2 | misc.resource - sharing the serial and parallel port hardware between the programs that use it. |
| potgo.resource | 223 | 3 | potgo.resource - sharing the bits of the POTGO register, the analogue and button lines of the game ports. |
| rexxsyslib.library | 222 | 10 | rexxsyslib.library - the system library of ARexx, with its messages and argument strings. |
| utility.library | 221 | 38 | utility.library - tag lists, hooks, dates, 32 bit arithmetic and string comparison. |
| workbench.library | 220 | 7 | workbench.library - app windows, app icons and app menu items on the Workbench. |
| xprzmodem.library | 2 | 6 | xprzmodem.library - file transfer with the ZModem protocol through the XPR interface of terminal programs. |