home *** CD-ROM | disk | FTP | other *** search
/ Gold Fish 2 / goldfish_vol2_cd1.bin / files / dev / gui / triton / programmer / gcc / source / tr_replymsg.c < prev    next >
C/C++ Source or Header  |  1994-07-14  |  732b  |  26 lines

  1. /*
  2.  *  Triton - The object oriented GUI creation system for the Amiga
  3.  *  Written by Stefan Zeiger in 1993-1994
  4.  *
  5.  *  (c) 1993-1994 by Stefan Zeiger
  6.  *  You are hereby allowed to use this source or parts of it for
  7.  *  creating programs for AmigaOS which use the Triton GUI creation
  8.  *  system. All other rights reserved.
  9.  *
  10.  *  Triton linkable library code for GCC - (c) 1994 by Gunther Nikl
  11.  */
  12.  
  13. #include "triton.h"
  14.  
  15. extern struct Library *TritonBase;
  16.  
  17. VOID TR_ReplyMsg(struct TR_Message *message)
  18. {
  19.   register struct Library *a6 __asm("a6") = TritonBase;
  20.   register struct TR_Message *a1 __asm("a1") = message;
  21.   __asm __volatile ("jsr a6@(-0x72)"
  22.   : /* no output */
  23.   : "r" (a6), "r" (a1)
  24.   : "a0","a1","d0","d1", "memory");
  25. }
  26.