home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 540.lha / Wanda / readme.doc next >
Text File  |  1991-08-10  |  3KB  |  94 lines

  1. -----------------------------------------------------------------------------
  2.                     W  A  N  D  A  V1.03
  3. -----------------------------------------------------------------------------
  4.                Author: Paul Leach
  5. -----------------------------------------------------------------------------
  6.  
  7.  
  8. Wanda is a workbench hack, which when activated will cause a window and
  9. four fish to appear.  The window is there so that you can stop Wanda
  10. anytime.  The fish come in two sizes and Wanda randomly decides what
  11. size each of the four fish will be on initialisation.
  12.  
  13. The fish like windows so they will bounce around them.  Once the fish is in
  14. a window, it usually likes to stay there for a while, so it will attempt to
  15. stay within the window.  If you move or resize the window, the fish will
  16. follow it, and go around the new window boundaries.  Also, a fish will
  17. speed up or slow down.  The fish don't like to be away from a window, so if
  18. you close a window that a fish is currently in, it will immediately rush
  19. away to another window. 
  20.  
  21. The fish breathe, so frequent air bubbles can be seen rising to the top
  22. of the workbench.
  23.  
  24. If you are getting bored with the position of the fish, then you can get
  25. them to chase your mouse pointer.  Just move the pointer close enough
  26. to the fish and it will begin to track it.  The fish won't change speed
  27. though,  so if the fish is going slow you will have to move slowly to keep
  28. it within range.
  29.  
  30. If the fish fails to catch up with your mouse pointer after a little time,
  31. it will become bored and go in search of another window to swim in.  After
  32. a fish has got bored it always goes to a different window than it was in
  33. previously.  Using this method you can move the fish around the windows.   
  34.  
  35. The fish also decide to change window by themselves, the screen boundary
  36. is considered a window to the fish.
  37.  
  38. HAVE FUN WATCHING THE FISH WANDER.
  39.  
  40.  
  41. If you have any ideas for workbench hacks which you would like to be see
  42. on your Amiga or any other comments, ideas, programming correspondence, or
  43. whatever then you can reach on the Voyager BBS, 061 725 9580
  44.  
  45. I have a detailed understanding of programming the hardware of the
  46. Amiga, and would be very interested in hardware related correspondence.
  47.  
  48. Topics I would like to here about:
  49.  
  50. ECS
  51.  
  52. 3d graphics
  53.  
  54. Simple fixed point math algorithms (signed 32 bit multiply, divide)
  55.  
  56. MFM disk routines
  57.  
  58. Serial routines (especially network)
  59.  
  60.  
  61. Topics I have knowledge of:
  62.  
  63. DOS (including disk structure, trackdisk.device processing, boot loaders)
  64.  
  65. MFM disk routines
  66.  
  67. Vector and filled 3d graphics
  68.  
  69. Serial port programming
  70.  
  71. General hardware programming (copper, blitter, demos, games etc.)
  72.  
  73.  
  74. *****************
  75. Technical Details
  76. *****************
  77.         
  78. Wanda was written in 100% assembly language.
  79.  
  80. Wanda SHOULD work on every Amiga, (As it uses nothing but legal code)
  81.  
  82. Wanda's source code is 1256 lines long.
  83.  
  84. Wanda uses the simple sprites 2-7 for it's fish and bubbles.
  85.  
  86. Wanda will work correctly with an interlaced workbench.
  87.  
  88. The actual updating of the fish is done under the vertical blanking
  89. interrupt, this ensures the sprites are smooth (unless they are moving slower
  90. than one pixel per frame).  
  91.  
  92. Other calcualtions, random number generation, etc., are done my the main
  93. task as these take considerable time. 
  94.