Skip to Content
Amiga Assembly Library v41.21 — Motorola 68020 shared library for Commodore Amiga

ChangeAsmReqAttrsA

Synopsis

ChangeAsmReqAttrsA(areq, attrs) A0 A1

C Prototype

void ChangeAsmReqAttrsA(struct AsmRequest *, struct TagItem *); /* Varargs stub */ void ChangeAsmReqAttrs(struct AsmRequest *, Tag, ...);

Description

Changes the attributes of an already allocated AsmRequest. This allows reusing a single AsmRequest structure for different requester configurations, by modifying its attributes between calls to AsmRequestArgs().

Inputs

  • areq — Address of an AsmRequest structure, previously allocated by AllocAsmRequestA().
  • attrs — A TagItem array describing the attributes to modify. All tags supported by AllocAsmRequestA() can be modified.

Result

None.

See Also

AllocAsmRequestA

assembly/asmintuition.h

Implementation

The original 68020 assembly implementation:

; (18-Jan-1995) --- ChangeAsmRequestAttrsA(areq,taglist) (a0/a1) _LVOChangeAsmReqAttrsA movem.l d2-d3/a2-a6,-(sp) move.l a6,a5 * Save AssemblyBase... move.l a0,a4 * A4 = (struct AsmRequest *) move.l a1,a0 bra AR_PTAG
Last updated on