home *** CD-ROM | disk | FTP | other *** search
/ STraTOS 1997 April & May / STraTOS 1 - 1997 April & May.iso / CD01 / INTERNET / SITES / RAND / ALL96.LZH / t0226 / text0033.txt < prev    next >
Encoding:
Text File  |  1996-03-07  |  915 b   |  45 lines

  1. I've just spotted a rather annoying bug in v1.93alpha.
  2.  
  3. Even more annoying than usual since I just uploaded 5
  4. binaries and a bunch of sourcecode containing that
  5. very same bug...
  6.  
  7. Aarrgghh!!!
  8.  
  9. Anyway, try to avoid the '3' key for horizontal low detail
  10. at the moment. I won't bother uploading stacks of new sources
  11. but instead offer a DIY upgrade for anyone willing to hack
  12. about with the sources and recompile them.
  13.  
  14. All you have to do is look for these routines in RENDER.S
  15.  
  16. render_flats_1x1:
  17. render_flats_2x1:
  18.  
  19. And look for the lines:
  20.  
  21. tst.l    a4
  22. beq    .invalid_run
  23.  
  24. If there are another 2 lines IMMEDIATELY ABOVE this
  25. fragment of code IN EITHER ROUTINE which look anything
  26. like these:
  27.  
  28. lea    (a2,d0*4),a6    < offending code
  29. exg.l    d5,a6        < offending code
  30. tst.l    a4
  31. beq    .invalid_run
  32.  
  33. Then remove them, leaving only the original 2 lines:
  34.  
  35. tst.l    a4
  36. beq    .invalid_run
  37.  
  38. Sitting on their own.
  39.  
  40. That should do the trick!
  41.  
  42. Doug.
  43.  
  44.  
  45.