Library: intuition.library
Offset: -$2A6
Syntax: iclass = MakeClass(classlD, superClasslD, superClassPtr, instanceSize, flags)
C:
ML:
struct IClass *MakeClass(UBYTE *, UBYTE *, struct IClass *, UWORD, ULONG) dO
=
MakeClass(aO, aI, a2, dO, dI)Arguments: classlD = the namelID string for public classes; 0 for private classes
superClassID
=
namelID of your new class's superclass; 0 if superclass is a private classResult:
superClassPtr = a private superclass; used only if SuperClasslD is 0 instanceSize = size of the instance data required by the class's objects flags = must be zero
iclass
=
the resulting class; zero if unsuccessfulMakeDosEntlY (ReviSion 2.0)
Description:
Library:
Offset:
Syntax:
C:
ML:
Arguments:
Result:
MakeDosNode
creates a DosList structure dos.library
-$2B8
newdlist = MakeDosEntry(name, type)
struct DosList *MakeDosEntry(STRPTR, LONG) dO
=
MakeDosEntry(dl, d2)name = name for the device/volume/assign node type = type of node:
LDF _DEVICES ($00000004), LDF _VOLUMES ($00000008), LDF _ASSIGNS ($00000010), LDF _ENTRY ($00000020)
newdlist = the new device entry; zero if unsuccessful
Description: constructs the DOS data structures that a disk needs Library: expansion.library
Offset: -$90 Syntax:
C:
ML:
Arguments:
Result:
deviceNode
=
MakeDosNode(parameterPkt) struct DeviceNode * MakeDosNode(VOID *) dO = MakeDosNode(aO)parameterPkt
=
a long word array containing initialization data deviceNode = pointer to initialized device node structure; zero if unsuccessfulMakeFuncUons
Description:Library:
constructs a function jump table exec.library
Mapping the Amiga
Offset:
Syntax:
c:
ML:
Arguments:
Result:
MakeUbralY
Description:
Library:
Offset:
Syntax:
c:
ML:
Arguments:
Result:
-$SA
tableSize = MakeFunctions(target, functionArray, funcDispBase) ULONG MakeFunctions(APTR, APTR, APTR)
dO = MakeFunctions(aO, aI, a2)
target
=
the address of the end of the tablefunctionArray
=
-I-terminated array of function pointers or word displacements;if funcDispBase is 0, this array contains absolute addresses, otherwise it contains word displacements relative to funcDispBase
funcDispBase = base address of function displacements;
o
indicates absolute addressestableSize
=
size of the new table in bytesconstructs a library exec.library -$54
library
=
MakeLibrary(vectors, structure, init, dSize, segList)struct Library *MakeLibrary(APTR, struct InitStruct *, APTR, ULONG, BPTR) dO = MakeLibrary(aO, aI, a2, dO, dI)
vectors = -I-terminated array of function pointers or function displacements; if the first entry is -1, the entries are displacements, otherwise full addresses
structure
=
an InitStruct data region; may be 0init
=
a initialization routine to be called before adding the library to the system;may be 0
dsize = size of the library data area, including the standard library node data segList = an AmigaDOS seglist
library
=
the reference address of the library; zero if out of memoryMakeUnk (Revision 2.0)
Description:
Library:
Offset:
Syntax:
c:
ML:
Arguments:
Result:
MakeScreen
Description:
Library:
Offset:
Syntax:
creates a file system link dos.library
-$IBC
success = MakeLink(name, dest, type) BOOL MakeLink(STRPTR, LONG, LONG) dO
=
MakeLink(dI, d2, d3)name = name of the link to create dest = path string or BPTR lock
type = what kind of link; zero for hardlinks, nonzero for softlinks success = zero if unsuccessful
executes an Intuition-integrated MakeVPort() of a custom screen intuition.library
-$I7A
MakeS creen (screen)
Library Functions
C: VOID MakeScreen(struct Screen *) ML: MakeScreen(aO)
Arguments: screen = custom screen Result: none
MakeVpon
Description: constructs a copper list for a ViewPort Library: graphics.library
Offset -$D8 Syntax:
C:
ML:
Arguments:
Result:
error
=
MakeVPort(view, viewport)ULONG MakeVPort(struct View *, struct ViewPort *) dO
=
MakeVPort(aO, aI)view
=
View structure viewport=
ViewPort structureerror
=
zero if successful (valid under Revision 2.0 and 3.0 only) MapANSI (RevisiOn 2.0)Description:
Library:
Offset:
Syntax:
C:
ML:
Arguments:
Result:
translates an ANSI string to keycodes keymap.library
-$30
actual = MapANSI(string, count, buffer, length, keyMap)
LONG MapANSI(STRPTR, LONG, STRPTR, LONG, struct KeyMap *) dO = MapANSI(aO, dO, aI, dI, a2)
string = ANSI string to convert
count = number of characters in the string
buffer = memory buffer to receive converted string
length
=
number of bytes in the buffer divided by two (the number code/qualifier pairs it will hold)keYMaP = KeYMaP structure; 0 indicates the default key map actual = the number of code/qualifier pairs put into the buffer;
zero if the string was not translatable, -1 if a buffer overflow occured, -2 if an internal error occured MapRawKe, (Revision 2.0)
Description: decodes a single IECLASS_RAWKEY input event to an ANSI string Library: keymap.library
Offset: -$2A Syntax:
C:
ML:
actual = MapRawKey(event, buffer, length, keyMap)
WORD MapRawKey(struct InputEvent *, STRPTR, WORD, struct Keymap *)
dO = MapRawKey(aO, aI, dl, a2)
Mapping the Amiga
Arguments: event = the InputEvent structure to decode buffer = memory buffer to receive the string length = number of bytes in the buffer
key Map = Key Map structure; 0 indicates the default key map
Result: actual = the number of characters put into the buffer; -I if a buffer overflow occurred
MapTags (Ravlslon 2.0)
Description:
Library:
Offset:
Syntax:
c:
ML:
Arguments:
Result:
remaps ti_ Tag values in a tag list utility.library
-$3C
MapTags(tags, mapList, mapType)
VOID MapTags(struct TagItem *, struct Tagltem *, ULONG) MapTags(aO, aI, dO)
tags
=
tag list to remapmapList = tag list containing pairs of tag values;
the first in each pair to be replaced with the second mapType
=
mapping operationMAP _REMOVE_NOT_FOUND ($00000000), MAP _KEEP _NOT_FOUND ($00000001)
none
MatchEnd (Revision 2.0)
Description: frees storage allocated by MatchFirst( ) or MatchNext( ) Library: dos.library
Offset: -$342
Syntax: MatchEnd(anchorpath)
C: VOID MatchEnd(struct AnchorPath *)
ML: MatchEnd(dl)
Arguments: anchorpath
=
anchorpath used in MatchFirst( ) or MatchNext( ) Result: noneMatchFl1St (RIIlsion 2.0)
Description:
Library:
Offset:
Syntax:
c:
ML:
Arguments:
Result:
finds the first file or directory that matches a pattern dos.library
-$336
error
=
MatchFirst(pat, anchorpath)LONG MatchFirst(STRPTR, struct AnchorPath *) dO = MatchFirst(dl, d2)
pat = pattern to match
anchorpath
=
placeholder for searcherror
=
zero if successful; nonzero error-code if unsuccessfulMatchlX (Revision 2.0)
Description:
Library:
matches an input event to an initialized input expression commodities.library
Offset Syntax:
C:
ML:
Arguments:
Result:
-$CC
success = MatchIX(event, ix)
BOOL MatchIX(struct InputEvent *, IX *) dO = MatchIX(aO, al)
event = input event to match
ix = input expression for the comparison success = zero if event and ix don't match
MalchNel1 (Revision 2.0)
Description:
Library:
Offset:
Syntax:
C:
ML:
Arguments:
Result:
finds the next file or directory that matches a pattern dos.library
-$33C
error
=
MatchNext(anchorpath)LONG MatchNext(struct AnchorPath *) dO = MatchNext(dl)
anchorpath = place holder for search
error = zero if successful; nonzero error-code if unsuccessful
MatchPa11em (ReVision 2.0)
Description:
Library:
Offset:
Syntax:
C:
ML:
Arguments:
Result:
checks to see if a string matches a specified pattern dos.library
-$34E
match
=
MatchPattern(pat, str)BOOL MatchPattern(STRPTR, STRPTR) dO
=
MatchPattern(dl, d2)pat = pattern string as returned by ParsePattern( ) str = string to check against given pattern match = nonzero if string matches pattern
MalchPa11emNoCase (ReviSion 2.0)
Library Functions
Description: checks to see if a string matches a specified pattern, ignoring case Library: dos.library
Offset: -$3C6 Syntax:
C:
ML:
Arguments:
Result:
match = MatchPatternNoCase(pat, str)
BOOL MatchPattemNoCase(STRPTR, STRPTR) dO
=
MatchPattemNoCase(dl, d2)pat
=
pattern string as returned by ParsePattern( ) str = string to check against given pattern match = nonzero if string matches patternMalchToolValue
Description: checks a tool type variable for a particular value Library: icon.library
Offset: -$66
Syntax: result = MatchTooIValue(typeString, value)
Mapping the Amiga
C: BOOL MatchToolValue(char *, char *) ML: dO = MatchTooIValue(aO, al)
Arguments: typeString = a ToolType value returned by FindToolType( ) value = value to check for
Result: result = nonzero if value matches string; zero if value doesn't match
MalCIl (Revision 2.0)
Description:
Library:
Offset:
Syntax:
C:
ML:
Arguments:
Result:
returns the highest CLI process number possibly in use dos.library
-$228
number = MaxCli( ) LONG MaxCli(VOID) dO = MaxCli( ) none
number = the highest CLI process number possibly in use
ModeNotAvaliable (Revision 2.0)
Description:
Library:
Offset:
Syntax:
C:
ML:
Arguments:
Result:
ModifYlDCMP
Description:
Library:
Offset:
Syntax:
C:
ML:
Arguments:
Result:
ModlfYProp
Descri ption:
Library:
Offset:
checks to see if a DisplayID is available graphics. library
-$31E
error = ModeNotA vailable(modeID) ULONG
=
ModeNotA vailable(ULONG) dO = ModeNotAvailable(dO)modeID
=
a 32-bit DisplaylnfoRecord identifiererror = DCA V AIL_NOCHIPS ($00000001), DCA V AIL_NOMONITOR ($00000002), or DCA V AIL_NOTWITHGENLOCK ($()()()()()()()4);
zero if DisplayID is available
modifies the state of a window's IDCMP intuition.library
-$96
success
=
ModifyIDCMP(window, idcmpFlags) BOOL ModifyIDCMP(struct Window *, ULONG) dO = ModifyIDCMP(aO, dO)window = window to modify
idcmpFlags = bit flags describing the desired state of the IDCMP success = zero if unsuccessful (valid under Revision 2.0 only)
modifies the current state of a proportional gadget (outdated by NewModifyProp( ) function)
intuition.library
-$9C
Library Functions
Syntax: ModifyProp(propGadget, window, requester, flags, horizPot, vertPot, horizBody, vertBody)
C: VOID ModifyProp(struct Gadget *, struct Window *, struct Requester *, UWORD, UWORD, UWORD, UWORD, UWORD)
:w...:
ModifyProp(aO, aI, a2, dO, dl, d2, d3, d4) Arguments: propGadget = proportional gadget to modifywindow
=
window containing gadgetrequester = requester containing gadget; may be 0
flags = new flag values for gadget-FREEHORIZ ($0002), FREEVERT ($0004), PROPBORDERLESS ($0008), PROPNEWLOOK ($0010), KNOB HIT ($0100) horizPot
=
new horizontal pot valuevertPot = new vertical pot value horizBody = new horizontal body value vertBody = new vertical body value Result: none
MOil
Description:
Library:
Offset:
Syntax:
C: :w...:
Arguments:
Result:
MoveLaJer
Description:
Library:
Offset:
Syntax:
C:
:w...:
Arguments:
Result:
moves graphics pen graphics.library -$FO
Move(rastPort, x, y)
VOID Move(struct RastPort *, WORD, WORD) Move(al, dO, dl)
rastPort = RastPort structure
x, y
=
new pen position in the RastPort nonemoves a layer to a new position in its BitMap layers.library
-$3C
success = MoveLayer(dummy, layer, dx, dy)
LONG MoveLayer(LONG, struct Layer *, LONG, LONG) dO
=
MoveLayer(aO, aI, dO, dl)dummy = unused
layer = pointer to the layer; must not be a backdrop layer dx = amount to change the current x position
dy = amount to change the current y position success
=
zero if unsuccessfulMOleLaJerinFronlOl
Description: moves a layer in front of another layer Library: layers.library
Offset: -$A8
Syntax: success = MoveLayerInFrontOf(layertomove, targetJayer)
Mapping the Amiga
c:
LONG MoveLayerInFrontOf(struct Layer *, struct Layer *) ML: dO == MoveLayerlnFrontOf(aO, a1)Arguments: layertomove = the layer to move
targetlayer = the layer in front of which to move Result: success = zero if unsuccessful
MoveScr8el Description:
Library:
Offset:
Syntax:
C:
ML:
Arguments:
Result:
moves a screen intuition .library -$A2
MoveScreen(screen, deltaX, delta Y)
VOID MoveScreen(struct Screen *, WORD, WORD) MoveScreen(aO, dO, d1)
screen = screen to move
deltaX
=
offset by which to move screen horizontally; ignored deltaY = offset by which to move screen verticallynone
MoveSlzeLayer (Revlslol 2.0) Description:
Library:
Offset:
Syntax:
c:
ML:
Arguments:
Result:
MoveSpl1te Description:
Library:
Offset:
Syntax:
c:
ML:
Arguments:
positions and sizes a layer layers.library
-$B4
success = MoveSizeLayer(layer, dx, dy, dw, dh)
LONG MoveSizeLayer(struct Layer
* ,
LONG, LONG, LONG, LONG) dO = MoveSizeLayer(aO, dO, dl, d2, d3)dummy
=
unusedlayer = the layer to move and size; must not be a backdrop layer dx = amount to change the current x position
dy
=
amount to change the current y position dw = amount to change the current width dh=
amount to change the current height success = zero if unsuccessfulmoves a sprite graphics.library -$IAA
MoveSprite(viewPort, sprite, x, y)
VOID MoveSprite(struct ViewPort *, struct SimpleSprite *, WORD, WORD) MoveSprite(aO, aI, dO, d1)
viewPort = ViewPort containing sprite;
°
to position sprite relative to current Viewsprite = SimpleSprite structure x, y = new sprite position Result: none