home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / updates / update18.zoo / lib / diffs
Encoding:
Text File  |  1992-03-22  |  26.3 KB  |  1,162 lines

  1. *** 1.68    1992/03/10 15:11:47
  2. --- Changelo    1992/03/22 22:00:03
  3. ***************
  4. *** 2860,2862 ****
  5. --- 2860,2913 ----
  6.       moved with a movw instead of movl.
  7.   
  8.   ---------------------------- Patchlevel 77 ---------------------------
  9. + spawnve.c:: Marcus Nick
  10. +     cmlen was'nt being initialized before counting the chars in 
  11. +     args loop.
  12. + osbind.h:: ++jrb
  13. +      -- another re-hack needed for gcc-2.0: the optimization that we
  14. +         used earlier for traps with more than 4 args, making them volatile
  15. +     and using "g" constraints no longer works, because gcc has become
  16. +     so smart! we now remove the volatile, and give "r" constraints
  17. +     (just like traps with <= 4 args). that way the args are evaled
  18. +     before we change the stack under gcc, and at appropriate times
  19. +     put into reggies and pushed (or as in most cases, they are evaled
  20. +     straight into reggies and pushed -- and in even more common cases
  21. +     they are already in reggies, and they are just pushed). not doing
  22. +     this with -fomit-frame-pointer was causing the temps (from evaluing
  23. +     the args) to be created on the stack, but when we changed sp
  24. +     from under gccs feet, the offsets  to the temps ended up being wrong.
  25. + osbind.c:: ++jrb
  26. +     do the same.
  27. + fread.c fwrite.c ioctl.c system.c textio.c
  28. + compiler.h ioctl.h osbind.h ostruct.h stdlib.h:: ++jrb
  29. +     sync with mntlib pl19 changes -- thanks ers
  30. +     osbind.h had incorrect fn# for Xbtimer 
  31. +     other changes mostly for soz compatibility.
  32. + filbuf.c getlogin.c lseek.c read.c:: ++jrb
  33. +     fixed up a few warnings.
  34. + crt0.c:: ++jrb
  35. +     round the temporary stack to a long word boundary.
  36. + minimal.h:: michal
  37. +     tidy up protos
  38. +     (in case you did'nt know <minimal.h> is used to make small executables
  39. +      that dont use any stdio etc. it avoids pulling in _main() and all
  40. +      the stdio, atexit etc etc related code).
  41. +     for instance here is a minimal hello world:
  42. +     #include <minimal.h>
  43. +     #include <osbind.h>
  44. +     main()
  45. +     {
  46. +       Cconws("Hello World\r\n");
  47. +     }
  48. + atof.c:: Michael
  49. +     merge diff for atof
  50. + ---------------------------- Patchlevel 78 ---------------------------
  51. *** 1.53    1992/03/10 15:11:47
  52. --- PatchLev.h    1992/03/22 22:00:04
  53. ***************
  54. *** 1,5 ****
  55.   
  56. ! #define    PatchLevel "77"
  57.   
  58.   /*
  59.    *
  60. --- 1,5 ----
  61.   
  62. ! #define    PatchLevel "78"
  63.   
  64.   /*
  65.    *
  66. *** 1.20    1992/02/04 17:11:06
  67. --- atof.c    1992/03/22 22:00:12
  68. ***************
  69. *** 651,660 ****
  70.       .globl __Float_
  71.   __Float_:
  72.       ftentoxl    a7@(8),fp1        | load Exponent_1
  73. !     ftentoxl    a7@(16),fp2        | load Exponent_2
  74. !     fmull        a7@(12),fp2        | fmull Value_2 -> fp2
  75.       fmull        a7@(4),fp1        | fmull Value_1 -> fp1
  76. !     faddx        fp2,fp1
  77.       fmoved        fp1,a7@-        | fmoved fp1 -> d0/d1
  78.       moveml        a7@+,d0-d1
  79.        rts
  80. --- 651,660 ----
  81.       .globl __Float_
  82.   __Float_:
  83.       ftentoxl    a7@(8),fp1        | load Exponent_1
  84. !     ftentoxl    a7@(16),fp0        | load Exponent_2
  85. !     fmull        a7@(12),fp0        | fmull Value_2 -> fp0
  86.       fmull        a7@(4),fp1        | fmull Value_1 -> fp1
  87. !     faddx        fp0,fp1
  88.       fmoved        fp1,a7@-        | fmoved fp1 -> d0/d1
  89.       moveml        a7@+,d0-d1
  90.        rts
  91. *** 1.20    1992/03/06 19:19:47
  92. --- crt0.c    1992/03/22 22:00:15
  93. ***************
  94. *** 210,216 ****
  95.          _start1() will finally set sp to its final value and
  96.          then do a mshrink().
  97.       */
  98. !     asm volatile("movl %0,sp" ::"r"((long)bp->p_hitpa & ~1L));
  99.       _start1(bp);
  100.   }
  101.   
  102. --- 210,216 ----
  103.          _start1() will finally set sp to its final value and
  104.          then do a mshrink().
  105.       */
  106. !     asm volatile("movl %0,sp" ::"r"((long)bp->p_hitpa & ~3L));
  107.       _start1(bp);
  108.   }
  109.   
  110. *** 1.8    1991/04/23 16:04:12
  111. --- filbuf.c    1992/03/22 22:00:18
  112. ***************
  113. *** 17,26 ****
  114.   #include <memory.h>
  115.   #include "lib.h"
  116.   
  117. - #ifdef __GNUC__
  118. - #define alloca __builtin_alloca
  119. - #endif
  120.   int _filbuf(fp)
  121.   FILE *fp;
  122.   {
  123. --- 17,22 ----
  124. *** 1.10    1991/12/26 15:53:59
  125. --- fread.c    1992/03/22 22:00:20
  126. ***************
  127. *** 43,49 ****
  128.           fp->_cnt -= cnt;
  129.           fp->_ptr += cnt;
  130.           l += cnt;
  131. !         data += cnt;
  132.           n -= cnt;
  133.       }
  134.       /* n == how much more */
  135. --- 43,49 ----
  136.           fp->_cnt -= cnt;
  137.           fp->_ptr += cnt;
  138.           l += cnt;
  139. !         data = (char *)data + cnt;
  140.           n -= cnt;
  141.       }
  142.       /* n == how much more */
  143. *** 1.9    1991/04/23 16:04:12
  144. --- fwrite.c    1992/03/22 22:00:21
  145. ***************
  146. *** 51,57 ****
  147.               fp->_flag |= _IOWRT; /* fflush resets this */
  148.           }
  149.           l += m;
  150. !         data += m;
  151.           n -= m;
  152.           if(n < space)
  153.           continue;
  154. --- 51,57 ----
  155.               fp->_flag |= _IOWRT; /* fflush resets this */
  156.           }
  157.           l += m;
  158. !         data = (char *)data + m;
  159.           n -= m;
  160.           if(n < space)
  161.           continue;
  162. *** 1.5    1991/04/26 03:42:08
  163. --- getlogin.c    1992/03/22 22:00:22
  164. ***************
  165. *** 9,18 ****
  166.   #include <stdlib.h>
  167.   #include <memory.h>
  168.   
  169. - #ifdef __GNUC__
  170. - #define alloca __builtin_alloca
  171. - #endif
  172.   static char *logname = NULL;
  173.   
  174.   char *getlogin()
  175. --- 9,14 ----
  176. *** 1.7    1991/12/26 15:53:59
  177. --- ioctl.c    1992/03/22 22:00:25
  178. ***************
  179. *** 90,96 ****
  180.           {
  181.           struct winsize *win = (struct winsize *)arg;
  182.   
  183. !         (void)linea0();
  184.           win->ws_row = V_CEL_MY + 1;
  185.           win->ws_col = V_CEL_MX + 1;
  186.           win->ws_xpixel = V_X_MAX;
  187. --- 90,100 ----
  188.           {
  189.           struct winsize *win = (struct winsize *)arg;
  190.   
  191. ! #ifndef __SOZOBON__
  192. !             (void)linea0();
  193. ! #else /* __SOZOBON__ */
  194. !             linea0();
  195. ! #endif /* __SOZOBON__ */
  196.           win->ws_row = V_CEL_MY + 1;
  197.           win->ws_col = V_CEL_MX + 1;
  198.           win->ws_xpixel = V_X_MAX;
  199. *** 1.6    1991/04/26 03:42:08
  200. --- lseek.c    1992/03/22 22:00:26
  201. ***************
  202. *** 10,19 ****
  203.   #include <compiler.h>
  204.   #endif
  205.   
  206. - #ifdef __GNUC__
  207. - #define alloca __builtin_alloca
  208. - #endif
  209.   static long _real_lseek __PROTO((int h, long where, int how));
  210.   
  211.   
  212. --- 10,15 ----
  213. *** 1.29    1992/03/10 15:11:47
  214. --- makefile.16    1992/03/22 22:00:27
  215. ***************
  216. *** 15,24 ****
  217.   CFFLAGS = $(COPTS) -mshort
  218.   
  219.   # normal CFLAGS including int size and omit-frame-pointer
  220. ! CFLAGS= $(CFFLAGS) # -fomit-frame-pointer
  221.   
  222.   # cflags for stuff that needs to be compiled with 32 bit ints
  223. ! CLFLAGS= $(COPTS) -DSHORTLIB # -fomit-frame-pointer
  224.   
  225.   # flags to $(CC) when it runs the assembler only
  226.   ASFLAGS= -c
  227. --- 15,24 ----
  228.   CFFLAGS = $(COPTS) -mshort
  229.   
  230.   # normal CFLAGS including int size and omit-frame-pointer
  231. ! CFLAGS= $(CFFLAGS) -fomit-frame-pointer
  232.   
  233.   # cflags for stuff that needs to be compiled with 32 bit ints
  234. ! CLFLAGS= $(COPTS) -DSHORTLIB -fomit-frame-pointer
  235.   
  236.   # flags to $(CC) when it runs the assembler only
  237.   ASFLAGS= -c
  238. *** 1.28    1992/03/10 15:11:47
  239. --- makefile.32    1992/03/22 22:00:27
  240. ***************
  241. *** 15,21 ****
  242.   CFFLAGS = $(COPTS)
  243.   
  244.   # normal CFLAGS including int size and omit-frame-pointer
  245. ! CFLAGS= $(CFFLAGS) # -fomit-frame-pointer
  246.   
  247.   # cflags for stuff that needs to be compiled with 32 bit ints
  248.   CLFLAGS= $(CFLAGS)
  249. --- 15,21 ----
  250.   CFFLAGS = $(COPTS)
  251.   
  252.   # normal CFLAGS including int size and omit-frame-pointer
  253. ! CFLAGS= $(CFFLAGS) -fomit-frame-pointer
  254.   
  255.   # cflags for stuff that needs to be compiled with 32 bit ints
  256.   CLFLAGS= $(CFLAGS)
  257. *** 1.3    1991/03/13 14:58:25
  258. --- osbind.c    1992/03/22 22:00:31
  259. ***************
  260. *** 29,35 ****
  261.   long trap_1_ww(short n, short a)
  262.   {
  263.       register long retvalue __asm__("d0");
  264. !     short _a = (short)(a);
  265.   
  266.       __asm__ volatile
  267.       ("
  268. --- 29,35 ----
  269.   long trap_1_ww(short n, short a)
  270.   {
  271.       register long retvalue __asm__("d0");
  272. !     short _a = (a);
  273.   
  274.       __asm__ volatile
  275.       ("
  276. ***************
  277. *** 47,53 ****
  278.   long trap_1_wl(short n, long a)
  279.   {
  280.       register long retvalue __asm__("d0");
  281. !     long  _a = (long) (a);
  282.   
  283.       __asm__ volatile
  284.       ("
  285. --- 47,53 ----
  286.   long trap_1_wl(short n, long a)
  287.   {
  288.       register long retvalue __asm__("d0");
  289. !     long  _a =  (a);
  290.   
  291.       __asm__ volatile
  292.       ("
  293. ***************
  294. *** 65,72 ****
  295.   long trap_1_wlw(short n, long a, short b)
  296.   {
  297.       register long retvalue __asm__("d0");
  298. !     long  _a = (long) (a);
  299. !     short _b = (short)(b);
  300.   
  301.       __asm__ volatile
  302.       ("
  303. --- 65,72 ----
  304.   long trap_1_wlw(short n, long a, short b)
  305.   {
  306.       register long retvalue __asm__("d0");
  307. !     long  _a =  (a);
  308. !     short _b = (b);
  309.   
  310.       __asm__ volatile
  311.       ("
  312. ***************
  313. *** 85,93 ****
  314.   long trap_1_wwll(short n, short a, long b, long c)
  315.   {
  316.       register long retvalue __asm__("d0");
  317. !     short _a = (short)(a);
  318. !     long  _b = (long) (b);
  319. !     long  _c = (long) (c);
  320.   
  321.       __asm__ volatile
  322.       ("
  323. --- 85,93 ----
  324.   long trap_1_wwll(short n, short a, long b, long c)
  325.   {
  326.       register long retvalue __asm__("d0");
  327. !     short _a = (a);
  328. !     long  _b =  (b);
  329. !     long  _c =  (c);
  330.   
  331.       __asm__ volatile
  332.       ("
  333. ***************
  334. *** 107,115 ****
  335.   long trap_1_wlww(short n, long a, short b, short c)
  336.   {
  337.       register long retvalue __asm__("d0");
  338. !     long  _a = (long) (a);
  339. !     short _b = (short)(b);
  340. !     short _c = (short)(c);
  341.   
  342.       __asm__ volatile
  343.       ("
  344. --- 107,115 ----
  345.   long trap_1_wlww(short n, long a, short b, short c)
  346.   {
  347.       register long retvalue __asm__("d0");
  348. !     long  _a =  (a);
  349. !     short _b = (b);
  350. !     short _c = (c);
  351.   
  352.       __asm__ volatile
  353.       ("
  354. ***************
  355. *** 129,136 ****
  356.   long trap_1_www(short n, short a, short b)
  357.   {
  358.       register long retvalue __asm__("d0");
  359. !     short _a = (short)(a);
  360. !     short _b = (short)(b);
  361.   
  362.       __asm__ volatile
  363.       ("
  364. --- 129,136 ----
  365.   long trap_1_www(short n, short a, short b)
  366.   {
  367.       register long retvalue __asm__("d0");
  368. !     short _a = (a);
  369. !     short _b = (b);
  370.   
  371.       __asm__ volatile
  372.       ("
  373. ***************
  374. *** 149,156 ****
  375.   long trap_1_wll(short n, long a, long b)
  376.   {
  377.       register long retvalue __asm__("d0");
  378. !     long  _a = (long) (a);
  379. !     long  _b = (long) (b);
  380.   
  381.       __asm__ volatile
  382.       ("
  383. --- 149,156 ----
  384.   long trap_1_wll(short n, long a, long b)
  385.   {
  386.       register long retvalue __asm__("d0");
  387. !     long  _a =  (a);
  388. !     long  _b =  (b);
  389.   
  390.       __asm__ volatile
  391.       ("
  392. ***************
  393. *** 169,178 ****
  394.   long trap_1_wwlll(short n, short a, long b, long c, long d)
  395.   {
  396.       register long retvalue __asm__("d0");
  397. !     volatile short _a = (volatile short)(a);
  398. !     volatile long  _b = (volatile long) (b);
  399. !     volatile long  _c = (volatile long) (c);
  400. !     volatile long  _d = (volatile long) (d);
  401.   
  402.       __asm__ volatile
  403.       ("
  404. --- 169,178 ----
  405.   long trap_1_wwlll(short n, short a, long b, long c, long d)
  406.   {
  407.       register long retvalue __asm__("d0");
  408. !     short _a = (a);
  409. !     long  _b =  (b);
  410. !     long  _c =  (c);
  411. !     long  _d =  (d);
  412.   
  413.       __asm__ volatile
  414.       ("
  415. ***************
  416. *** 182,188 ****
  417.           movw    %1,sp@-;
  418.           movw    %0,sp@- "
  419.       :                         /* outputs */
  420. !     : "r"(n), "g"(_a), "g"(_b), "g"(_c), "g"(_d) /* inputs  */
  421.       );
  422.     /* no more than 5 operand allowed in asm() -- therefore the split */
  423.   
  424. --- 182,188 ----
  425.           movw    %1,sp@-;
  426.           movw    %0,sp@- "
  427.       :                         /* outputs */
  428. !     : "r"(n), "r"(_a), "r"(_b), "r"(_c), "r"(_d) /* inputs  */
  429.       );
  430.     /* no more than 5 operand allowed in asm() -- therefore the split */
  431.   
  432. ***************
  433. *** 200,206 ****
  434.   long trap_13_wl(short n, long a)
  435.   {
  436.       register long retvalue __asm__("d0");
  437. !     long  _a = (long) (a);
  438.   
  439.       __asm__ volatile
  440.       ("
  441. --- 200,206 ----
  442.   long trap_13_wl(short n, long a)
  443.   {
  444.       register long retvalue __asm__("d0");
  445. !     long  _a =  (a);
  446.   
  447.       __asm__ volatile
  448.       ("
  449. ***************
  450. *** 234,240 ****
  451.   long trap_13_ww(short n, short a)
  452.   {
  453.       register long retvalue __asm__("d0");
  454. !     short _a = (short)(a);
  455.   
  456.       __asm__ volatile
  457.       ("
  458. --- 234,240 ----
  459.   long trap_13_ww(short n, short a)
  460.   {
  461.       register long retvalue __asm__("d0");
  462. !     short _a = (a);
  463.   
  464.       __asm__ volatile
  465.       ("
  466. ***************
  467. *** 252,259 ****
  468.   long trap_13_www(short n, short a, short b)
  469.   {
  470.       register long retvalue __asm__("d0");
  471. !     short _a = (short)(a);
  472. !     short _b = (short)(b);
  473.   
  474.       __asm__ volatile
  475.       ("
  476. --- 252,259 ----
  477.   long trap_13_www(short n, short a, short b)
  478.   {
  479.       register long retvalue __asm__("d0");
  480. !     short _a = (a);
  481. !     short _b = (b);
  482.   
  483.       __asm__ volatile
  484.       ("
  485. ***************
  486. *** 272,282 ****
  487.   long trap_13_wwlwww(short n, short a, long b, short c, short d, short e)
  488.   {
  489.       register long retvalue __asm__("d0");
  490. !     volatile short _a = (volatile short)(a);
  491. !     volatile long  _b = (volatile long) (b);
  492. !     volatile short _c = (volatile short)(c);
  493. !     volatile short _d = (volatile short)(d);
  494. !     volatile short _e = (volatile short)(e);
  495.   
  496.       __asm__ volatile
  497.       ("
  498. --- 272,282 ----
  499.   long trap_13_wwlwww(short n, short a, long b, short c, short d, short e)
  500.   {
  501.       register long retvalue __asm__("d0");
  502. !     short _a = (a);
  503. !     long  _b =  (b);
  504. !     short _c = (c);
  505. !     short _d = (d);
  506. !     short _e = (e);
  507.   
  508.       __asm__ volatile
  509.       ("
  510. ***************
  511. *** 286,292 ****
  512.           movl    %1,sp@-;
  513.           movw    %0,sp@-    "
  514.       :                          /* outputs */
  515. !     : "g"(_a), "g"(_b), "g"(_c), "g"(_d), "g"(_e) /* inputs  */
  516.       );
  517.   
  518.       __asm__ volatile
  519. --- 286,292 ----
  520.           movl    %1,sp@-;
  521.           movw    %0,sp@-    "
  522.       :                          /* outputs */
  523. !     : "r"(_a), "r"(_b), "r"(_c), "r"(_d), "r"(_e) /* inputs  */
  524.       );
  525.   
  526.       __asm__ volatile
  527. ***************
  528. *** 304,311 ****
  529.   long trap_13_wwl(short n, short a, long b)
  530.   {
  531.       register long retvalue __asm__("d0");
  532. !     short _a = (short)(a);
  533. !     long  _b = (long) (b);
  534.   
  535.       __asm__ volatile
  536.       ("
  537. --- 304,311 ----
  538.   long trap_13_wwl(short n, short a, long b)
  539.   {
  540.       register long retvalue __asm__("d0");
  541. !     short _a = (a);
  542. !     long  _b =  (b);
  543.   
  544.       __asm__ volatile
  545.       ("
  546. ***************
  547. *** 324,331 ****
  548.   long trap_14_wwl(short n, short a, long b)
  549.   {
  550.       register long retvalue __asm__("d0");
  551. !     short _a = (short)(a);
  552. !     long  _b = (long) (b);
  553.   
  554.       __asm__ volatile
  555.       ("
  556. --- 324,331 ----
  557.   long trap_14_wwl(short n, short a, long b)
  558.   {
  559.       register long retvalue __asm__("d0");
  560. !     short _a = (a);
  561. !     long  _b =  (b);
  562.   
  563.       __asm__ volatile
  564.       ("
  565. ***************
  566. *** 344,352 ****
  567.   long trap_14_wwll(short n, short a, long b, long c)
  568.   {
  569.       register long retvalue __asm__("d0");
  570. !     short _a = (short)(a);
  571. !     long  _b = (long) (b);
  572. !     long  _c = (long) (c);
  573.   
  574.       __asm__ volatile
  575.       ("
  576. --- 344,352 ----
  577.   long trap_14_wwll(short n, short a, long b, long c)
  578.   {
  579.       register long retvalue __asm__("d0");
  580. !     short _a = (a);
  581. !     long  _b =  (b);
  582. !     long  _c =  (c);
  583.   
  584.       __asm__ volatile
  585.       ("
  586. ***************
  587. *** 366,372 ****
  588.   long trap_14_ww(short n, short a)
  589.   {
  590.       register long retvalue __asm__("d0");
  591. !     short _a = (short)(a);
  592.   
  593.       __asm__ volatile
  594.       ("
  595. --- 366,372 ----
  596.   long trap_14_ww(short n, short a)
  597.   {
  598.       register long retvalue __asm__("d0");
  599. !     short _a = (a);
  600.   
  601.       __asm__ volatile
  602.       ("
  603. ***************
  604. *** 400,408 ****
  605.   long trap_14_wllw(short n, long a, long b, short c)
  606.   {
  607.       register long retvalue __asm__("d0");
  608. !     long  _a = (long) (a);
  609. !     long  _b = (long) (b);
  610. !     short _c = (short)(c);
  611.   
  612.       __asm__ volatile
  613.       ("
  614. --- 400,408 ----
  615.   long trap_14_wllw(short n, long a, long b, short c)
  616.   {
  617.       register long retvalue __asm__("d0");
  618. !     long  _a =  (a);
  619. !     long  _b =  (b);
  620. !     short _c = (c);
  621.   
  622.       __asm__ volatile
  623.       ("
  624. ***************
  625. *** 422,428 ****
  626.   long trap_14_wl(short n, long a)
  627.   {
  628.       register long retvalue __asm__("d0");
  629. !     long  _a = (long) (a);
  630.   
  631.       __asm__ volatile
  632.       ("
  633. --- 422,428 ----
  634.   long trap_14_wl(short n, long a)
  635.   {
  636.       register long retvalue __asm__("d0");
  637. !     long  _a =  (a);
  638.   
  639.       __asm__ volatile
  640.       ("
  641. ***************
  642. *** 440,447 ****
  643.   long trap_14_www(short n, short a, short b)
  644.   {
  645.       register long retvalue __asm__("d0");
  646. !     short _a = (short)(a);
  647. !     short _b = (short)(b);
  648.   
  649.       __asm__ volatile
  650.       ("
  651. --- 440,447 ----
  652.   long trap_14_www(short n, short a, short b)
  653.   {
  654.       register long retvalue __asm__("d0");
  655. !     short _a = (a);
  656. !     short _b = (b);
  657.   
  658.       __asm__ volatile
  659.       ("
  660. ***************
  661. *** 461,473 ****
  662.                 short f, short g)
  663.   {
  664.       register long retvalue __asm__("d0");
  665. !     volatile long  _a = (volatile long) (a);
  666. !     volatile long  _b = (volatile long) (b);
  667. !     volatile short _c = (volatile short)(c);
  668. !     volatile short _d = (volatile short)(d);
  669. !     volatile short _e = (volatile short)(e);
  670. !     volatile short _f = (volatile short)(f);
  671. !     volatile short _g = (volatile short)(g);
  672.   
  673.       __asm__ volatile
  674.       ("
  675. --- 461,473 ----
  676.                 short f, short g)
  677.   {
  678.       register long retvalue __asm__("d0");
  679. !     long  _a =  (a);
  680. !     long  _b =  (b);
  681. !     short _c = (c);
  682. !     short _d = (d);
  683. !     short _e = (e);
  684. !     short _f = (f);
  685. !     short _g = (g);
  686.   
  687.       __asm__ volatile
  688.       ("
  689. ***************
  690. *** 477,483 ****
  691.           movw    %1,sp@-;
  692.           movw    %0,sp@-    "
  693.       :                          /* outputs */
  694. !     : "g"(_c), "g"(_d), "g"(_e), "g"(_f), "g"(_g) /* inputs  */
  695.       );
  696.   
  697.       __asm__ volatile
  698. --- 477,483 ----
  699.           movw    %1,sp@-;
  700.           movw    %0,sp@-    "
  701.       :                          /* outputs */
  702. !     : "r"(_c), "r"(_d), "r"(_e), "r"(_f), "r"(_g) /* inputs  */
  703.       );
  704.   
  705.       __asm__ volatile
  706. ***************
  707. *** 488,494 ****
  708.           trap    #14;
  709.           addw    #20,sp "
  710.       : "=r"(retvalue)            /* outputs */
  711. !     : "r"(n), "g"(_a), "g"(_b)        /* inputs  */
  712.       : "d0", "d1", "d2", "a0", "a1", "a2"    /* clobbered regs */
  713.       );
  714.       return retvalue;
  715. --- 488,494 ----
  716.           trap    #14;
  717.           addw    #20,sp "
  718.       : "=r"(retvalue)            /* outputs */
  719. !     : "r"(n), "r"(_a), "r"(_b)        /* inputs  */
  720.       : "d0", "d1", "d2", "a0", "a1", "a2"    /* clobbered regs */
  721.       );
  722.       return retvalue;
  723. ***************
  724. *** 498,511 ****
  725.                  short f, long g, short h)
  726.   {
  727.       register long retvalue __asm__("d0");
  728. !     volatile long  _a = (volatile long) (a);
  729. !     volatile long  _b = (volatile long) (b);
  730. !     volatile short _c = (volatile short)(c);
  731. !     volatile short _d = (volatile short)(d);
  732. !     volatile short _e = (volatile short)(e);
  733. !     volatile short _f = (volatile short)(f);
  734. !     volatile long  _g = (volatile long) (g);
  735. !     volatile short _h = (volatile short)(h);
  736.   
  737.       __asm__ volatile
  738.       ("
  739. --- 498,511 ----
  740.                  short f, long g, short h)
  741.   {
  742.       register long retvalue __asm__("d0");
  743. !     long  _a =  (a);
  744. !     long  _b =  (b);
  745. !     short _c = (c);
  746. !     short _d = (d);
  747. !     short _e = (e);
  748. !     short _f = (f);
  749. !     long  _g =  (g);
  750. !     short _h = (h);
  751.   
  752.       __asm__ volatile
  753.       ("
  754. ***************
  755. *** 515,521 ****
  756.           movw    %1,sp@-;
  757.           movw    %0,sp@- "
  758.       :                          /* outputs */
  759. !     : "g"(_d), "g"(_e), "g"(_f), "g"(_g), "g"(_h) /* inputs  */
  760.       );
  761.   
  762.       __asm__ volatile
  763. --- 515,521 ----
  764.           movw    %1,sp@-;
  765.           movw    %0,sp@- "
  766.       :                          /* outputs */
  767. !     : "r"(_d), "r"(_e), "r"(_f), "r"(_g), "r"(_h) /* inputs  */
  768.       );
  769.   
  770.       __asm__ volatile
  771. ***************
  772. *** 527,533 ****
  773.           trap    #14;
  774.           addw    #24,sp "
  775.       : "=r"(retvalue)               /* outputs */
  776. !     : "r"(n), "g"(_a), "g"(_b), "g"(_c)        /* inputs  */
  777.       : "d0", "d1", "d2", "a0", "a1", "a2"    /* clobbered regs */
  778.       );
  779.       return retvalue;
  780. --- 527,533 ----
  781.           trap    #14;
  782.           addw    #24,sp "
  783.       : "=r"(retvalue)               /* outputs */
  784. !     : "r"(n), "r"(_a), "r"(_b), "r"(_c)        /* inputs  */
  785.       : "d0", "d1", "d2", "a0", "a1", "a2"    /* clobbered regs */
  786.       );
  787.       return retvalue;
  788. ***************
  789. *** 537,551 ****
  790.               short f, short g, long h, short i)
  791.   {
  792.       register long retvalue __asm__("d0");
  793. !     volatile long  _a = (volatile long) (a);
  794. !     volatile long  _b = (volatile long) (b);
  795. !     volatile short _c = (volatile short)(c);
  796. !     volatile short _d = (volatile short)(d);
  797. !     volatile short _e = (volatile short)(e);
  798. !     volatile short _f = (volatile short)(f);
  799. !     volatile short _g = (volatile short)(g);
  800. !     volatile long  _h = (volatile long) (h);
  801. !     volatile short _i = (volatile short)(i);
  802.   
  803.       __asm__ volatile
  804.       ("
  805. --- 537,551 ----
  806.               short f, short g, long h, short i)
  807.   {
  808.       register long retvalue __asm__("d0");
  809. !     long  _a =  (a);
  810. !     long  _b =  (b);
  811. !     short _c = (c);
  812. !     short _d = (d);
  813. !     short _e = (e);
  814. !     short _f = (f);
  815. !     short _g = (g);
  816. !     long  _h =  (h);
  817. !     short _i = (i);
  818.   
  819.       __asm__ volatile
  820.       ("
  821. ***************
  822. *** 555,561 ****
  823.           movw    %1,sp@-;
  824.           movw    %0,sp@- "
  825.       :                          /* outputs */
  826. !     : "g"(_e), "g"(_f), "g"(_g), "g"(_h), "g"(_i) /* inputs  */
  827.       );
  828.   
  829.       __asm__ volatile
  830. --- 555,561 ----
  831.           movw    %1,sp@-;
  832.           movw    %0,sp@- "
  833.       :                          /* outputs */
  834. !     : "r"(_e), "r"(_f), "r"(_g), "r"(_h), "r"(_i) /* inputs  */
  835.       );
  836.   
  837.       __asm__ volatile
  838. ***************
  839. *** 566,572 ****
  840.           movl    %1,sp@-;
  841.                   movw    %0,sp@- "
  842.       :                         /* outputs */
  843. !     : "r"(n), "g"(_a), "g"(_b), "g"(_c), "g"(_d) /* inputs  */
  844.       );
  845.   
  846.       __asm__ volatile
  847. --- 566,572 ----
  848.           movl    %1,sp@-;
  849.                   movw    %0,sp@- "
  850.       :                         /* outputs */
  851. !     : "r"(n), "r"(_a), "r"(_b), "r"(_c), "r"(_d) /* inputs  */
  852.       );
  853.   
  854.       __asm__ volatile
  855. ***************
  856. *** 585,596 ****
  857.                short f)
  858.   {
  859.       register long retvalue __asm__("d0");
  860. !     volatile short _a = (volatile short)(a);
  861. !     volatile short _b = (volatile short)(b);
  862. !     volatile short _c = (volatile short)(c);
  863. !     volatile short _d = (volatile short)(d);
  864. !     volatile short _e = (volatile short)(e);
  865. !     volatile short _f = (volatile short)(f);
  866.   
  867.       __asm__ volatile
  868.       ("
  869. --- 585,596 ----
  870.                short f)
  871.   {
  872.       register long retvalue __asm__("d0");
  873. !     short _a = (a);
  874. !     short _b = (b);
  875. !     short _c = (c);
  876. !     short _d = (d);
  877. !     short _e = (e);
  878. !     short _f = (f);
  879.   
  880.       __asm__ volatile
  881.       ("
  882. ***************
  883. *** 600,606 ****
  884.           movw    %1,sp@-;
  885.           movw    %0,sp@- "
  886.       :                            /* outputs */
  887. !     : "g"(_b), "g"(_c), "g"(_d), "g"(_e), "g"(_f)    /* inputs  */
  888.       );
  889.   
  890.       __asm__ volatile
  891. --- 600,606 ----
  892.           movw    %1,sp@-;
  893.           movw    %0,sp@- "
  894.       :                            /* outputs */
  895. !     : "r"(_b), "r"(_c), "r"(_d), "r"(_e), "r"(_f)    /* inputs  */
  896.       );
  897.   
  898.       __asm__ volatile
  899. ***************
  900. *** 610,616 ****
  901.           trap    #14;
  902.           addw    #14,sp "
  903.       : "=r"(retvalue)            /* outputs */
  904. !     : "r"(n), "g"(_a)            /* inputs  */
  905.       : "d0", "d1", "d2", "a0", "a1", "a2"    /* clobbered regs */
  906.       );
  907.       return retvalue;
  908. --- 610,616 ----
  909.           trap    #14;
  910.           addw    #14,sp "
  911.       : "=r"(retvalue)            /* outputs */
  912. !     : "r"(n), "r"(_a)            /* inputs  */
  913.       : "d0", "d1", "d2", "a0", "a1", "a2"    /* clobbered regs */
  914.       );
  915.       return retvalue;
  916. ***************
  917. *** 619,627 ****
  918.   long trap_14_wlll(short n, long a, long b, long c)
  919.   {
  920.       register long retvalue __asm__("d0");
  921. !     long  _a = (long) (a);
  922. !     long  _b = (long) (b);
  923. !     long  _c = (long) (c);
  924.   
  925.       __asm__ volatile
  926.       ("
  927. --- 619,627 ----
  928.   long trap_14_wlll(short n, long a, long b, long c)
  929.   {
  930.       register long retvalue __asm__("d0");
  931. !     long  _a =  (a);
  932. !     long  _b =  (b);
  933. !     long  _c =  (c);
  934.   
  935.       __asm__ volatile
  936.       ("
  937. ***************
  938. *** 641,650 ****
  939.   long trap_14_wllww(short n, long a, long b, short c, short d)
  940.   {
  941.       register long retvalue __asm__("d0");
  942. !     volatile long  _a = (volatile long) (a);
  943. !     volatile long  _b = (volatile long) (b);
  944. !     volatile short _c = (volatile short)(c);
  945. !     volatile short _d = (volatile short)(d);
  946.   
  947.       __asm__ volatile
  948.       ("
  949. --- 641,650 ----
  950.   long trap_14_wllww(short n, long a, long b, short c, short d)
  951.   {
  952.       register long retvalue __asm__("d0");
  953. !     long  _a =  (a);
  954. !     long  _b =  (b);
  955. !     short _c = (c);
  956. !     short _d = (d);
  957.   
  958.       __asm__ volatile
  959.       ("
  960. ***************
  961. *** 653,659 ****
  962.           movl    %1,sp@-;
  963.           movl    %0,sp@- "
  964.       :                    /* outputs */
  965. !     : "g"(_a), "g"(_b), "g"(_c), "g"(_d)    /* inputs  */
  966.       );
  967.   
  968.       __asm__ volatile
  969. --- 653,659 ----
  970.           movl    %1,sp@-;
  971.           movl    %0,sp@- "
  972.       :                    /* outputs */
  973. !     : "r"(_a), "r"(_b), "r"(_c), "r"(_d)    /* inputs  */
  974.       );
  975.   
  976.       __asm__ volatile
  977. ***************
  978. *** 671,680 ****
  979.   long trap_14_wwwwl(short n, short a, short b, short c, long d)
  980.   {
  981.       register long retvalue __asm__("d0");
  982. !     volatile short _a = (volatile short)(a);
  983. !     volatile short _b = (volatile short)(b);
  984. !     volatile short _c = (volatile short)(c);
  985. !     volatile long  _d = (volatile long) (d);
  986.   
  987.       __asm__ volatile
  988.       ("
  989. --- 671,680 ----
  990.   long trap_14_wwwwl(short n, short a, short b, short c, long d)
  991.   {
  992.       register long retvalue __asm__("d0");
  993. !     short _a = (a);
  994. !     short _b = (b);
  995. !     short _c = (c);
  996. !     long  _d =  (d);
  997.   
  998.       __asm__ volatile
  999.       ("
  1000. ***************
  1001. *** 683,689 ****
  1002.           movw    %1,sp@-;
  1003.           movw    %0,sp@- "
  1004.       :                        /* outputs */
  1005. !     : "g"(_a), "g"(_b), "g"(_c), "g"(_d)        /* inputs  */
  1006.       );
  1007.   
  1008.       __asm__ volatile
  1009. --- 683,689 ----
  1010.           movw    %1,sp@-;
  1011.           movw    %0,sp@- "
  1012.       :                        /* outputs */
  1013. !     : "r"(_a), "r"(_b), "r"(_c), "r"(_d)        /* inputs  */
  1014.       );
  1015.   
  1016.       __asm__ volatile
  1017. ***************
  1018. *** 702,710 ****
  1019.   long trap_14_wwwl(short n, short a, short b, long c)
  1020.   {
  1021.       register long retvalue __asm__("d0");
  1022. !     volatile short _a = (volatile short)(a);
  1023. !     volatile short _b = (volatile short)(b);
  1024. !     volatile long  _c = (volatile long)(c);
  1025.   
  1026.       __asm__ volatile
  1027.       ("
  1028. --- 702,710 ----
  1029.   long trap_14_wwwl(short n, short a, short b, long c)
  1030.   {
  1031.       register long retvalue __asm__("d0");
  1032. !     short _a = (a);
  1033. !     short _b = (b);
  1034. !     long  _c = (c);
  1035.   
  1036.       __asm__ volatile
  1037.       ("
  1038. ***************
  1039. *** 715,721 ****
  1040.           trap    #14;
  1041.           addqw   #6,sp "
  1042.       : "=r"(retvalue)            /* outputs */
  1043. !     : "g"(n), "r"(_a), "r"(_b), "r"(_c)    /* inputs  */
  1044.       : "d0", "d1", "d2", "a0", "a1", "a2"    /* clobbered regs */
  1045.       );
  1046.       return retvalue;
  1047. --- 715,721 ----
  1048.           trap    #14;
  1049.           addqw   #6,sp "
  1050.       : "=r"(retvalue)            /* outputs */
  1051. !     : "r"(n), "r"(_a), "r"(_b), "r"(_c)    /* inputs  */
  1052.       : "d0", "d1", "d2", "a0", "a1", "a2"    /* clobbered regs */
  1053.       );
  1054.       return retvalue;
  1055. *** 1.15    1991/06/23 17:07:09
  1056. --- read.c    1992/03/22 22:00:32
  1057. ***************
  1058. *** 297,303 ****
  1059.       int    len = 0;
  1060.       char    c = thebuf[n];
  1061.   
  1062. !     if (c > 0 && c < ' ' || c == 0x7f) {
  1063.           if (c == '\t')
  1064.               len = __col_pos - str_length(thebuf, n);
  1065.           else
  1066. --- 297,303 ----
  1067.       int    len = 0;
  1068.       char    c = thebuf[n];
  1069.   
  1070. !     if ((c > 0 && c < ' ') || (c == 0x7f)) {
  1071.           if (c == '\t')
  1072.               len = __col_pos - str_length(thebuf, n);
  1073.           else
  1074. ***************
  1075. *** 322,328 ****
  1076.   
  1077.       while (n--) {
  1078.           c = *p++;
  1079. !         if (c > 0 && c < ' ' || c == 0x7f)
  1080.               if (c == '\t')
  1081.                   pos = (pos | 7) + 1;
  1082.               else
  1083. --- 322,328 ----
  1084.   
  1085.       while (n--) {
  1086.           c = *p++;
  1087. !         if ((c > 0 && c < ' ') || (c == 0x7f))
  1088.               if (c == '\t')
  1089.                   pos = (pos | 7) + 1;
  1090.               else
  1091. *** 1.15    1991/12/26 15:53:59
  1092. --- spawnve.c    1992/03/22 22:00:36
  1093. ***************
  1094. *** 118,123 ****
  1095. --- 118,124 ----
  1096.   /* s points at the environment's copy of the args */
  1097.   /* t points at the command line copy to be put in the basepage */
  1098.   
  1099. +     cmlen = 0;        /* was missing -- mmn, 92/03/10 */
  1100.       if (argv && *argv) {
  1101.           t++;
  1102.           while (*++argv) {
  1103. *** 1.14    1992/03/06 19:19:47
  1104. --- system.c    1992/03/22 22:00:43
  1105. ***************
  1106. *** 82,88 ****
  1107.       const char *s;
  1108.   {
  1109.       Argentry *cur, *res;
  1110. !     char buf[BUFSIZ];
  1111.       char *t, quote;
  1112.   
  1113.       res = cur = _argalloc("");
  1114. --- 82,92 ----
  1115.       const char *s;
  1116.   {
  1117.       Argentry *cur, *res;
  1118. ! #ifdef __SOZOBON__        /* This is actually the legal way, */
  1119. !     char buf[1024];
  1120. ! #else
  1121. !     char buf[BUFSIZ];    /* because this features a cast. */
  1122. ! #endif
  1123.       char *t, quote;
  1124.   
  1125.       res = cur = _argalloc("");
  1126. *** 1.3    1991/06/11 14:56:53
  1127. --- textio.c    1992/03/22 22:00:44
  1128. ***************
  1129. *** 42,48 ****
  1130.       char *from;
  1131.       int nbytes;
  1132.   {
  1133. !     char buf[BUFSIZ+2], *to, c;
  1134.       int  w, r, bytes_written;
  1135.   
  1136.       bytes_written = 0;
  1137. --- 42,53 ----
  1138.       char *from;
  1139.       int nbytes;
  1140.   {
  1141. ! #ifdef __SOZOBON__
  1142. !     char buf[1024+2];
  1143. ! #else
  1144. !     char buf[BUFSIZ+2];
  1145. ! #endif
  1146. !     char *to, c;
  1147.       int  w, r, bytes_written;
  1148.   
  1149.       bytes_written = 0;
  1150.