home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / os9 / 1146 < prev    next >
Encoding:
Internet Message Format  |  1992-08-22  |  3.1 KB

  1. Path: sparky!uunet!mcsun!Germany.EU.net!unido!news.Hamburg.Germany.EU.net!abqhh!keihh!kt
  2. From: kt@keihh.hanse.de (Kei Thomsen)
  3. Newsgroups: comp.os.os9
  4. Subject: Strange Bug in l68
  5. Message-ID: <21OUtBG@keihh.hanse.de>
  6. Date: 22 Aug 92 06:26:58 GMT
  7. Lines: 137
  8.  
  9.  
  10. There is a strange BUG in the l68. I have a program (lha-1.00) witch
  11. produces the following code (with GCC):
  12.  
  13.     psect    slide_gc,0,0,0,0,0
  14.     vsect
  15.     align
  16.  
  17. .... Stuff deleted
  18.  
  19.     rts :2
  20.  
  21.     vsect
  22.     align
  23. hash2    ds.b    2
  24.     align
  25. hash1    ds.b    2
  26.     align
  27. max_hash_val    ds.b    2
  28.     align
  29. dicsiz    ds.b    2
  30.     align
  31. prev_char:    ds.b    4
  32.     align
  33. text:    ds.b    4
  34.     align
  35. loc:    ds.b    2
  36.     align
  37. count:    ds.b    4
  38.     align
  39. maxmatch:    ds.b    2
  40.     align
  41. dicbit:    ds.b    2
  42.     align
  43. compsize:    ds.b    4
  44.     align
  45. origsize:    ds.b    4
  46.     align
  47. unpackable:    ds.b    4
  48.     ends
  49.     ends
  50.  
  51. With ds.s 4 it works.
  52.  
  53. debug:     with 'sd'
  54.  
  55. c_code              D 0002A6FC   prev_char           D 0002A830   
  56. text                D 0002A838   loc                 D 0002A840   
  57. count               D 0002A844   maxmatch            D 0002A84C   
  58. dicbit              D 0002A850   compsize            D 0002A854   
  59. origsize            D 0002A85C   unpackable          D 0002A864   
  60.  
  61. --------------------------------------------
  62.  
  63.     psect    slide_gc,0,0,0,0,0
  64.     vsect
  65.     align
  66.  
  67. .... Stuff deleted
  68.  
  69.     rts :2
  70.  
  71.     vsect
  72.     align
  73. hash2    ds.b    2
  74.     align
  75. hash1    ds.b    2
  76.     align
  77. max_hash_val    ds.b    2
  78.     align
  79. dicsiz    ds.b    2
  80.     align
  81. prev_char:    com.b    4
  82.     align
  83. text:    com.b    4
  84.     align
  85. loc:    com.b    2
  86.     align
  87. count:    com.b    4
  88.     align
  89. maxmatch:    com.b    2
  90.     align
  91. dicbit:    com.b    2
  92.     align
  93. compsize:    com.b    4
  94.     align
  95. origsize:    com.b    4
  96.     align
  97. unpackable:    com.b    4
  98.     ends
  99.     ends
  100.  
  101. With com.b 4 it does not work! WHY? But only in this file, and in no other file.
  102.  
  103. debug:     with 'sd'
  104.  
  105. c_len               D 0002A300   pt_table            D 0002A304   
  106. c_code              D 0002A6FC   maxmatch            D 0002A7A8   
  107. loc                 D 0002A7A8   dicbit              D 0002A7A8   
  108. unpackable          D 0002A7AC   text                D 0002A7AC   
  109. prev_char           D 0002A7AC   origsize            D 0002A7AC   
  110. count               D 0002A7AC   compsize            D 0002A7AC   
  111. _srqsiz             D 0002A9D4   _fcbs               D 0002A9DC   
  112.  
  113.  
  114. Why does the l68 set more then ONE variable to the same address ???
  115.  
  116. (Hi Microware...)
  117.  
  118. Header for:      l68
  119. Module size:     $5D36       #23862   
  120. Owner:           1.0
  121. Module CRC:      $A3F33B     Good CRC
  122. Header parity:   $2C68       Good parity
  123. Edition:         $40         #64      
  124. Ty/La At/Rev     $101        $C001    
  125. Permission:      $555        -----e-r-e-r-e-r
  126. Exec off:        $4C         #76      
  127. Data size:       $FE0        #4064    
  128. Stack size:      $1C00       #7168    
  129. Init. data off:  $5B98       #23448   
  130. Data ref. off:   $5CDA       #23770   
  131. Prog Mod, 68000 obj, Sharable, Sticky Module
  132.  
  133.                    /\
  134.                   |^^|
  135.                   |{}|
  136.    _______________/~~\________________
  137.   / Kei Thomsen   |  | keihh.hanse.de \
  138.  `========--------.  .---------========'
  139.                   ||||
  140.  Wildermuthring 90 || kt@keihh.hanse.de
  141.  2000 Hamburg 62   ||    OS-9 68030 
  142.  Voice 040/5205921 ||
  143.  Modem 040/5200428 ||  300-14400 Baud
  144.                ,---||---, (V32bis)
  145.                '---<>---'
  146.