home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / zip / gnu / includ87.lzh / INCLUD87 / LDIF < prev    next >
Text File  |  1993-07-30  |  2KB  |  75 lines

  1. *** 1.1    1992/09/18 08:33:53
  2. --- linea.h    1992/09/20 03:04:26
  3. ***************
  4. *** 792,805 ****
  5.   #define linea2()                             \
  6.   ({                                    \
  7. -     short retvalue;                            \
  8.       __asm__ volatile                        \
  9.       ("\
  10. !         .word   0xA002;  \
  11. !          movew    d0,%0"   \
  12. !     : "=g"(retvalue)                  /* outputs */    \
  13.       :                           /* inputs  */    \
  14.       : "d0", "d1", "d2", "a0", "a1", "a2"       /* clobbered regs */    \
  15.       );                                \
  16. -     (int)retvalue;                            \
  17.   })
  18.   
  19. --- 792,802 ----
  20.   #define linea2()                             \
  21.   ({                                    \
  22.       __asm__ volatile                        \
  23.       ("\
  24. !         .word   0xA002" \
  25. !     :                           /* outputs */    \
  26.       :                           /* inputs  */    \
  27.       : "d0", "d1", "d2", "a0", "a1", "a2"       /* clobbered regs */    \
  28.       );                                \
  29.   })
  30.   
  31. ***************
  32. *** 920,928 ****
  33.       __asm__ volatile                        \
  34.       ("\
  35. !          movl    %0,a2;  \
  36. !         .word   0xA00C" \
  37.       :                           /* outputs */    \
  38. !     : "r"(P)                      /* inputs  */    \
  39. !     : "d0", "d1", "d2", "a0", "a1", "a2", "a6" /* clobbered regs */    \
  40.       );                                \
  41.   })
  42. --- 917,927 ----
  43.       __asm__ volatile                        \
  44.       ("\
  45. !          movl    %0,a2;    \
  46. !         movl    a6,sp@-;\
  47. !         .word   0xA00C; \
  48. !         movl    sp@+,a6"\
  49.       :                           /* outputs */    \
  50. !     : "g"(P)                      /* inputs  */    \
  51. !     : "d0", "d1", "d2", "a0", "a1", "a2"       /* clobbered regs */    \
  52.       );                                \
  53.   })
  54. ***************
  55. *** 938,945 ****
  56.            movl    %2,a0;  \
  57.            movl    %3,a2;  \
  58. !         .word   0xA00D" \
  59.       :                           /* outputs */    \
  60. !     : "r"(x), "r"(y), "r"(sd), "r"(ss)          /* inputs  */    \
  61. !     : "d0", "d1", "d2", "a0", "a1", "a2", "a6" /* clobbered regs */    \
  62.       );                                \
  63.   })
  64. --- 937,946 ----
  65.            movl    %2,a0;  \
  66.            movl    %3,a2;  \
  67. !         movl    a6,sp@-;\
  68. !         .word   0xA00D; \
  69. !         movl    sp@+,a6"\
  70.       :                           /* outputs */    \
  71. !     : "g"(x), "g"(y), "g"(sd), "g"(ss)          /* inputs  */    \
  72. !     : "d0", "d1", "d2", "a0", "a1", "a2"       /* clobbered regs */    \
  73.       );                                \
  74.   })
  75.