home *** CD-ROM | disk | FTP | other *** search
/ Assembly 1994 - The 3rd Phase / ASMROM94.mdf / sources / firecode.txt < prev    next >
Text File  |  1994-11-12  |  3KB  |  64 lines

  1. FIRE Routines  
  2.  
  3. - A collection of fire demos that have been released on the
  4. internet.  
  5.  
  6. Collected by Kirk A. Baum
  7.  
  8. History:
  9. These routines simulate a flame on the monitor.  
  10. The original post (as far as I know) was from a demo by
  11. Jare of VangeliSTeam.  It was a demo called firedemo.  The
  12. code for this is included.  Later Mark Mackey posted some code
  13. to do an effect similar to the one done at the end of the
  14. Inconexia demo by Iguana.  Marks code was done at a higher
  15. resolution than the demo and was done in pascal with inline
  16. assembly.  These routines worked great on my 486 but I wanted
  17. to run them on some slower PS2s.  It was so slow that I decided
  18. to see if I could speed things up. I took these routins, and
  19. converted them back to the original resolution (80x50). I used
  20. Borland C with inline assembly.  I also put the palette infomation
  21. right in the source code so I didn't have to have another external
  22. file hangin around.  This increased the speed of the computations 
  23. but the bottle neck was the screen update time.  I decided to make
  24. a modex version because you can write to all four planes with one
  25. write.  Since I was using a 4x4 square this was ideal.  I increased
  26. the video output by 4.  Then after all was said and done I put 
  27. together a version that was written all in C for those who shy
  28. away from assembly language.  You still have to get down and dirty,
  29. but still using C calls from a manual. Another version of the fire
  30. program appeared by Bernard Schmitz and Christopher Tumber.  This
  31. one was in yet a higher resolution and done in straight assembly.
  32. I thought that it would be nice to have them all in one place and
  33. zipped them together in this archive.
  34.  
  35. The Files:
  36.  
  37. The fire demo by Jare of VangeliSTeam
  38. fire.asm        - The assembly source code
  39. fire.exe        - turns your monitor into a nice and cozy fire place
  40. fire.nfo        - original info file from Jare
  41.  
  42. Flames code by Mark Mackey
  43. flames.pas      - Pascal source with inline assembly
  44. flames.exe      - the executable
  45. flames.txt      - original info file from Mark
  46. flames5.map     - a file containing palette colors, read by flames.pas
  47.  
  48. Flame_* code by Kirk Baum
  49. flame_ac.c      - This code uses all C and mode 13h
  50. flame_as.c      - C code with inline assembly language in mode 13h
  51. flame_mx.c      - C code with inline assembly language with modex
  52. flame_ac.exe    - executables for all three versions
  53. flame_as.exe
  54. flame_mx.exe
  55.  
  56. Flame11 source by Bernard Schmitz and Christopher Tumber
  57. flame11.asm     - Assembly code, similar to fire demo, higher resolution
  58. flame11.exe     - The exe file of course.
  59.  
  60. Have fun - learn,
  61.  
  62. Kirk A. Baum
  63. kbaum@Novell.com
  64.